From bad2bc143be3f8ddb93a1c9f984127b3ccf43e8f Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期一, 31 三月 2025 17:47:14 +0800 Subject: [PATCH] 11 --- src/components/createproposal/index.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/createproposal/index.vue b/src/components/createproposal/index.vue index 623f6fe..50dd191 100644 --- a/src/components/createproposal/index.vue +++ b/src/components/createproposal/index.vue @@ -6,7 +6,7 @@ width="1200px" append-to-body > - <el-form ref="form" :model="propform" label-width="80px"> + <el-form ref="form" :model="propform" label-width="80px" @submit.native.prevent> <el-form-item label="寤鸿鏍囬" prop="title"> <el-input v-model="propform.title" placeholder="璇疯緭鍏ュ悕绉版爣棰�" /> </el-form-item> @@ -109,15 +109,19 @@ console.log(val, 111); this.propform.advice = val.proParentList; this.isZjs = val.isZj; + if(val.proParentList){ + this.getList(); + } + }, }, mounted() { this.propform.kjbq = []; - this.getList(); + // this.getList(); }, created() { - this.getList(); + // this.getList(); }, methods: { getList() { @@ -163,8 +167,6 @@ }, handleCheckedCitiesChange(val) {}, handleOk() { - console.log(this.isZjs); - if (this.isZjs == 0) { let data = { title: this.propform.title, -- Gitblit v1.8.0