diff --git a/src/project/saas/AppCooperationPropaganda/AppCooperationPropaganda.vue b/src/project/saas/AppCooperationPropaganda/AppCooperationPropaganda.vue index b9f73daa..eb41961b 100644 --- a/src/project/saas/AppCooperationPropaganda/AppCooperationPropaganda.vue +++ b/src/project/saas/AppCooperationPropaganda/AppCooperationPropaganda.vue @@ -169,7 +169,6 @@ export default { }, onShow() { document.title = '群发居民群' - // this.getList() this.$dict.load(['mstStatus']).then(() => { this.getList() }) diff --git a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue index 8caa9d95..75f75bcb 100644 --- a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue +++ b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue @@ -66,6 +66,7 @@ :colConfigs="tabIndex==0? colConfigs0 : colConfigs1" v-if="tableData.length"> + @@ -104,7 +105,7 @@ export default { computed: { colConfigs0() { return [ - { slot: "groupOwnerId",label: "成员",prop: "groupOwnerId" }, + { slot: "groupOwnerId",label: "成员" }, { label: "预计送达居民群", prop: "groupCount" } ]; }, @@ -112,7 +113,7 @@ export default { return [ { label: "居民群",prop: "groupName" }, { label: "群人数", prop: "memberCount"}, - { slot: "groupOwnerId",label: "群主",prop: "groupOwnerId" } + { slot: "groupOwnerId",label: "群主" } ]; }, }, diff --git a/src/project/saas/AppCooperationPropaganda/selectUser.vue b/src/project/saas/AppCooperationPropaganda/selectUser.vue index f7effd3a..775699ab 100644 --- a/src/project/saas/AppCooperationPropaganda/selectUser.vue +++ b/src/project/saas/AppCooperationPropaganda/selectUser.vue @@ -4,7 +4,7 @@
- {{e.userId}} +
@@ -53,34 +53,28 @@ export default { }).then(res => { if (res?.data) { let userArr = res.data.records.map(e => ({userId: e.createUserId, isChecked: this.isSelected(e.createUserId)})) - // 数组去重 this.userList = [] userArr.forEach(item=> { if(!this.userList.find(o=> o.userId === item.userId)) { this.userList.push(item) } }) - } }) }, itemCheck(row) { this.userList.forEach(e => e.isChecked = false) - - const index= this.userList.findIndex(o => { - + const index = this.userList.findIndex(o => { return row.userId===o.userId }) - this.userList[index].isChecked=true + this.userList[index].isChecked = true this.selected = this.userList[index] - console.log( this.selected) - // this.$forceUpdate() }, submit() { if(!this.selected.userId) { return this.$u.toast('请选择创建人') } - uni.$emit("pagePicker:custom",[ this.selected]) + uni.$emit("pagePicker:custom", [this.selected]) uni.setStorageSync('userSelect', this.selected) uni.navigateBack() }, diff --git a/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue b/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue index 577f8915..5ef5f87d 100644 --- a/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue +++ b/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue @@ -579,7 +579,7 @@ export default { xData.push(a.data) console.log( xData) }) - console.log(xData, yData, '111222'); + // console.log(xData, yData, '111222'); this.getColumnarEcharts(xData, yData) }) }