From c2dab52fa1d62bb788b640aa81bb305005b13b30 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 3 Mar 2023 16:05:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=AE=A1=E6=A0=B8=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppCooperationPropaganda/addPropaganda.vue | 14 +++++++++----- .../AppCooperationPropaganda/selectDeptUser.vue | 5 ++++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue index dcb07445..f3e468a4 100644 --- a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue +++ b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue @@ -643,11 +643,15 @@ export default { // 时间 this.startTime = uni.getStorageSync('startTime') this.endTime = uni.getStorageSync('endTime') - if(this.enableExamine==1) { - this.form.examines = uni.setStorageSync('selectDeptUser') - } - - + uni.$on("pagePicker:custom", ()=> { + this.form.examines = uni.getStorageSync('selectDeptUser').map(e=> { + return { + ...e, + examineUserId: e.id, + examineUserName: e.name + } + }) + }) } } diff --git a/src/project/huizhili/AppCooperationPropaganda/selectDeptUser.vue b/src/project/huizhili/AppCooperationPropaganda/selectDeptUser.vue index f79b42f4..504831f0 100644 --- a/src/project/huizhili/AppCooperationPropaganda/selectDeptUser.vue +++ b/src/project/huizhili/AppCooperationPropaganda/selectDeptUser.vue @@ -38,7 +38,7 @@