首次登记和注销登记代码优化
Showing
2 changed files
with
9 additions
and
7 deletions
... | @@ -133,7 +133,7 @@ | ... | @@ -133,7 +133,7 @@ |
133 | <el-row :gutter="10"> | 133 | <el-row :gutter="10"> |
134 | <el-col :span="14" v-if="ruleForm.qlxx"> | 134 | <el-col :span="14" v-if="ruleForm.qlxx"> |
135 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | 135 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> |
136 | <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> | 136 | <el-radio-group :disabled="$route.query.viewtype==1" @change="showCZInfo" v-model="ruleForm.slywxx.gyfs"> |
137 | <el-radio label="1">单独所有</el-radio> | 137 | <el-radio label="1">单独所有</el-radio> |
138 | <el-radio label="2">共同共有</el-radio> | 138 | <el-radio label="2">共同共有</el-radio> |
139 | <el-radio label="3">按份所有</el-radio> | 139 | <el-radio label="3">按份所有</el-radio> |
... | @@ -142,7 +142,7 @@ | ... | @@ -142,7 +142,7 @@ |
142 | </el-col> | 142 | </el-col> |
143 | <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'"> | 143 | <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'"> |
144 | <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:"> | 144 | <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:"> |
145 | <el-radio-group v-model="ruleForm.sffbcz"> | 145 | <el-radio-group v-model="ruleForm.slywxx.sffbcz"> |
146 | <el-radio label="1">是</el-radio> | 146 | <el-radio label="1">是</el-radio> |
147 | <el-radio label="0">否</el-radio> | 147 | <el-radio label="0">否</el-radio> |
148 | </el-radio-group> | 148 | </el-radio-group> |
... | @@ -150,7 +150,7 @@ | ... | @@ -150,7 +150,7 @@ |
150 | </el-col> | 150 | </el-col> |
151 | <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'"> | 151 | <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'"> |
152 | <el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:"> | 152 | <el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:"> |
153 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | 153 | <el-select v-model="ruleForm.slywxx.czr" placeholder="持证人"> |
154 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> | 154 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> |
155 | </el-option> | 155 | </el-option> |
156 | </el-select> | 156 | </el-select> |
... | @@ -222,6 +222,9 @@ export default { | ... | @@ -222,6 +222,9 @@ export default { |
222 | upDateQlrxxList (val) { | 222 | upDateQlrxxList (val) { |
223 | this.ruleForm.qlrList = _.cloneDeep(val); | 223 | this.ruleForm.qlrList = _.cloneDeep(val); |
224 | }, | 224 | }, |
225 | showCZInfo() { | ||
226 | console.log(this.ruleForm.slywxx.gyfs); | ||
227 | }, | ||
225 | // 更新权利人信息 | 228 | // 更新权利人信息 |
226 | upDateYwrxxList (val) { | 229 | upDateYwrxxList (val) { |
227 | this.ruleForm.ywrList = _.cloneDeep(val); | 230 | this.ruleForm.ywrList = _.cloneDeep(val); | ... | ... |
... | @@ -47,9 +47,7 @@ | ... | @@ -47,9 +47,7 @@ |
47 | <div class="triangle"></div> | 47 | <div class="triangle"></div> |
48 | </div> | 48 | </div> |
49 | 49 | ||
50 | <el-form-item :class="flag ? 'marginBot0' : ''"> | 50 | <el-button type="primary" style="float: right;margin-right: 20px; " @click="onClick">数据查看</el-button> |
51 | <el-button type="primary" @click="onClick">数据查看</el-button> | ||
52 | </el-form-item> | ||
53 | 51 | ||
54 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 52 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
55 | <el-col :span="8"> | 53 | <el-col :span="8"> |
... | @@ -190,6 +188,7 @@ | ... | @@ -190,6 +188,7 @@ |
190 | import InformationTable from "@/views/workflow/components/InformationTable"; | 188 | import InformationTable from "@/views/workflow/components/InformationTable"; |
191 | import {Init, saveGZBatchData} from "@/api/fwsyqFlow.js"; | 189 | import {Init, saveGZBatchData} from "@/api/fwsyqFlow.js"; |
192 | import { mapGetters } from "vuex"; | 190 | import { mapGetters } from "vuex"; |
191 | import SERVER from "@/api/config"; | ||
193 | export default { | 192 | export default { |
194 | async created () { | 193 | async created () { |
195 | this.propsParam = this.$attrs; | 194 | this.propsParam = this.$attrs; |
... | @@ -258,7 +257,7 @@ export default { | ... | @@ -258,7 +257,7 @@ export default { |
258 | this.$popup({ | 257 | this.$popup({ |
259 | titleStyle: "left", | 258 | titleStyle: "left", |
260 | title: "登记簿详情", // 弹窗标题 | 259 | title: "登记簿详情", // 弹窗标题 |
261 | editItem: "ywbl/fdcq2/slxxCompareDetai", // 弹窗内容 | 260 | editItem: SERVER.SERVERAPI+"/rest/ywbl/fdcq2/slxxCompareDetai", // 弹窗内容 |
262 | formData: { | 261 | formData: { |
263 | bsmSlsq: this.propsParam.bsmSldy, | 262 | bsmSlsq: this.propsParam.bsmSldy, |
264 | qllx: this.propsParam.qllx | 263 | qllx: this.propsParam.qllx | ... | ... |
-
Please register or sign in to post a comment