Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
@@ -120,7 +120,7 @@
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
if (this.isTrue) {
|
if (this.isTrue) {
|
||||||
this.$emit('getList')
|
this.$emit('getList',info.file.response.result)
|
||||||
} else {
|
} else {
|
||||||
eventBUs.$emit('searchReset')
|
eventBUs.$emit('searchReset')
|
||||||
}
|
}
|
||||||
|
|||||||
+15
-4
@@ -109,6 +109,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
dataList: [],
|
dataList: [],
|
||||||
|
ImportFileData: [],
|
||||||
|
dataListData: [],
|
||||||
loading: false
|
loading: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -119,6 +121,12 @@
|
|||||||
this.dataList = this.dataList.filter(res => {
|
this.dataList = this.dataList.filter(res => {
|
||||||
return res.itemId != item.itemId
|
return res.itemId != item.itemId
|
||||||
})
|
})
|
||||||
|
this.dataListData = this.dataListData.filter(res => {
|
||||||
|
return res.itemId != item.itemId
|
||||||
|
})
|
||||||
|
this.ImportFileData = this.ImportFileData.filter(res => {
|
||||||
|
return res.itemId != item.itemId
|
||||||
|
})
|
||||||
this.$emit('TermInformationRefForm', item)
|
this.$emit('TermInformationRefForm', item)
|
||||||
},
|
},
|
||||||
PersonnelSelectionChange(value, id, index) {
|
PersonnelSelectionChange(value, id, index) {
|
||||||
@@ -126,10 +134,10 @@
|
|||||||
this.dataList = [...this.dataList]
|
this.dataList = [...this.dataList]
|
||||||
},
|
},
|
||||||
getData(value) {
|
getData(value) {
|
||||||
this.dataList = []
|
this.dataListData = []
|
||||||
if (value && value.length > 0) {
|
if (value && value.length > 0) {
|
||||||
value.forEach(res => {
|
value.forEach(res => {
|
||||||
this.dataList.push({
|
this.dataListData.push({
|
||||||
itemId: res.id,
|
itemId: res.id,
|
||||||
itemNum: res.items_num,
|
itemNum: res.items_num,
|
||||||
itemName: res.items_name,
|
itemName: res.items_name,
|
||||||
@@ -137,10 +145,13 @@
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
this.dataList = this.ImportFileData.concat(this.dataListData)
|
||||||
this.dataList = [...this.dataList]
|
this.dataList = [...this.dataList]
|
||||||
},
|
},
|
||||||
getPersonnelList() {
|
getPersonnelList(res) {
|
||||||
|
this.ImportFileData = this.ImportFileData.concat(res)
|
||||||
|
this.dataList = this.dataListData.concat(this.ImportFileData)
|
||||||
|
this.dataList = [...this.dataList]
|
||||||
},
|
},
|
||||||
getUUID() {
|
getUUID() {
|
||||||
var str = []
|
var str = []
|
||||||
|
|||||||
Reference in New Issue
Block a user