4b40b743 by 夏齐

首次登记和注销登记代码优化

1 parent 99fddfec
......@@ -133,7 +133,7 @@
<el-row :gutter="10">
<el-col :span="14" v-if="ruleForm.qlxx">
<el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
<el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs">
<el-radio-group :disabled="$route.query.viewtype==1" @change="showCZInfo" v-model="ruleForm.slywxx.gyfs">
<el-radio label="1">单独所有</el-radio>
<el-radio label="2">共同共有</el-radio>
<el-radio label="3">按份所有</el-radio>
......@@ -142,7 +142,7 @@
</el-col>
<el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'">
<el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:">
<el-radio-group v-model="ruleForm.sffbcz">
<el-radio-group v-model="ruleForm.slywxx.sffbcz">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
......@@ -150,7 +150,7 @@
</el-col>
<el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'">
<el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:">
<el-select v-model="ruleForm.czr" placeholder="持证人">
<el-select v-model="ruleForm.slywxx.czr" placeholder="持证人">
<el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
......@@ -222,6 +222,9 @@ export default {
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
showCZInfo() {
console.log(this.ruleForm.slywxx.gyfs);
},
// 更新权利人信息
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
......
......@@ -47,9 +47,7 @@
<div class="triangle"></div>
</div>
<el-form-item :class="flag ? 'marginBot0' : ''">
<el-button type="primary" @click="onClick">数据查看</el-button>
</el-form-item>
<el-button type="primary" style="float: right;margin-right: 20px; " @click="onClick">数据查看</el-button>
<el-row :gutter="10" v-if="ruleForm.qlxx">
<el-col :span="8">
......@@ -190,6 +188,7 @@
import InformationTable from "@/views/workflow/components/InformationTable";
import {Init, saveGZBatchData} from "@/api/fwsyqFlow.js";
import { mapGetters } from "vuex";
import SERVER from "@/api/config";
export default {
async created () {
this.propsParam = this.$attrs;
......@@ -258,7 +257,7 @@ export default {
this.$popup({
titleStyle: "left",
title: "登记簿详情", // 弹窗标题
editItem: "ywbl/fdcq2/slxxCompareDetai", // 弹窗内容
editItem: SERVER.SERVERAPI+"/rest/ywbl/fdcq2/slxxCompareDetai", // 弹窗内容
formData: {
bsmSlsq: this.propsParam.bsmSldy,
qllx: this.propsParam.qllx
......