标准拆分批量删除 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'
}, res => {
res.data.list.map((item, index) => {
if (item.collectId != null && item.collectId !== '') {
item.showNumber= item.splitStatus=='0' ? item.showNumber : item.standNumSplit
item.standName=item.splitStatus=='0' ? item.standName : item.standNameSplit
item.collectBtn = false
} else {
item.showNumber= item.splitStatus=='0' ? item.showNumber : item.standNumSplit
item.standName=item.splitStatus=='0' ? item.standName : item.standNameSplit
item.collectBtn = true
}
})
this.standInfoList = res.data.list
this.total = res.data.count
if(res.data.list.length){
res.data.list.map((item, index) => {
if (item.collectId != null && item.collectId !== '') {
item.showNumber= item.splitStatus=='0' ? item.showNumber : item.standNumSplit
item.standName=item.splitStatus=='0' ? item.standName : item.standNameSplit
item.collectBtn = false
} else {
item.showNumber= item.splitStatus=='0' ? item.showNumber : item.standNumSplit
item.standName=item.splitStatus=='0' ? item.standName : item.standNameSplit
item.collectBtn = true
}
})
this.standInfoList = res.data.list
this.total = res.data.count
}else{
this.splitInfoPage = 1
this.getSarFileSplitInfoEOPage()
}
}, e => {
})
},