552273d0 by 田浩浩
2 parents 09797a45 0ff0feb9
...@@ -618,7 +618,7 @@ class data extends filter { ...@@ -618,7 +618,7 @@ class data extends filter {
618 label: "权属状态", 618 label: "权属状态",
619 }, 619 },
620 { 620 {
621 prop: "cflx", 621 prop: "cflxmc",
622 label: "查封类型", 622 label: "查封类型",
623 }, 623 },
624 { 624 {
...@@ -646,15 +646,15 @@ class data extends filter { ...@@ -646,15 +646,15 @@ class data extends filter {
646 label: "查封机关", 646 label: "查封机关",
647 }, 647 },
648 { 648 {
649 prop: "bdcqlr", 649 prop: "qlrmc",
650 label: "不动产权利人", 650 label: "不动产权利人",
651 }, 651 },
652 { 652 {
653 prop: "zjzl", 653 prop: "qlrzjzl",
654 label: "证件种类", 654 label: "证件种类",
655 }, 655 },
656 { 656 {
657 prop: "zjh", 657 prop: "qlrzjhm",
658 label: "证件号", 658 label: "证件号",
659 }, 659 },
660 660
......
...@@ -20,9 +20,12 @@ export function getForm(tabName, djywbm) { ...@@ -20,9 +20,12 @@ export function getForm(tabName, djywbm) {
20 case "fwsyqslxx300": 20 case "fwsyqslxx300":
21 form = require("@/views/ywbl/fdcq2/slxx300.vue"); 21 form = require("@/views/ywbl/fdcq2/slxx300.vue");
22 break; 22 break;
23 case "slxxCfdj": 23 case "tdslxxCfdj":
24 form = require("@/views/ywbl/cfdj/slxx.vue"); 24 form = require("@/views/ywbl/cfdj/tdslxx.vue");
25 break; 25 break;
26 case "fwslxxCfdj":
27 form = require("@/views/ywbl/cfdj/fwslxx.vue");
28 break;
26 case "clxx": 29 case "clxx":
27 form = require("@/views/workflow/components/clxx.vue"); 30 form = require("@/views/workflow/components/clxx.vue");
28 break; 31 break;
...@@ -32,6 +35,9 @@ export function getForm(tabName, djywbm) { ...@@ -32,6 +35,9 @@ export function getForm(tabName, djywbm) {
32 case "zdjbxx": 35 case "zdjbxx":
33 form = require("@/views/registerBook/zdjbxx.vue"); 36 form = require("@/views/registerBook/zdjbxx.vue");
34 break; 37 break;
38 case "cfdjxx":
39 form = require("@/views/registerBook/cfdj.vue");
40 break;
35 case "qlxx": 41 case "qlxx":
36 form = require("@/views/registerBook/jsydsyq.vue"); 42 form = require("@/views/registerBook/jsydsyq.vue");
37 break; 43 break;
......
...@@ -99,7 +99,8 @@ ...@@ -99,7 +99,8 @@
99 </el-col> 99 </el-col>
100 <el-col :span="8"> 100 <el-col :span="8">
101 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx"> 101 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx">
102 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:" :disabled="$route.query.viewtype"> 102 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:"
103 :disabled="$route.query.viewtype" @change="changeCflx">
103 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 104 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode">
104 </el-option> 105 </el-option>
105 </el-select> 106 </el-select>
...@@ -176,7 +177,7 @@ export default { ...@@ -176,7 +177,7 @@ export default {
176 //传递参数 177 //传递参数
177 propsParam: {}, 178 propsParam: {},
178 //页面数据 179 //页面数据
179 ruleForm: {} 180 ruleForm: {},
180 181
181 }; 182 };
182 }, 183 },
...@@ -225,6 +226,13 @@ export default { ...@@ -225,6 +226,13 @@ export default {
225 } 226 }
226 }); 227 });
227 }, 228 },
229 changeCflx(e){
230 let cflxItem = {}
231 cflxItem = this.dictData['A32'].find((item) => {
232 return item.dcode == e
233 })
234 this.ruleForm.cfdj.cflxmc = cflxItem.dname;
235 }
228 }, 236 },
229 }; 237 };
230 </script> 238 </script>
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
48 <el-row :gutter="10"> 48 <el-row :gutter="10">
49 <el-col :span="8"> 49 <el-col :span="8">
50 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="qlxx.bdcqzh"> 50 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="qlxx.bdcqzh">
51 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> 51 <el-input disabled v-model="ruleForm.qlxx.bdcqzh"></el-input>
52 </el-form-item> 52 </el-form-item>
53 </el-col> 53 </el-col>
54 <el-col :span="8"> 54 <el-col :span="8">
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 </el-col> 58 </el-col>
59 <el-col :span="8"> 59 <el-col :span="8">
60 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc"> 60 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc">
61 <el-input disabled v-model="ruleForm.qlxx.qlrmc"></el-input> 61 <el-input disabled v-model="ruleForm.qlxx.ywrmc"></el-input>
62 </el-form-item> 62 </el-form-item>
63 </el-col> 63 </el-col>
64 </el-row> 64 </el-row>
...@@ -94,67 +94,70 @@ ...@@ -94,67 +94,70 @@
94 <el-row :gutter="10"> 94 <el-row :gutter="10">
95 <el-col :span="8"> 95 <el-col :span="8">
96 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> 96 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
97 <el-input v-model="ruleForm.cfdj.cfjg"></el-input> 97 <el-input v-model="ruleForm.cfdj.cfjg" :disabled="$route.query.viewtype"></el-input>
98 </el-form-item> 98 </el-form-item>
99 </el-col> 99 </el-col>
100 <el-col :span="8"> 100 <el-col :span="8">
101 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="ytmc"> 101 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx">
102 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:"> 102 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:"
103 :disabled="$route.query.viewtype" @change="changeCflx">
103 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 104 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode">
104 </el-option> 105 </el-option>
105 </el-select> 106 </el-select>
106 </el-form-item> 107 </el-form-item>
107 </el-col> 108 </el-col>
108 <el-col :span="8"> 109 <el-col :span="8">
109 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="ytmc"> 110 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
110 <el-input v-model="ruleForm.cfdj.cfwj"></el-input> 111 <el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype"></el-input>
111 </el-form-item> 112 </el-form-item>
112 </el-col> 113 </el-col>
113 </el-row> 114 </el-row>
114 <el-row :gutter="10"> 115 <el-row :gutter="10">
115 <el-col :span="8"> 116 <el-col :span="8">
116 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="mj"> 117 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
117 <el-input v-model="ruleForm.cfdj.cfwh"></el-input> 118 <el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype"></el-input>
118 </el-form-item> 119 </el-form-item>
119 </el-col> 120 </el-col>
120 <el-col :span="8"> 121 <el-col :span="8">
121 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> 122 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
122 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" type="date" placeholder="选择日期"></el-date-picker> 123 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" :disabled="$route.query.viewtype"
124 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
123 </el-form-item> 125 </el-form-item>
124 </el-col> 126 </el-col>
125 <el-col :span="8"> 127 <el-col :span="8">
126 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj"> 128 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
127 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" type="date" placeholder="选择日期"></el-date-picker> 129 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" :disabled="$route.query.viewtype"
130 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
128 </el-form-item> 131 </el-form-item>
129 </el-col> 132 </el-col>
130 </el-row> 133 </el-row>
131 <el-row :gutter="10"> 134 <el-row :gutter="10">
132 <el-col :span="24"> 135 <el-col :span="24">
133 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="mj"> 136 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
134 <el-input v-model="ruleForm.cfdj.cffw"></el-input> 137 <el-input v-model="ruleForm.cfdj.cffw" :disabled="$route.query.viewtype"></el-input>
135 </el-form-item> 138 </el-form-item>
136 </el-col> 139 </el-col>
137 </el-row> 140 </el-row>
138 <el-row :gutter="10"> 141 <el-row :gutter="10">
139 <el-col :span="24"> 142 <el-col :span="24">
140 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="mj"> 143 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
141 <el-input v-model="ruleForm.cfdj.fj"></el-input> 144 <el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype"></el-input>
142 </el-form-item> 145 </el-form-item>
143 </el-col> 146 </el-col>
144 </el-row> 147 </el-row>
145 <div class="slxx_title">不动产权利人信息</div> 148 <div class="slxx_title">不动产权利人信息</div>
146 <sqrViewTable :tableData="ruleForm.qlrxx" /> 149 <sqrViewTable :tableData="ruleForm.ywrList" />
147 <div class="slxx_title">登记原因</div> 150 <div class="slxx_title">登记原因</div>
148 <el-row :gutter="10"> 151 <el-row :gutter="10">
149 <el-col> 152 <el-col>
150 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> 153 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
151 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy"></el-input> 154 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" :disabled="$route.query.viewtype"></el-input>
152 </el-form-item> 155 </el-form-item>
153 </el-col> 156 </el-col>
154 </el-row> 157 </el-row>
155 </div> 158 </div>
156 <el-row> 159 <el-row>
157 <el-form-item :class="flag ? 'marginBot0' : ''" class="btn"> 160 <el-form-item :class="flag ? 'marginBot0' : ''" class="btn" v-if="!$route.query.viewtype">
158 <el-button type="primary" @click="onSubmit">保存</el-button> 161 <el-button type="primary" @click="onSubmit">保存</el-button>
159 </el-form-item> 162 </el-form-item>
160 </el-row> 163 </el-row>
...@@ -162,8 +165,8 @@ ...@@ -162,8 +165,8 @@
162 </div> 165 </div>
163 </template> 166 </template>
164 <script> 167 <script>
165 import sqrViewTable from "@/views/workflow/components/sqrViewTable.vue"; 168 import sqrViewTable from "@/views/workflow/components/sqrViewTable";
166 import { cfInit, fristReg } from "@/api/cfdjFlow.js"; 169 import { cfInit, sealUpReg } from "@/api/cfdjFlow.js";
167 import { mapGetters } from "vuex"; 170 import { mapGetters } from "vuex";
168 export default { 171 export default {
169 data () { 172 data () {
...@@ -174,7 +177,7 @@ export default { ...@@ -174,7 +177,7 @@ export default {
174 //传递参数 177 //传递参数
175 propsParam: {}, 178 propsParam: {},
176 //页面数据 179 //页面数据
177 ruleForm: {} 180 ruleForm: {},
178 181
179 }; 182 };
180 }, 183 },
...@@ -217,12 +220,19 @@ export default { ...@@ -217,12 +220,19 @@ export default {
217 }); 220 });
218 }, 221 },
219 onSubmit () { 222 onSubmit () {
220 fristReg().then((res) => { 223 sealUpReg(this.ruleForm).then((res) => {
221 if (res.code === 200 && res.result) { 224 if (res.code === 200 && res.result) {
222 console.log(res); 225 this.$message.success('保存成功');
223 } 226 }
224 }); 227 });
225 }, 228 },
229 changeCflx(e){
230 let cflxItem = {}
231 cflxItem = this.dictData['A32'].find((item) => {
232 return item.dcode == e
233 })
234 this.ruleForm.cfdj.cflxmc = cflxItem.dname;
235 }
226 }, 236 },
227 }; 237 };
228 </script> 238 </script>
......