协同宣发

This commit is contained in:
liuye
2023-06-13 11:15:11 +08:00
parent dad7d51869
commit bcf0d45308
3 changed files with 14 additions and 2 deletions

View File

@@ -657,6 +657,17 @@ export default {
uni.removeStorageSync('checkedList') uni.removeStorageSync('checkedList')
}, },
getExamines(list) {
this.form.examines = list?.map(e => {
return {
...e,
examineUserId: e.id,
examineUserName: e.name
}
})
uni.setStorageSync('selectDeptUser', list)
},
}, },
watch: { watch: {
type: { type: {
@@ -683,6 +694,7 @@ export default {
uni.setStorageSync('sendScope', []) uni.setStorageSync('sendScope', [])
uni.setStorageSync('wxGroupsUser', []) uni.setStorageSync('wxGroupsUser', [])
uni.setStorageSync('selectDeptUser', []) uni.setStorageSync('selectDeptUser', [])
uni.setStorageSync('deptList', [])
}, },
onShow() { onShow() {
this.form.wxGroups = uni.getStorageSync('wxGroupsUser') || [] this.form.wxGroups = uni.getStorageSync('wxGroupsUser') || []

View File

@@ -122,7 +122,7 @@ export default {
return this.$u.toast('请选择审核人员') return this.$u.toast('请选择审核人员')
} }
uni.$emit("pagePicker:custom", [this.selected].flat()) uni.$emit("pagePicker:custom", [this.selected].flat())
uni.setStorageSync('selectDeptUser', [this.selected].flat()) // uni.setStorageSync('selectDeptUser', [this.selected].flat())
uni.navigateBack() uni.navigateBack()
}, },
} }