table,已选中人员回显 重置

This commit is contained in:
shijingjing
2022-07-26 10:32:07 +08:00
parent faea4c65bd
commit 601640eea1
6 changed files with 35 additions and 32 deletions

View File

@@ -129,24 +129,21 @@ export default {
this.startTime = '',
this.endTime = ''
this.userIdList = []
// uni.clearStorageSync('userSelect') //清空会导致状态字典出问题
this.createUserId = ''
uni.clearStorageSync('userSelect')
this.current = 1
this.list = []
this.getList()
this.$dict.load(['mstStatus']).then(() => {
this.getList()
})
this.filterShow = false
},
selectConfirm() {
if(this.userIdList.length) {
this.createUserId = this.userIdList?.[0].userId
console.log(this.userIdList,'userIdList');
console.log(this.createUserId,'createUserId');
}
// let arr = this.userIdList
// console.log(arr[0],222);
// console.log(this.userIdList,111);
this.start = this.startTime,
this.end = this.endTime
let startTmp = this.start.split("-");
@@ -172,7 +169,7 @@ export default {
},
onShow() {
document.title = '群发居民群'
this.getList()
// this.getList()
this.$dict.load(['mstStatus']).then(() => {
this.getList()
})