3e3c42d9 by tianhaohao@pashanhoo.com

修改查封登记

1 parent 1c941e3f
...@@ -5,8 +5,14 @@ ...@@ -5,8 +5,14 @@
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
8 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flagTop" :inline="flag" 8 <el-form
9 label-width="120px"> 9 :model="ruleForm"
10 :rules="rules"
11 ref="ruleForm"
12 :label-position="flagTop"
13 :inline="flag"
14 label-width="120px"
15 >
10 <div class="slxx_con"> 16 <div class="slxx_con">
11 <div class="slxx_title title-block"> 17 <div class="slxx_title title-block">
12 受理信息 18 受理信息
...@@ -32,17 +38,37 @@ ...@@ -32,17 +38,37 @@
32 <el-row :gutter="10"> 38 <el-row :gutter="10">
33 <el-col :span="8"> 39 <el-col :span="8">
34 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="slsq.qllx"> 40 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="slsq.qllx">
35 <el-select disabled v-model="ruleForm.slsq.qllx" filterable clearable placeholder="请选择权利类型"> 41 <el-select
36 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 42 disabled
37 </el-option> 43 v-model="ruleForm.slsq.qllx"
44 filterable
45 clearable
46 placeholder="请选择权利类型"
47 >
48 <el-option
49 v-for="item in dictData['A8']"
50 :key="item.dcode"
51 :label="item.dname"
52 :value="item.dcode"
53 ></el-option>
38 </el-select> 54 </el-select>
39 </el-form-item> 55 </el-form-item>
40 </el-col> 56 </el-col>
41 <el-col :span="8"> 57 <el-col :span="8">
42 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="slsq.djlx"> 58 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="slsq.djlx">
43 <el-select disabled v-model="ruleForm.slsq.djlx" filterable clearable placeholder="请选择登记类型"> 59 <el-select
44 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 60 disabled
45 </el-option> 61 v-model="ruleForm.slsq.djlx"
62 filterable
63 clearable
64 placeholder="请选择登记类型"
65 >
66 <el-option
67 v-for="item in dictData['A21']"
68 :key="item.dcode"
69 :label="item.dname"
70 :value="item.dcode"
71 ></el-option>
46 </el-select> 72 </el-select>
47 </el-form-item> 73 </el-form-item>
48 </el-col> 74 </el-col>
...@@ -56,13 +82,32 @@ ...@@ -56,13 +82,32 @@
56 查封不动产情况 82 查封不动产情况
57 <div class="triangle"></div> 83 <div class="triangle"></div>
58 </div> 84 </div>
85
86 <el-row :gutter="10">
87 <el-col :span="8">
88 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:">
89 <el-input disabled v-model="ruleForm.ssQlxx.qllxmc"></el-input>
90 </el-form-item>
91 </el-col>
92
93 <el-col :span="8">
94 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="qlxx.bdcqzh">
95 <el-input disabled v-model="ruleForm.ssQlxx.bdcqzh"></el-input>
96 </el-form-item>
97 </el-col>
98 <el-col :span="8">
99 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有情况:">
100 <el-input disabled v-model="ruleForm.ssQlxx.gyqk"></el-input>
101 </el-form-item>
102 </el-col>
103 </el-row>
59 <el-row :gutter="10"> 104 <el-row :gutter="10">
60 <el-col :span="8"> 105 <el-col :span="8">
61 <el-form-item :class="flag ? 'marginBot0' : ''" label="被执行人:" prop="qlxx.qlrmc"> 106 <el-form-item :class="flag ? 'marginBot0' : ''" label="被执行人:" prop="qlxx.qlrmc">
62 <el-input disabled v-model="ruleForm.ssQlxx.qlrmc"></el-input> 107 <el-input disabled v-model="ruleForm.ssQlxx.qlrmc"></el-input>
63 </el-form-item> 108 </el-form-item>
64 </el-col> 109 </el-col>
65 <el-col :span="8"> 110 <el-col :span="8">
66 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:"> 111 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:">
67 <el-input disabled v-model="ruleForm.ssQlxx.qlrzjzl"></el-input> 112 <el-input disabled v-model="ruleForm.ssQlxx.qlrzjzl"></el-input>
68 </el-form-item> 113 </el-form-item>
...@@ -71,42 +116,38 @@ ...@@ -71,42 +116,38 @@
71 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件号:"> 116 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件号:">
72 <el-input disabled v-model="ruleForm.ssQlxx.qlrzjhm"></el-input> 117 <el-input disabled v-model="ruleForm.ssQlxx.qlrzjhm"></el-input>
73 </el-form-item> 118 </el-form-item>
74 </el-col> 119 </el-col>
75 </el-row> 120 </el-row>
76 <el-row :gutter="10"> 121 <el-row :gutter="10">
77 <el-col :span="8"> 122 <el-col :span="8">
78 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="qlxx.bdcqzh">
79 <el-input disabled v-model="ruleForm.ssQlxx.bdcqzh"></el-input>
80 </el-form-item>
81 </el-col>
82 <el-col :span="8">
83 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:" prop="qlxx.bdcdyh"> 123 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:" prop="qlxx.bdcdyh">
84 <el-input disabled v-model="ruleForm.ssQlxx.bdcdyh"></el-input> 124 <el-input disabled v-model="ruleForm.ssQlxx.bdcdyh"></el-input>
85 </el-form-item> 125 </el-form-item>
86 </el-col> 126 </el-col>
87 <el-col :span="8"> 127 <el-col :span="16">
88 <el-form-item :class="flag ? 'marginBot0' : ''" label="用途:"> 128 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:">
89 <el-input disabled v-model="ruleForm.ssQlxx.ytmc"></el-input> 129 <el-input disabled v-model="ruleForm.ssQlxx.zl"></el-input>
90 </el-form-item> 130 </el-form-item>
91 </el-col> 131 </el-col>
92 </el-row> 132 </el-row>
93 <el-row :gutter="10"> 133 <el-row :gutter="10">
94 <el-col :span="8"> 134 <el-col :span="8">
95 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:"> 135 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:">
96 <el-input disabled v-model="ruleForm.ssQlxx.zl"></el-input> 136 <el-input disabled v-model="ruleForm.ssQlxx.qlxzmc"></el-input>
97 </el-form-item> 137 </el-form-item>
98 </el-col> 138 </el-col>
99 <el-col :span="8"> 139 <el-col :span="8">
100 <el-form-item :class="flag ? 'marginBot0' : ''" label="面积:"> 140 <el-form-item :class="flag ? 'marginBot0' : ''" label="用途:">
101 <el-input disabled v-model="ruleForm.ssQlxx.mjmc"></el-input> 141 <el-input disabled v-model="ruleForm.ssQlxx.ytmc"></el-input>
102 </el-form-item> 142 </el-form-item>
103 </el-col> 143 </el-col>
104 <el-col :span="8"> 144 <el-col :span="8">
105 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:"> 145 <el-form-item :class="flag ? 'marginBot0' : ''" label="面积:">
106 <el-input disabled v-model="ruleForm.ssQlxx.qlxzmc"></el-input> 146 <el-input disabled v-model="ruleForm.ssQlxx.mjmc"></el-input>
107 </el-form-item> 147 </el-form-item>
108 </el-col> 148 </el-col>
109 </el-row> 149 </el-row>
150
110 <div class="slxx_title title-block"> 151 <div class="slxx_title title-block">
111 查封信息 152 查封信息
112 <div class="triangle"></div> 153 <div class="triangle"></div>
...@@ -114,12 +155,18 @@ ...@@ -114,12 +155,18 @@
114 <el-row :gutter="10"> 155 <el-row :gutter="10">
115 <el-col :span="8"> 156 <el-col :span="8">
116 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> 157 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
117 <el-input v-model="ruleForm.cfdj.cfjg" :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 158 <el-input
159 v-model="ruleForm.cfdj.cfjg"
160 :disabled="$route.query.viewtype || ableEdit || isJfOperation"
161 ></el-input>
118 </el-form-item> 162 </el-form-item>
119 </el-col> 163 </el-col>
120 <el-col :span="8"> 164 <el-col :span="8">
121 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> 165 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
122 <el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 166 <el-input
167 v-model="ruleForm.cfdj.cfwh"
168 :disabled="$route.query.viewtype || ableEdit || isJfOperation"
169 ></el-input>
123 </el-form-item> 170 </el-form-item>
124 </el-col> 171 </el-col>
125 <el-col :span="8"> 172 <el-col :span="8">
...@@ -131,48 +178,75 @@ ...@@ -131,48 +178,75 @@
131 <el-row :gutter="10"> 178 <el-row :gutter="10">
132 <el-col :span="8"> 179 <el-col :span="8">
133 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx"> 180 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx">
134 <el-input v-model="ruleForm.cfdj.cfqx" :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 181 <el-input
182 v-model="ruleForm.cfdj.cfqx"
183 :disabled="$route.query.viewtype || ableEdit || isJfOperation"
184 ></el-input>
135 </el-form-item> 185 </el-form-item>
136 </el-col> 186 </el-col>
137 <el-col :span="8"> 187 <el-col :span="8">
138 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> 188 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
139 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" type="date" placeholder="选择日期" 189 <el-date-picker
140 value-format="yyyy-MM-dd" :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-date-picker> 190 v-model="ruleForm.cfdj.cfqssj"
191 class="width100"
192 type="date"
193 placeholder="选择日期"
194 value-format="yyyy-MM-dd"
195 :disabled="$route.query.viewtype || ableEdit || isJfOperation"
196 ></el-date-picker>
141 </el-form-item> 197 </el-form-item>
142 </el-col> 198 </el-col>
143 <el-col :span="8"> 199 <el-col :span="8">
144 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj"> 200 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
145 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" 201 <el-date-picker
146 :disabled="$route.query.viewtype || ableEdit || isJfOperation" type="date" placeholder="选择日期" value-format="yyyy-MM-dd"> 202 v-model="ruleForm.cfdj.cfjssj"
147 </el-date-picker> 203 class="width100"
204 :disabled="$route.query.viewtype || ableEdit || isJfOperation"
205 type="date"
206 placeholder="选择日期"
207 value-format="yyyy-MM-dd"
208 ></el-date-picker>
148 </el-form-item> 209 </el-form-item>
149 </el-col> 210 </el-col>
150 </el-row> 211 </el-row>
151 <el-row :gutter="10"> 212 <el-row :gutter="10">
152 <el-col :span="8"> 213 <el-col :span="8">
153 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 214 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
154 <el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 215 <el-input
216 v-model="ruleForm.cfdj.cfwj"
217 :disabled="$route.query.viewtype || ableEdit || isJfOperation"
218 ></el-input>
155 </el-form-item> 219 </el-form-item>
156 </el-col> 220 </el-col>
157 <el-col :span="16"> 221 <el-col :span="16">
158 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 222 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
159 <el-input v-model="ruleForm.cfdj.cffw" :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 223 <el-input
224 v-model="ruleForm.cfdj.cffw"
225 :disabled="$route.query.viewtype || ableEdit || isJfOperation"
226 ></el-input>
160 </el-form-item> 227 </el-form-item>
161 </el-col> 228 </el-col>
162 </el-row> 229 </el-row>
163 <el-row :gutter="10"> 230 <el-row :gutter="10">
164 <el-col :span="24"> 231 <el-col :span="24">
165 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj"> 232 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
166 <el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype || ableEdit || isJfOperation"> 233 <el-input
167 </el-input> 234 v-model="ruleForm.cfdj.fj"
235 type="textarea"
236 :disabled="$route.query.viewtype || ableEdit || isJfOperation"
237 ></el-input>
168 </el-form-item> 238 </el-form-item>
169 </el-col> 239 </el-col>
170 </el-row> 240 </el-row>
171 <el-row :gutter="10"> 241 <el-row :gutter="10">
172 <el-col> 242 <el-col>
173 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> 243 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
174 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" 244 <el-input
175 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 245 class="textArea"
246 type="textarea"
247 v-model="ruleForm.cfdj.djyy"
248 :disabled="$route.query.viewtype || ableEdit || isJfOperation"
249 ></el-input>
176 </el-form-item> 250 </el-form-item>
177 </el-col> 251 </el-col>
178 </el-row> 252 </el-row>
...@@ -184,17 +258,26 @@ ...@@ -184,17 +258,26 @@
184 <el-row :gutter="10"> 258 <el-row :gutter="10">
185 <el-col :span="8"> 259 <el-col :span="8">
186 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg"> 260 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
187 <el-input v-model="ruleForm.cfdj.jfjg" :disabled="$route.query.viewtype || ableEdit"></el-input> 261 <el-input
262 v-model="ruleForm.cfdj.jfjg"
263 :disabled="$route.query.viewtype || ableEdit"
264 ></el-input>
188 </el-form-item> 265 </el-form-item>
189 </el-col> 266 </el-col>
190 <el-col :span="8"> 267 <el-col :span="8">
191 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj"> 268 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
192 <el-input v-model="ruleForm.cfdj.jfwj" :disabled="$route.query.viewtype || ableEdit"></el-input> 269 <el-input
270 v-model="ruleForm.cfdj.jfwj"
271 :disabled="$route.query.viewtype || ableEdit"
272 ></el-input>
193 </el-form-item> 273 </el-form-item>
194 </el-col> 274 </el-col>
195 <el-col :span="8"> 275 <el-col :span="8">
196 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh"> 276 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
197 <el-input v-model="ruleForm.cfdj.jfwh" :disabled="$route.query.viewtype || ableEdit"></el-input> 277 <el-input
278 v-model="ruleForm.cfdj.jfwh"
279 :disabled="$route.query.viewtype || ableEdit"
280 ></el-input>
198 </el-form-item> 281 </el-form-item>
199 </el-col> 282 </el-col>
200 </el-row> 283 </el-row>
...@@ -209,77 +292,75 @@ ...@@ -209,77 +292,75 @@
209 </div> 292 </div>
210 </template> 293 </template>
211 <script> 294 <script>
212 import sqrViewTable from "@/views/workflow/components/sqrViewTable"; 295 import sqrViewTable from "@/views/workflow/components/sqrViewTable";
213 import { Init, saveData } from "@/api/workflow/cfdjFlow.js"; 296 import { Init, saveData } from "@/api/workflow/cfdjFlow.js";
214 import { mapGetters } from "vuex"; 297 import { mapGetters } from "vuex";
215 export default { 298 export default {
216 data () { 299 data() {
217 return { 300 return {
218 disabled: true, 301 disabled: true,
219 flagTop: this.flag ? "top" : "", 302 flagTop: this.flag ? "top" : "",
220 rules: {}, 303 rules: {},
221 //传递参数 304 //传递参数
222 propsParam: {}, 305 propsParam: {},
223 //页面数据 306 //页面数据
224 ruleForm: {}, 307 ruleForm: {},
225 //是否可编辑 308 //是否可编辑
226 ableEdit: false, 309 ableEdit: false,
227 //是否为解封 310 //是否为解封
228 isJfOperation: false, 311 isJfOperation: false,
229 }; 312 };
230 }, 313 },
231 async created () { 314 async created() {
232 this.propsParam = this.$attrs; 315 this.propsParam = this.$attrs;
233 this.ableEdit = this.$parent.showBatch; 316 this.ableEdit = this.$parent.showBatch;
234 if (this.propsParam.djlx == '400') { 317 if (this.propsParam.djlx == "400") {
235 this.isJfOperation = true; 318 this.isJfOperation = true;
319 }
320 var formdata = new FormData();
321 formdata.append("bsmSldy", this.propsParam.bsmSldy);
322 formdata.append("djlx", this.propsParam.djlx);
323 Init(formdata).then((res) => {
324 if (res.code === 200 && res.result) {
325 this.ruleForm = res.result;
236 } 326 }
237 var formdata = new FormData(); 327 });
238 formdata.append("bsmSldy", this.propsParam.bsmSldy); 328 },
239 formdata.append("djlx", this.propsParam.djlx); 329 watch: {},
240 Init(formdata).then((res) => { 330 components: { sqrViewTable },
241 if (res.code === 200 && res.result) { 331 props: {
242 this.ruleForm = res.result 332 flag: {
243 } 333 type: Boolean,
244 }); 334 default: false,
245 },
246 watch: {
247
248 }, 335 },
249 components: { sqrViewTable }, 336 fetch: {
250 props: { 337 type: Boolean,
251 flag: { 338 default: false,
252 type: Boolean,
253 default: false,
254 },
255 fetch: {
256 type: Boolean,
257 default: false,
258 },
259 },
260 computed: {
261 ...mapGetters(["dictData"]),
262 }, 339 },
340 },
341 computed: {
342 ...mapGetters(["dictData"]),
343 },
263 344
264 methods: { 345 methods: {
265 onSubmit () { 346 onSubmit() {
266 saveData(this.ruleForm).then((res) => { 347 saveData(this.ruleForm).then((res) => {
267 if (res.code === 200) { 348 if (res.code === 200) {
268 this.$message.success('保存成功'); 349 this.$message.success("保存成功");
269 } 350 }
270 }); 351 });
271 }, 352 },
272 changeCflx (e) { 353 changeCflx(e) {
273 let cflxItem = {} 354 let cflxItem = {};
274 cflxItem = this.dictData['A32'].find((item) => { 355 cflxItem = this.dictData["A32"].find((item) => {
275 return item.dcode == e 356 return item.dcode == e;
276 }) 357 });
277 this.ruleForm.cfdj.cflxmc = cflxItem.dname; 358 this.ruleForm.cfdj.cflxmc = cflxItem.dname;
278 }
279 }, 359 },
280 }; 360 },
361 };
281 </script> 362 </script>
282 <style scoped lang='scss'> 363 <style scoped lang='scss'>
283 @import "~@/styles/public.scss"; 364 @import "~@/styles/public.scss";
284 @import "~@/styles/slxx/slxx.scss"; 365 @import "~@/styles/slxx/slxx.scss";
285 </style> 366 </style>
...\ No newline at end of file ...\ No newline at end of file
......