Merge branch 'dev'
Showing
1 changed file
with
13 additions
and
4 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-15 15:33:27 | 4 | * @LastEditTime: 2023-11-15 15:41:43 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..."> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..."> |
... | @@ -24,7 +24,14 @@ | ... | @@ -24,7 +24,14 @@ |
24 | <el-row> | 24 | <el-row> |
25 | <el-col :span="24"> | 25 | <el-col :span="24"> |
26 | <el-form-item label="共有情况"> | 26 | <el-form-item label="共有情况"> |
27 | <el-input v-model="bdcqz.gyqk"></el-input> | 27 | <el-select v-model="bdcqz.gyqk" class="width100" placeholder="请选择"> |
28 | <el-option | ||
29 | v-for="item in gyqkList" | ||
30 | :key="item.dcode" | ||
31 | :label="item.dname" | ||
32 | :value="item.dcode"> | ||
33 | </el-option> | ||
34 | </el-select> | ||
28 | </el-form-item> | 35 | </el-form-item> |
29 | </el-col> | 36 | </el-col> |
30 | </el-row> | 37 | </el-row> |
... | @@ -152,6 +159,7 @@ | ... | @@ -152,6 +159,7 @@ |
152 | </template> | 159 | </template> |
153 | 160 | ||
154 | <script> | 161 | <script> |
162 | import store from '@/store/index.js' | ||
155 | import { getSlsqBdcqzList, editBdcqz } from "@/api/bdcqz.js" | 163 | import { getSlsqBdcqzList, editBdcqz } from "@/api/bdcqz.js" |
156 | export default { | 164 | export default { |
157 | name: "zsxg", | 165 | name: "zsxg", |
... | @@ -163,6 +171,7 @@ | ... | @@ -163,6 +171,7 @@ |
163 | }, | 171 | }, |
164 | data () { | 172 | data () { |
165 | return { | 173 | return { |
174 | gyqkList: store.getters.dictData['A34'], | ||
166 | key: 0, | 175 | key: 0, |
167 | noData: false, | 176 | noData: false, |
168 | loading: false, | 177 | loading: false, |
... | @@ -188,7 +197,7 @@ | ... | @@ -188,7 +197,7 @@ |
188 | this.noData = true | 197 | this.noData = true |
189 | if (res.result && res.result.length > 0) { | 198 | if (res.result && res.result.length > 0) { |
190 | this.bdcqz = res.result[0] | 199 | this.bdcqz = res.result[0] |
191 | this.headTabBdcqz = res.result | 200 | this.headTabBdcqz = _.cloneDeep(res.result) |
192 | if (this.formData.bsmBdcqz) { | 201 | if (this.formData.bsmBdcqz) { |
193 | this.activeName = this.formData.bsmBdcqz | 202 | this.activeName = this.formData.bsmBdcqz |
194 | } else { | 203 | } else { |
... | @@ -200,7 +209,7 @@ | ... | @@ -200,7 +209,7 @@ |
200 | }) | 209 | }) |
201 | }, | 210 | }, |
202 | handleClick (tab) { | 211 | handleClick (tab) { |
203 | this.bdcqz = this.headTabBdcqz[tab.index] | 212 | this.bdcqz = _.cloneDeep(this.headTabBdcqz[tab.index]) |
204 | }, | 213 | }, |
205 | handleSubmit () { | 214 | handleSubmit () { |
206 | editBdcqz(this.bdcqz).then(res => { | 215 | editBdcqz(this.bdcqz).then(res => { | ... | ... |
-
Please register or sign in to post a comment