标准拆分批量删除 51986

This commit is contained in:
宋伟佳
2022-03-22 09:27:16 +08:00
parent 3c3ba190ef
commit 34ab46fd7f
+18 -13
View File
@@ -993,19 +993,24 @@ export default {
}, { }, {
_this: this, loading: 'loading' _this: this, loading: 'loading'
}, res => { }, res => {
res.data.list.map((item, index) => { if(res.data.list.length){
if (item.collectId != null && item.collectId !== '') { res.data.list.map((item, index) => {
item.showNumber= item.splitStatus=='0' ? item.showNumber : item.standNumSplit if (item.collectId != null && item.collectId !== '') {
item.standName=item.splitStatus=='0' ? item.standName : item.standNameSplit item.showNumber= item.splitStatus=='0' ? item.showNumber : item.standNumSplit
item.collectBtn = false item.standName=item.splitStatus=='0' ? item.standName : item.standNameSplit
} else { item.collectBtn = false
item.showNumber= item.splitStatus=='0' ? item.showNumber : item.standNumSplit } else {
item.standName=item.splitStatus=='0' ? item.standName : item.standNameSplit item.showNumber= item.splitStatus=='0' ? item.showNumber : item.standNumSplit
item.collectBtn = true item.standName=item.splitStatus=='0' ? item.standName : item.standNameSplit
} item.collectBtn = true
}) }
this.standInfoList = res.data.list })
this.total = res.data.count this.standInfoList = res.data.list
this.total = res.data.count
}else{
this.splitInfoPage = 1
this.getSarFileSplitInfoEOPage()
}
}, e => { }, e => {
}) })
}, },