3b594f12 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 9be53f2d 4ab467c2
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-11-15 15:33:27
* @LastEditTime: 2023-11-15 15:41:43
-->
<template>
<div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中...">
......@@ -24,7 +24,14 @@
<el-row>
<el-col :span="24">
<el-form-item label="共有情况">
<el-input v-model="bdcqz.gyqk"></el-input>
<el-select v-model="bdcqz.gyqk" class="width100" placeholder="请选择">
<el-option
v-for="item in gyqkList"
:key="item.dcode"
:label="item.dname"
:value="item.dcode">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
......@@ -152,6 +159,7 @@
</template>
<script>
import store from '@/store/index.js'
import { getSlsqBdcqzList, editBdcqz } from "@/api/bdcqz.js"
export default {
name: "zsxg",
......@@ -163,6 +171,7 @@
},
data () {
return {
gyqkList: store.getters.dictData['A34'],
key: 0,
noData: false,
loading: false,
......@@ -188,7 +197,7 @@
this.noData = true
if (res.result && res.result.length > 0) {
this.bdcqz = res.result[0]
this.headTabBdcqz = res.result
this.headTabBdcqz = _.cloneDeep(res.result)
if (this.formData.bsmBdcqz) {
this.activeName = this.formData.bsmBdcqz
} else {
......@@ -200,7 +209,7 @@
})
},
handleClick (tab) {
this.bdcqz = this.headTabBdcqz[tab.index]
this.bdcqz = _.cloneDeep(this.headTabBdcqz[tab.index])
},
handleSubmit () {
editBdcqz(this.bdcqz).then(res => {
......