update 文档拆分

This commit is contained in:
赵霄
2023-10-16 18:06:35 +08:00
parent 95a9aa5e98
commit 2db880c6b7
10 changed files with 651 additions and 644 deletions
@@ -1,6 +1,6 @@
<template>
<a-modal
v-model="visible"
v-model="uploadVisible"
:maskClosable="false"
:footer="[]"
:title="title"
@@ -41,7 +41,7 @@ export default {
],
data () {
return {
visible: false,
uploadVisible: false,
uploadAction: window._CONFIG.domianURL + '/split/sarFileSplitItems/upload',
downLoadFileUrl: window._CONFIG.domianPreviewURL + '/sys/common/static',
fileList: [],
@@ -58,7 +58,7 @@ export default {
},
methods: {
open () {
this.visible = true
this.uploadVisible = true
},
perentHandleFunc (data) {
this.myFileList = data
@@ -128,7 +128,7 @@ export default {
})
this.$emit('uploadSuccess', this.fileList, fileList)
if (this.uploadFileFlag === 0) {
this.visible = false
this.uploadVisible = false
}
if (this.myFileList.length > 0) {
this.$message.destroy()
@@ -162,7 +162,7 @@ export default {
// console.log('file111111',this.fileList,fileList,file,this.uploadFileFlag)
this.$emit('uploadSuccess', file, this.fileList, fileList)
if (this.uploadFileFlag === 0) {
this.visible = false
this.uploadVisible = false
}
// console.log('uplossss',this.fileList,fileList)
if (this.myFileList.length > 0) {
@@ -187,7 +187,7 @@ export default {
this.previewImage = file.response.path
},
handlePreImgCancel () {
this.visible = false
this.uploadVisible = false
}
}
}