Merge branch 'develop' of ssh://gitlab.91isoft.com:10022/LAWS/laws-system-front-FOTON into develop
This commit is contained in:
@@ -256,6 +256,23 @@ export default {
|
|||||||
const index = this.$refs.importFileAboutStand.uploadFiles.findIndex(e => e.response.data.id === file.response.data.id);
|
const index = this.$refs.importFileAboutStand.uploadFiles.findIndex(e => e.response.data.id === file.response.data.id);
|
||||||
this.$refs.importFileAboutStand.uploadFiles.splice(index, 1);
|
this.$refs.importFileAboutStand.uploadFiles.splice(index, 1);
|
||||||
this.showFileList.splice(index, 1)
|
this.showFileList.splice(index, 1)
|
||||||
|
const value = this.value
|
||||||
|
let ids = value.split(',')
|
||||||
|
if (file.response) {
|
||||||
|
let fileIds = file.response.data.id
|
||||||
|
let newIdList = this.removeArray(ids, fileIds)
|
||||||
|
let newStr = ''
|
||||||
|
if (newIdList != null && newIdList.length > 0) {
|
||||||
|
for (let i = 0; i < newIdList.length; i++) {
|
||||||
|
if (newIdList[i] !== '') {
|
||||||
|
newStr += newIdList[i] + ','
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.$emit('input', newStr)
|
||||||
|
} else {
|
||||||
|
this.$emit('input', '')
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 修改
|
// 修改
|
||||||
handleModifyName(file) {
|
handleModifyName(file) {
|
||||||
|
|||||||
Reference in New Issue
Block a user