From 456b73830b432ed940fcbf97515d7214943d3ad1 Mon Sep 17 00:00:00 2001 From: tianq Date: Fri, 5 May 2023 13:41:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/workSys/addFormNotice.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/modules/workSys/addFormNotice.vue b/src/views/modules/workSys/addFormNotice.vue index 19fb0988e..0d684bf86 100644 --- a/src/views/modules/workSys/addFormNotice.vue +++ b/src/views/modules/workSys/addFormNotice.vue @@ -11,7 +11,7 @@ - + @@ -24,6 +24,7 @@ v-model="formData.orgId" :options="orgOptions" filterable + clearable :props="orgOptionProps" :show-all-levels="false" @change="handleChangeAgency" @@ -45,7 +46,6 @@ - @@ -59,7 +59,8 @@ {{ formData.content }} - + + {{ formData.publishTime }} @@ -202,7 +203,7 @@ export default { handleChangeAgency(val) { console.log('val', val); let obj = this.$refs['myCascader'].getCheckedNodes().map(item => { - return { orgType: item.data.level, orgId: item.data.agencyId }; + return { orgType: item.data.level === 'grid' ? 'grid' : 'agency', orgId: item.data.agencyId }; }); console.log('obj', obj); this.formData.rangeList = [...obj];