[update] 冻结
This commit is contained in:
@@ -59,6 +59,7 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
console.log(this.detailDate,'detailDate')
|
||||
const token = Vue.ls.get(ACCESS_TOKEN)
|
||||
this.headers = { 'X-Access-Token': token }
|
||||
this.containerId = 'container-ty-' + new Date().getTime()
|
||||
@@ -95,8 +96,6 @@ export default {
|
||||
}
|
||||
},
|
||||
beforeUpload(file) {
|
||||
|
||||
console.log(file)
|
||||
// let thisFileType = this.thisFileType.replace(/\s+/g, "");
|
||||
this.fileTypeSatus = true
|
||||
//TODO 客户要求不拦截文件
|
||||
@@ -125,6 +124,12 @@ export default {
|
||||
window.open(url, '_blank')
|
||||
},
|
||||
handleChange(info) {
|
||||
// this.detailDate.list.forEach((item) => {
|
||||
// if(item.isLock === '1'){
|
||||
// this.$message.warning(this.$t('Frozenstatus'))
|
||||
// return
|
||||
// }
|
||||
// })
|
||||
if(info.fileList.length > 1) {
|
||||
this.$message.warning(this.$t('onlyOnefileUploaded'))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user