网格调整完毕

This commit is contained in:
aixianling
2022-06-01 18:22:19 +08:00
parent 18bffaf517
commit 0bda297fda
82 changed files with 10733 additions and 952 deletions

View File

@@ -48,6 +48,9 @@ export default {
...mapState(['user']),
isSingle() {
return this.$route.query.single
},
nodeKey() {
return this.$route.query.nodeKey || "idNumber"
}
},
onLoad(query) {
@@ -67,7 +70,7 @@ export default {
if (res?.data) {
this.total = res.data.pages || 0
res.data.records.forEach(e => {
e.isCheck = this.selected.includes(e.idNumber)
e.isCheck = this.selected.includes(e[this.nodeKey])
})
this.list = [current == 1 ? [] : this.list, res.data.records || []].flat()
}