[update] 冻结

This commit is contained in:
zhaomeijing
2022-06-09 16:54:26 +08:00
parent 2ad19d3198
commit 4904a627da
4 changed files with 185 additions and 182 deletions
@@ -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