Merge branch 'dev'
Showing
28 changed files
with
1958 additions
and
1498 deletions
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-04 11:13:36 | 4 | * @LastEditTime: 2023-05-04 11:13:36 |
5 | */ | 5 | */ |
6 | const state = { | 6 | const state = { |
7 | yjsqOptions: {}, | 7 | yjsqOptions: "", |
8 | } | 8 | } |
9 | 9 | ||
10 | const mutations = { | 10 | const mutations = { | ... | ... |
... | @@ -2,8 +2,8 @@ import { log } from "bpmn-js-token-simulation"; | ... | @@ -2,8 +2,8 @@ import { log } from "bpmn-js-token-simulation"; |
2 | 2 | ||
3 | 3 | ||
4 | var qlxxPage = [ | 4 | var qlxxPage = [ |
5 | { qllx: "A01", id: "jsydsyq", form: "jsydsyq.vue", label: "集体土地所有权" }, | 5 | { qllx: "A01", id: "tdsyq", form: "tdsyq.vue", label: "集体土地所有权" }, |
6 | { qllx: "A02", id: "jsydsyq", form: "jsydsyq.vue", label: "国家土地所有权" }, | 6 | { qllx: "A02", id: "tdsyq", form: "tdsyq.vue", label: "国家土地所有权" }, |
7 | { qllx: "A03", id: "jsydsyq", form: "jsydsyq.vue", label: "国有建设用地使用权" }, | 7 | { qllx: "A03", id: "jsydsyq", form: "jsydsyq.vue", label: "国有建设用地使用权" }, |
8 | { qllx: "A04", id: "", form: "", label: "国有建设用地使用权/房屋所有权" }, | 8 | { qllx: "A04", id: "", form: "", label: "国有建设用地使用权/房屋所有权" }, |
9 | { qllx: "A05", id: "jsydsyq", form: "jsydsyq.vue", label: "宅基地使用权" }, | 9 | { qllx: "A05", id: "jsydsyq", form: "jsydsyq.vue", label: "宅基地使用权" }, |
... | @@ -79,7 +79,6 @@ export function getNode(qllx, qlxx, bdcdylx) { | ... | @@ -79,7 +79,6 @@ export function getNode(qllx, qlxx, bdcdylx) { |
79 | node = { id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label}; | 79 | node = { id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label}; |
80 | } | 80 | } |
81 | } else { | 81 | } else { |
82 | console.log("jin1111"); | ||
83 | node = { id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label}; | 82 | node = { id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label}; |
84 | } | 83 | } |
85 | break; | 84 | break; | ... | ... |
... | @@ -15,6 +15,7 @@ | ... | @@ -15,6 +15,7 @@ |
15 | :inline="flag" | 15 | :inline="flag" |
16 | label-width="145px" | 16 | label-width="145px" |
17 | inline-message | 17 | inline-message |
18 | :show-message="false" | ||
18 | :class="{readonly: editDisabled }" | 19 | :class="{readonly: editDisabled }" |
19 | class="loadingtext" | 20 | class="loadingtext" |
20 | > | 21 | > |
... | @@ -209,7 +210,7 @@ | ... | @@ -209,7 +210,7 @@ |
209 | </el-select> | 210 | </el-select> |
210 | </el-form-item> | 211 | </el-form-item> |
211 | </el-col> | 212 | </el-col> |
212 | <el-col :span="8"> | 213 | <!-- <el-col :span="8"> |
213 | <el-form-item | 214 | <el-form-item |
214 | label="不动产权证号:" | 215 | label="不动产权证号:" |
215 | prop="qlxx.bdcqzh" | 216 | prop="qlxx.bdcqzh" |
... | @@ -217,7 +218,7 @@ | ... | @@ -217,7 +218,7 @@ |
217 | > | 218 | > |
218 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 219 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
219 | </el-form-item> | 220 | </el-form-item> |
220 | </el-col> | 221 | </el-col> --> |
221 | <el-col :span="8"> | 222 | <el-col :span="8"> |
222 | <el-form-item label="查封机关:"> | 223 | <el-form-item label="查封机关:"> |
223 | <el-input v-model="ruleForm.cfdj.cfjg"></el-input> | 224 | <el-input v-model="ruleForm.cfdj.cfjg"></el-input> |
... | @@ -260,7 +261,7 @@ | ... | @@ -260,7 +261,7 @@ |
260 | <el-input v-model="ruleForm.cfdj.cffw"></el-input> | 261 | <el-input v-model="ruleForm.cfdj.cffw"></el-input> |
261 | </el-form-item> | 262 | </el-form-item> |
262 | </el-col> | 263 | </el-col> |
263 | <el-col :span="8"> | 264 | <!-- <el-col :span="8"> |
264 | <el-form-item | 265 | <el-form-item |
265 | label="区县代码:" | 266 | label="区县代码:" |
266 | prop="qlxx.qxdm" | 267 | prop="qlxx.qxdm" |
... | @@ -268,7 +269,7 @@ | ... | @@ -268,7 +269,7 @@ |
268 | > | 269 | > |
269 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | 270 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> |
270 | </el-form-item> | 271 | </el-form-item> |
271 | </el-col> | 272 | </el-col> --> |
272 | <el-col :span="8"> | 273 | <el-col :span="8"> |
273 | <el-form-item | 274 | <el-form-item |
274 | label="登记机构:" | 275 | label="登记机构:" |
... | @@ -310,6 +311,7 @@ | ... | @@ -310,6 +311,7 @@ |
310 | </el-form-item> | 311 | </el-form-item> |
311 | </el-col> | 312 | </el-col> |
312 | </el-row> | 313 | </el-row> |
314 | <el-row :gutter="10"> | ||
313 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | 315 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> |
314 | <el-form-item label="解封业务号:"> | 316 | <el-form-item label="解封业务号:"> |
315 | <el-input v-model="ruleForm.cfdj.jfywh"></el-input> | 317 | <el-input v-model="ruleForm.cfdj.jfywh"></el-input> |
... | @@ -340,6 +342,7 @@ | ... | @@ -340,6 +342,7 @@ |
340 | <el-input v-model="ruleForm.cfdj.jfdjsj"></el-input> | 342 | <el-input v-model="ruleForm.cfdj.jfdjsj"></el-input> |
341 | </el-form-item> | 343 | </el-form-item> |
342 | </el-col> | 344 | </el-col> |
345 | </el-row> | ||
343 | </div> | 346 | </div> |
344 | <el-row class="btn" v-if="ableOperation"> | 347 | <el-row class="btn" v-if="ableOperation"> |
345 | <el-form-item> | 348 | <el-form-item> |
... | @@ -442,12 +445,12 @@ export default { | ... | @@ -442,12 +445,12 @@ export default { |
442 | ztQlxxList: [], | 445 | ztQlxxList: [], |
443 | rules: { | 446 | rules: { |
444 | bdcqzhrules: [ | 447 | bdcqzhrules: [ |
445 | { required: true, message: "不动产权证号:", trigger: "change" }, | 448 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
446 | ], | 449 | ], |
447 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 450 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
448 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], | 451 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
449 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 452 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
450 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], | 453 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
451 | }, | 454 | }, |
452 | }; | 455 | }; |
453 | }, | 456 | }, |
... | @@ -473,12 +476,14 @@ export default { | ... | @@ -473,12 +476,14 @@ export default { |
473 | } | 476 | } |
474 | }, | 477 | }, |
475 | loadData() { | 478 | loadData() { |
479 | this.$startLoading(); | ||
476 | this.propsParam.isEdit = this.$parent.isEdit; | 480 | this.propsParam.isEdit = this.$parent.isEdit; |
477 | init(this.propsParam).then((res) => { | 481 | init(this.propsParam).then((res) => { |
478 | if (res.code == 200) { | 482 | if (res.code == 200) { |
479 | this.ruleForm = res.result; | 483 | this.ruleForm = res.result; |
480 | this.isShow = true; | 484 | this.isShow = true; |
481 | let djlx = this.ruleForm.qlxx.djlx; | 485 | let djlx = this.ruleForm.qlxx.djlx; |
486 | this.$endLoading(); | ||
482 | if (djlx == null || djlx == 100) { | 487 | if (djlx == null || djlx == 100) { |
483 | this.ssqlxxshow = false; | 488 | this.ssqlxxshow = false; |
484 | } | 489 | } |
... | @@ -500,22 +505,22 @@ export default { | ... | @@ -500,22 +505,22 @@ export default { |
500 | } | 505 | } |
501 | }); | 506 | }); |
502 | }, | 507 | }, |
503 | // 更新土地用途信息 | 508 | // // 更新土地用途信息 |
504 | upDateTdytxxList(val) { | 509 | // upDateTdytxxList(val) { |
505 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 510 | // this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
506 | this.key++; | 511 | // this.key++; |
507 | }, | 512 | // }, |
508 | // 更新权利人信息 | 513 | // // 更新权利人信息 |
509 | upDateQlrxxList(val) { | 514 | // upDateQlrxxList(val) { |
510 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | 515 | // this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); |
511 | this.czrOptions = this.ruleForm.qlrData; | 516 | // this.czrOptions = this.ruleForm.qlrData; |
512 | this.key++; | 517 | // this.key++; |
513 | }, | 518 | // }, |
514 | // 更新义务人信息 | 519 | // // 更新义务人信息 |
515 | upDateYwrxxList(val) { | 520 | // upDateYwrxxList(val) { |
516 | this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | 521 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); |
517 | this.key++; | 522 | // this.key++; |
518 | }, | 523 | // }, |
519 | onSubmit() { | 524 | onSubmit() { |
520 | this.$refs.ruleForm.validate((valid) => { | 525 | this.$refs.ruleForm.validate((valid) => { |
521 | console.log("valid", valid); | 526 | console.log("valid", valid); | ... | ... |
... | @@ -9,13 +9,14 @@ | ... | @@ -9,13 +9,14 @@ |
9 | <el-form | 9 | <el-form |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | :class="{readonly: editDisabled }" | 12 | :class="{ readonly: editDisabled }" |
13 | class="loadingtext" | 13 | class="loadingtext" |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | label-width="169px" | 17 | label-width="169px" |
18 | inline-message | 18 | inline-message |
19 | :show-message="false" | ||
19 | > | 20 | > |
20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 21 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
21 | <div class="slxx_title title-block"> | 22 | <div class="slxx_title title-block"> |
... | @@ -167,7 +168,7 @@ | ... | @@ -167,7 +168,7 @@ |
167 | </el-form-item> | 168 | </el-form-item> |
168 | </el-col> | 169 | </el-col> |
169 | <el-col :span="8"> | 170 | <el-col :span="8"> |
170 | <el-form-item label="登记类型:"> | 171 | <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> |
171 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | 172 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> |
172 | <el-option | 173 | <el-option |
173 | v-for="item in djlxlist" | 174 | v-for="item in djlxlist" |
... | @@ -259,6 +260,7 @@ | ... | @@ -259,6 +260,7 @@ |
259 | </el-form-item> | 260 | </el-form-item> |
260 | </el-col> | 261 | </el-col> |
261 | </el-row> | 262 | </el-row> |
263 | <el-row :gutter="10"> | ||
262 | <el-col :span="8"> | 264 | <el-col :span="8"> |
263 | <el-form-item label="抵押面积:"> | 265 | <el-form-item label="抵押面积:"> |
264 | <div style="display: flex"> | 266 | <div style="display: flex"> |
... | @@ -279,11 +281,15 @@ | ... | @@ -279,11 +281,15 @@ |
279 | </el-form-item> | 281 | </el-form-item> |
280 | </el-col> | 282 | </el-col> |
281 | <el-col :span="8"> | 283 | <el-col :span="8"> |
282 | <el-form-item label="债务履行起始时间:" prop="diyaq.zwlxqssj" :rules="rules.zwlxqssjrules"> | 284 | <el-form-item |
285 | label="债务履行起始时间:" | ||
286 | prop="diyaq.zwlxqssj" | ||
287 | :rules="rules.zwlxqssjrules" | ||
288 | > | ||
283 | <el-date-picker | 289 | <el-date-picker |
284 | v-model="ruleForm.diyaq.zwlxqssj" | 290 | v-model="ruleForm.diyaq.zwlxqssj" |
285 | type="date" | 291 | type="date" |
286 | placeholder="选择日期" | 292 | placeholder="选择日期" |
287 | value-format="yyyy-MM-dd HH:mm:ss" | 293 | value-format="yyyy-MM-dd HH:mm:ss" |
288 | format="yyyy-MM-dd" | 294 | format="yyyy-MM-dd" |
289 | > | 295 | > |
... | @@ -291,17 +297,23 @@ | ... | @@ -291,17 +297,23 @@ |
291 | </el-form-item> | 297 | </el-form-item> |
292 | </el-col> | 298 | </el-col> |
293 | <el-col :span="8"> | 299 | <el-col :span="8"> |
294 | <el-form-item label="债务履行结束时间:" prop="diyaq.zwlxjssj" :rules="rules.zwlxjssjrules"> | 300 | <el-form-item |
301 | label="债务履行结束时间:" | ||
302 | prop="diyaq.zwlxjssj" | ||
303 | :rules="rules.zwlxjssjrules" | ||
304 | > | ||
295 | <el-date-picker | 305 | <el-date-picker |
296 | v-model="ruleForm.diyaq.zwlxjssj" | 306 | v-model="ruleForm.diyaq.zwlxjssj" |
297 | type="date" | 307 | type="date" |
298 | placeholder="选择日期" | 308 | placeholder="选择日期" |
299 | value-format="yyyy-MM-dd HH:mm:ss" | 309 | value-format="yyyy-MM-dd HH:mm:ss" |
300 | format="yyyy-MM-dd" | 310 | format="yyyy-MM-dd" |
301 | > | 311 | > |
302 | </el-date-picker> | 312 | </el-date-picker> |
303 | </el-form-item> | 313 | </el-form-item> |
304 | </el-col> | 314 | </el-col> |
315 | </el-row> | ||
316 | <el-row :gutter="10"> | ||
305 | <el-col :span="8"> | 317 | <el-col :span="8"> |
306 | <el-form-item label="在建建筑物坐落:"> | 318 | <el-form-item label="在建建筑物坐落:"> |
307 | <el-input v-model="ruleForm.qlxx.zl"></el-input> | 319 | <el-input v-model="ruleForm.qlxx.zl"></el-input> |
... | @@ -312,11 +324,15 @@ | ... | @@ -312,11 +324,15 @@ |
312 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 324 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
313 | </el-form-item> | 325 | </el-form-item> |
314 | </el-col> --> | 326 | </el-col> --> |
315 | <el-col :span="8"> | 327 | <!-- <el-col :span="8"> |
316 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> | 328 | <el-form-item |
329 | label="区县代码:" | ||
330 | prop="qlxx.qxdm" | ||
331 | :rules="rules.qxdmrules" | ||
332 | > | ||
317 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | 333 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> |
318 | </el-form-item> | 334 | </el-form-item> |
319 | </el-col> | 335 | </el-col> --> |
320 | <el-col :span="8"> | 336 | <el-col :span="8"> |
321 | <el-form-item label="在建建筑物抵押范围:"> | 337 | <el-form-item label="在建建筑物抵押范围:"> |
322 | <el-input v-model="ruleForm.diyaq.zjjzwdyfw"></el-input> | 338 | <el-input v-model="ruleForm.diyaq.zjjzwdyfw"></el-input> |
... | @@ -353,23 +369,39 @@ | ... | @@ -353,23 +369,39 @@ |
353 | </el-form-item> | 369 | </el-form-item> |
354 | </el-col> | 370 | </el-col> |
355 | <el-col :span="8"> | 371 | <el-col :span="8"> |
356 | <el-form-item label="不动产登记证明号:" prop="qlxx.bdcqzh" :rules="rules.bdcqzhrules"> | 372 | <el-form-item |
373 | label="不动产登记证明号:" | ||
374 | prop="qlxx.bdcqzh" | ||
375 | :rules="rules.bdcqzhrules" | ||
376 | > | ||
357 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 377 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
358 | </el-form-item> | 378 | </el-form-item> |
359 | </el-col> | 379 | </el-col> |
360 | 380 | ||
361 | <el-col :span="8"> | 381 | <el-col :span="8"> |
362 | <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules"> | 382 | <el-form-item |
383 | label="登记机构:" | ||
384 | prop="qlxx.djjg" | ||
385 | :rules="rules.djjgrules" | ||
386 | > | ||
363 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 387 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
364 | </el-form-item> | 388 | </el-form-item> |
365 | </el-col> | 389 | </el-col> |
366 | <el-col :span="8"> | 390 | <el-col :span="8"> |
367 | <el-form-item label="登簿人:" prop="qlxx.dbr" :rules="rules.dbrrules"> | 391 | <el-form-item |
392 | label="登簿人:" | ||
393 | prop="qlxx.dbr" | ||
394 | :rules="rules.dbrrules" | ||
395 | > | ||
368 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> | 396 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> |
369 | </el-form-item> | 397 | </el-form-item> |
370 | </el-col> | 398 | </el-col> |
371 | <el-col :span="8"> | 399 | <el-col :span="8"> |
372 | <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules"> | 400 | <el-form-item |
401 | label="登记时间:" | ||
402 | prop="qlxx.djsj" | ||
403 | :rules="rules.djsjrules" | ||
404 | > | ||
373 | <el-date-picker | 405 | <el-date-picker |
374 | v-model="ruleForm.qlxx.djsj" | 406 | v-model="ruleForm.qlxx.djsj" |
375 | type="date" | 407 | type="date" |
... | @@ -415,7 +447,11 @@ | ... | @@ -415,7 +447,11 @@ |
415 | </el-col> | 447 | </el-col> |
416 | 448 | ||
417 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | 449 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> |
418 | <el-form-item label="注销时间:" prop="qlxx.zxsj" :rules="rules.zxsjrules"> | 450 | <el-form-item |
451 | label="注销时间:" | ||
452 | prop="qlxx.zxsj" | ||
453 | :rules="rules.zxsjrules" | ||
454 | > | ||
419 | <el-date-picker | 455 | <el-date-picker |
420 | v-model="ruleForm.qlxx.zxsj" | 456 | v-model="ruleForm.qlxx.zxsj" |
421 | type="date" | 457 | type="date" |
... | @@ -427,23 +463,36 @@ | ... | @@ -427,23 +463,36 @@ |
427 | </el-form-item> | 463 | </el-form-item> |
428 | </el-col> | 464 | </el-col> |
429 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | 465 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> |
430 | <el-form-item label="注销登簿人:" prop="qlxx.zxdbr" :rules="rules.zxdbrrules"> | 466 | <el-form-item |
467 | label="注销登簿人:" | ||
468 | prop="qlxx.zxdbr" | ||
469 | :rules="rules.zxdbrrules" | ||
470 | > | ||
431 | <el-input v-model="ruleForm.qlxx.zxdbr"></el-input> | 471 | <el-input v-model="ruleForm.qlxx.zxdbr"></el-input> |
432 | </el-form-item> | 472 | </el-form-item> |
433 | </el-col> | 473 | </el-col> |
434 | <el-col :span="24" v-if="ruleForm.qlxx.qszt == '2'"> | 474 | <el-col :span="24" v-if="ruleForm.qlxx.qszt == '2'"> |
435 | <el-form-item label="注销抵押原因:" prop="diyaq.zxdyyy" :rules="rules.zxdyyyrules"> | 475 | <el-form-item |
476 | label="注销抵押原因:" | ||
477 | prop="diyaq.zxdyyy" | ||
478 | :rules="rules.zxdyyyrules" | ||
479 | > | ||
436 | <el-input v-model="ruleForm.diyaq.zxdyyy"></el-input> | 480 | <el-input v-model="ruleForm.diyaq.zxdyyy"></el-input> |
437 | </el-form-item> | 481 | </el-form-item> |
438 | </el-col> | 482 | </el-col> |
483 | |||
484 | </el-row> | ||
439 | <div class="slxx_title title-block"> | 485 | <div class="slxx_title title-block"> |
440 | 权利人信息 | 486 | 权利人信息 |
441 | <div class="triangle"></div> | 487 | <div class="triangle"></div> |
442 | </div> | 488 | </div> |
443 | <el-row :gutter="10"> | 489 | <el-row :gutter="10"> |
444 | <el-col :span="12"> | 490 | <el-col :span="14"> |
445 | <el-form-item label="共有方式:"> | 491 | <el-form-item label="共有方式:"> |
446 | <el-radio-group v-model="ruleForm.qlxx.gyqk"> | 492 | <el-radio-group |
493 | :disabled="!ableOperation" | ||
494 | v-model="ruleForm.qlxx.gyfs" | ||
495 | > | ||
447 | <el-radio label="0">单独所有</el-radio> | 496 | <el-radio label="0">单独所有</el-radio> |
448 | <el-radio label="1">共同共有</el-radio> | 497 | <el-radio label="1">共同共有</el-radio> |
449 | <el-radio label="2">按份所有</el-radio> | 498 | <el-radio label="2">按份所有</el-radio> |
... | @@ -494,7 +543,7 @@ export default { | ... | @@ -494,7 +543,7 @@ export default { |
494 | computed: { | 543 | computed: { |
495 | ...mapGetters(["dictData", "flag"]), | 544 | ...mapGetters(["dictData", "flag"]), |
496 | // 根据流程判断表单是否为只读 | 545 | // 根据流程判断表单是否为只读 |
497 | editDisabled() { | 546 | editDisabled() { |
498 | if (!this.ableOperation) { | 547 | if (!this.ableOperation) { |
499 | //只读状态 | 548 | //只读状态 |
500 | return true; | 549 | return true; |
... | @@ -557,7 +606,7 @@ export default { | ... | @@ -557,7 +606,7 @@ export default { |
557 | ], | 606 | ], |
558 | ssQlxxList: [], | 607 | ssQlxxList: [], |
559 | ztQlxxList: [], | 608 | ztQlxxList: [], |
560 | ableOperation:false, | 609 | ableOperation: false, |
561 | rules: { | 610 | rules: { |
562 | bdcqzhrules: [ | 611 | bdcqzhrules: [ |
563 | { required: true, message: "不动产登记证明号", trigger: "blur" }, | 612 | { required: true, message: "不动产登记证明号", trigger: "blur" }, |
... | @@ -570,20 +619,24 @@ export default { | ... | @@ -570,20 +619,24 @@ export default { |
570 | { required: true, message: "债务履行结束时间", trigger: "blur" }, | 619 | { required: true, message: "债务履行结束时间", trigger: "blur" }, |
571 | ], | 620 | ], |
572 | 621 | ||
573 | zxdyyyrules: [{ required: true, message: "注销抵押原因", trigger: "blur" }], | 622 | zxdyyyrules: [ |
623 | { required: true, message: "注销抵押原因", trigger: "blur" }, | ||
624 | ], | ||
574 | zxsjrules: [{ required: true, message: "注销时间", trigger: "blur" }], | 625 | zxsjrules: [{ required: true, message: "注销时间", trigger: "blur" }], |
575 | zxdbrrules: [{ required: true, message: "注销登簿人", trigger: "blur" }], | 626 | zxdbrrules: [ |
627 | { required: true, message: "注销登簿人", trigger: "blur" }, | ||
628 | ], | ||
576 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 629 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
577 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 630 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
578 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 631 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
632 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | ||
579 | }, | 633 | }, |
580 | }; | 634 | }; |
581 | }, | 635 | }, |
582 | created() { | 636 | created() {}, |
583 | this.loadData(); | ||
584 | }, | ||
585 | mounted() { | 637 | mounted() { |
586 | this.ableOperation=this.$parent.ableOperation | 638 | this.loadData(); |
639 | this.ableOperation = this.$parent.ableOperation; | ||
587 | }, | 640 | }, |
588 | methods: { | 641 | methods: { |
589 | ztQlxxchange(val) { | 642 | ztQlxxchange(val) { |
... | @@ -601,10 +654,12 @@ export default { | ... | @@ -601,10 +654,12 @@ export default { |
601 | } | 654 | } |
602 | }, | 655 | }, |
603 | loadData() { | 656 | loadData() { |
657 | this.$startLoading(); | ||
604 | this.propsParam.isEdit = this.$parent.isEdit; | 658 | this.propsParam.isEdit = this.$parent.isEdit; |
605 | init(this.propsParam).then((res) => { | 659 | init(this.propsParam).then((res) => { |
606 | if (res.code == 200) { | 660 | if (res.code == 200) { |
607 | this.ruleForm = res.result; | 661 | this.ruleForm = res.result; |
662 | this.$endLoading(); | ||
608 | this.isShow = true; | 663 | this.isShow = true; |
609 | let djlx = this.ruleForm.qlxx.djlx; | 664 | let djlx = this.ruleForm.qlxx.djlx; |
610 | if (djlx == null || djlx == 100) { | 665 | if (djlx == null || djlx == 100) { |
... | @@ -655,7 +710,14 @@ export default { | ... | @@ -655,7 +710,14 @@ export default { |
655 | }); | 710 | }); |
656 | return false; | 711 | return false; |
657 | } | 712 | } |
658 | 713 | if (this.ruleForm.ywrData.length == 0) { | |
714 | this.$message({ | ||
715 | showClose: true, | ||
716 | message: "请确认义务人信息", | ||
717 | type: "error", | ||
718 | }); | ||
719 | return false; | ||
720 | } | ||
659 | if (this.ruleForm.qlxx.gyfs == "0") { | 721 | if (this.ruleForm.qlxx.gyfs == "0") { |
660 | if (this.ruleForm.qlrData.length > 1) { | 722 | if (this.ruleForm.qlrData.length > 1) { |
661 | this.$message({ | 723 | this.$message({ |
... | @@ -717,5 +779,4 @@ export default { | ... | @@ -717,5 +779,4 @@ export default { |
717 | .el-table__row { | 779 | .el-table__row { |
718 | height: 30px !important; | 780 | height: 30px !important; |
719 | } | 781 | } |
720 | |||
721 | </style> | 782 | </style> | ... | ... |
... | @@ -14,7 +14,7 @@ | ... | @@ -14,7 +14,7 @@ |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | inline-message | 17 | :show-message="false" |
18 | label-width="150px" | 18 | label-width="150px" |
19 | > | 19 | > |
20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
... | @@ -43,6 +43,34 @@ | ... | @@ -43,6 +43,34 @@ |
43 | 地役权信息 | 43 | 地役权信息 |
44 | <div class="triangle"></div> | 44 | <div class="triangle"></div> |
45 | </div> | 45 | </div> |
46 | <el-row :gutter="10" class="ssqlxx"> | ||
47 | <el-col :span="24" v-if="ssqlxxshow"> | ||
48 | <el-form-item label="上手权利信息:"> | ||
49 | <select-table | ||
50 | v-model="ruleForm.ssQlxx" | ||
51 | :table-width="550" | ||
52 | :tableData="ssQlxxList" | ||
53 | :props="props" | ||
54 | @change="ssQlxxchange" | ||
55 | > | ||
56 | <el-table-column | ||
57 | prop="qllxmc" | ||
58 | width="130" | ||
59 | label="权利类型" | ||
60 | ></el-table-column> | ||
61 | <el-table-column | ||
62 | prop="bdcqzh" | ||
63 | width="160" | ||
64 | label="不动产权证书" | ||
65 | ></el-table-column> | ||
66 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
67 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
68 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
69 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
70 | </select-table> | ||
71 | </el-form-item> | ||
72 | </el-col> | ||
73 | </el-row> | ||
46 | <el-row :gutter="10"> | 74 | <el-row :gutter="10"> |
47 | <el-col :span="8"> | 75 | <el-col :span="8"> |
48 | <el-form-item label="不动产单元号:"> | 76 | <el-form-item label="不动产单元号:"> |
... | @@ -56,7 +84,7 @@ | ... | @@ -56,7 +84,7 @@ |
56 | </el-col> | 84 | </el-col> |
57 | <el-col :span="8"> | 85 | <el-col :span="8"> |
58 | <el-form-item label="上手业务号:"> | 86 | <el-form-item label="上手业务号:"> |
59 | <el-input v-model="ruleForm.qlxx.ssywh"></el-input> | 87 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
60 | </el-form-item> | 88 | </el-form-item> |
61 | </el-col> | 89 | </el-col> |
62 | </el-row> | 90 | </el-row> |
... | @@ -72,8 +100,8 @@ | ... | @@ -72,8 +100,8 @@ |
72 | </el-form-item> | 100 | </el-form-item> |
73 | </el-col> | 101 | </el-col> |
74 | <el-col :span="8"> | 102 | <el-col :span="8"> |
75 | <el-form-item label="登记类型:"> | 103 | <el-form-item label="登记类型: " prop="qlxx.djlx" :rules="rules.djlxrules"> |
76 | <el-select v-model="ruleForm.qlxx.djlx"> | 104 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> |
77 | <el-option | 105 | <el-option |
78 | v-for="item in djlxlist" | 106 | v-for="item in djlxlist" |
79 | :key="item.dcode" | 107 | :key="item.dcode" |
... | @@ -94,11 +122,11 @@ | ... | @@ -94,11 +122,11 @@ |
94 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 122 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
95 | </el-form-item> | 123 | </el-form-item> |
96 | </el-col> | 124 | </el-col> |
97 | <el-col :span="8"> | 125 | <!-- <el-col :span="8"> |
98 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> | 126 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> |
99 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | 127 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> |
100 | </el-form-item> | 128 | </el-form-item> |
101 | </el-col> | 129 | </el-col> --> |
102 | <el-col :span="8"> | 130 | <el-col :span="8"> |
103 | <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules"> | 131 | <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules"> |
104 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 132 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
... | @@ -232,7 +260,10 @@ | ... | @@ -232,7 +260,10 @@ |
232 | <el-row :gutter="10"> | 260 | <el-row :gutter="10"> |
233 | <el-col :span="12"> | 261 | <el-col :span="12"> |
234 | <el-form-item label="共有方式:"> | 262 | <el-form-item label="共有方式:"> |
235 | <el-radio-group v-model="ruleForm.qlxx.gyqk"> | 263 | <el-radio-group |
264 | :disabled="!ableOperation" | ||
265 | v-model="ruleForm.qlxx.gyfs" | ||
266 | > | ||
236 | <el-radio label="0">单独所有</el-radio> | 267 | <el-radio label="0">单独所有</el-radio> |
237 | <el-radio label="1">共同共有</el-radio> | 268 | <el-radio label="1">共同共有</el-radio> |
238 | <el-radio label="2">按份所有</el-radio> | 269 | <el-radio label="2">按份所有</el-radio> |
... | @@ -273,13 +304,13 @@ | ... | @@ -273,13 +304,13 @@ |
273 | </template> | 304 | </template> |
274 | <script> | 305 | <script> |
275 | import { mapGetters } from "vuex"; | 306 | import { mapGetters } from "vuex"; |
276 | import { init, save } from "@/api/djbRepair.js"; | 307 | import { init,getSsQlxx, save } from "@/api/djbRepair.js"; |
277 | import { getSjlx, getDictLeabel } from "@/utils/dictionary.js"; | ||
278 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 308 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
279 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 309 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
280 | import tdytTable from "@/views/workflow/components/tdytTable"; | 310 | import tdytTable from "@/views/workflow/components/tdytTable"; |
311 | import selectTable from "@/components/selectTable/index.vue"; | ||
281 | export default { | 312 | export default { |
282 | components: { qlrCommonTable, ywrCommonTable, tdytTable }, | 313 | components: { qlrCommonTable, ywrCommonTable, tdytTable ,selectTable }, |
283 | computed: { | 314 | computed: { |
284 | ...mapGetters(["dictData", "flag"]), | 315 | ...mapGetters(["dictData", "flag"]), |
285 | // 根据流程判断表单是否为只读 | 316 | // 根据流程判断表单是否为只读 |
... | @@ -293,12 +324,18 @@ export default { | ... | @@ -293,12 +324,18 @@ export default { |
293 | }, | 324 | }, |
294 | data() { | 325 | data() { |
295 | return { | 326 | return { |
327 | ssqlxxshow:true, | ||
328 | props: { | ||
329 | label: "bdcqzh", | ||
330 | value: "bdcdyid", | ||
331 | }, | ||
296 | //表单是否可操作 | 332 | //表单是否可操作 |
297 | propsParam: this.$attrs, | 333 | propsParam: this.$attrs, |
298 | key: 0, | 334 | key: 0, |
299 | isShow: false, | 335 | isShow: false, |
300 | disabled: true, | 336 | disabled: true, |
301 | czrOptions: [], | 337 | czrOptions: [], |
338 | ssQlxxList: [], | ||
302 | ruleForm: {}, | 339 | ruleForm: {}, |
303 | // 登记类型 | 340 | // 登记类型 |
304 | djlxlist: [ | 341 | djlxlist: [ |
... | @@ -343,30 +380,59 @@ export default { | ... | @@ -343,30 +380,59 @@ export default { |
343 | //传递参数\ | 380 | //传递参数\ |
344 | rules: { | 381 | rules: { |
345 | bdcqzhrules:[ | 382 | bdcqzhrules:[ |
346 | { required: true, message: "不动产登记证明号", trigger: "change" }, | 383 | { required: true, message: "不动产登记证明号", trigger: "blur" }, |
347 | ], | 384 | ], |
348 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 385 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
349 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], | 386 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
350 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 387 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
351 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], | 388 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
389 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | ||
352 | }, | 390 | }, |
353 | }; | 391 | }; |
354 | }, | 392 | }, |
355 | created() { | 393 | created() { |
356 | this.loadData(); | 394 | |
357 | }, | 395 | }, |
358 | mounted() { | 396 | mounted() { |
397 | this.loadData(); | ||
359 | this.ableOperation=this.$parent.ableOperation | 398 | this.ableOperation=this.$parent.ableOperation |
360 | }, | 399 | }, |
361 | methods: { | 400 | methods: { |
401 | ssQlxxchange(val) { | ||
402 | this.ruleForm.ssQlxx = val; | ||
403 | this.ruleForm.qlxx.ssywh = val.ssywh; | ||
404 | }, | ||
405 | djlxchange(val) { | ||
406 | console.log("val",val); | ||
407 | if (val == null || val == 100) { | ||
408 | this.ssqlxxshow = false; | ||
409 | } else { | ||
410 | this.ssqlxxshow = true; | ||
411 | } | ||
412 | }, | ||
362 | loadData() { | 413 | loadData() { |
414 | this.$startLoading(); | ||
363 | this.propsParam.isEdit = this.$parent.isEdit; | 415 | this.propsParam.isEdit = this.$parent.isEdit; |
364 | init(this.propsParam).then((res) => { | 416 | init(this.propsParam).then((res) => { |
365 | if (res.code == 200) { | 417 | if (res.code == 200) { |
366 | this.ruleForm = res.result; | 418 | this.ruleForm = res.result; |
419 | let djlx = this.ruleForm.qlxx.djlx; | ||
420 | if (djlx == null || djlx == 100) { | ||
421 | this.ssqlxxshow = false; | ||
422 | } | ||
423 | this.$endLoading(); | ||
367 | this.isShow = true; | 424 | this.isShow = true; |
368 | } | 425 | } |
369 | }); | 426 | }); |
427 | //获取主体信息 | ||
428 | getSsQlxx({ | ||
429 | bdcdyid: this.propsParam.bdcdyid, | ||
430 | qllx: this.propsParam.qllx, | ||
431 | }).then((res) => { | ||
432 | if (res.code == 200) { | ||
433 | this.ssQlxxList = res.result; | ||
434 | } | ||
435 | }); | ||
370 | }, | 436 | }, |
371 | // 更新土地用途信息 | 437 | // 更新土地用途信息 |
372 | upDateTdytxxList(val) { | 438 | upDateTdytxxList(val) { |
... | @@ -395,7 +461,14 @@ export default { | ... | @@ -395,7 +461,14 @@ export default { |
395 | }); | 461 | }); |
396 | return false; | 462 | return false; |
397 | } | 463 | } |
398 | 464 | if (this.ruleForm.ywrData.length == 0) { | |
465 | this.$message({ | ||
466 | showClose: true, | ||
467 | message: "请确认义务人信息", | ||
468 | type: "error", | ||
469 | }); | ||
470 | return false; | ||
471 | } | ||
399 | if (this.ruleForm.qlxx.gyfs == "0") { | 472 | if (this.ruleForm.qlxx.gyfs == "0") { |
400 | if (this.ruleForm.qlrData.length > 1) { | 473 | if (this.ruleForm.qlrData.length > 1) { |
401 | this.$message({ | 474 | this.$message({ | ... | ... |
... | @@ -9,11 +9,12 @@ | ... | @@ -9,11 +9,12 @@ |
9 | <el-form | 9 | <el-form |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | :class="{readonly: editDisabled }" | 12 | :class="{ readonly: editDisabled }" |
13 | class="loadingtext" | 13 | class="loadingtext" |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | :show-message="false" | ||
17 | inline-message | 18 | inline-message |
18 | label-width="145px" | 19 | label-width="145px" |
19 | > | 20 | > |
... | @@ -24,7 +25,7 @@ | ... | @@ -24,7 +25,7 @@ |
24 | </div> | 25 | </div> |
25 | <el-row :gutter="10"> | 26 | <el-row :gutter="10"> |
26 | <el-col :span="8"> | 27 | <el-col :span="8"> |
27 | <el-form-item label="补录编号11:"> | 28 | <el-form-item label="补录编号:"> |
28 | <el-input disabled v-model="ruleForm.repair.ywh"></el-input> | 29 | <el-input disabled v-model="ruleForm.repair.ywh"></el-input> |
29 | </el-form-item> | 30 | </el-form-item> |
30 | </el-col> | 31 | </el-col> |
... | @@ -43,6 +44,34 @@ | ... | @@ -43,6 +44,34 @@ |
43 | 房地产权(独幢、层、套、间房屋) | 44 | 房地产权(独幢、层、套、间房屋) |
44 | <div class="triangle"></div> | 45 | <div class="triangle"></div> |
45 | </div> | 46 | </div> |
47 | <el-row :gutter="10" class="ssqlxx"> | ||
48 | <el-col :span="24" v-if="ssqlxxshow"> | ||
49 | <el-form-item label="上手权利信息:"> | ||
50 | <select-table | ||
51 | v-model="ruleForm.ssQlxx" | ||
52 | :table-width="550" | ||
53 | :tableData="ssQlxxList" | ||
54 | :props="props" | ||
55 | @change="ssQlxxchange" | ||
56 | > | ||
57 | <el-table-column | ||
58 | prop="qllxmc" | ||
59 | width="130" | ||
60 | label="权利类型" | ||
61 | ></el-table-column> | ||
62 | <el-table-column | ||
63 | prop="bdcqzh" | ||
64 | width="160" | ||
65 | label="不动产权证书" | ||
66 | ></el-table-column> | ||
67 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
68 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
69 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
70 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
71 | </select-table> | ||
72 | </el-form-item> | ||
73 | </el-col> | ||
74 | </el-row> | ||
46 | <el-row :gutter="10"> | 75 | <el-row :gutter="10"> |
47 | <el-col :span="8"> | 76 | <el-col :span="8"> |
48 | <el-form-item label="不动产单元号:"> | 77 | <el-form-item label="不动产单元号:"> |
... | @@ -56,7 +85,7 @@ | ... | @@ -56,7 +85,7 @@ |
56 | </el-col> | 85 | </el-col> |
57 | <el-col :span="8"> | 86 | <el-col :span="8"> |
58 | <el-form-item label="上手业务号:"> | 87 | <el-form-item label="上手业务号:"> |
59 | <el-input v-model="ruleForm.qlxx.ssywh"></el-input> | 88 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
60 | </el-form-item> | 89 | </el-form-item> |
61 | </el-col> | 90 | </el-col> |
62 | </el-row> | 91 | </el-row> |
... | @@ -67,8 +96,8 @@ | ... | @@ -67,8 +96,8 @@ |
67 | </el-form-item> | 96 | </el-form-item> |
68 | </el-col> | 97 | </el-col> |
69 | <el-col :span="8"> | 98 | <el-col :span="8"> |
70 | <el-form-item label="登记类型:"> | 99 | <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> |
71 | <el-select v-model="ruleForm.qlxx.djlx"> | 100 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> |
72 | <el-option | 101 | <el-option |
73 | v-for="item in djlxlist" | 102 | v-for="item in djlxlist" |
74 | :key="item.dcode" | 103 | :key="item.dcode" |
... | @@ -104,7 +133,7 @@ | ... | @@ -104,7 +133,7 @@ |
104 | <el-form-item label="土地性质:" style="margin-bottom: 3px"> | 133 | <el-form-item label="土地性质:" style="margin-bottom: 3px"> |
105 | <treeselect | 134 | <treeselect |
106 | v-model="tdxz" | 135 | v-model="tdxz" |
107 | noOptionsText="暂无数据" | 136 | noOptionsText="暂无数据" |
108 | placeholder="" | 137 | placeholder="" |
109 | :normalizer="normalizer" | 138 | :normalizer="normalizer" |
110 | :show-count="true" | 139 | :show-count="true" |
... | @@ -131,10 +160,15 @@ | ... | @@ -131,10 +160,15 @@ |
131 | </div> | 160 | </div> |
132 | </el-form-item> | 161 | </el-form-item> |
133 | </el-col> | 162 | </el-col> |
134 | <el-col :span="8"> | 163 | <el-col :span="8"> |
135 | <el-form-item label="权属状态:"> | 164 | <el-form-item label="权属状态:"> |
136 | <el-select v-model="ruleForm.qlxx.qszt"> | 165 | <el-select v-model="ruleForm.qlxx.qszt"> |
137 | <el-option v-for="item in qsztlist" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 166 | <el-option |
167 | v-for="item in qsztlist" | ||
168 | :key="item.dcode" | ||
169 | :label="item.dname" | ||
170 | :value="item.dcode" | ||
171 | > | ||
138 | </el-option> | 172 | </el-option> |
139 | </el-select> | 173 | </el-select> |
140 | </el-form-item> | 174 | </el-form-item> |
... | @@ -176,7 +210,11 @@ | ... | @@ -176,7 +210,11 @@ |
176 | </el-form-item> | 210 | </el-form-item> |
177 | </el-col> | 211 | </el-col> |
178 | <el-col :span="8"> | 212 | <el-col :span="8"> |
179 | <el-form-item label="房屋结构:" prop="fdcq2.fwjg" :rules="rules.fwjgrules"> | 213 | <el-form-item |
214 | label="房屋结构:" | ||
215 | prop="fdcq2.fwjg" | ||
216 | :rules="rules.fwjgrules" | ||
217 | > | ||
180 | <el-select v-model="ruleForm.fdcq2.fwjg"> | 218 | <el-select v-model="ruleForm.fdcq2.fwjg"> |
181 | <el-option | 219 | <el-option |
182 | v-for="item in dictData['A46']" | 220 | v-for="item in dictData['A46']" |
... | @@ -220,27 +258,47 @@ | ... | @@ -220,27 +258,47 @@ |
220 | </el-col> | 258 | </el-col> |
221 | 259 | ||
222 | <el-col :span="8"> | 260 | <el-col :span="8"> |
223 | <el-form-item label="不动产权证号:" prop="qlxx.bdcqzh" :rules="rules.bdcqzhrules"> | 261 | <el-form-item |
262 | label="不动产权证号:" | ||
263 | prop="qlxx.bdcqzh" | ||
264 | :rules="rules.bdcqzhrules" | ||
265 | > | ||
224 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 266 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
225 | </el-form-item> | 267 | </el-form-item> |
226 | </el-col> | 268 | </el-col> |
227 | <el-col :span="8"> | 269 | <!-- <el-col :span="8"> |
228 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> | 270 | <el-form-item |
271 | label="区县代码:" | ||
272 | prop="qlxx.qxdm" | ||
273 | :rules="rules.qxdmrules" | ||
274 | > | ||
229 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | 275 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> |
230 | </el-form-item> | 276 | </el-form-item> |
231 | </el-col> | 277 | </el-col> --> |
232 | <el-col :span="8"> | 278 | <el-col :span="8"> |
233 | <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules"> | 279 | <el-form-item |
280 | label="登记机构:" | ||
281 | prop="qlxx.djjg" | ||
282 | :rules="rules.djjgrules" | ||
283 | > | ||
234 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 284 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
235 | </el-form-item> | 285 | </el-form-item> |
236 | </el-col> | 286 | </el-col> |
237 | <el-col :span="8"> | 287 | <el-col :span="8"> |
238 | <el-form-item label="登簿人:" prop="qlxx.dbr" :rules="rules.dbrrules"> | 288 | <el-form-item |
289 | label="登簿人:" | ||
290 | prop="qlxx.dbr" | ||
291 | :rules="rules.dbrrules" | ||
292 | > | ||
239 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> | 293 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> |
240 | </el-form-item> | 294 | </el-form-item> |
241 | </el-col> | 295 | </el-col> |
242 | <el-col :span="8"> | 296 | <el-col :span="8"> |
243 | <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules"> | 297 | <el-form-item |
298 | label="登记时间:" | ||
299 | prop="qlxx.djsj" | ||
300 | :rules="rules.djsjrules" | ||
301 | > | ||
244 | <el-date-picker | 302 | <el-date-picker |
245 | v-model="ruleForm.qlxx.djsj" | 303 | v-model="ruleForm.qlxx.djsj" |
246 | type="date" | 304 | type="date" |
... | @@ -282,8 +340,9 @@ | ... | @@ -282,8 +340,9 @@ |
282 | <el-row :gutter="10"> | 340 | <el-row :gutter="10"> |
283 | <el-col :span="12"> | 341 | <el-col :span="12"> |
284 | <el-form-item label="共有方式:"> | 342 | <el-form-item label="共有方式:"> |
285 | <el-radio-group | 343 | <el-radio-group |
286 | v-model="ruleForm.qlxx.gyqk" | 344 | :disabled="!ableOperation" |
345 | v-model="ruleForm.qlxx.gyfs" | ||
287 | > | 346 | > |
288 | <el-radio label="0">单独所有</el-radio> | 347 | <el-radio label="0">单独所有</el-radio> |
289 | <el-radio label="1">共同共有</el-radio> | 348 | <el-radio label="1">共同共有</el-radio> |
... | @@ -292,30 +351,6 @@ | ... | @@ -292,30 +351,6 @@ |
292 | </el-radio-group> | 351 | </el-radio-group> |
293 | </el-form-item> | 352 | </el-form-item> |
294 | </el-col> | 353 | </el-col> |
295 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> | ||
296 | <el-form-item label="是否分别持证:"> | ||
297 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> | ||
298 | <el-radio :label="1">是</el-radio> | ||
299 | <el-radio :label="0">否</el-radio> | ||
300 | </el-radio-group> | ||
301 | </el-form-item> | ||
302 | </el-col> --> | ||
303 | <!-- <el-col | ||
304 | :span="6" | ||
305 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'" | ||
306 | > | ||
307 | <el-form-item label="持证人:"> | ||
308 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | ||
309 | <el-option | ||
310 | v-for="item in czrOptions" | ||
311 | :key="item.zjh" | ||
312 | :label="item.sqrmc" | ||
313 | :value="item.zjh" | ||
314 | > | ||
315 | </el-option> | ||
316 | </el-select> | ||
317 | </el-form-item> | ||
318 | </el-col> --> | ||
319 | </el-row> | 354 | </el-row> |
320 | <qlrCommonTable | 355 | <qlrCommonTable |
321 | :tableData="ruleForm.qlrData" | 356 | :tableData="ruleForm.qlrData" |
... | @@ -335,19 +370,20 @@ | ... | @@ -335,19 +370,20 @@ |
335 | </template> | 370 | </template> |
336 | <script> | 371 | <script> |
337 | import { mapGetters } from "vuex"; | 372 | import { mapGetters } from "vuex"; |
338 | import { init, save } from "@/api/djbRepair.js"; | 373 | import { init,getSsQlxx, save } from "@/api/djbRepair.js"; |
339 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 374 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
375 | import selectTable from "@/components/selectTable/index.vue"; | ||
340 | import tdytTable from "@/views/workflow/components/tdytTable"; | 376 | import tdytTable from "@/views/workflow/components/tdytTable"; |
341 | // import the component | 377 | // import the component |
342 | // import Treeselect from '@riophae/vue-treeselect' | 378 | // import Treeselect from '@riophae/vue-treeselect' |
343 | // // import the styles | 379 | // // import the styles |
344 | // import '@riophae/vue-treeselect/dist/vue-treeselect.css' | 380 | // import '@riophae/vue-treeselect/dist/vue-treeselect.css' |
345 | export default { | 381 | export default { |
346 | components: { qlrCommonTable, tdytTable }, | 382 | components: { qlrCommonTable, tdytTable,selectTable}, |
347 | computed: { | 383 | computed: { |
348 | ...mapGetters(["dictData", "flag"]), | 384 | ...mapGetters(["dictData", "flag"]), |
349 | // 根据流程判断表单是否为只读 | 385 | // 根据流程判断表单是否为只读 |
350 | editDisabled() { | 386 | editDisabled() { |
351 | if (!this.ableOperation) { | 387 | if (!this.ableOperation) { |
352 | //只读状态 | 388 | //只读状态 |
353 | return true; | 389 | return true; |
... | @@ -357,6 +393,11 @@ export default { | ... | @@ -357,6 +393,11 @@ export default { |
357 | }, | 393 | }, |
358 | data() { | 394 | data() { |
359 | return { | 395 | return { |
396 | ssqlxxshow:true, | ||
397 | props: { | ||
398 | label: "bdcqzh", | ||
399 | value: "bdcdyid", | ||
400 | }, | ||
360 | // 键名转换,方法默认是label和children进行树状渲染 | 401 | // 键名转换,方法默认是label和children进行树状渲染 |
361 | normalizer(node) { | 402 | normalizer(node) { |
362 | //方法 | 403 | //方法 |
... | @@ -371,7 +412,7 @@ export default { | ... | @@ -371,7 +412,7 @@ export default { |
371 | 412 | ||
372 | //表单是否可操作 | 413 | //表单是否可操作 |
373 | propsParam: this.$attrs, | 414 | propsParam: this.$attrs, |
374 | // 登记类型 | 415 | // 登记类型 |
375 | djlxlist: [ | 416 | djlxlist: [ |
376 | { | 417 | { |
377 | dcode: "100", | 418 | dcode: "100", |
... | @@ -411,47 +452,75 @@ export default { | ... | @@ -411,47 +452,75 @@ export default { |
411 | }, | 452 | }, |
412 | ], | 453 | ], |
413 | key: 0, | 454 | key: 0, |
414 | tdxz:null, | 455 | tdxz: null, |
415 | isShow: false, | 456 | isShow: false, |
416 | disabled: true, | 457 | disabled: true, |
417 | czrOptions: [], | 458 | czrOptions: [], |
459 | ssQlxxList: [], | ||
418 | ruleForm: {}, | 460 | ruleForm: {}, |
419 | ableOperation:false, | 461 | ableOperation: false, |
420 | //传递参数\ | 462 | //传递参数\ |
421 | rules: { | 463 | rules: { |
422 | 464 | bdcqzhrules: [ | |
423 | bdcqzhrules:[ | 465 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
424 | { required: true, message: "不动产权证号:", trigger: "change" }, | 466 | ], |
425 | ], | 467 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
426 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 468 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
427 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], | ||
428 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 469 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
429 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], | 470 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
430 | fwjgrules: [{ required: true, message: "房屋结构", trigger: "change" }], | 471 | fwjgrules: [{ required: true, message: "房屋结构", trigger: "blur" }], |
472 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | ||
431 | }, | 473 | }, |
432 | }; | 474 | }; |
433 | }, | 475 | }, |
434 | created() { | 476 | created() {}, |
435 | this.loadData(); | ||
436 | }, | ||
437 | mounted() { | 477 | mounted() { |
438 | this.ableOperation=this.$parent.ableOperation | 478 | this.loadData(); |
479 | this.ableOperation = this.$parent.ableOperation; | ||
439 | }, | 480 | }, |
440 | methods: { | 481 | methods: { |
441 | loadData() { | 482 | ssQlxxchange(val) { |
483 | this.ruleForm.ssQlxx = val; | ||
484 | this.ruleForm.qlxx.ssywh = val.ssywh; | ||
485 | }, | ||
486 | djlxchange(val) { | ||
487 | console.log("val",val); | ||
488 | if (val == null || val == 100) { | ||
489 | this.ssqlxxshow = false; | ||
490 | } else { | ||
491 | this.ssqlxxshow = true; | ||
492 | } | ||
493 | }, | ||
442 | 494 | ||
443 | this.propsParam.isEdit=this.$parent.isEdit | 495 | loadData() { |
496 | this.$startLoading(); | ||
497 | this.propsParam.isEdit = this.$parent.isEdit; | ||
444 | init(this.propsParam).then((res) => { | 498 | init(this.propsParam).then((res) => { |
445 | if (res.code == 200) { | 499 | if (res.code == 200) { |
446 | this.ruleForm = res.result; | 500 | this.ruleForm = res.result; |
447 | if( this.ruleForm.tdytqxList.length>0){ | 501 | let djlx = this.ruleForm.qlxx.djlx; |
448 | this.tdxz=this.ruleForm.tdytqxList[0].qlxzbm | 502 | if (djlx == null || djlx == 100) { |
449 | }else{ | 503 | this.ssqlxxshow = false; |
450 | this.tdxz=null | 504 | } |
505 | this.$endLoading(); | ||
506 | if (this.ruleForm.tdytqxList.length > 0) { | ||
507 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | ||
508 | |||
509 | } else { | ||
510 | this.tdxz = null; | ||
451 | } | 511 | } |
452 | this.isShow = true; | 512 | this.isShow = true; |
453 | } | 513 | } |
454 | }); | 514 | }); |
515 | //获取主体信息 | ||
516 | getSsQlxx({ | ||
517 | bdcdyid: this.propsParam.bdcdyid, | ||
518 | qllx: this.propsParam.qllx, | ||
519 | }).then((res) => { | ||
520 | if (res.code == 200) { | ||
521 | this.ssQlxxList = res.result; | ||
522 | } | ||
523 | }); | ||
455 | }, | 524 | }, |
456 | // 更新土地用途信息 | 525 | // 更新土地用途信息 |
457 | upDateTdytxxList(val) { | 526 | upDateTdytxxList(val) { |
... | @@ -470,87 +539,94 @@ export default { | ... | @@ -470,87 +539,94 @@ export default { |
470 | this.key++; | 539 | this.key++; |
471 | }, | 540 | }, |
472 | onSubmit() { | 541 | onSubmit() { |
473 | this.$refs.ruleForm.validate((valid) => { | 542 | this.$refs.ruleForm.validate((valid) => { |
474 | if (valid) { | 543 | if (valid) { |
475 | if (this.ruleForm.qlrData.length == 0) { | 544 | if (this.ruleForm.qlrData.length == 0) { |
476 | this.$message({ | 545 | this.$message({ |
477 | showClose: true, | 546 | showClose: true, |
478 | message: "请确认权利人信息", | 547 | message: "请确认权利人信息", |
479 | type: "error", | 548 | type: "error", |
480 | }); | 549 | }); |
481 | return false; | 550 | return false; |
482 | } | 551 | } |
483 | if( this.ruleForm.tdytqxList.length==0&&!this.tdxz){ | 552 | if (this.ruleForm.ywrData.length == 0) { |
484 | this.$message({ | 553 | this.$message({ |
485 | showClose: true, | 554 | showClose: true, |
486 | message: "请补充土地用途信息", | 555 | message: "请确认义务人信息", |
487 | type: "error", | 556 | type: "error", |
488 | }); | 557 | }); |
489 | return false; | 558 | return false; |
490 | } | 559 | } |
491 | if(!this.tdxz){ | 560 | if (this.ruleForm.tdytqxList.length == 0 && !this.tdxz) { |
492 | this.$message({ | 561 | this.$message({ |
493 | showClose: true, | 562 | showClose: true, |
494 | message: "请补充土地性质", | 563 | message: "请补充土地用途信息", |
495 | type: "error", | 564 | type: "error", |
496 | }); | 565 | }); |
497 | return false; | 566 | return false; |
498 | } | 567 | } |
499 | this.ruleForm.tdytqxList = this.ruleForm.tdytqxList.map((item) => { | 568 | if (!this.tdxz) { |
500 | return{ | 569 | this.$message({ |
501 | ...item, | 570 | showClose: true, |
502 | qlxzbm:this.tdxz | 571 | message: "请补充土地性质", |
503 | } | 572 | type: "error", |
504 | }) | 573 | }); |
505 | if (this.ruleForm.qlxx.gyfs == "0") { | 574 | return false; |
506 | if (this.ruleForm.qlrData.length > 1) { | 575 | } |
507 | this.$message({ | 576 | this.ruleForm.tdytqxList = this.ruleForm.tdytqxList.map((item) => { |
508 | showClose: true, | 577 | return { |
509 | message: "共有方式:单独所有,权利人只能是一个人", | 578 | ...item, |
510 | type: "error", | 579 | qlxzbm: this.tdxz, |
580 | }; | ||
511 | }); | 581 | }); |
512 | return false; | 582 | if (this.ruleForm.qlxx.gyfs == "0") { |
513 | } | 583 | if (this.ruleForm.qlrData.length > 1) { |
514 | this.ruleForm.qlrData[0].sfczr = "1"; | 584 | this.$message({ |
515 | } | 585 | showClose: true, |
516 | // if (this.ruleForm.qlxx.gyfs == "1") { | 586 | message: "共有方式:单独所有,权利人只能是一个人", |
517 | // //是否分别持证 | 587 | type: "error", |
518 | // if (this.ruleForm.qlxx.sqfbcz == "1") { | 588 | }); |
519 | // //是 | 589 | return false; |
520 | // this.ruleForm.qlrData.forEach((item, index) => { | 590 | } |
521 | // item.sfczr = "1"; | 591 | this.ruleForm.qlrData[0].sfczr = "1"; |
522 | // }); | 592 | } |
523 | // } else { | 593 | // if (this.ruleForm.qlxx.gyfs == "1") { |
524 | // this.ruleForm.qlrData.forEach((item, index) => { | 594 | // //是否分别持证 |
525 | // if (item.zjh == this.ruleForm.czr) { | 595 | // if (this.ruleForm.qlxx.sqfbcz == "1") { |
526 | // item.sfczr = "1"; | 596 | // //是 |
527 | // } else { | 597 | // this.ruleForm.qlrData.forEach((item, index) => { |
528 | // item.sfczr = "0"; | 598 | // item.sfczr = "1"; |
529 | // } | 599 | // }); |
530 | // }); | 600 | // } else { |
531 | // } | 601 | // this.ruleForm.qlrData.forEach((item, index) => { |
532 | // } | 602 | // if (item.zjh == this.ruleForm.czr) { |
533 | save(this.ruleForm).then((res) => { | 603 | // item.sfczr = "1"; |
534 | if (res.code === 200) { | 604 | // } else { |
535 | this.$message({ | 605 | // item.sfczr = "0"; |
536 | showClose: true, | 606 | // } |
537 | message: "保存成功!", | 607 | // }); |
538 | type: "success", | 608 | // } |
609 | // } | ||
610 | save(this.ruleForm).then((res) => { | ||
611 | if (res.code === 200) { | ||
612 | this.$message({ | ||
613 | showClose: true, | ||
614 | message: "保存成功!", | ||
615 | type: "success", | ||
616 | }); | ||
617 | this.$store.dispatch("user/refreshPage", true); | ||
618 | } else { | ||
619 | this.$message({ | ||
620 | showClose: true, | ||
621 | message: res.message, | ||
622 | type: "error", | ||
623 | }); | ||
624 | } | ||
539 | }); | 625 | }); |
540 | this.$store.dispatch("user/refreshPage", true); | ||
541 | } else { | 626 | } else { |
542 | |||
543 | this.$message({ | ||
544 | showClose: true, | ||
545 | message: res.message, | ||
546 | type: "error", | ||
547 | }); | ||
548 | } | ||
549 | }); } else { | ||
550 | return false; | 627 | return false; |
551 | } | 628 | } |
552 | }); | 629 | }); |
553 | |||
554 | }, | 630 | }, |
555 | }, | 631 | }, |
556 | }; | 632 | }; | ... | ... |
... | @@ -14,6 +14,7 @@ | ... | @@ -14,6 +14,7 @@ |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | :show-message="false" | ||
17 | inline-message | 18 | inline-message |
18 | label-width="145px" | 19 | label-width="145px" |
19 | > | 20 | > |
... | @@ -56,7 +57,7 @@ | ... | @@ -56,7 +57,7 @@ |
56 | </el-col> | 57 | </el-col> |
57 | <el-col :span="8"> | 58 | <el-col :span="8"> |
58 | <el-form-item label="上手业务号:"> | 59 | <el-form-item label="上手业务号:"> |
59 | <el-input v-model="ruleForm.qlxx.ssywh"></el-input> | 60 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
60 | </el-form-item> | 61 | </el-form-item> |
61 | </el-col> | 62 | </el-col> |
62 | </el-row> | 63 | </el-row> |
... | @@ -67,8 +68,8 @@ | ... | @@ -67,8 +68,8 @@ |
67 | </el-form-item> | 68 | </el-form-item> |
68 | </el-col> | 69 | </el-col> |
69 | <el-col :span="8"> | 70 | <el-col :span="8"> |
70 | <el-form-item label="登记类型:"> | 71 | <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> |
71 | <el-select v-model="ruleForm.qlxx.djlx"> | 72 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> |
72 | <el-option | 73 | <el-option |
73 | v-for="item in djlxlist" | 74 | v-for="item in djlxlist" |
74 | :key="item.dcode" | 75 | :key="item.dcode" |
... | @@ -157,7 +158,7 @@ | ... | @@ -157,7 +158,7 @@ |
157 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 158 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
158 | </el-form-item> | 159 | </el-form-item> |
159 | </el-col> | 160 | </el-col> |
160 | <el-col :span="8"> | 161 | <!-- <el-col :span="8"> |
161 | <el-form-item | 162 | <el-form-item |
162 | label="区县代码:" | 163 | label="区县代码:" |
163 | prop="qlxx.qxdm" | 164 | prop="qlxx.qxdm" |
... | @@ -165,7 +166,7 @@ | ... | @@ -165,7 +166,7 @@ |
165 | > | 166 | > |
166 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | 167 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> |
167 | </el-form-item> | 168 | </el-form-item> |
168 | </el-col> | 169 | </el-col> --> |
169 | <el-col :span="8"> | 170 | <el-col :span="8"> |
170 | <el-form-item | 171 | <el-form-item |
171 | label="登记机构:" | 172 | label="登记机构:" |
... | @@ -224,9 +225,9 @@ | ... | @@ -224,9 +225,9 @@ |
224 | <el-row :gutter="10"> | 225 | <el-row :gutter="10"> |
225 | <el-col :span="12"> | 226 | <el-col :span="12"> |
226 | <el-form-item label="共有方式:"> | 227 | <el-form-item label="共有方式:"> |
227 | <el-radio-group | 228 | <el-radio-group |
228 | :disabled="$route.query.viewtype == 0" | 229 | :disabled="!ableOperation" |
229 | v-model="ruleForm.qlxx.gyqk" | 230 | v-model="ruleForm.qlxx.gyfs" |
230 | > | 231 | > |
231 | <el-radio label="0">单独所有</el-radio> | 232 | <el-radio label="0">单独所有</el-radio> |
232 | <el-radio label="1">共同共有</el-radio> | 233 | <el-radio label="1">共同共有</el-radio> |
... | @@ -235,30 +236,6 @@ | ... | @@ -235,30 +236,6 @@ |
235 | </el-radio-group> | 236 | </el-radio-group> |
236 | </el-form-item> | 237 | </el-form-item> |
237 | </el-col> | 238 | </el-col> |
238 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> | ||
239 | <el-form-item label="是否分别持证:"> | ||
240 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> | ||
241 | <el-radio :label="1">是</el-radio> | ||
242 | <el-radio :label="0">否</el-radio> | ||
243 | </el-radio-group> | ||
244 | </el-form-item> | ||
245 | </el-col> | ||
246 | <el-col | ||
247 | :span="6" | ||
248 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'" | ||
249 | > | ||
250 | <el-form-item label="持证人:"> | ||
251 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | ||
252 | <el-option | ||
253 | v-for="item in czrOptions" | ||
254 | :key="item.zjh" | ||
255 | :label="item.sqrmc" | ||
256 | :value="item.zjh" | ||
257 | > | ||
258 | </el-option> | ||
259 | </el-select> | ||
260 | </el-form-item> | ||
261 | </el-col> | ||
262 | </el-row> | 239 | </el-row> |
263 | <qlrCommonTable | 240 | <qlrCommonTable |
264 | :tableData="ruleForm.qlrData" | 241 | :tableData="ruleForm.qlrData" |
... | @@ -298,6 +275,11 @@ export default { | ... | @@ -298,6 +275,11 @@ export default { |
298 | }, | 275 | }, |
299 | data() { | 276 | data() { |
300 | return { | 277 | return { |
278 | ssqlxxshow:true, | ||
279 | props: { | ||
280 | label: "bdcqzh", | ||
281 | value: "bdcdyid", | ||
282 | }, | ||
301 | // 键名转换,方法默认是label和children进行树状渲染 | 283 | // 键名转换,方法默认是label和children进行树状渲染 |
302 | normalizer(node) { | 284 | normalizer(node) { |
303 | //方法 | 285 | //方法 |
... | @@ -313,6 +295,7 @@ export default { | ... | @@ -313,6 +295,7 @@ export default { |
313 | propsParam: this.$attrs, | 295 | propsParam: this.$attrs, |
314 | ableOperation:false, | 296 | ableOperation:false, |
315 | key: 0, | 297 | key: 0, |
298 | ssQlxxList: [], | ||
316 | // 登记类型 | 299 | // 登记类型 |
317 | djlxlist: [ | 300 | djlxlist: [ |
318 | { | 301 | { |
... | @@ -360,12 +343,13 @@ export default { | ... | @@ -360,12 +343,13 @@ export default { |
360 | //传递参数\ | 343 | //传递参数\ |
361 | rules: { | 344 | rules: { |
362 | bdcqzhrules: [ | 345 | bdcqzhrules: [ |
363 | { required: true, message: "不动产权证号:", trigger: "change" }, | 346 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
364 | ], | 347 | ], |
365 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 348 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
366 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], | 349 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
367 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 350 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
368 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], | 351 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
352 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | ||
369 | }, | 353 | }, |
370 | }; | 354 | }; |
371 | }, | 355 | }, |
... | @@ -376,16 +360,29 @@ export default { | ... | @@ -376,16 +360,29 @@ export default { |
376 | this.ableOperation=this.$parent.ableOperation | 360 | this.ableOperation=this.$parent.ableOperation |
377 | }, | 361 | }, |
378 | methods: { | 362 | methods: { |
363 | ssQlxxchange(val) { | ||
364 | this.ruleForm.ssQlxx = val; | ||
365 | this.ruleForm.qlxx.ssywh = val.ssywh; | ||
366 | }, | ||
367 | djlxchange(val) { | ||
368 | console.log("val",val); | ||
369 | if (val == null || val == 100) { | ||
370 | this.ssqlxxshow = false; | ||
371 | } else { | ||
372 | this.ssqlxxshow = true; | ||
373 | } | ||
374 | }, | ||
379 | // 字典 | 375 | // 字典 |
380 | getDictData(val) { | 376 | getDictData(val) { |
381 | return store.getters.dictData[val]; | 377 | return store.getters.dictData[val]; |
382 | }, | 378 | }, |
383 | loadData() { | 379 | loadData() { |
384 | 380 | this.$startLoading(); | |
385 | this.propsParam.isEdit = this.$parent.isEdit; | 381 | this.propsParam.isEdit = this.$parent.isEdit; |
386 | init(this.propsParam).then((res) => { | 382 | init(this.propsParam).then((res) => { |
387 | if (res.code == 200) { | 383 | if (res.code == 200) { |
388 | this.ruleForm = res.result; | 384 | this.ruleForm = res.result; |
385 | this.$endLoading(); | ||
389 | if (this.ruleForm.tdytqxList.length > 0) { | 386 | if (this.ruleForm.tdytqxList.length > 0) { |
390 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | 387 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; |
391 | } else { | 388 | } else { |
... | @@ -394,6 +391,15 @@ export default { | ... | @@ -394,6 +391,15 @@ export default { |
394 | this.isShow = true; | 391 | this.isShow = true; |
395 | } | 392 | } |
396 | }); | 393 | }); |
394 | //获取主体信息 | ||
395 | getSsQlxx({ | ||
396 | bdcdyid: this.propsParam.bdcdyid, | ||
397 | qllx: this.propsParam.qllx, | ||
398 | }).then((res) => { | ||
399 | if (res.code == 200) { | ||
400 | this.ssQlxxList = res.result; | ||
401 | } | ||
402 | }); | ||
397 | }, | 403 | }, |
398 | // 更新土地用途信息 | 404 | // 更新土地用途信息 |
399 | upDateTdytxxList(val) { | 405 | upDateTdytxxList(val) { | ... | ... |
... | @@ -7,15 +7,15 @@ | ... | @@ -7,15 +7,15 @@ |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
8 | <div class="slxx"> | 8 | <div class="slxx"> |
9 | <el-form | 9 | <el-form |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | :class="{readonly: editDisabled }" | ||
13 | class="loadingtext" | ||
14 | ref="ruleForm" | 12 | ref="ruleForm" |
13 | :class="{readonly: editDisabled }" | ||
14 | class="loadingtext" | ||
15 | :show-message="false" | ||
15 | :label-position="flag ? 'top' : ''" | 16 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 17 | :inline="flag" |
17 | inline-message | 18 | label-width="120px" |
18 | label-width="145px" | ||
19 | > | 19 | > |
20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
21 | <div class="slxx_title title-block"> | 21 | <div class="slxx_title title-block"> |
... | @@ -43,6 +43,34 @@ | ... | @@ -43,6 +43,34 @@ |
43 | 土地所有权信息 | 43 | 土地所有权信息 |
44 | <div class="triangle"></div> | 44 | <div class="triangle"></div> |
45 | </div> | 45 | </div> |
46 | <el-row :gutter="10" class="ssqlxx"> | ||
47 | <el-col :span="24" v-if="ssqlxxshow"> | ||
48 | <el-form-item label="上手权利信息:"> | ||
49 | <select-table | ||
50 | v-model="ruleForm.ssQlxx" | ||
51 | :table-width="550" | ||
52 | :tableData="ssQlxxList" | ||
53 | :props="props" | ||
54 | @change="ssQlxxchange" | ||
55 | > | ||
56 | <el-table-column | ||
57 | prop="qllxmc" | ||
58 | width="130" | ||
59 | label="权利类型" | ||
60 | ></el-table-column> | ||
61 | <el-table-column | ||
62 | prop="bdcqzh" | ||
63 | width="160" | ||
64 | label="不动产权证书" | ||
65 | ></el-table-column> | ||
66 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
67 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
68 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
69 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
70 | </select-table> | ||
71 | </el-form-item> | ||
72 | </el-col> | ||
73 | </el-row> | ||
46 | <el-row :gutter="10"> | 74 | <el-row :gutter="10"> |
47 | <el-col :span="8"> | 75 | <el-col :span="8"> |
48 | <el-form-item label="不动产单元号:"> | 76 | <el-form-item label="不动产单元号:"> |
... | @@ -56,7 +84,7 @@ | ... | @@ -56,7 +84,7 @@ |
56 | </el-col> | 84 | </el-col> |
57 | <el-col :span="8"> | 85 | <el-col :span="8"> |
58 | <el-form-item label="上手业务号:"> | 86 | <el-form-item label="上手业务号:"> |
59 | <el-input v-model="ruleForm.qlxx.ssywh"></el-input> | 87 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
60 | </el-form-item> | 88 | </el-form-item> |
61 | </el-col> | 89 | </el-col> |
62 | </el-row> | 90 | </el-row> |
... | @@ -67,8 +95,8 @@ | ... | @@ -67,8 +95,8 @@ |
67 | </el-form-item> | 95 | </el-form-item> |
68 | </el-col> | 96 | </el-col> |
69 | <el-col :span="8"> | 97 | <el-col :span="8"> |
70 | <el-form-item label="登记类型:"> | 98 | <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> |
71 | <el-select v-model="ruleForm.qlxx.djlx"> | 99 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> |
72 | <el-option | 100 | <el-option |
73 | v-for="item in djlxlist" | 101 | v-for="item in djlxlist" |
74 | :key="item.dcode" | 102 | :key="item.dcode" |
... | @@ -97,7 +125,7 @@ | ... | @@ -97,7 +125,7 @@ |
97 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 125 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
98 | </el-form-item> | 126 | </el-form-item> |
99 | </el-col> | 127 | </el-col> |
100 | <el-col :span="8"> | 128 | <!-- <el-col :span="8"> |
101 | <el-form-item | 129 | <el-form-item |
102 | label="区县代码:" | 130 | label="区县代码:" |
103 | prop="qlxx.qxdm" | 131 | prop="qlxx.qxdm" |
... | @@ -105,7 +133,7 @@ | ... | @@ -105,7 +133,7 @@ |
105 | > | 133 | > |
106 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | 134 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> |
107 | </el-form-item> | 135 | </el-form-item> |
108 | </el-col> | 136 | </el-col> --> |
109 | <el-col :span="8"> | 137 | <el-col :span="8"> |
110 | <el-form-item | 138 | <el-form-item |
111 | label="不动产权证号:" | 139 | label="不动产权证号:" |
... | @@ -262,30 +290,6 @@ | ... | @@ -262,30 +290,6 @@ |
262 | </el-radio-group> | 290 | </el-radio-group> |
263 | </el-form-item> | 291 | </el-form-item> |
264 | </el-col> | 292 | </el-col> |
265 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> | ||
266 | <el-form-item label="是否分别持证:"> | ||
267 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> | ||
268 | <el-radio :label="1">是</el-radio> | ||
269 | <el-radio :label="0">否</el-radio> | ||
270 | </el-radio-group> | ||
271 | </el-form-item> | ||
272 | </el-col> | ||
273 | <el-col | ||
274 | :span="6" | ||
275 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'" | ||
276 | > | ||
277 | <el-form-item label="持证人:"> | ||
278 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | ||
279 | <el-option | ||
280 | v-for="item in czrOptions" | ||
281 | :key="item.zjh" | ||
282 | :label="item.sqrmc" | ||
283 | :value="item.zjh" | ||
284 | > | ||
285 | </el-option> | ||
286 | </el-select> | ||
287 | </el-form-item> | ||
288 | </el-col> | ||
289 | </el-row> | 293 | </el-row> |
290 | <qlrCommonTable | 294 | <qlrCommonTable |
291 | :tableData="ruleForm.qlrData" | 295 | :tableData="ruleForm.qlrData" |
... | @@ -306,11 +310,12 @@ | ... | @@ -306,11 +310,12 @@ |
306 | <script> | 310 | <script> |
307 | import store from "@/store/index.js"; | 311 | import store from "@/store/index.js"; |
308 | import { mapGetters } from "vuex"; | 312 | import { mapGetters } from "vuex"; |
309 | import { init, save } from "@/api/djbRepair.js"; | 313 | import { init,getSsQlxx, save } from "@/api/djbRepair.js"; |
310 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 314 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
315 | import selectTable from "@/components/selectTable/index.vue"; | ||
311 | import tdytTable from "@/views/workflow/components/tdytTable"; | 316 | import tdytTable from "@/views/workflow/components/tdytTable"; |
312 | export default { | 317 | export default { |
313 | components: { qlrCommonTable, tdytTable }, | 318 | components: { qlrCommonTable, tdytTable ,selectTable}, |
314 | computed: { | 319 | computed: { |
315 | ...mapGetters(["dictData", "flag"]), | 320 | ...mapGetters(["dictData", "flag"]), |
316 | // 根据流程判断表单是否为只读 | 321 | // 根据流程判断表单是否为只读 |
... | @@ -324,6 +329,11 @@ export default { | ... | @@ -324,6 +329,11 @@ export default { |
324 | }, | 329 | }, |
325 | data() { | 330 | data() { |
326 | return { | 331 | return { |
332 | ssqlxxshow:true, | ||
333 | props: { | ||
334 | label: "bdcqzh", | ||
335 | value: "bdcdyid", | ||
336 | }, | ||
327 | // 键名转换,方法默认是label和children进行树状渲染 | 337 | // 键名转换,方法默认是label和children进行树状渲染 |
328 | normalizer(node) { | 338 | normalizer(node) { |
329 | //方法 | 339 | //方法 |
... | @@ -381,36 +391,58 @@ export default { | ... | @@ -381,36 +391,58 @@ export default { |
381 | isShow: false, | 391 | isShow: false, |
382 | disabled: true, | 392 | disabled: true, |
383 | czrOptions: [], | 393 | czrOptions: [], |
394 | ssQlxxList: [], | ||
384 | ruleForm: {}, | 395 | ruleForm: {}, |
385 | ableOperation:false, | 396 | ableOperation:false, |
386 | //传递参数\ | 397 | //传递参数\ |
387 | rules: { | 398 | rules: { |
388 | bdcqzhrules: [ | 399 | bdcqzhrules: [ |
389 | { required: true, message: "不动产权证号:", trigger: "change" }, | 400 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
390 | ], | 401 | ], |
391 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 402 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
392 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], | 403 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
393 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 404 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
394 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], | 405 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
406 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | ||
395 | }, | 407 | }, |
396 | }; | 408 | }; |
397 | }, | 409 | }, |
398 | created() { | 410 | created() { |
399 | this.loadData(); | 411 | |
400 | }, | 412 | }, |
401 | mounted() { | 413 | mounted() { |
414 | this.loadData(); | ||
402 | this.ableOperation=this.$parent.ableOperation | 415 | this.ableOperation=this.$parent.ableOperation |
403 | }, | 416 | }, |
404 | methods: { | 417 | methods: { |
418 | ssQlxxchange(val) { | ||
419 | this.ruleForm.ssQlxx = val; | ||
420 | this.ruleForm.qlxx.ssywh = val.ssywh; | ||
421 | }, | ||
422 | djlxchange(val) { | ||
423 | console.log("val",val); | ||
424 | if (val == null || val == 100) { | ||
425 | this.ssqlxxshow = false; | ||
426 | } else { | ||
427 | this.ssqlxxshow = true; | ||
428 | } | ||
429 | }, | ||
430 | |||
405 | // 字典 | 431 | // 字典 |
406 | getDictData(val) { | 432 | getDictData(val) { |
407 | return store.getters.dictData[val]; | 433 | return store.getters.dictData[val]; |
408 | }, | 434 | }, |
409 | loadData() { | 435 | loadData() { |
436 | this.$startLoading(); | ||
410 | this.propsParam.isEdit = this.$parent.isEdit; | 437 | this.propsParam.isEdit = this.$parent.isEdit; |
411 | init(this.propsParam).then((res) => { | 438 | init(this.propsParam).then((res) => { |
412 | if (res.code == 200) { | 439 | if (res.code == 200) { |
413 | this.ruleForm = res.result; | 440 | this.ruleForm = res.result; |
441 | let djlx = this.ruleForm.qlxx.djlx; | ||
442 | if (djlx == null || djlx == 100) { | ||
443 | this.ssqlxxshow = false; | ||
444 | } | ||
445 | this.$endLoading(); | ||
414 | if (this.ruleForm.tdytqxList.length > 0) { | 446 | if (this.ruleForm.tdytqxList.length > 0) { |
415 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | 447 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; |
416 | } else { | 448 | } else { |
... | @@ -419,6 +451,15 @@ export default { | ... | @@ -419,6 +451,15 @@ export default { |
419 | this.isShow = true; | 451 | this.isShow = true; |
420 | } | 452 | } |
421 | }); | 453 | }); |
454 | //获取主体信息 | ||
455 | getSsQlxx({ | ||
456 | bdcdyid: this.propsParam.bdcdyid, | ||
457 | qllx: this.propsParam.qllx, | ||
458 | }).then((res) => { | ||
459 | if (res.code == 200) { | ||
460 | this.ssQlxxList = res.result; | ||
461 | } | ||
462 | }); | ||
422 | }, | 463 | }, |
423 | // 更新土地用途信息 | 464 | // 更新土地用途信息 |
424 | upDateTdytxxList(val) { | 465 | upDateTdytxxList(val) { |
... | @@ -431,11 +472,11 @@ export default { | ... | @@ -431,11 +472,11 @@ export default { |
431 | this.czrOptions = this.ruleForm.qlrData; | 472 | this.czrOptions = this.ruleForm.qlrData; |
432 | this.key++; | 473 | this.key++; |
433 | }, | 474 | }, |
434 | // 更新义务人信息 | 475 | // // 更新义务人信息 |
435 | upDateYwrxxList(val) { | 476 | // upDateYwrxxList(val) { |
436 | this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | 477 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); |
437 | this.key++; | 478 | // this.key++; |
438 | }, | 479 | // }, |
439 | onSubmit() { | 480 | onSubmit() { |
440 | this.$refs.ruleForm.validate((valid) => { | 481 | this.$refs.ruleForm.validate((valid) => { |
441 | if (valid) { | 482 | if (valid) { |
... | @@ -502,10 +543,76 @@ export default { | ... | @@ -502,10 +543,76 @@ export default { |
502 | </script> | 543 | </script> |
503 | <style scoped lang="scss"> | 544 | <style scoped lang="scss"> |
504 | @import "~@/styles/public.scss"; | 545 | @import "~@/styles/public.scss"; |
505 | @import "~@/styles/slxx/slxx.scss"; | 546 | /deep/.el-form { |
506 | .loadingtext{ | 547 | display: flex; |
507 | /deep/.el-form-item__content{ | 548 | flex-direction: column; |
508 | pointer-events: none!important; | 549 | height: calc(100vh - 130px); |
509 | } | 550 | } |
551 | |||
552 | /deep/.el-form-item__label { | ||
553 | padding: 0; | ||
554 | } | ||
555 | |||
556 | /deep/.el-radio { | ||
557 | margin-right: 10px; | ||
558 | } | ||
559 | |||
560 | /deep/.el-select { | ||
561 | width: 100%; | ||
562 | } | ||
563 | |||
564 | /deep/.el-form-item { | ||
565 | margin-bottom: 8px; | ||
566 | } | ||
567 | |||
568 | .marginBot0 { | ||
569 | margin-bottom: 0 !important; | ||
570 | } | ||
571 | |||
572 | .slxx { | ||
573 | box-sizing: border-box; | ||
510 | } | 574 | } |
575 | |||
576 | .slxx_con { | ||
577 | flex: 1; | ||
578 | height: 100%; | ||
579 | background-color: #ffffff; | ||
580 | overflow-y: auto; | ||
581 | padding-right: 3px; | ||
582 | overflow-x: hidden; | ||
583 | } | ||
584 | |||
585 | .submit_btn { | ||
586 | height: 50px; | ||
587 | } | ||
588 | |||
589 | .slxx_title { | ||
590 | border-bottom: 1px solid $borderColor; | ||
591 | padding-left: 10px; | ||
592 | padding-bottom: 5px; | ||
593 | margin-bottom: 10px; | ||
594 | margin-top: 5px; | ||
595 | font-size: 16px; | ||
596 | font-weight: 500; | ||
597 | color: #4a4a4a; | ||
598 | } | ||
599 | |||
600 | .btn { | ||
601 | text-align: center; | ||
602 | padding-top: 10px; | ||
603 | height: 36px; | ||
604 | background-color: #ffffff; | ||
605 | padding: 5px 0; | ||
606 | } | ||
607 | |||
608 | .textArea { | ||
609 | /deep/.el-textarea__inner { | ||
610 | min-height: 90px !important; | ||
611 | } | ||
612 | } | ||
613 | |||
614 | /deep/.el-form-item__label { | ||
615 | padding-bottom: 0px; | ||
616 | } | ||
617 | |||
511 | </style> | 618 | </style> | ... | ... |
... | @@ -14,6 +14,7 @@ | ... | @@ -14,6 +14,7 @@ |
14 | class="loadingtext" | 14 | class="loadingtext" |
15 | ref="ruleForm" | 15 | ref="ruleForm" |
16 | :label-position="flag ? 'top' : ''" | 16 | :label-position="flag ? 'top' : ''" |
17 | :show-message="false" | ||
17 | :inline="flag" | 18 | :inline="flag" |
18 | inline-message | 19 | inline-message |
19 | label-width="145px" | 20 | label-width="145px" |
... | @@ -44,6 +45,34 @@ | ... | @@ -44,6 +45,34 @@ |
44 | 预告登记信息 | 45 | 预告登记信息 |
45 | <div class="triangle"></div> | 46 | <div class="triangle"></div> |
46 | </div> | 47 | </div> |
48 | <el-row :gutter="10" class="ssqlxx"> | ||
49 | <el-col :span="24" v-if="ssqlxxshow"> | ||
50 | <el-form-item label="上手权利信息:"> | ||
51 | <select-table | ||
52 | v-model="ruleForm.ssQlxx" | ||
53 | :table-width="550" | ||
54 | :tableData="ssQlxxList" | ||
55 | :props="props" | ||
56 | @change="ssQlxxchange" | ||
57 | > | ||
58 | <el-table-column | ||
59 | prop="qllxmc" | ||
60 | width="130" | ||
61 | label="权利类型" | ||
62 | ></el-table-column> | ||
63 | <el-table-column | ||
64 | prop="bdcqzh" | ||
65 | width="160" | ||
66 | label="不动产权证书" | ||
67 | ></el-table-column> | ||
68 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
69 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
70 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
71 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
72 | </select-table> | ||
73 | </el-form-item> | ||
74 | </el-col> | ||
75 | </el-row> | ||
47 | <el-row :gutter="10"> | 76 | <el-row :gutter="10"> |
48 | <el-col :span="8"> | 77 | <el-col :span="8"> |
49 | <el-form-item label="不动产单元号:"> | 78 | <el-form-item label="不动产单元号:"> |
... | @@ -57,7 +86,7 @@ | ... | @@ -57,7 +86,7 @@ |
57 | </el-col> | 86 | </el-col> |
58 | <el-col :span="8"> | 87 | <el-col :span="8"> |
59 | <el-form-item label="上手业务号:"> | 88 | <el-form-item label="上手业务号:"> |
60 | <el-input v-model="ruleForm.qlxx.ssywh"></el-input> | 89 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
61 | </el-form-item> | 90 | </el-form-item> |
62 | </el-col> | 91 | </el-col> |
63 | </el-row> | 92 | </el-row> |
... | @@ -73,8 +102,8 @@ | ... | @@ -73,8 +102,8 @@ |
73 | </el-form-item> | 102 | </el-form-item> |
74 | </el-col> | 103 | </el-col> |
75 | <el-col :span="8"> | 104 | <el-col :span="8"> |
76 | <el-form-item label="登记类型:"> | 105 | <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> |
77 | <el-select v-model="ruleForm.qlxx.djlx"> | 106 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> |
78 | <el-option | 107 | <el-option |
79 | v-for="item in djlxlist" | 108 | v-for="item in djlxlist" |
80 | :key="item.dcode" | 109 | :key="item.dcode" |
... | @@ -95,11 +124,11 @@ | ... | @@ -95,11 +124,11 @@ |
95 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 124 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
96 | </el-form-item> | 125 | </el-form-item> |
97 | </el-col> | 126 | </el-col> |
98 | <el-col :span="8"> | 127 | <!-- <el-col :span="8"> |
99 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> | 128 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> |
100 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | 129 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> |
101 | </el-form-item> | 130 | </el-form-item> |
102 | </el-col> | 131 | </el-col> --> |
103 | <el-col :span="8"> | 132 | <el-col :span="8"> |
104 | <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules"> | 133 | <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules"> |
105 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 134 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
... | @@ -271,7 +300,10 @@ | ... | @@ -271,7 +300,10 @@ |
271 | <el-row :gutter="10"> | 300 | <el-row :gutter="10"> |
272 | <el-col :span="12"> | 301 | <el-col :span="12"> |
273 | <el-form-item label="共有方式:"> | 302 | <el-form-item label="共有方式:"> |
274 | <el-radio-group v-model="ruleForm.qlxx.gyqk"> | 303 | <el-radio-group |
304 | :disabled="!ableOperation" | ||
305 | v-model="ruleForm.qlxx.gyfs" | ||
306 | > | ||
275 | <el-radio label="0">单独所有</el-radio> | 307 | <el-radio label="0">单独所有</el-radio> |
276 | <el-radio label="1">共同共有</el-radio> | 308 | <el-radio label="1">共同共有</el-radio> |
277 | <el-radio label="2">按份所有</el-radio> | 309 | <el-radio label="2">按份所有</el-radio> |
... | @@ -312,12 +344,13 @@ | ... | @@ -312,12 +344,13 @@ |
312 | </template> | 344 | </template> |
313 | <script> | 345 | <script> |
314 | import { mapGetters } from "vuex"; | 346 | import { mapGetters } from "vuex"; |
315 | import { init, save } from "@/api/djbRepair.js"; | 347 | import { init,getSsQlxx, save } from "@/api/djbRepair.js"; |
316 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 348 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
317 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 349 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
318 | import tdytTable from "@/views/workflow/components/tdytTable"; | 350 | import tdytTable from "@/views/workflow/components/tdytTable"; |
351 | import selectTable from "@/components/selectTable/index.vue"; | ||
319 | export default { | 352 | export default { |
320 | components: { qlrCommonTable, ywrCommonTable, tdytTable }, | 353 | components: { qlrCommonTable, ywrCommonTable, tdytTable,selectTable }, |
321 | computed: { | 354 | computed: { |
322 | ...mapGetters(["dictData", "flag"]), | 355 | ...mapGetters(["dictData", "flag"]), |
323 | // 根据流程判断表单是否为只读 | 356 | // 根据流程判断表单是否为只读 |
... | @@ -331,12 +364,18 @@ export default { | ... | @@ -331,12 +364,18 @@ export default { |
331 | }, | 364 | }, |
332 | data() { | 365 | data() { |
333 | return { | 366 | return { |
367 | ssqlxxshow:true, | ||
368 | props: { | ||
369 | label: "bdcqzh", | ||
370 | value: "bdcdyid", | ||
371 | }, | ||
334 | //表单是否可操作 | 372 | //表单是否可操作 |
335 | propsParam: this.$attrs, | 373 | propsParam: this.$attrs, |
336 | key: 0, | 374 | key: 0, |
337 | isShow: false, | 375 | isShow: false, |
338 | disabled: true, | 376 | disabled: true, |
339 | czrOptions: [], | 377 | czrOptions: [], |
378 | ssQlxxList: [], | ||
340 | ruleForm: {}, | 379 | ruleForm: {}, |
341 | // 登记类型 | 380 | // 登记类型 |
342 | djlxlist: [ | 381 | djlxlist: [ |
... | @@ -380,13 +419,14 @@ export default { | ... | @@ -380,13 +419,14 @@ export default { |
380 | //传递参数\ | 419 | //传递参数\ |
381 | rules: { | 420 | rules: { |
382 | bdcqzhrules:[ | 421 | bdcqzhrules:[ |
383 | { required: true, message: "不动产权证号:", trigger: "change" }, | 422 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
384 | ], | 423 | ], |
385 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 424 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
386 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], | 425 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
387 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 426 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
388 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], | 427 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
389 | ygdjlxrules: [{ required: true, message: "预告登记种类", trigger: "change" }], | 428 | ygdjlxrules: [{ required: true, message: "预告登记种类", trigger: "blur" }], |
429 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | ||
390 | }, | 430 | }, |
391 | ableOperation:false, | 431 | ableOperation:false, |
392 | }; | 432 | }; |
... | @@ -398,14 +438,41 @@ export default { | ... | @@ -398,14 +438,41 @@ export default { |
398 | this.ableOperation=this.$parent.ableOperation | 438 | this.ableOperation=this.$parent.ableOperation |
399 | }, | 439 | }, |
400 | methods: { | 440 | methods: { |
441 | ssQlxxchange(val) { | ||
442 | this.ruleForm.ssQlxx = val; | ||
443 | this.ruleForm.qlxx.ssywh = val.ssywh; | ||
444 | }, | ||
445 | djlxchange(val) { | ||
446 | console.log("val",val); | ||
447 | if (val == null || val == 100) { | ||
448 | this.ssqlxxshow = false; | ||
449 | } else { | ||
450 | this.ssqlxxshow = true; | ||
451 | } | ||
452 | }, | ||
401 | loadData() { | 453 | loadData() { |
454 | this.$startLoading(); | ||
402 | this.propsParam.isEdit=this.$parent.isEdit | 455 | this.propsParam.isEdit=this.$parent.isEdit |
403 | init(this.propsParam).then((res) => { | 456 | init(this.propsParam).then((res) => { |
404 | if (res.code == 200) { | 457 | if (res.code == 200) { |
405 | this.ruleForm = res.result; | 458 | this.ruleForm = res.result; |
459 | let djlx = this.ruleForm.qlxx.djlx; | ||
460 | if (djlx == null || djlx == 100) { | ||
461 | this.ssqlxxshow = false; | ||
462 | } | ||
463 | this.$endLoading(); | ||
406 | this.isShow = true; | 464 | this.isShow = true; |
407 | } | 465 | } |
408 | }); | 466 | }); |
467 | //获取主体信息 | ||
468 | getSsQlxx({ | ||
469 | bdcdyid: this.propsParam.bdcdyid, | ||
470 | qllx: this.propsParam.qllx, | ||
471 | }).then((res) => { | ||
472 | if (res.code == 200) { | ||
473 | this.ssQlxxList = res.result; | ||
474 | } | ||
475 | }); | ||
409 | }, | 476 | }, |
410 | // 更新土地用途信息 | 477 | // 更新土地用途信息 |
411 | upDateTdytxxList(val) { | 478 | upDateTdytxxList(val) { |
... | @@ -434,7 +501,14 @@ export default { | ... | @@ -434,7 +501,14 @@ export default { |
434 | }); | 501 | }); |
435 | return false; | 502 | return false; |
436 | } | 503 | } |
437 | 504 | if (this.ruleForm.ywrData.length == 0) { | |
505 | this.$message({ | ||
506 | showClose: true, | ||
507 | message: "请确认义务人信息", | ||
508 | type: "error", | ||
509 | }); | ||
510 | return false; | ||
511 | } | ||
438 | if (this.ruleForm.qlxx.gyfs == "0") { | 512 | if (this.ruleForm.qlxx.gyfs == "0") { |
439 | if (this.ruleForm.qlrData.length > 1) { | 513 | if (this.ruleForm.qlrData.length > 1) { |
440 | this.$message({ | 514 | this.$message({ | ... | ... |
... | @@ -15,6 +15,7 @@ | ... | @@ -15,6 +15,7 @@ |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | inline-message | 17 | inline-message |
18 | :show-message="false" | ||
18 | label-width="145px" | 19 | label-width="145px" |
19 | > | 20 | > |
20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 21 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
... | @@ -56,7 +57,7 @@ | ... | @@ -56,7 +57,7 @@ |
56 | </el-col> | 57 | </el-col> |
57 | <el-col :span="8"> | 58 | <el-col :span="8"> |
58 | <el-form-item label="上手业务号:"> | 59 | <el-form-item label="上手业务号:"> |
59 | <el-input v-model="ruleForm.qlxx.ssywh"></el-input> | 60 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
60 | </el-form-item> | 61 | </el-form-item> |
61 | </el-col> | 62 | </el-col> |
62 | </el-row> | 63 | </el-row> |
... | @@ -94,11 +95,11 @@ | ... | @@ -94,11 +95,11 @@ |
94 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 95 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
95 | </el-form-item> | 96 | </el-form-item> |
96 | </el-col> | 97 | </el-col> |
97 | <el-col :span="8"> | 98 | <!-- <el-col :span="8"> |
98 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> | 99 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> |
99 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | 100 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> |
100 | </el-form-item> | 101 | </el-form-item> |
101 | </el-col> | 102 | </el-col> --> |
102 | <el-col :span="8"> | 103 | <el-col :span="8"> |
103 | <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules"> | 104 | <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules"> |
104 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 105 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
... | @@ -190,7 +191,10 @@ | ... | @@ -190,7 +191,10 @@ |
190 | <el-row :gutter="10"> | 191 | <el-row :gutter="10"> |
191 | <el-col :span="12"> | 192 | <el-col :span="12"> |
192 | <el-form-item label="共有方式:"> | 193 | <el-form-item label="共有方式:"> |
193 | <el-radio-group v-model="ruleForm.qlxx.gyqk"> | 194 | <el-radio-group |
195 | :disabled="!ableOperation" | ||
196 | v-model="ruleForm.qlxx.gyfs" | ||
197 | > | ||
194 | <el-radio label="0">单独所有</el-radio> | 198 | <el-radio label="0">单独所有</el-radio> |
195 | <el-radio label="1">共同共有</el-radio> | 199 | <el-radio label="1">共同共有</el-radio> |
196 | <el-radio label="2">按份所有</el-radio> | 200 | <el-radio label="2">按份所有</el-radio> |
... | @@ -300,7 +304,7 @@ export default { | ... | @@ -300,7 +304,7 @@ export default { |
300 | bdcqzhrules:[ | 304 | bdcqzhrules:[ |
301 | { required: true, message: "不动产权证号:", trigger: "change" }, | 305 | { required: true, message: "不动产权证号:", trigger: "change" }, |
302 | ], | 306 | ], |
303 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 307 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
304 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], | 308 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], |
305 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 309 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
306 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], | 310 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], |
... | @@ -316,10 +320,12 @@ export default { | ... | @@ -316,10 +320,12 @@ export default { |
316 | }, | 320 | }, |
317 | methods: { | 321 | methods: { |
318 | loadData() { | 322 | loadData() { |
323 | this.$startLoading(); | ||
319 | this.propsParam.isEdit=this.$parent.isEdit | 324 | this.propsParam.isEdit=this.$parent.isEdit |
320 | init(this.propsParam).then((res) => { | 325 | init(this.propsParam).then((res) => { |
321 | if (res.code == 200) { | 326 | if (res.code == 200) { |
322 | this.ruleForm = res.result; | 327 | this.ruleForm = res.result; |
328 | this.$endLoading(); | ||
323 | this.isShow = true; | 329 | this.isShow = true; |
324 | } | 330 | } |
325 | }); | 331 | }); |
... | @@ -351,7 +357,14 @@ export default { | ... | @@ -351,7 +357,14 @@ export default { |
351 | }); | 357 | }); |
352 | return false; | 358 | return false; |
353 | } | 359 | } |
354 | 360 | if (this.ruleForm.ywrData.length == 0) { | |
361 | this.$message({ | ||
362 | showClose: true, | ||
363 | message: "请确认义务人信息", | ||
364 | type: "error", | ||
365 | }); | ||
366 | return false; | ||
367 | } | ||
355 | if (this.ruleForm.qlxx.gyfs == "0") { | 368 | if (this.ruleForm.qlxx.gyfs == "0") { |
356 | if (this.ruleForm.qlrData.length > 1) { | 369 | if (this.ruleForm.qlrData.length > 1) { |
357 | this.$message({ | 370 | this.$message({ | ... | ... |
... | @@ -7,70 +7,58 @@ | ... | @@ -7,70 +7,58 @@ |
7 | <div class="spyj loadingtext"> | 7 | <div class="spyj loadingtext"> |
8 | <div class="box"> | 8 | <div class="box"> |
9 | <div class="spyj_title"> | 9 | <div class="spyj_title"> |
10 | <div class="leftadd" v-if="ableOperation"> | 10 | <div class="righttitle">审批表</div> |
11 | <i | ||
12 | class="el-icon-plus pointer" | ||
13 | @click="addClick()" | ||
14 | ></i> | ||
15 | </div> | ||
16 | <div class="righttitle">审批表</div> | ||
17 | </div> | 11 | </div> |
18 | 12 | ||
19 | <div v-for="(item, index) in tableData" :key="index"> | 13 | <div v-for="(item, index) in tableData" :key="index"> |
20 | <el-form | 14 | <el-form |
21 | :model="tableData[index]" | 15 | :model="tableData[index]" |
22 | label-width="120px" | 16 | label-width="120px" |
23 | :rules="rules" | 17 | ref="ruleFormRef'" |
24 | :ref="'ruleFormRef' + index" | ||
25 | > | 18 | > |
26 | <div class="spyj_form"> | 19 | <div class="spyj_form"> |
27 | <div class="item_left"> | 20 | <div class="item_left"> |
28 | <div class="left" v-if="ableOperation"> | ||
29 | <i | ||
30 | class="el-icon-minus pointer" | ||
31 | @click="deleClick()" | ||
32 | ></i> | ||
33 | </div> | ||
34 | <div class="left" v-else> | ||
35 | {{index+1}} | ||
36 | </div> | ||
37 | <div class="right">{{ item.jdmc }}意见</div> | 21 | <div class="right">{{ item.jdmc }}意见</div> |
38 | </div> | 22 | </div> |
39 | <div class="item_right"> | 23 | <div class="item_right"> |
40 | <el-row> | 24 | <el-row> |
41 | <el-col :span="24"> | 25 | <el-col :span="24"> |
42 | <el-form-item | 26 | <el-form-item label-width="0" class="opinion_item"> |
43 | label-width="0" | ||
44 | class="opinion_item" | ||
45 | prop="shyj" | ||
46 | > | ||
47 | <el-input | 27 | <el-input |
48 | :disabled="!ableOperation" | 28 | :disabled="!ableOperation" |
49 | type="textarea" | 29 | type="textarea" |
50 | :rows="4" | 30 | :rows="4" |
51 | class="opinion" | 31 | class="opinion" |
52 | placeholder="请输入审批意见" | 32 | placeholder="请输入审批意见" |
53 | v-model="item.shyj" | 33 | v-model="item.shyj" |
54 | ></el-input> | 34 | ></el-input> |
55 | <el-button class="opinion_btn" @click="commonOpinion(index)" v-if="ableOperation">常用意见</el-button> | 35 | <el-button |
36 | class="opinion_btn" | ||
37 | @click="commonOpinion(index)" | ||
38 | v-if="ableOperation" | ||
39 | >常用意见</el-button | ||
40 | > | ||
56 | </el-form-item> | 41 | </el-form-item> |
57 | </el-col> | 42 | </el-col> |
58 | </el-row> | 43 | </el-row> |
59 | <el-row> | 44 | <el-row> |
60 | <el-col :span="16"> | 45 | <el-col :span="16"> |
61 | <el-form-item label="审查人" prop="shryxm"> | 46 | <el-form-item label="审查人"> |
62 | <el-input :disabled="!ableOperation" v-model="item.shryxm"></el-input> | 47 | <el-input |
48 | :disabled="!ableOperation || !item.shyj" | ||
49 | v-model="item.shryxm" | ||
50 | ></el-input> | ||
63 | </el-form-item> | 51 | </el-form-item> |
64 | </el-col> | 52 | </el-col> |
65 | <el-col :span="8"> | 53 | <el-col :span="8"> |
66 | <el-form-item class="sjxzq" label="审核时间" prop="shkssj"> | 54 | <el-form-item class="sjxzq" label="审核时间"> |
67 | <el-date-picker | 55 | <el-date-picker |
68 | :disabled="!ableOperation" | 56 | :disabled="!ableOperation || !item.shyj" |
69 | v-model="item.shkssj" | 57 | v-model="item.shkssj" |
70 | type="date" | 58 | type="date" |
71 | placeholder="选择日期" | 59 | placeholder="选择日期" |
72 | value-format="yyyy-MM-dd HH:mm:ss" | 60 | value-format="yyyy-MM-dd HH:mm:ss" |
73 | format="yyyy-MM-dd" | 61 | format="yyyy-MM-dd" |
74 | > | 62 | > |
75 | </el-date-picker> | 63 | </el-date-picker> |
76 | </el-form-item> | 64 | </el-form-item> |
... | @@ -81,9 +69,7 @@ | ... | @@ -81,9 +69,7 @@ |
81 | </el-form> | 69 | </el-form> |
82 | </div> | 70 | </div> |
83 | <div class="submit_button" v-if="ableOperation"> | 71 | <div class="submit_button" v-if="ableOperation"> |
84 | <el-button type="primary" @click="onSubmit('ruleFormRef')" | 72 | <el-button type="primary" @click="onSubmit()">保存</el-button> |
85 | >保存</el-button | ||
86 | > | ||
87 | </div> | 73 | </div> |
88 | </div> | 74 | </div> |
89 | <!-- <el-empty v-if="isNoData" description="暂无数据"></el-empty> --> | 75 | <!-- <el-empty v-if="isNoData" description="暂无数据"></el-empty> --> |
... | @@ -99,54 +85,30 @@ export default { | ... | @@ -99,54 +85,30 @@ export default { |
99 | data() { | 85 | data() { |
100 | return { | 86 | return { |
101 | isNoData: false, | 87 | isNoData: false, |
102 | currentindex:0, | 88 | currentindex: 0, |
103 | ableOperation: false, | 89 | ableOperation: false, |
104 | tableData: [{ jdmc: "初审" }], | 90 | tableData: [{ jdmc: "初审" }, { jdmc: "复审" }, { jdmc: "核定" }], |
105 | rules: { | 91 | falg: false, |
106 | shyj: [{ required: true, message: "请填写意见", trigger: "blur" }], | 92 | falg1: false, |
107 | shryxm: [{ required: true, message: "审查人", trigger: "blur" }], | ||
108 | shkssj: [{ required: true, message: "审核时间", trigger: "blur" }], | ||
109 | }, | ||
110 | }; | 93 | }; |
111 | }, | 94 | }, |
112 | 95 | ||
113 | watch: { | 96 | watch: { |
114 | yjsqOptions: { | 97 | yjsqOptions: { |
115 | handler (val) { | 98 | handler(val) { |
116 | this.add(val) | 99 | console.log("val", val); |
117 | }, | 100 | this.add(val); |
118 | deep: true, | ||
119 | immediate: true | ||
120 | }, | 101 | }, |
102 | deep: true, | ||
103 | immediate: true, | ||
121 | }, | 104 | }, |
105 | }, | ||
122 | created() {}, | 106 | created() {}, |
123 | mounted() { | 107 | mounted() { |
124 | this.ableOperation=this.$parent.ableOperation | 108 | this.ableOperation = this.$parent.ableOperation; |
125 | this.getShList(); | 109 | this.getShList(); |
126 | }, | 110 | }, |
127 | methods: { | 111 | methods: { |
128 | deleClick(){ | ||
129 | if(this.tableData.length<=1){ | ||
130 | this.$message.error("最少填写一条初审意见"); | ||
131 | }else if(this.tableData.length>=2){ | ||
132 | this.tableData=this.tableData.slice(0,-1) | ||
133 | } | ||
134 | |||
135 | }, | ||
136 | addClick(){ | ||
137 | if(this.tableData.length==1){ | ||
138 | this.tableData.push({ jdmc: "复审" }) | ||
139 | }else if(this.tableData.length==2){ | ||
140 | this.tableData.push({ jdmc: "核定" }) | ||
141 | }else{ | ||
142 | this.$message.error("只允许添加三条意见"); | ||
143 | } | ||
144 | |||
145 | |||
146 | }, | ||
147 | |||
148 | |||
149 | |||
150 | getShList() { | 112 | getShList() { |
151 | this.$startLoading(); | 113 | this.$startLoading(); |
152 | var formdata = { | 114 | var formdata = { |
... | @@ -163,16 +125,53 @@ export default { | ... | @@ -163,16 +125,53 @@ export default { |
163 | } | 125 | } |
164 | }); | 126 | }); |
165 | }, | 127 | }, |
166 | onSubmit(formName) { | 128 | judgment(obj) {}, |
167 | const falg = []; | 129 | onSubmit() { |
168 | for (let index = 0; index < this.tableData.length; index++) { | 130 | if ( |
169 | this.$refs[formName + index][0].validate((valid) => { | 131 | this.tableData[2].shyj == null || |
170 | if (valid) { | 132 | this.tableData[2].shryxm == null || |
171 | falg.push(1); | 133 | this.tableData[2].shkssj == null || |
134 | this.tableData[2].shyj == "" || | ||
135 | this.tableData[2].shryxm == "" || | ||
136 | this.tableData[2].shkssj == "" | ||
137 | ) { | ||
138 | this.falg = false; | ||
139 | this.$message.error("请完善核定意见信息填写"); | ||
140 | } else { | ||
141 | this.falg = true; | ||
142 | if (this.tableData[0].shyj != null && this.tableData[0].shyj != "") { | ||
143 | if ( | ||
144 | this.tableData[0].shryxm == null || | ||
145 | this.tableData[0].shryxm == "" || | ||
146 | this.tableData[0].shkssj == null || | ||
147 | this.tableData[0].shkssj == "" | ||
148 | ) { | ||
149 | this.$message.error("请完善初审意见信息填写"); | ||
150 | this.falg = false; | ||
151 | } else { | ||
152 | this.falg = true; | ||
172 | } | 153 | } |
173 | }); | 154 | } else { |
155 | this.falg = true; | ||
156 | } | ||
157 | if (this.tableData[1].shyj != null && this.tableData[1].shyj != "") { | ||
158 | if ( | ||
159 | this.tableData[1].shryxm == null || | ||
160 | this.tableData[1].shryxm == "" || | ||
161 | this.tableData[1].shkssj == null || | ||
162 | this.tableData[1].shkssj == "" | ||
163 | ) { | ||
164 | this.$message.error("请完善复审意见信息填写"); | ||
165 | this.falg1 = false; | ||
166 | } else { | ||
167 | this.falg1 = true; | ||
168 | } | ||
169 | } else { | ||
170 | this.falg1 = true; | ||
171 | } | ||
174 | } | 172 | } |
175 | if (falg.length == this.tableData.length) { | 173 | |
174 | if (this.falg && this.falg1) { | ||
176 | this.tableData.forEach((item, index) => { | 175 | this.tableData.forEach((item, index) => { |
177 | item["bsmBusiness"] = this.$parent.bsmRepair; | 176 | item["bsmBusiness"] = this.$parent.bsmRepair; |
178 | }), | 177 | }), |
... | @@ -188,15 +187,22 @@ export default { | ... | @@ -188,15 +187,22 @@ export default { |
188 | return false; | 187 | return false; |
189 | } | 188 | } |
190 | }, | 189 | }, |
191 | //打开常用意见列表弹窗 | 190 | //打开常用意见列表弹窗 |
192 | commonOpinion (index) { | 191 | commonOpinion(index) { |
193 | this.currentindex=index | 192 | this.currentindex = index; |
194 | this.$popupDialog("常用意见", "workflow/components/dialog/commonOpinion", {}, "70%", true) | 193 | this.$popupDialog( |
195 | }, | 194 | "常用意见", |
196 | add(val){ | 195 | "workflow/components/dialog/commonOpinion", |
197 | this.$set(this.tableData[this.currentindex],'shyj',val) | 196 | {}, |
197 | "70%", | ||
198 | true | ||
199 | ); | ||
200 | }, | ||
201 | add(val) { | ||
202 | if (val != "") { | ||
203 | this.$set(this.tableData[this.currentindex], "shyj", val); | ||
198 | } | 204 | } |
199 | 205 | }, | |
200 | }, | 206 | }, |
201 | }; | 207 | }; |
202 | </script> | 208 | </script> |
... | @@ -218,37 +224,33 @@ export default { | ... | @@ -218,37 +224,33 @@ export default { |
218 | overflow-y: scroll; | 224 | overflow-y: scroll; |
219 | padding-top: 20px; | 225 | padding-top: 20px; |
220 | padding: 20px 40px; | 226 | padding: 20px 40px; |
221 | .spyj_title { | 227 | .spyj_title { |
222 | width: 100%; | 228 | width: 100%; |
223 | height:80px; | 229 | height: 80px; |
224 | border: 1px solid $borderColor; | 230 | border: 1px solid $borderColor; |
225 | background-color: #eceef2; | 231 | background-color: #eceef2; |
226 | display: flex; | 232 | display: flex; |
227 | 233 | } | |
228 | } | 234 | .leftadd { |
229 | .leftadd{ | 235 | width: 3%; |
230 | width: 3%; | 236 | height: 100%; |
231 | height: 100%; | 237 | display: flex; |
232 | display: flex; | 238 | font-size: 14px; |
233 | font-size: 14px; | 239 | text-indent: 20px; |
234 | text-indent: 20px; | 240 | align-items: center; |
235 | align-items: center; | 241 | border: 1px solid $borderColor; |
236 | border: 1px solid $borderColor; | 242 | } |
237 | 243 | .righttitle { | |
244 | width: 80%; | ||
245 | height: 100%; | ||
246 | line-height: 80px; | ||
247 | border: 1px solid $borderColor; | ||
248 | text-align: center; | ||
249 | font-size: 22px; | ||
250 | font-weight: 400; | ||
238 | } | 251 | } |
239 | .righttitle{ | ||
240 | width: 80%; | ||
241 | height: 100%; | ||
242 | line-height: 80px; | ||
243 | border: 1px solid $borderColor; | ||
244 | text-align: center; | ||
245 | font-size: 22px; | ||
246 | font-weight: 400; | ||
247 | |||
248 | } | ||
249 | } | 252 | } |
250 | 253 | ||
251 | |||
252 | /deep/.el-form-item { | 254 | /deep/.el-form-item { |
253 | margin-bottom: 0; | 255 | margin-bottom: 0; |
254 | } | 256 | } |
... | @@ -267,33 +269,9 @@ export default { | ... | @@ -267,33 +269,9 @@ export default { |
267 | color: #606266; | 269 | color: #606266; |
268 | display: flex; | 270 | display: flex; |
269 | font-size: 14px; | 271 | font-size: 14px; |
270 | text-indent: 80px; | 272 | text-indent: 50px; |
271 | align-items: center; | 273 | align-items: center; |
272 | border-right: 1px solid $borderColor; | 274 | border-right: 1px solid $borderColor; |
273 | |||
274 | .left { | ||
275 | width: 30%; | ||
276 | height: 100%; | ||
277 | display: flex; | ||
278 | font-size: 14px; | ||
279 | text-indent: 20px; | ||
280 | align-items: center; | ||
281 | border-right: 1px solid $borderColor; | ||
282 | .el-icon-minus{ | ||
283 | font-size: 14px; | ||
284 | color: black; | ||
285 | } | ||
286 | } | ||
287 | .right { | ||
288 | width: 70%; | ||
289 | height: 100%; | ||
290 | color: #606266; | ||
291 | display: flex; | ||
292 | font-size: 14px; | ||
293 | text-indent: 20px; | ||
294 | align-items: center; | ||
295 | border-right: 1px solid $borderColor; | ||
296 | } | ||
297 | } | 275 | } |
298 | 276 | ||
299 | .item_right { | 277 | .item_right { |
... | @@ -338,10 +316,8 @@ export default { | ... | @@ -338,10 +316,8 @@ export default { |
338 | margin: 15px 0; | 316 | margin: 15px 0; |
339 | } | 317 | } |
340 | 318 | ||
341 | .el-date-editor.el-input{ | 319 | .el-date-editor.el-input { |
342 | width: 100%; | 320 | width: 100%; |
343 | |||
344 | |||
345 | } | 321 | } |
346 | } | 322 | } |
347 | </style> | 323 | </style> | ... | ... |
... | @@ -16,6 +16,9 @@ export function getForm(tabName) { | ... | @@ -16,6 +16,9 @@ export function getForm(tabName) { |
16 | case "jsydsyq": | 16 | case "jsydsyq": |
17 | form = require("@/views/registerBook/jsydsyq.vue"); | 17 | form = require("@/views/registerBook/jsydsyq.vue"); |
18 | break; | 18 | break; |
19 | case "tdsyq": | ||
20 | form = require("@/views/registerBook/tdsyq.vue"); | ||
21 | break; | ||
19 | case "nydsyq": | 22 | case "nydsyq": |
20 | form = require("@/views/registerBook/nydsyq.vue"); | 23 | form = require("@/views/registerBook/nydsyq.vue"); |
21 | break; | 24 | break; | ... | ... |
... | @@ -98,8 +98,22 @@ export default { | ... | @@ -98,8 +98,22 @@ export default { |
98 | }) | 98 | }) |
99 | break; | 99 | break; |
100 | case "B2": //材料分屏按钮 | 100 | case "B2": //材料分屏按钮 |
101 | this.splitScreen = this.splitScreen ? false : true; | ||
102 | this.$store.dispatch("app/settScreen", this.splitScreen); | ||
103 | if (this.splitScreen) { | ||
101 | 104 | ||
102 | this.closefp() | 105 | //如果当前选项卡为材料信息内容,递减到上一个选项卡内容 |
106 | if (this.tabName == this.clxxTab.value) { | ||
107 | this.tabName = this.tabList[this.clxxIndex - 1].value; | ||
108 | this.getFromRouter(this.tabList[this.clxxIndex - 1].value); | ||
109 | } | ||
110 | //删除材料信息选项卡数据 | ||
111 | this.tabList.splice(this.clxxIndex, 1); | ||
112 | } else { | ||
113 | //新增材料信息选项卡数据 | ||
114 | this.tabList.splice(this.clxxIndex, 0, this.clxxTab); | ||
115 | } | ||
116 | // this.closefp() | ||
103 | 117 | ||
104 | // if (this.splitScreen) { | 118 | // if (this.splitScreen) { |
105 | // //如果当前选项卡为材料信息内容,递减到上一个选项卡内容 | 119 | // //如果当前选项卡为材料信息内容,递减到上一个选项卡内容 | ... | ... |
... | @@ -117,6 +117,11 @@ | ... | @@ -117,6 +117,11 @@ |
117 | tabdata: [], | 117 | tabdata: [], |
118 | bsmRepair:"", | 118 | bsmRepair:"", |
119 | defaultNode: {}, | 119 | defaultNode: {}, |
120 | clxxForm: "", | ||
121 | //材料信息选择卡索引 | ||
122 | clxxIndex: "", | ||
123 | //材料信息选项卡对象 | ||
124 | clxxTab: {}, | ||
120 | ableOperation:false | 125 | ableOperation:false |
121 | }; | 126 | }; |
122 | }, | 127 | }, |
... | @@ -134,7 +139,25 @@ | ... | @@ -134,7 +139,25 @@ |
134 | this.tabName = this.tabList[0].value; | 139 | this.tabName = this.tabList[0].value; |
135 | this.ableOperation=this.tabList[0].ableOperation | 140 | this.ableOperation=this.tabList[0].ableOperation |
136 | this.getFromRouter(this.tabName); | 141 | this.getFromRouter(this.tabName); |
142 | |||
143 | if(this.tabList.length!=8){ | ||
144 | let that = this; | ||
145 | this.tabList.forEach(function (item, index) { | ||
146 | if (item.value == "clxx") { | ||
147 | that.clxxIndex = index; | ||
148 | that.clxxForm = getForm(item.value, that.$route.query.sqywbm); | ||
149 | that.clxxTab = item; | ||
150 | } | ||
151 | }) | ||
152 | } | ||
153 | |||
154 | |||
155 | |||
137 | }); | 156 | }); |
157 | |||
158 | |||
159 | |||
160 | |||
138 | }); | 161 | }); |
139 | } | 162 | } |
140 | }, | 163 | }, |
... | @@ -193,12 +216,13 @@ | ... | @@ -193,12 +216,13 @@ |
193 | getFromRouter (tabname) { | 216 | getFromRouter (tabname) { |
194 | this.componentTag = getForm(tabname); | 217 | this.componentTag = getForm(tabname); |
195 | }, | 218 | }, |
196 | closefp () { | 219 | // closefp () { |
197 | this.splitScreen = this.splitScreen ? false : true; | 220 | // this.splitScreen = this.splitScreen ? false : true; |
198 | this.$store.dispatch("app/set1tScreen", this.splitScreen); | 221 | // this.$store.dispatch("app/set1tScreen", this.splitScreen); |
199 | this.getFromRouter(this.tabList[0].value); | 222 | // this.getFromRouter(this.tabList[0].value); |
200 | this.clxxForm = getForm(this.tabList[1].value); | 223 | // this.clxxForm = getForm(this.tabList[1].value); |
201 | }, | 224 | // this.tabName = this.tabList[0].value |
225 | // }, | ||
202 | // 增加补录记录 | 226 | // 增加补录记录 |
203 | addRepairRecord (row, del) { | 227 | addRepairRecord (row, del) { |
204 | let from = { | 228 | let from = { |
... | @@ -239,18 +263,18 @@ | ... | @@ -239,18 +263,18 @@ |
239 | console.log("错", res); | 263 | console.log("错", res); |
240 | }) | 264 | }) |
241 | }, | 265 | }, |
242 | openDialog () { | 266 | // openDialog () { |
243 | this.$store.dispatch('user/refreshPage', false) | 267 | // this.$store.dispatch('user/refreshPage', false) |
244 | let data = JSON.parse(localStorage.getItem('ywbl')) | 268 | // let data = JSON.parse(localStorage.getItem('ywbl')) |
245 | let title | 269 | // let title |
246 | if (data?.sqywmc) { | 270 | // if (data?.sqywmc) { |
247 | title = "申请业务:" + data?.sqywmc | 271 | // title = "申请业务:" + data?.sqywmc |
248 | } else { | 272 | // } else { |
249 | title = "申请业务:" + data?.djywmc | 273 | // title = "申请业务:" + data?.djywmc |
250 | } | 274 | // } |
251 | 275 | ||
252 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true) | 276 | // this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true) |
253 | } | 277 | // } |
254 | } | 278 | } |
255 | }; | 279 | }; |
256 | </script> | 280 | </script> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:50:23 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <dialogBox :title="editFlag ? '编辑接口信息' : '新增接口信息'" @submitForm="submitForm" saveButton="保存" width="50%" :isFullscreen="false" | 7 | <dialogBox :title="editFlag ? '编辑接口信息' : '新增接口信息'" @submitForm="submitForm" saveButton="保存" width="50%" :isFullscreen="false" |
3 | @closeDialog="closeDialog" v-model="value"> | 8 | @closeDialog="closeDialog" v-model="value"> |
... | @@ -26,7 +31,7 @@ | ... | @@ -26,7 +31,7 @@ |
26 | <el-col :span="12"> | 31 | <el-col :span="12"> |
27 | <el-form-item label="接口方式:" prop="interfaceMethod"> | 32 | <el-form-item label="接口方式:" prop="interfaceMethod"> |
28 | <el-select v-model="ruleForm.interfaceMethod" class="width100" placeholder="请选择"> | 33 | <el-select v-model="ruleForm.interfaceMethod" class="width100" placeholder="请选择"> |
29 | <el-option v-for="item in interfaceMethods" :key="item" :label="item" :value="item" ></el-option> | 34 | <el-option v-for="item in interfaceMethods" :key="item" :label="item" :value="item"></el-option> |
30 | </el-select> | 35 | </el-select> |
31 | </el-form-item> | 36 | </el-form-item> |
32 | </el-col> | 37 | </el-col> |
... | @@ -58,115 +63,115 @@ | ... | @@ -58,115 +63,115 @@ |
58 | </template> | 63 | </template> |
59 | 64 | ||
60 | <script> | 65 | <script> |
61 | import { addSysInterface, editSysInterface} from "@/api/ptjk.js" | 66 | import { addSysInterface, editSysInterface } from "@/api/ptjk.js" |
62 | export default { | 67 | export default { |
63 | components: { | 68 | components: { |
64 | }, | 69 | }, |
65 | computed: { | 70 | computed: { |
66 | }, | 71 | }, |
67 | props: { | 72 | props: { |
68 | value: { type: Boolean, default: false }, | 73 | value: { type: Boolean, default: false }, |
69 | editFlag: {type: Boolean,default:false} | 74 | editFlag: { type: Boolean, default: false } |
70 | }, | 75 | }, |
71 | data () { | 76 | data () { |
72 | return { | 77 | return { |
73 | //表单提交数据 | 78 | //表单提交数据 |
74 | interfaceMethods: ['webapi','webservice'], | 79 | interfaceMethods: ['webapi', 'webservice'], |
75 | interfaceTypes: [ | 80 | interfaceTypes: [ |
76 | {'label': '工作流服务平台','value':'1'}, | 81 | { 'label': '工作流服务平台', 'value': '1' }, |
77 | {'label': '权限平台','value':'2'}, | 82 | { 'label': '权限平台', 'value': '2' }, |
78 | {'label': '定时器服务','value':'3'}, | 83 | { 'label': '定时器服务', 'value': '3' }, |
79 | {'label': '其他第三方平台','value':'4'}, | 84 | { 'label': '其他第三方平台', 'value': '4' }, |
80 | ], | ||
81 | ruleForm: { | ||
82 | interfaceCode: '', | ||
83 | interfaceService: '', | ||
84 | interfaceDescription: '', | ||
85 | interfaceApi: '', | ||
86 | interfaceMethod: '', | ||
87 | interfaceType: '', | ||
88 | interfaceKey: '', | ||
89 | }, | ||
90 | rules: { | ||
91 | interfaceCode: [ | ||
92 | { required: true, message: '接口代码不能为空', trigger: 'blur' } | ||
93 | ], | ||
94 | interfaceService: [ | ||
95 | { required: true, message: '接口服务名称不能为空', trigger: 'blur' } | ||
96 | ], | ||
97 | interfaceApi: [ | ||
98 | { required: true, message: '接口api地址不能为空', trigger: 'blur' } | ||
99 | ], | ||
100 | interfaceMethod: [ | ||
101 | { required: true, message: '接口方式不能为空', trigger: 'change' } | ||
102 | ], | ||
103 | interfaceType: [ | ||
104 | { required: true, message: '入库编号不能为空', trigger: 'change' } | ||
105 | ], | 85 | ], |
106 | }, | 86 | ruleForm: { |
107 | } | 87 | interfaceCode: '', |
108 | }, | 88 | interfaceService: '', |
109 | methods: { | 89 | interfaceDescription: '', |
110 | //表单提交 | 90 | interfaceApi: '', |
111 | submitForm () { | 91 | interfaceMethod: '', |
112 | let that = this; | 92 | interfaceType: '', |
113 | that.$refs.ruleForm.validate(valid => { | 93 | interfaceKey: '', |
114 | if (valid) { | 94 | }, |
115 | if(this.editFlag){ | 95 | rules: { |
116 | this.editInterface(); | 96 | interfaceCode: [ |
117 | }else{ | 97 | { required: true, message: '接口代码不能为空', trigger: 'blur' } |
118 | this.addInterface(); | 98 | ], |
119 | } | 99 | interfaceService: [ |
120 | } else { | 100 | { required: true, message: '接口服务名称不能为空', trigger: 'blur' } |
121 | // console.log('error submit!!'); | 101 | ], |
122 | return false; | 102 | interfaceApi: [ |
123 | } | 103 | { required: true, message: '接口api地址不能为空', trigger: 'blur' } |
124 | }); | 104 | ], |
105 | interfaceMethod: [ | ||
106 | { required: true, message: '接口方式不能为空', trigger: 'change' } | ||
107 | ], | ||
108 | interfaceType: [ | ||
109 | { required: true, message: '入库编号不能为空', trigger: 'change' } | ||
110 | ], | ||
111 | }, | ||
112 | } | ||
125 | }, | 113 | }, |
126 | //新增接口 | 114 | methods: { |
127 | addInterface(){ | 115 | //表单提交 |
128 | addSysInterface(this.ruleForm).then(res => { | 116 | submitForm () { |
129 | if(res.code == 200){ | 117 | let that = this; |
130 | this.$message.success("保存成功"); | 118 | that.$refs.ruleForm.validate(valid => { |
131 | this.closeDialog(); | 119 | if (valid) { |
132 | this.$parent.queryClick(); | 120 | if (this.editFlag) { |
133 | }else{ | 121 | this.editInterface(); |
134 | this.$message.error(res.message) | 122 | } else { |
123 | this.addInterface(); | ||
135 | } | 124 | } |
125 | } else { | ||
126 | // console.log('error submit!!'); | ||
127 | return false; | ||
128 | } | ||
129 | }); | ||
130 | }, | ||
131 | //新增接口 | ||
132 | addInterface () { | ||
133 | addSysInterface(this.ruleForm).then(res => { | ||
134 | if (res.code == 200) { | ||
135 | this.$message.success("保存成功"); | ||
136 | this.closeDialog(); | ||
137 | this.$parent.queryClick(); | ||
138 | } else { | ||
139 | this.$message.error(res.message) | ||
140 | } | ||
136 | }) | 141 | }) |
137 | }, | 142 | }, |
138 | //编辑接口 | 143 | //编辑接口 |
139 | editInterface(){ | 144 | editInterface () { |
140 | editSysInterface(this.ruleForm).then(res => { | 145 | editSysInterface(this.ruleForm).then(res => { |
141 | if(res.code == 200){ | 146 | if (res.code == 200) { |
142 | this.$message.success("编辑成功"); | 147 | this.$message.success("编辑成功"); |
143 | this.closeDialog(); | 148 | this.closeDialog(); |
144 | this.$parent.queryClick(); | 149 | this.$parent.queryClick(); |
145 | }else{ | 150 | } else { |
146 | this.$message.error(res.message) | 151 | this.$message.error(res.message) |
147 | } | 152 | } |
148 | }) | 153 | }) |
149 | }, | 154 | }, |
150 | //获取详情 | 155 | //获取详情 |
151 | getDetailInfo(item){ | 156 | getDetailInfo (item) { |
152 | this.ruleForm = item | 157 | this.ruleForm = item |
153 | }, | 158 | }, |
154 | //关闭弹窗 | 159 | //关闭弹窗 |
155 | closeDialog () { | 160 | closeDialog () { |
156 | this.$emit("input", false); | 161 | this.$emit("input", false); |
157 | this.ruleForm = { | 162 | this.ruleForm = { |
158 | interfaceCode: '', | 163 | interfaceCode: '', |
159 | interfaceService: '', | 164 | interfaceService: '', |
160 | interfaceDescription: '', | 165 | interfaceDescription: '', |
161 | interfaceApi: '', | 166 | interfaceApi: '', |
162 | interfaceMethod: '', | 167 | interfaceMethod: '', |
163 | interfaceType: '', | 168 | interfaceType: '', |
164 | interfaceKey: '', | 169 | interfaceKey: '', |
170 | } | ||
165 | } | 171 | } |
166 | } | 172 | } |
167 | } | 173 | } |
168 | } | ||
169 | </script> | 174 | </script> |
170 | <style scoped lang="scss"> | 175 | <style scoped lang="scss"> |
171 | @import "~@/styles/mixin.scss"; | 176 | @import "~@/styles/mixin.scss"; |
172 | </style> | 177 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:50:36 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="from-clues"> | 7 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
... | @@ -37,72 +42,72 @@ | ... | @@ -37,72 +42,72 @@ |
37 | </div> | 42 | </div> |
38 | </template> | 43 | </template> |
39 | <script> | 44 | <script> |
40 | import { mapGetters } from 'vuex' | 45 | import { mapGetters } from 'vuex' |
41 | import table from "@/utils/mixin/table" | 46 | import table from "@/utils/mixin/table" |
42 | import { datas, sendThis } from "./ptjkdata" | 47 | import { datas, sendThis } from "./ptjkdata" |
43 | import { getSysInterfaceList } from '@/api/ptjk.js' | 48 | import { getSysInterfaceList } from '@/api/ptjk.js' |
44 | import addDialog from "./components/addDialog.vue" | 49 | import addDialog from "./components/addDialog.vue" |
45 | import retrieveDialog from "./components/retrieveDialog.vue" | 50 | import retrieveDialog from "./components/retrieveDialog.vue" |
46 | export default { | 51 | export default { |
47 | name: "ptjk", | 52 | name: "ptjk", |
48 | components: { addDialog, retrieveDialog }, | 53 | components: { addDialog, retrieveDialog }, |
49 | mixins: [table], | 54 | mixins: [table], |
50 | mounted () { | 55 | mounted () { |
51 | sendThis(this); | 56 | sendThis(this); |
52 | this.queryClick() | 57 | this.queryClick() |
53 | }, | ||
54 | computed: { | ||
55 | ...mapGetters(['dictData']) | ||
56 | }, | ||
57 | data () { | ||
58 | return { | ||
59 | addDialog: false, | ||
60 | retrieveDialog: false, | ||
61 | editFlag: false, | ||
62 | queryForm: { | ||
63 | ywly: "", | ||
64 | qllx: "", | ||
65 | djlx: "", | ||
66 | ywh: "", | ||
67 | }, | ||
68 | tableData: { | ||
69 | total: 0, | ||
70 | columns: datas.columns(), | ||
71 | data: [], | ||
72 | }, | ||
73 | }; | ||
74 | }, | ||
75 | methods: { | ||
76 | queryClick () { | ||
77 | this.$startLoading() | ||
78 | getSysInterfaceList({ ...this.ruleForm, ...this.pageData }, { 'target': '#ptjkLoading' }).then(res => { | ||
79 | this.$endLoading() | ||
80 | if (res.code == 200) { | ||
81 | let { total, records } = res.result | ||
82 | this.tableData.total = total; | ||
83 | this.tableData.data = records ? records : [] | ||
84 | } | ||
85 | }) | ||
86 | }, | 58 | }, |
87 | //打开新增 | 59 | computed: { |
88 | openDialog () { | 60 | ...mapGetters(['dictData']) |
89 | this.editFlag = false; | ||
90 | this.addDialog = true; | ||
91 | }, | 61 | }, |
92 | //打开编辑 | 62 | data () { |
93 | editInterface (item) { | 63 | return { |
94 | this.editFlag = true; | 64 | addDialog: false, |
95 | this.addDialog = true; | 65 | retrieveDialog: false, |
96 | this.$refs.addDialog.getDetailInfo(item); | 66 | editFlag: false, |
67 | queryForm: { | ||
68 | ywly: "", | ||
69 | qllx: "", | ||
70 | djlx: "", | ||
71 | ywh: "", | ||
72 | }, | ||
73 | tableData: { | ||
74 | total: 0, | ||
75 | columns: datas.columns(), | ||
76 | data: [], | ||
77 | }, | ||
78 | }; | ||
97 | }, | 79 | }, |
98 | //打开调试窗口 | 80 | methods: { |
99 | tuneInterface (item) { | 81 | queryClick () { |
100 | this.retrieveDialog = true; | 82 | this.$startLoading() |
101 | this.$refs.retrieveDialog.getDetailInfo(item); | 83 | getSysInterfaceList({ ...this.ruleForm, ...this.pageData }, { 'target': '#ptjkLoading' }).then(res => { |
84 | this.$endLoading() | ||
85 | if (res.code == 200) { | ||
86 | let { total, records } = res.result | ||
87 | this.tableData.total = total; | ||
88 | this.tableData.data = records ? records : [] | ||
89 | } | ||
90 | }) | ||
91 | }, | ||
92 | //打开新增 | ||
93 | openDialog () { | ||
94 | this.editFlag = false; | ||
95 | this.addDialog = true; | ||
96 | }, | ||
97 | //打开编辑 | ||
98 | editInterface (item) { | ||
99 | this.editFlag = true; | ||
100 | this.addDialog = true; | ||
101 | this.$refs.addDialog.getDetailInfo(item); | ||
102 | }, | ||
103 | //打开调试窗口 | ||
104 | tuneInterface (item) { | ||
105 | this.retrieveDialog = true; | ||
106 | this.$refs.retrieveDialog.getDetailInfo(item); | ||
107 | } | ||
102 | } | 108 | } |
103 | } | 109 | }; |
104 | }; | ||
105 | </script> | 110 | </script> |
106 | <style scoped lang="scss"> | 111 | <style scoped lang="scss"> |
107 | @import "~@/styles/public.scss"; | 112 | @import "~@/styles/public.scss"; |
108 | </style> | 113 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:50:45 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div id="login"> | 7 | <div id="login"> |
3 | <div class="login-content-wrap"> | 8 | <div class="login-content-wrap"> |
... | @@ -16,14 +21,12 @@ | ... | @@ -16,14 +21,12 @@ |
16 | placeholder="请输入账号" | 21 | placeholder="请输入账号" |
17 | v-model="userInfo.username" | 22 | v-model="userInfo.username" |
18 | @focus="reduceBorder('user')" | 23 | @focus="reduceBorder('user')" |
19 | @blur="addBorder('user')" | 24 | @blur="addBorder('user')" /> |
20 | /> | ||
21 | <span class="warning" v-show="warning.user">账号不能为空</span> | 25 | <span class="warning" v-show="warning.user">账号不能为空</span> |
22 | </div> | 26 | </div> |
23 | <div | 27 | <div |
24 | class="login-user user-mt" | 28 | class="login-user user-mt" |
25 | :class="{ 'select-border': change.pass }" | 29 | :class="{ 'select-border': change.pass }"> |
26 | > | ||
27 | <img class="user-icon" src="./images/password.svg" /> | 30 | <img class="user-icon" src="./images/password.svg" /> |
28 | <input | 31 | <input |
29 | type="password" | 32 | type="password" |
... | @@ -32,8 +35,7 @@ | ... | @@ -32,8 +35,7 @@ |
32 | v-model="userInfo.password" | 35 | v-model="userInfo.password" |
33 | v-show="!selectEye" | 36 | v-show="!selectEye" |
34 | @focus="reduceBorder('pass')" | 37 | @focus="reduceBorder('pass')" |
35 | @blur="addBorder('pass')" | 38 | @blur="addBorder('pass')" /> |
36 | /> | ||
37 | <input | 39 | <input |
38 | type="text" | 40 | type="text" |
39 | class="user-input" | 41 | class="user-input" |
... | @@ -41,26 +43,22 @@ | ... | @@ -41,26 +43,22 @@ |
41 | v-model="userInfo.password" | 43 | v-model="userInfo.password" |
42 | v-show="selectEye" | 44 | v-show="selectEye" |
43 | @focus="reduceBorder('pass')" | 45 | @focus="reduceBorder('pass')" |
44 | @blur="addBorder('pass')" | 46 | @blur="addBorder('pass')" /> |
45 | /> | ||
46 | <img | 47 | <img |
47 | class="password-eye" | 48 | class="password-eye" |
48 | src="./images/open.svg" | 49 | src="./images/open.svg" |
49 | @click="selectEyes" | 50 | @click="selectEyes" |
50 | v-show="selectEye" | 51 | v-show="selectEye" /> |
51 | /> | ||
52 | <img | 52 | <img |
53 | class="password-eye" | 53 | class="password-eye" |
54 | src="./images/close.svg" | 54 | src="./images/close.svg" |
55 | @click="selectEyes" | 55 | @click="selectEyes" |
56 | v-show="!selectEye" | 56 | v-show="!selectEye" /> |
57 | /> | ||
58 | <span class="warning" v-show="warning.pass">密码不能为空</span> | 57 | <span class="warning" v-show="warning.pass">密码不能为空</span> |
59 | </div> | 58 | </div> |
60 | <div | 59 | <div |
61 | class="login-user login-valid" | 60 | class="login-user login-valid" |
62 | :class="{ 'select-border': change.valid }" | 61 | :class="{ 'select-border': change.valid }"> |
63 | > | ||
64 | <img class="user-icon" src="./images/valid.svg" /> | 62 | <img class="user-icon" src="./images/valid.svg" /> |
65 | <input | 63 | <input |
66 | type="text" | 64 | type="text" |
... | @@ -68,14 +66,12 @@ | ... | @@ -68,14 +66,12 @@ |
68 | placeholder="请输入验证码" | 66 | placeholder="请输入验证码" |
69 | v-model="userInfo.captchaCode" | 67 | v-model="userInfo.captchaCode" |
70 | @focus="reduceBorder('valid')" | 68 | @focus="reduceBorder('valid')" |
71 | @blur="addBorder('valid')" | 69 | @blur="addBorder('valid')" /> |
72 | /> | ||
73 | <img | 70 | <img |
74 | class="valid-img" | 71 | class="valid-img" |
75 | :src="codeSrc" | 72 | :src="codeSrc" |
76 | alt="暂无验证码" | 73 | alt="暂无验证码" |
77 | @click="reloadCaptcha" | 74 | @click="reloadCaptcha" /> |
78 | /> | ||
79 | <span class="warning" v-show="warning.valid">验证码不能为空</span> | 75 | <span class="warning" v-show="warning.valid">验证码不能为空</span> |
80 | </div> | 76 | </div> |
81 | <div id="loginBtn" class="login-btn" @click="goHome">登录</div> | 77 | <div id="loginBtn" class="login-btn" @click="goHome">登录</div> |
... | @@ -85,302 +81,302 @@ | ... | @@ -85,302 +81,302 @@ |
85 | </div> | 81 | </div> |
86 | </template> | 82 | </template> |
87 | <script> | 83 | <script> |
88 | import axios from "axios"; | 84 | import axios from "axios"; |
89 | export default { | 85 | export default { |
90 | data() { | 86 | data () { |
91 | return { | 87 | return { |
92 | // 用户名 | ||
93 | selectIcon: true, | ||
94 | // 用户名 | ||
95 | selectEye: false, | ||
96 | userInfo: { | ||
97 | // 用户名 | 88 | // 用户名 |
98 | username: "", | 89 | selectIcon: true, |
99 | // 密码 | 90 | // 用户名 |
100 | password: "", | 91 | selectEye: false, |
101 | // 重定向地址 | 92 | userInfo: { |
102 | redirectUrl: "", | 93 | // 用户名 |
103 | // 验证码key | 94 | username: "", |
104 | captchaKey: "", | 95 | // 密码 |
105 | // 验证码值 | 96 | password: "", |
106 | captchaCode: "", | 97 | // 重定向地址 |
107 | }, | 98 | redirectUrl: "", |
108 | //边框 | 99 | // 验证码key |
109 | change: { | 100 | captchaKey: "", |
110 | user: false, | 101 | // 验证码值 |
111 | pass: false, | 102 | captchaCode: "", |
112 | valid:false | 103 | }, |
113 | }, | 104 | //边框 |
114 | // 提示语 | 105 | change: { |
115 | warning: { | 106 | user: false, |
116 | user: false, | 107 | pass: false, |
117 | pass: false, | 108 | valid: false |
118 | valid: false, | 109 | }, |
119 | }, | 110 | // 提示语 |
120 | // 验证码图片地址 | 111 | warning: { |
121 | codeSrc:"" | 112 | user: false, |
122 | }; | 113 | pass: false, |
123 | }, | 114 | valid: false, |
124 | mounted() { | 115 | }, |
125 | this.initPage(); | 116 | // 验证码图片地址 |
126 | this.userInfo.redirectUrl = localStorage.getItem("dj-location"); | 117 | codeSrc: "" |
127 | this.reloadCaptcha() | 118 | }; |
128 | let self = this; | ||
129 | document.onkeydown = function (e) { | ||
130 | //按下回车提交 | ||
131 | let key = window.event.keyCode; | ||
132 | //事件中keycode=13为回车事件 | ||
133 | if (key == 13) { | ||
134 | self.goHome(); | ||
135 | } | ||
136 | }; | ||
137 | }, | ||
138 | methods: { | ||
139 | // 更新验证码 | ||
140 | reloadCaptcha(){ | ||
141 | axios.get(window._config.services.management + "/management/captcha?format=json").then(res => { | ||
142 | if (res.data.status === 1) { | ||
143 | this.userInfo.captchaKey = res.data.content['dubhe.captcha'] | ||
144 | this.codeSrc = res.data.content.image | ||
145 | } | ||
146 | }) | ||
147 | }, | 119 | }, |
148 | // 初始化 | 120 | mounted () { |
149 | initPage() { | 121 | this.initPage(); |
150 | let userInfo = | 122 | this.userInfo.redirectUrl = localStorage.getItem("dj-location"); |
151 | localStorage.getItem("userInfo") && | 123 | this.reloadCaptcha() |
152 | JSON.parse(localStorage.getItem("userInfo")); | 124 | let self = this; |
153 | if (userInfo) { | 125 | document.onkeydown = function (e) { |
154 | this.userInfo.username = userInfo.username; | 126 | //按下回车提交 |
155 | this.userInfo.password = userInfo.password; | 127 | let key = window.event.keyCode; |
156 | } | 128 | //事件中keycode=13为回车事件 |
129 | if (key == 13) { | ||
130 | self.goHome(); | ||
131 | } | ||
132 | }; | ||
157 | }, | 133 | }, |
158 | goHome() { | 134 | methods: { |
159 | if (this.userInfo.username && this.userInfo.password) { | 135 | // 更新验证码 |
160 | axios | 136 | reloadCaptcha () { |
161 | .post( | 137 | axios.get(window._config.services.management + "/management/captcha?format=json").then(res => { |
162 | window._config.services.management + "/management/cas/login", | 138 | if (res.data.status === 1) { |
163 | this.userInfo | 139 | this.userInfo.captchaKey = res.data.content['dubhe.captcha'] |
164 | ) | 140 | this.codeSrc = res.data.content.image |
165 | .then((response) => { | 141 | } |
166 | if (response.data.status === 1) { | 142 | }) |
167 | if (response.data.content.location) { | 143 | }, |
168 | window.location.href = response.data.content.location; | 144 | // 初始化 |
145 | initPage () { | ||
146 | let userInfo = | ||
147 | localStorage.getItem("userInfo") && | ||
148 | JSON.parse(localStorage.getItem("userInfo")); | ||
149 | if (userInfo) { | ||
150 | this.userInfo.username = userInfo.username; | ||
151 | this.userInfo.password = userInfo.password; | ||
152 | } | ||
153 | }, | ||
154 | goHome () { | ||
155 | if (this.userInfo.username && this.userInfo.password) { | ||
156 | axios | ||
157 | .post( | ||
158 | window._config.services.management + "/management/cas/login", | ||
159 | this.userInfo | ||
160 | ) | ||
161 | .then((response) => { | ||
162 | if (response.data.status === 1) { | ||
163 | if (response.data.content.location) { | ||
164 | window.location.href = response.data.content.location; | ||
165 | } | ||
166 | } else { | ||
167 | this.$message.error(response.data.message); | ||
169 | } | 168 | } |
169 | }) | ||
170 | .catch((error) => { | ||
171 | console.log(error); | ||
172 | this.$message.error(error.message); | ||
173 | }); | ||
174 | } else { | ||
175 | return | ||
176 | } | ||
177 | }, | ||
178 | selectEyes () { | ||
179 | this.selectEye = !this.selectEye; | ||
180 | }, | ||
181 | |||
182 | //获取焦点 | ||
183 | reduceBorder (type) { | ||
184 | this.change[type] = true | ||
185 | }, | ||
186 | addBorder (type) { | ||
187 | //失去焦点 | ||
188 | switch (type) { | ||
189 | case "user": | ||
190 | this.change.user = false; | ||
191 | if (!this.userInfo.username) { | ||
192 | this.warning.user = true; | ||
170 | } else { | 193 | } else { |
171 | this.$message.error(response.data.message); | 194 | this.warning.user = false; |
172 | } | 195 | } |
173 | }) | 196 | break; |
174 | .catch((error) => { | 197 | case "pass": |
175 | console.log(error); | 198 | this.change.pass = false; |
176 | this.$message.error(error.message); | 199 | if (!this.userInfo.password) { |
177 | }); | 200 | this.warning.pass = true; |
178 | } else { | 201 | } else { |
179 | return | 202 | this.warning.pass = false; |
203 | } | ||
204 | break; | ||
205 | case "valid": | ||
206 | this.change.valid = false; | ||
207 | if (!this.userInfo.captchaCode) { | ||
208 | this.warning.valid = true; | ||
209 | } else { | ||
210 | this.warning.valid = false; | ||
211 | } | ||
212 | break; | ||
213 | default: | ||
214 | break; | ||
215 | } | ||
180 | } | 216 | } |
181 | }, | 217 | }, |
182 | selectEyes() { | 218 | }; |
183 | this.selectEye = !this.selectEye; | ||
184 | }, | ||
185 | |||
186 | //获取焦点 | ||
187 | reduceBorder(type) { | ||
188 | this.change[type] = true | ||
189 | }, | ||
190 | addBorder(type) { | ||
191 | //失去焦点 | ||
192 | switch (type) { | ||
193 | case "user": | ||
194 | this.change.user = false; | ||
195 | if (!this.userInfo.username) { | ||
196 | this.warning.user = true; | ||
197 | } else { | ||
198 | this.warning.user = false; | ||
199 | } | ||
200 | break; | ||
201 | case "pass": | ||
202 | this.change.pass = false; | ||
203 | if (!this.userInfo.password) { | ||
204 | this.warning.pass = true; | ||
205 | } else { | ||
206 | this.warning.pass = false; | ||
207 | } | ||
208 | break; | ||
209 | case "valid": | ||
210 | this.change.valid = false; | ||
211 | if (!this.userInfo.captchaCode) { | ||
212 | this.warning.valid = true; | ||
213 | } else { | ||
214 | this.warning.valid = false; | ||
215 | } | ||
216 | break; | ||
217 | default: | ||
218 | break; | ||
219 | } | ||
220 | } | ||
221 | }, | ||
222 | }; | ||
223 | </script> | 219 | </script> |
224 | <style lang="scss" scoped> | 220 | <style lang="scss" scoped> |
225 | input::placeholder{ | 221 | input::placeholder { |
226 | color: #878787; | 222 | color: #878787; |
227 | font-size: 14px; | 223 | font-size: 14px; |
228 | font-family:Arial, Helvetica, sans-serif | 224 | font-family: Arial, Helvetica, sans-serif; |
229 | } | ||
230 | #login { | ||
231 | width: 100vw; | ||
232 | height: 100vh; | ||
233 | background: url("./images/login-bg.png") no-repeat; | ||
234 | background-size: 100%; | ||
235 | overflow: hidden; | ||
236 | position: relative; | ||
237 | .login-content-wrap{ | ||
238 | position: absolute; | ||
239 | left: 50%; | ||
240 | top: calc(50% + 10px); | ||
241 | transform: translate(-50%, -50%); | ||
242 | } | ||
243 | .login-logo { | ||
244 | height: 70px; | ||
245 | width: 100%; | ||
246 | text-align: center; | ||
247 | position: absolute; | ||
248 | top: -140px; | ||
249 | } | ||
250 | .login-logo img { | ||
251 | height: 100%; | ||
252 | } | 225 | } |
253 | .login-con { | 226 | #login { |
254 | margin: 0 auto; | 227 | width: 100vw; |
255 | width: 936px; | 228 | height: 100vh; |
256 | height: 450px; | 229 | background: url("./images/login-bg.png") no-repeat; |
257 | .login-img{ | 230 | background-size: 100%; |
258 | width: 456px; | 231 | overflow: hidden; |
259 | height: 450px; | 232 | position: relative; |
260 | float: left; | 233 | .login-content-wrap { |
261 | box-sizing: border-box; | 234 | position: absolute; |
262 | padding: 126px 86px; | 235 | left: 50%; |
263 | background-color: #fff; | 236 | top: calc(50% + 10px); |
264 | position: relative; | 237 | transform: translate(-50%, -50%); |
265 | &:after{ | ||
266 | content: ""; | ||
267 | display: inline-block; | ||
268 | width: 1px; | ||
269 | height: calc(100% - 96px); | ||
270 | background-image: linear-gradient(#fff,#9AA4C8,#fff); | ||
271 | position: absolute; | ||
272 | right: 0; | ||
273 | top: 48px; | ||
274 | } | ||
275 | .content{ | ||
276 | width: 100%; | ||
277 | height: 100%; | ||
278 | background: url("./images/login-img.svg") no-repeat; | ||
279 | } | ||
280 | } | 238 | } |
281 | .login-wrap{ | 239 | .login-logo { |
282 | width: 480px; | 240 | height: 70px; |
241 | width: 100%; | ||
242 | text-align: center; | ||
243 | position: absolute; | ||
244 | top: -140px; | ||
245 | } | ||
246 | .login-logo img { | ||
247 | height: 100%; | ||
248 | } | ||
249 | .login-con { | ||
250 | margin: 0 auto; | ||
251 | width: 936px; | ||
283 | height: 450px; | 252 | height: 450px; |
284 | float: left; | 253 | .login-img { |
285 | box-sizing: border-box; | 254 | width: 456px; |
286 | padding: 48px 56px; | 255 | height: 450px; |
287 | background: #FFFFFF; | 256 | float: left; |
288 | p{ | 257 | box-sizing: border-box; |
289 | width: 80px; | 258 | padding: 126px 86px; |
290 | font-size: 20px; | 259 | background-color: #fff; |
291 | font-weight: 500; | ||
292 | color: #333333; | ||
293 | line-height: 26px; | ||
294 | position: relative; | 260 | position: relative; |
295 | &:after{ | 261 | &:after { |
296 | content: ""; | 262 | content: ""; |
297 | display: inline-block; | 263 | display: inline-block; |
298 | height: 2px; | 264 | width: 1px; |
299 | width: 74px; | 265 | height: calc(100% - 96px); |
300 | background-color: #CF8933; | 266 | background-image: linear-gradient(#fff, #9aa4c8, #fff); |
301 | position: absolute; | 267 | position: absolute; |
302 | bottom: -4px; | 268 | right: 0; |
303 | left: 2px; | 269 | top: 48px; |
270 | } | ||
271 | .content { | ||
272 | width: 100%; | ||
273 | height: 100%; | ||
274 | background: url("./images/login-img.svg") no-repeat; | ||
275 | } | ||
276 | } | ||
277 | .login-wrap { | ||
278 | width: 480px; | ||
279 | height: 450px; | ||
280 | float: left; | ||
281 | box-sizing: border-box; | ||
282 | padding: 48px 56px; | ||
283 | background: #ffffff; | ||
284 | p { | ||
285 | width: 80px; | ||
286 | font-size: 20px; | ||
287 | font-weight: 500; | ||
288 | color: #333333; | ||
289 | line-height: 26px; | ||
290 | position: relative; | ||
291 | &:after { | ||
292 | content: ""; | ||
293 | display: inline-block; | ||
294 | height: 2px; | ||
295 | width: 74px; | ||
296 | background-color: #cf8933; | ||
297 | position: absolute; | ||
298 | bottom: -4px; | ||
299 | left: 2px; | ||
300 | } | ||
304 | } | 301 | } |
305 | } | 302 | } |
306 | } | 303 | } |
307 | } | 304 | .login-user { |
308 | .login-user { | 305 | width: 100%; |
309 | width: 100%; | 306 | height: 40px; |
310 | height: 40px; | 307 | border: 1px solid #e5e5e5; |
311 | border: 1px solid #E5E5E5; | 308 | box-sizing: border-box; |
312 | box-sizing: border-box; | 309 | margin-top: 34px; |
313 | margin-top: 34px; | 310 | border-radius: 2px; |
314 | border-radius: 2px; | 311 | position: relative; |
315 | position: relative; | 312 | .user-icon { |
316 | .user-icon { | 313 | float: left; |
317 | float: left; | 314 | margin: 10px auto auto 10px; |
318 | margin: 10px auto auto 10px; | 315 | width: 28px; |
319 | width: 28px; | 316 | height: 18px; |
320 | height: 18px; | 317 | } |
318 | .user-input { | ||
319 | width: 80%; | ||
320 | float: left; | ||
321 | font-size: 16px; | ||
322 | outline: 0; | ||
323 | border: none; | ||
324 | color: #4a4a4a; | ||
325 | height: 38px; | ||
326 | line-height: 40px; | ||
327 | } | ||
328 | .password-eye { | ||
329 | float: right; | ||
330 | width: 16px; | ||
331 | height: 16px; | ||
332 | margin-right: 12px; | ||
333 | margin-top: 13px; | ||
334 | cursor: pointer; | ||
335 | } | ||
336 | .warning { | ||
337 | font-size: 12px; | ||
338 | color: red; | ||
339 | position: absolute; | ||
340 | left: 0; | ||
341 | bottom: -18px; | ||
342 | } | ||
321 | } | 343 | } |
322 | .user-input { | 344 | .login-valid { |
323 | width: 80%; | 345 | width: 60%; |
324 | float: left; | 346 | .valid-img { |
325 | font-size: 16px; | 347 | width: 50%; |
326 | outline: 0; | 348 | position: absolute; |
327 | border: none; | 349 | right: -66%; |
328 | color: #4a4a4a; | 350 | top: 2px; |
329 | height: 38px; | 351 | cursor: pointer; |
330 | line-height: 40px; | 352 | } |
331 | } | 353 | } |
332 | .password-eye { | 354 | .user-mt { |
333 | float: right; | 355 | margin-top: 26px; |
334 | width: 16px; | ||
335 | height: 16px; | ||
336 | margin-right: 12px; | ||
337 | margin-top: 13px; | ||
338 | cursor: pointer; | ||
339 | } | 356 | } |
340 | .warning { | 357 | .select-border { |
341 | font-size: 12px; | 358 | border: 1px solid rgba(0, 113, 255, 1); |
342 | color: red; | ||
343 | position: absolute; | ||
344 | left: 0; | ||
345 | bottom: -18px; | ||
346 | } | 359 | } |
347 | } | 360 | .login-btn { |
348 | .login-valid{ | 361 | width: 100%; |
349 | width: 60%; | 362 | height: 48px; |
350 | .valid-img{ | 363 | background: #74a3f5; |
351 | width: 50%; | 364 | border-radius: 2px; |
352 | position: absolute; | 365 | margin: 0 auto; |
353 | right: -66%; | 366 | margin-top: 40px; |
354 | top: 2px; | 367 | font-size: 20px; |
368 | font-weight: 500; | ||
369 | line-height: 48px; | ||
370 | text-align: center; | ||
371 | color: #fff; | ||
355 | cursor: pointer; | 372 | cursor: pointer; |
356 | } | 373 | } |
374 | .reserved-con { | ||
375 | position: absolute; | ||
376 | bottom: 0; | ||
377 | width: 100%; | ||
378 | height: 18px; | ||
379 | background-color: #4971ca; | ||
380 | } | ||
357 | } | 381 | } |
358 | .user-mt { | ||
359 | margin-top: 26px; | ||
360 | } | ||
361 | .select-border { | ||
362 | border: 1px solid rgba(0, 113, 255, 1); | ||
363 | } | ||
364 | .login-btn { | ||
365 | width: 100%; | ||
366 | height: 48px; | ||
367 | background: #74A3F5; | ||
368 | border-radius: 2px; | ||
369 | margin: 0 auto; | ||
370 | margin-top: 40px; | ||
371 | font-size: 20px; | ||
372 | font-weight: 500; | ||
373 | line-height: 48px; | ||
374 | text-align: center; | ||
375 | color: #fff; | ||
376 | cursor: pointer; | ||
377 | } | ||
378 | .reserved-con { | ||
379 | position: absolute; | ||
380 | bottom: 0; | ||
381 | width: 100%; | ||
382 | height: 18px; | ||
383 | background-color: #4971ca; | ||
384 | } | ||
385 | } | ||
386 | </style> | 382 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:50:51 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="edit"> | 7 | <div class="edit"> |
3 | <el-tabs type="card" v-model="activeName"> | 8 | <el-tabs type="card" v-model="activeName"> |
... | @@ -9,15 +14,13 @@ | ... | @@ -9,15 +14,13 @@ |
9 | v-if="activeName == 'first'" | 14 | v-if="activeName == 'first'" |
10 | ref="tabContent" | 15 | ref="tabContent" |
11 | :style="{ height: lpbContentHight + 'px' }" | 16 | :style="{ height: lpbContentHight + 'px' }" |
12 | v-show="bjztFlag" | 17 | v-show="bjztFlag"> |
13 | > | ||
14 | <!-- 楼盘表主体 --> | 18 | <!-- 楼盘表主体 --> |
15 | <div class="lp-overview" :style="{ width: lpbContentwidth + 'px' }"> | 19 | <div class="lp-overview" :style="{ width: lpbContentwidth + 'px' }"> |
16 | <lpbContent | 20 | <lpbContent |
17 | ref="lpbContent" | 21 | ref="lpbContent" |
18 | :zrzbsm="formData.bsm" | 22 | :zrzbsm="formData.bsm" |
19 | :key="time" | 23 | :key="time"></lpbContent> |
20 | ></lpbContent> | ||
21 | </div> | 24 | </div> |
22 | <!-- 右侧图例 --> | 25 | <!-- 右侧图例 --> |
23 | <div class="lp-legend"> | 26 | <div class="lp-legend"> |
... | @@ -28,40 +31,34 @@ | ... | @@ -28,40 +31,34 @@ |
28 | </div> | 31 | </div> |
29 | <div | 32 | <div |
30 | :class="selectedZt == 'dyzt' ? 'dyzt selectedZt' : 'dyzt'" | 33 | :class="selectedZt == 'dyzt' ? 'dyzt selectedZt' : 'dyzt'" |
31 | @click="selectedZt = 'dyzt'" | 34 | @click="selectedZt = 'dyzt'"> |
32 | > | ||
33 | <span>单元状态</span> | 35 | <span>单元状态</span> |
34 | </div> | 36 | </div> |
35 | <div | 37 | <div |
36 | :class="selectedZt == 'fwxz' ? 'fwxz selectedZt' : 'fwxz'" | 38 | :class="selectedZt == 'fwxz' ? 'fwxz selectedZt' : 'fwxz'" |
37 | @click="selectedZt = 'fwxz'" | 39 | @click="selectedZt = 'fwxz'"> |
38 | > | ||
39 | <span>房屋性质</span> | 40 | <span>房屋性质</span> |
40 | </div> | 41 | </div> |
41 | <div | 42 | <div |
42 | :class="selectedZt == 'fwyt' ? 'fwyt selectedZt' : 'fwyt'" | 43 | :class="selectedZt == 'fwyt' ? 'fwyt selectedZt' : 'fwyt'" |
43 | @click="selectedZt = 'fwyt'" | 44 | @click="selectedZt = 'fwyt'"> |
44 | > | ||
45 | <span>房屋用途</span> | 45 | <span>房屋用途</span> |
46 | </div> | 46 | </div> |
47 | <div | 47 | <div |
48 | :class="selectedZt == 'qsx' ? 'qsx selectedZt' : 'qsx'" | 48 | :class="selectedZt == 'qsx' ? 'qsx selectedZt' : 'qsx'" |
49 | @click="selectedZt = 'qsx'" | 49 | @click="selectedZt = 'qsx'"> |
50 | > | ||
51 | <span>缺失项</span> | 50 | <span>缺失项</span> |
52 | </div> | 51 | </div> |
53 | </div> | 52 | </div> |
54 | <div | 53 | <div |
55 | class="legendTable-wrap" | 54 | class="legendTable-wrap" |
56 | :style="{ width: legendToggleFlag ? '200px' : '0' }" | 55 | :style="{ width: legendToggleFlag ? '200px' : '0' }"> |
57 | > | ||
58 | <table | 56 | <table |
59 | class="legendTable" | 57 | class="legendTable" |
60 | v-show="selectedZt == 'dyzt'" | 58 | v-show="selectedZt == 'dyzt'" |
61 | cellspacing="1" | 59 | cellspacing="1" |
62 | cellpadding="1" | 60 | cellpadding="1" |
63 | border="1" | 61 | border="1"> |
64 | > | ||
65 | <tr> | 62 | <tr> |
66 | <th>状态</th> | 63 | <th>状态</th> |
67 | <th>套数</th> | 64 | <th>套数</th> |
... | @@ -71,14 +68,11 @@ | ... | @@ -71,14 +68,11 @@ |
71 | v-for="(item, index) in dyztList" | 68 | v-for="(item, index) in dyztList" |
72 | :key="index" | 69 | :key="index" |
73 | class="cp" | 70 | class="cp" |
74 | @click="handleChoosedH(item.bsms, item.color)" | 71 | @click="handleChoosedH(item.bsms, item.color)"> |
75 | > | ||
76 | <td> | 72 | <td> |
77 | <i | 73 | <i |
78 | class="fa fa-circle" | 74 | class="fa fa-circle" |
79 | :style="{ backgroundColor: item.color }" | 75 | :style="{ backgroundColor: item.color }"></i>{{ item.name }} |
80 | ></i | ||
81 | >{{ item.name }} | ||
82 | </td> | 76 | </td> |
83 | <td>{{ item.ts }}</td> | 77 | <td>{{ item.ts }}</td> |
84 | <td>{{ item.mj }}</td> | 78 | <td>{{ item.mj }}</td> |
... | @@ -90,8 +84,7 @@ | ... | @@ -90,8 +84,7 @@ |
90 | v-show="selectedZt == 'fwxz'" | 84 | v-show="selectedZt == 'fwxz'" |
91 | cellspacing="1" | 85 | cellspacing="1" |
92 | cellpadding="1" | 86 | cellpadding="1" |
93 | border="1" | 87 | border="1"> |
94 | > | ||
95 | <tr> | 88 | <tr> |
96 | <th>性质</th> | 89 | <th>性质</th> |
97 | <th>套数</th> | 90 | <th>套数</th> |
... | @@ -101,14 +94,11 @@ | ... | @@ -101,14 +94,11 @@ |
101 | v-for="(item, index) in fwxzList" | 94 | v-for="(item, index) in fwxzList" |
102 | :key="index" | 95 | :key="index" |
103 | class="cp" | 96 | class="cp" |
104 | @click="handleChoosedH(item.bsms, item.color)" | 97 | @click="handleChoosedH(item.bsms, item.color)"> |
105 | > | ||
106 | <td> | 98 | <td> |
107 | <i | 99 | <i |
108 | class="fa fa-circle" | 100 | class="fa fa-circle" |
109 | :style="{ backgroundColor: item.color }" | 101 | :style="{ backgroundColor: item.color }"></i>{{ item.name }} |
110 | ></i | ||
111 | >{{ item.name }} | ||
112 | </td> | 102 | </td> |
113 | <td>{{ item.ts }}</td> | 103 | <td>{{ item.ts }}</td> |
114 | <td>{{ item.mj }}</td> | 104 | <td>{{ item.mj }}</td> |
... | @@ -123,8 +113,7 @@ | ... | @@ -123,8 +113,7 @@ |
123 | v-show="selectedZt == 'fwyt'" | 113 | v-show="selectedZt == 'fwyt'" |
124 | cellspacing="1" | 114 | cellspacing="1" |
125 | cellpadding="1" | 115 | cellpadding="1" |
126 | border="1" | 116 | border="1"> |
127 | > | ||
128 | <tr> | 117 | <tr> |
129 | <th>用途</th> | 118 | <th>用途</th> |
130 | <th>套数</th> | 119 | <th>套数</th> |
... | @@ -134,14 +123,11 @@ | ... | @@ -134,14 +123,11 @@ |
134 | v-for="(item, index) in fwytList" | 123 | v-for="(item, index) in fwytList" |
135 | :key="index" | 124 | :key="index" |
136 | class="cp" | 125 | class="cp" |
137 | @click="handleChoosedH(item.bsms, item.color)" | 126 | @click="handleChoosedH(item.bsms, item.color)"> |
138 | > | ||
139 | <td> | 127 | <td> |
140 | <i | 128 | <i |
141 | class="fa fa-circle" | 129 | class="fa fa-circle" |
142 | :style="{ backgroundColor: item.color }" | 130 | :style="{ backgroundColor: item.color }"></i>{{ item.name }} |
143 | ></i | ||
144 | >{{ item.name }} | ||
145 | </td> | 131 | </td> |
146 | <td>{{ item.ts }}</td> | 132 | <td>{{ item.ts }}</td> |
147 | <td>{{ item.mj }}</td> | 133 | <td>{{ item.mj }}</td> |
... | @@ -156,8 +142,7 @@ | ... | @@ -156,8 +142,7 @@ |
156 | v-show="selectedZt == 'qsx'" | 142 | v-show="selectedZt == 'qsx'" |
157 | cellspacing="1" | 143 | cellspacing="1" |
158 | cellpadding="1" | 144 | cellpadding="1" |
159 | border="1" | 145 | border="1"> |
160 | > | ||
161 | <tr> | 146 | <tr> |
162 | <th>数据缺失项</th> | 147 | <th>数据缺失项</th> |
163 | <th>套数</th> | 148 | <th>套数</th> |
... | @@ -167,14 +152,11 @@ | ... | @@ -167,14 +152,11 @@ |
167 | v-for="(item, index) in qsxList" | 152 | v-for="(item, index) in qsxList" |
168 | :key="index" | 153 | :key="index" |
169 | class="cp" | 154 | class="cp" |
170 | @click="handleChoosedH(item.bsms, item.color)" | 155 | @click="handleChoosedH(item.bsms, item.color)"> |
171 | > | ||
172 | <td> | 156 | <td> |
173 | <i | 157 | <i |
174 | class="fa fa-circle" | 158 | class="fa fa-circle" |
175 | :style="{ backgroundColor: item.color }" | 159 | :style="{ backgroundColor: item.color }"></i>{{ item.name }} |
176 | ></i | ||
177 | >{{ item.name }} | ||
178 | </td> | 160 | </td> |
179 | <td>{{ item.ts }}</td> | 161 | <td>{{ item.ts }}</td> |
180 | <td>0</td> | 162 | <td>0</td> |
... | @@ -192,386 +174,386 @@ | ... | @@ -192,386 +174,386 @@ |
192 | </template> | 174 | </template> |
193 | 175 | ||
194 | <script> | 176 | <script> |
195 | import lpbContent from "./lpbContent/index"; | 177 | import lpbContent from "./lpbContent/index"; |
196 | import selectZrzH from "../ywbl/ywsq/components/selectZrzH"; | 178 | import selectZrzH from "../ywbl/ywsq/components/selectZrzH"; |
197 | import { getLpbFwytAndQlxz, getLpbQsxtj, getLpbTj } from "@/api/lpcx.js"; | 179 | import { getLpbFwytAndQlxz, getLpbQsxtj, getLpbTj } from "@/api/lpcx.js"; |
198 | export default { | 180 | export default { |
199 | name: "lpb", | 181 | name: "lpb", |
200 | props: { | 182 | props: { |
201 | formData: { | 183 | formData: { |
202 | type: Object, | 184 | type: Object, |
203 | default: {}, | 185 | default: {}, |
186 | }, | ||
204 | }, | 187 | }, |
205 | }, | 188 | components: { |
206 | components: { | 189 | lpbContent, |
207 | lpbContent, | 190 | selectZrzH, |
208 | selectZrzH, | ||
209 | }, | ||
210 | data() { | ||
211 | return { | ||
212 | activeName: "first", | ||
213 | bsms: [], | ||
214 | dialogVisible: false, | ||
215 | scyclx: "0", //1是实测 0是预测 | ||
216 | menuType: "", | ||
217 | selectedZt: "dyzt", //图例选中项,默认选中单元状态 | ||
218 | dyztList: [ | ||
219 | { | ||
220 | name: "未确权", | ||
221 | color: "#83AAFE", | ||
222 | ts: "12", | ||
223 | mj: "1633", | ||
224 | }, | ||
225 | { | ||
226 | name: "已确权", | ||
227 | color: "#6EDEE1", | ||
228 | ts: "22", | ||
229 | mj: "3109", | ||
230 | }, | ||
231 | { | ||
232 | name: "已备案", | ||
233 | color: "#8ADC88", | ||
234 | ts: "3", | ||
235 | mj: "409", | ||
236 | }, | ||
237 | { | ||
238 | name: "预抵押", | ||
239 | color: "#F2AD67", | ||
240 | ts: "11", | ||
241 | mj: "1466", | ||
242 | }, | ||
243 | { | ||
244 | name: "在建抵押", | ||
245 | color: "#F191C8", | ||
246 | ts: "13", | ||
247 | mj: "1792", | ||
248 | }, | ||
249 | { | ||
250 | name: "抵押", | ||
251 | color: "#FF8282", | ||
252 | ts: "14", | ||
253 | mj: "13", | ||
254 | }, | ||
255 | { | ||
256 | name: "查封", | ||
257 | color: "#D7CECF", | ||
258 | ts: "9", | ||
259 | mj: "1436", | ||
260 | }, | ||
261 | { | ||
262 | name: "异议", | ||
263 | color: "#D4A3EB", | ||
264 | ts: "34", | ||
265 | mj: "4342", | ||
266 | }, | ||
267 | { | ||
268 | name: "限制", | ||
269 | color: "#A5A3FB", | ||
270 | ts: "2", | ||
271 | mj: "285", | ||
272 | }, | ||
273 | ], | ||
274 | fwxzList: [], | ||
275 | fwytList: [], | ||
276 | qsxList: [], | ||
277 | legendToggleFlag: false, | ||
278 | lpbContentHight: "", | ||
279 | lpbContentwidth: "", | ||
280 | time: "", | ||
281 | dyztBsmList: {}, //单元状态bsmList | ||
282 | bjztFlag: true, | ||
283 | qsztList: [], | ||
284 | }; | ||
285 | }, | ||
286 | created() { | ||
287 | window.addEventListener("resize", this.getHeight); | ||
288 | console.log(this.formData); | ||
289 | this.getHeight(); | ||
290 | }, | ||
291 | mounted() { | ||
292 | //获取各项单元状态的户bsm | ||
293 | this.getDyztBsmList(); | ||
294 | //获取房屋用途统计数据 | ||
295 | this.getLpbFwytAndQlxz(); | ||
296 | // 楼盘表绘制区域宽度计算:楼盘表区域宽度-图例宽度34-滚动条宽度6 | ||
297 | setTimeout(() => { | ||
298 | this.lpbContentwidth = | ||
299 | (document.documentElement.clientWidth || document.body.clientWidth) - | ||
300 | 340 - | ||
301 | 34 - | ||
302 | 6; | ||
303 | }, 100); | ||
304 | }, | ||
305 | methods: { | ||
306 | /* handleTabClick(event){ | ||
307 | if(event.name=="first"){ | ||
308 | this.$router.push({ | ||
309 | path:"/lpb/index", | ||
310 | }) | ||
311 | }else if(event.name=="second"){ | ||
312 | this.$router.push({ | ||
313 | path:"/ywbl/ywsq/components/selectAllHInfo", | ||
314 | }) | ||
315 | } | ||
316 | },*/ | ||
317 | //获取高度计算lpb内容区高度 | ||
318 | getHeight() { | ||
319 | this.lpbContentHight = window.innerHeight - 190; | ||
320 | }, | 191 | }, |
321 | //图例的展开收起 | 192 | data () { |
322 | legendToggle() { | 193 | return { |
323 | this.legendToggleFlag = !this.legendToggleFlag; | 194 | activeName: "first", |
195 | bsms: [], | ||
196 | dialogVisible: false, | ||
197 | scyclx: "0", //1是实测 0是预测 | ||
198 | menuType: "", | ||
199 | selectedZt: "dyzt", //图例选中项,默认选中单元状态 | ||
200 | dyztList: [ | ||
201 | { | ||
202 | name: "未确权", | ||
203 | color: "#83AAFE", | ||
204 | ts: "12", | ||
205 | mj: "1633", | ||
206 | }, | ||
207 | { | ||
208 | name: "已确权", | ||
209 | color: "#6EDEE1", | ||
210 | ts: "22", | ||
211 | mj: "3109", | ||
212 | }, | ||
213 | { | ||
214 | name: "已备案", | ||
215 | color: "#8ADC88", | ||
216 | ts: "3", | ||
217 | mj: "409", | ||
218 | }, | ||
219 | { | ||
220 | name: "预抵押", | ||
221 | color: "#F2AD67", | ||
222 | ts: "11", | ||
223 | mj: "1466", | ||
224 | }, | ||
225 | { | ||
226 | name: "在建抵押", | ||
227 | color: "#F191C8", | ||
228 | ts: "13", | ||
229 | mj: "1792", | ||
230 | }, | ||
231 | { | ||
232 | name: "抵押", | ||
233 | color: "#FF8282", | ||
234 | ts: "14", | ||
235 | mj: "13", | ||
236 | }, | ||
237 | { | ||
238 | name: "查封", | ||
239 | color: "#D7CECF", | ||
240 | ts: "9", | ||
241 | mj: "1436", | ||
242 | }, | ||
243 | { | ||
244 | name: "异议", | ||
245 | color: "#D4A3EB", | ||
246 | ts: "34", | ||
247 | mj: "4342", | ||
248 | }, | ||
249 | { | ||
250 | name: "限制", | ||
251 | color: "#A5A3FB", | ||
252 | ts: "2", | ||
253 | mj: "285", | ||
254 | }, | ||
255 | ], | ||
256 | fwxzList: [], | ||
257 | fwytList: [], | ||
258 | qsxList: [], | ||
259 | legendToggleFlag: false, | ||
260 | lpbContentHight: "", | ||
261 | lpbContentwidth: "", | ||
262 | time: "", | ||
263 | dyztBsmList: {}, //单元状态bsmList | ||
264 | bjztFlag: true, | ||
265 | qsztList: [], | ||
266 | }; | ||
324 | }, | 267 | }, |
325 | //切换房屋状态 | 268 | created () { |
326 | handleChoosedH(bsms, color) { | 269 | window.addEventListener("resize", this.getHeight); |
327 | this.$refs.lpbContent.changeChoosed(bsms, color); | 270 | console.log(this.formData); |
271 | this.getHeight(); | ||
328 | }, | 272 | }, |
329 | //获取各项单元状态统计数据 | 273 | mounted () { |
330 | getDyztBsmList() { | 274 | //获取各项单元状态的户bsm |
331 | getLpbTj(this.formData.bsm).then((res) => { | 275 | this.getDyztBsmList(); |
332 | if (res.code === 200) { | 276 | //获取房屋用途统计数据 |
333 | this.dyztList = res.result; | 277 | this.getLpbFwytAndQlxz(); |
334 | this.dyztList.splice(1, 0, this.dyztList[8]); | 278 | // 楼盘表绘制区域宽度计算:楼盘表区域宽度-图例宽度34-滚动条宽度6 |
335 | this.dyztList.pop(); | 279 | setTimeout(() => { |
336 | this.dyztList.forEach((item) => { | 280 | this.lpbContentwidth = |
337 | item.ts = item.bsms.length; | 281 | (document.documentElement.clientWidth || document.body.clientWidth) - |
338 | switch (item.name) { | 282 | 340 - |
339 | case "Qqzt": | 283 | 34 - |
340 | item.color = "#6EDEE1"; | 284 | 6; |
341 | item.name = "已确权"; | 285 | }, 100); |
342 | break; | ||
343 | case "Wqqzt": | ||
344 | item.color = "#83AAFE"; | ||
345 | item.name = "未确权"; | ||
346 | break; | ||
347 | case "Bazt": | ||
348 | item.color = "#8ADC88"; | ||
349 | item.name = "已备案"; | ||
350 | break; | ||
351 | case "Ydyzt": | ||
352 | item.color = "#F2AD67"; | ||
353 | item.name = "预抵押"; | ||
354 | break; | ||
355 | case "Zjgcdyzt": | ||
356 | item.color = "#F191C8"; | ||
357 | item.name = "在建抵押"; | ||
358 | break; | ||
359 | case "Dyzt": | ||
360 | item.color = "#FF8282"; | ||
361 | item.name = "抵押"; | ||
362 | break; | ||
363 | case "Cfzt": | ||
364 | item.color = "#D7CECF"; | ||
365 | item.name = "查封"; | ||
366 | break; | ||
367 | case "Yyzt": | ||
368 | item.color = "#D4A3EB"; | ||
369 | item.name = "异议"; | ||
370 | break; | ||
371 | case "Xzzt": | ||
372 | item.color = "#A5A3FB"; | ||
373 | item.name = "限制"; | ||
374 | break; | ||
375 | default: | ||
376 | break; | ||
377 | } | ||
378 | }); | ||
379 | } | ||
380 | }); | ||
381 | }, | 286 | }, |
382 | // 获取房屋用途和房屋性质及缺失项统计数据 | 287 | methods: { |
383 | getLpbFwytAndQlxz() { | 288 | /* handleTabClick(event){ |
384 | getLpbFwytAndQlxz(this.formData.bsm).then((res) => { | 289 | if(event.name=="first"){ |
385 | if (res.code === 200) { | 290 | this.$router.push({ |
386 | // this.fwytList = res.result | 291 | path:"/lpb/index", |
387 | this.fwytList = res.result.fwyt; | 292 | }) |
388 | this.fwxzList = res.result.qlxz; | 293 | }else if(event.name=="second"){ |
389 | if (this.fwytList.length > 0) { | 294 | this.$router.push({ |
390 | this.fwytList.forEach((item) => { | 295 | path:"/ywbl/ywsq/components/selectAllHInfo", |
391 | item.color = "#2591FD"; | 296 | }) |
297 | } | ||
298 | },*/ | ||
299 | //获取高度计算lpb内容区高度 | ||
300 | getHeight () { | ||
301 | this.lpbContentHight = window.innerHeight - 190; | ||
302 | }, | ||
303 | //图例的展开收起 | ||
304 | legendToggle () { | ||
305 | this.legendToggleFlag = !this.legendToggleFlag; | ||
306 | }, | ||
307 | //切换房屋状态 | ||
308 | handleChoosedH (bsms, color) { | ||
309 | this.$refs.lpbContent.changeChoosed(bsms, color); | ||
310 | }, | ||
311 | //获取各项单元状态统计数据 | ||
312 | getDyztBsmList () { | ||
313 | getLpbTj(this.formData.bsm).then((res) => { | ||
314 | if (res.code === 200) { | ||
315 | this.dyztList = res.result; | ||
316 | this.dyztList.splice(1, 0, this.dyztList[8]); | ||
317 | this.dyztList.pop(); | ||
318 | this.dyztList.forEach((item) => { | ||
392 | item.ts = item.bsms.length; | 319 | item.ts = item.bsms.length; |
320 | switch (item.name) { | ||
321 | case "Qqzt": | ||
322 | item.color = "#6EDEE1"; | ||
323 | item.name = "已确权"; | ||
324 | break; | ||
325 | case "Wqqzt": | ||
326 | item.color = "#83AAFE"; | ||
327 | item.name = "未确权"; | ||
328 | break; | ||
329 | case "Bazt": | ||
330 | item.color = "#8ADC88"; | ||
331 | item.name = "已备案"; | ||
332 | break; | ||
333 | case "Ydyzt": | ||
334 | item.color = "#F2AD67"; | ||
335 | item.name = "预抵押"; | ||
336 | break; | ||
337 | case "Zjgcdyzt": | ||
338 | item.color = "#F191C8"; | ||
339 | item.name = "在建抵押"; | ||
340 | break; | ||
341 | case "Dyzt": | ||
342 | item.color = "#FF8282"; | ||
343 | item.name = "抵押"; | ||
344 | break; | ||
345 | case "Cfzt": | ||
346 | item.color = "#D7CECF"; | ||
347 | item.name = "查封"; | ||
348 | break; | ||
349 | case "Yyzt": | ||
350 | item.color = "#D4A3EB"; | ||
351 | item.name = "异议"; | ||
352 | break; | ||
353 | case "Xzzt": | ||
354 | item.color = "#A5A3FB"; | ||
355 | item.name = "限制"; | ||
356 | break; | ||
357 | default: | ||
358 | break; | ||
359 | } | ||
393 | }); | 360 | }); |
394 | } | 361 | } |
395 | if (this.fwxzList.length > 0) { | 362 | }); |
396 | this.fwxzList.forEach((item) => { | 363 | }, |
397 | item.color = "#2591FD"; | 364 | // 获取房屋用途和房屋性质及缺失项统计数据 |
398 | item.ts = item.bsms.length; | 365 | getLpbFwytAndQlxz () { |
399 | }); | 366 | getLpbFwytAndQlxz(this.formData.bsm).then((res) => { |
367 | if (res.code === 200) { | ||
368 | // this.fwytList = res.result | ||
369 | this.fwytList = res.result.fwyt; | ||
370 | this.fwxzList = res.result.qlxz; | ||
371 | if (this.fwytList.length > 0) { | ||
372 | this.fwytList.forEach((item) => { | ||
373 | item.color = "#2591FD"; | ||
374 | item.ts = item.bsms.length; | ||
375 | }); | ||
376 | } | ||
377 | if (this.fwxzList.length > 0) { | ||
378 | this.fwxzList.forEach((item) => { | ||
379 | item.color = "#2591FD"; | ||
380 | item.ts = item.bsms.length; | ||
381 | }); | ||
382 | } | ||
400 | } | 383 | } |
401 | } | 384 | }); |
402 | }); | 385 | getLpbQsxtj(this.formData.bsm).then((res) => { |
403 | getLpbQsxtj(this.formData.bsm).then((res) => { | 386 | if (res.code === 200) { |
404 | if (res.code === 200) { | 387 | this.qsxList = [ |
405 | this.qsxList = [ | 388 | { |
406 | { | 389 | name: "坐落", |
407 | name: "坐落", | 390 | bsms: res.result.zl.bsms, |
408 | bsms: res.result.zl.bsms, | 391 | color: "#2591FD", |
409 | color: "#2591FD", | 392 | ts: res.result.zl.bsms.length, |
410 | ts: res.result.zl.bsms.length, | 393 | }, |
411 | }, | 394 | { |
412 | { | 395 | name: "分层分户图", |
413 | name: "分层分户图", | 396 | bsms: res.result.fcfht.bsms, |
414 | bsms: res.result.fcfht.bsms, | 397 | color: "#2591FD", |
415 | color: "#2591FD", | 398 | ts: res.result.fcfht.bsms.length, |
416 | ts: res.result.fcfht.bsms.length, | 399 | }, |
417 | }, | 400 | { |
418 | { | 401 | name: "室号", |
419 | name: "室号", | 402 | bsms: res.result.shbw.bsms, |
420 | bsms: res.result.shbw.bsms, | 403 | color: "#2591FD", |
421 | color: "#2591FD", | 404 | ts: res.result.shbw.bsms.length, |
422 | ts: res.result.shbw.bsms.length, | 405 | }, |
423 | }, | 406 | ]; |
424 | ]; | 407 | } |
425 | } | 408 | }); |
426 | }); | 409 | }, |
427 | }, | 410 | }, |
428 | }, | 411 | computed: {}, |
429 | computed: {}, | 412 | destroyed () { |
430 | destroyed() { | 413 | window.removeEventListener("resize", this.getHeight); |
431 | window.removeEventListener("resize", this.getHeight); | ||
432 | }, | ||
433 | watch: { | ||
434 | //树结构和图例伸缩时修改楼盘表主要内容区宽度 | ||
435 | legendToggleFlag(n) { | ||
436 | if (n) { | ||
437 | this.lpbContentwidth -= 204; | ||
438 | } else { | ||
439 | this.lpbContentwidth += 204; | ||
440 | } | ||
441 | }, | 414 | }, |
442 | selectedZt(n) { | 415 | watch: { |
443 | this.legendToggleFlag = true; | 416 | //树结构和图例伸缩时修改楼盘表主要内容区宽度 |
417 | legendToggleFlag (n) { | ||
418 | if (n) { | ||
419 | this.lpbContentwidth -= 204; | ||
420 | } else { | ||
421 | this.lpbContentwidth += 204; | ||
422 | } | ||
423 | }, | ||
424 | selectedZt (n) { | ||
425 | this.legendToggleFlag = true; | ||
426 | }, | ||
444 | }, | 427 | }, |
445 | }, | 428 | }; |
446 | }; | ||
447 | </script> | 429 | </script> |
448 | <style scoped lang="scss"> | 430 | <style scoped lang="scss"> |
449 | table { | 431 | table { |
450 | border-width: 0; | 432 | border-width: 0; |
451 | border-collapse: collapse; | 433 | border-collapse: collapse; |
452 | border-spacing: 0; | 434 | border-spacing: 0; |
453 | } | 435 | } |
454 | .edit { | 436 | .edit { |
455 | height: 100%; | 437 | height: 100%; |
456 | background-color: #f4f9ff; | 438 | background-color: #f4f9ff; |
457 | .tab-content { | 439 | .tab-content { |
458 | border: 1px solid #dedede; | 440 | border: 1px solid #dedede; |
459 | border-left: 0; | 441 | border-left: 0; |
460 | background-color: #ffffff; | 442 | background-color: #ffffff; |
461 | display: flex; | 443 | display: flex; |
462 | &::-webkit-scrollbar { | 444 | &::-webkit-scrollbar { |
463 | width: 1px; | 445 | width: 1px; |
464 | } | ||
465 | .lp-tree { | ||
466 | height: 100%; | ||
467 | overflow: hidden; | ||
468 | transition: 0.5s; | ||
469 | .treeData { | ||
470 | margin-top: 20px; | ||
471 | margin-left: 26px; | ||
472 | float: left; | ||
473 | } | 446 | } |
474 | } | 447 | .lp-tree { |
475 | .w0 { | ||
476 | width: 0; | ||
477 | } | ||
478 | .w260 { | ||
479 | width: 260px; | ||
480 | } | ||
481 | .lp-overview { | ||
482 | transition: 0.5s; | ||
483 | flex: 1; | ||
484 | border: 1px solid rgb(236, 236, 236); | ||
485 | border-top: 0; | ||
486 | border-bottom: 0; | ||
487 | margin-right: 10px; | ||
488 | box-sizing: border-box; | ||
489 | } | ||
490 | |||
491 | .lp-legend { | ||
492 | transition: 0.5s; | ||
493 | height: 100%; | ||
494 | font-size: 14px; | ||
495 | .handleCol { | ||
496 | width: 34px; | ||
497 | float: right; | ||
498 | height: 100%; | 448 | height: 100%; |
499 | .btn { | 449 | overflow: hidden; |
500 | cursor: pointer; | 450 | transition: 0.5s; |
501 | height: 40px; | 451 | .treeData { |
502 | line-height: 40px; | 452 | margin-top: 20px; |
503 | text-align: center; | 453 | margin-left: 26px; |
504 | background-color: #5a78de; | 454 | float: left; |
505 | color: #fff; | ||
506 | border-bottom: 1px solid #e6e6e6; | ||
507 | } | ||
508 | .dyzt, | ||
509 | .fwxz, | ||
510 | .fwyt, | ||
511 | .qsx { | ||
512 | height: 122px; | ||
513 | } | ||
514 | .dyzt, | ||
515 | .fwxz, | ||
516 | .fwyt, | ||
517 | .qsx { | ||
518 | cursor: pointer; | ||
519 | border-bottom: 1px solid #e6e6e6; | ||
520 | border-left: 1px solid #e6e6e6; | ||
521 | span { | ||
522 | text-align: center; | ||
523 | height: 100%; | ||
524 | -webkit-writing-mode: vertical-rl; | ||
525 | writing-mode: vertical-rl; | ||
526 | line-height: 34px; | ||
527 | letter-spacing: 2px; | ||
528 | } | ||
529 | } | ||
530 | .selectedZt { | ||
531 | // background-color: #5A78DE; | ||
532 | color: #3d59c4; | ||
533 | } | 455 | } |
534 | } | 456 | } |
535 | .legendTable-wrap { | 457 | .w0 { |
458 | width: 0; | ||
459 | } | ||
460 | .w260 { | ||
461 | width: 260px; | ||
462 | } | ||
463 | .lp-overview { | ||
536 | transition: 0.5s; | 464 | transition: 0.5s; |
537 | float: right; | 465 | flex: 1; |
538 | overflow: hidden; | 466 | border: 1px solid rgb(236, 236, 236); |
539 | .legendTable { | 467 | border-top: 0; |
540 | margin-top: -1px; | 468 | border-bottom: 0; |
541 | .fa-circle { | 469 | margin-right: 10px; |
542 | display: inline-block; | 470 | box-sizing: border-box; |
543 | width: 12px; | 471 | } |
544 | height: 12px; | 472 | |
545 | border-radius: 50%; | 473 | .lp-legend { |
546 | vertical-align: middle; | 474 | transition: 0.5s; |
547 | margin-right: 4px; | 475 | height: 100%; |
548 | } | 476 | font-size: 14px; |
549 | tr { | 477 | .handleCol { |
478 | width: 34px; | ||
479 | float: right; | ||
480 | height: 100%; | ||
481 | .btn { | ||
482 | cursor: pointer; | ||
550 | height: 40px; | 483 | height: 40px; |
551 | line-height: 40px; | 484 | line-height: 40px; |
552 | border-color: #d8e0ea !important; | 485 | text-align: center; |
553 | th:first-child { | 486 | background-color: #5a78de; |
554 | width: 80px; | 487 | color: #fff; |
488 | border-bottom: 1px solid #e6e6e6; | ||
489 | } | ||
490 | .dyzt, | ||
491 | .fwxz, | ||
492 | .fwyt, | ||
493 | .qsx { | ||
494 | height: 122px; | ||
495 | } | ||
496 | .dyzt, | ||
497 | .fwxz, | ||
498 | .fwyt, | ||
499 | .qsx { | ||
500 | cursor: pointer; | ||
501 | border-bottom: 1px solid #e6e6e6; | ||
502 | border-left: 1px solid #e6e6e6; | ||
503 | span { | ||
504 | text-align: center; | ||
505 | height: 100%; | ||
506 | -webkit-writing-mode: vertical-rl; | ||
507 | writing-mode: vertical-rl; | ||
508 | line-height: 34px; | ||
509 | letter-spacing: 2px; | ||
555 | } | 510 | } |
556 | th { | 511 | } |
557 | width: 60px; | 512 | .selectedZt { |
558 | height: 40px; | 513 | // background-color: #5A78DE; |
559 | white-space: nowrap; | 514 | color: #3d59c4; |
560 | background-color: #eceef2; | 515 | } |
516 | } | ||
517 | .legendTable-wrap { | ||
518 | transition: 0.5s; | ||
519 | float: right; | ||
520 | overflow: hidden; | ||
521 | .legendTable { | ||
522 | margin-top: -1px; | ||
523 | .fa-circle { | ||
524 | display: inline-block; | ||
525 | width: 12px; | ||
526 | height: 12px; | ||
527 | border-radius: 50%; | ||
528 | vertical-align: middle; | ||
529 | margin-right: 4px; | ||
561 | } | 530 | } |
562 | td { | 531 | tr { |
563 | height: 40px; | 532 | height: 40px; |
564 | text-align: center; | 533 | line-height: 40px; |
565 | white-space: nowrap; | 534 | border-color: #d8e0ea !important; |
566 | } | 535 | th:first-child { |
567 | td:first-child { | 536 | width: 80px; |
568 | text-align: left; | 537 | } |
569 | text-indent: 2px; | 538 | th { |
539 | width: 60px; | ||
540 | height: 40px; | ||
541 | white-space: nowrap; | ||
542 | background-color: #eceef2; | ||
543 | } | ||
544 | td { | ||
545 | height: 40px; | ||
546 | text-align: center; | ||
547 | white-space: nowrap; | ||
548 | } | ||
549 | td:first-child { | ||
550 | text-align: left; | ||
551 | text-indent: 2px; | ||
552 | } | ||
570 | } | 553 | } |
571 | } | 554 | } |
572 | } | 555 | } |
573 | } | 556 | } |
574 | } | 557 | } |
575 | } | 558 | } |
576 | } | ||
577 | </style> | 559 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:51:37 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="bdcqldjml"> | 7 | <div class="bdcqldjml"> |
3 | <table class="mlTable"> | 8 | <table class="mlTable"> |
... | @@ -23,51 +28,51 @@ | ... | @@ -23,51 +28,51 @@ |
23 | </template> | 28 | </template> |
24 | 29 | ||
25 | <script> | 30 | <script> |
26 | import { getBdcqldjmlByBdcdyid } from "@/api/djbDetail.js"; | 31 | import { getBdcqldjmlByBdcdyid } from "@/api/djbDetail.js"; |
27 | export default { | 32 | export default { |
28 | data() { | 33 | data () { |
29 | return { | 34 | return { |
30 | bdcqlml: [], | 35 | bdcqlml: [], |
31 | propsParam: this.$attrs, | 36 | propsParam: this.$attrs, |
32 | }; | 37 | }; |
33 | }, | 38 | }, |
34 | mounted() { | 39 | mounted () { |
35 | getBdcqldjmlByBdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | 40 | getBdcqldjmlByBdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { |
36 | if (res.code === 200) { | 41 | if (res.code === 200) { |
37 | this.bdcqlml = res.result; | 42 | this.bdcqlml = res.result; |
38 | } | 43 | } |
39 | }); | 44 | }); |
40 | }, | 45 | }, |
41 | }; | 46 | }; |
42 | </script> | 47 | </script> |
43 | 48 | ||
44 | <style lang="scss" scoped> | 49 | <style lang="scss" scoped> |
45 | .bdcqldjml { | 50 | .bdcqldjml { |
46 | width: 100%; | 51 | width: 100%; |
47 | height: 100%; | 52 | height: 100%; |
48 | background: #fff; | 53 | background: #fff; |
49 | overflow-y: scroll; | 54 | overflow-y: scroll; |
50 | .mlTable { | 55 | .mlTable { |
51 | width: 90%; | 56 | width: 90%; |
52 | margin: 0 auto; | 57 | margin: 0 auto; |
53 | color: #333; | 58 | color: #333; |
54 | border-spacing: 1px; | 59 | border-spacing: 1px; |
55 | background-color: #333; | 60 | background-color: #333; |
56 | 61 | ||
57 | .title { | 62 | .title { |
58 | font-size: 20px; | 63 | font-size: 20px; |
59 | line-height: 60px; | 64 | line-height: 60px; |
60 | font-family: serif; | 65 | font-family: serif; |
61 | position: relative; | 66 | position: relative; |
62 | } | 67 | } |
63 | 68 | ||
64 | td, | 69 | td, |
65 | th { | 70 | th { |
66 | background-color: white; | 71 | background-color: white; |
67 | line-height: 30px; | 72 | line-height: 30px; |
68 | padding: 0 4px; | 73 | padding: 0 4px; |
69 | text-align: center; | 74 | text-align: center; |
75 | } | ||
70 | } | 76 | } |
71 | } | 77 | } |
72 | } | ||
73 | </style> | 78 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:52:07 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="bdcqljqtsx"> | 7 | <div class="bdcqljqtsx"> |
3 | <div class="content"> | 8 | <div class="content"> |
... | @@ -49,59 +54,59 @@ | ... | @@ -49,59 +54,59 @@ |
49 | </template> | 54 | </template> |
50 | 55 | ||
51 | <script> | 56 | <script> |
52 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 57 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
53 | export default { | 58 | export default { |
54 | name: "bdcqljqtsx", | 59 | name: "bdcqljqtsx", |
55 | data() { | 60 | data () { |
56 | return { | 61 | return { |
57 | //传递参数 | 62 | //传递参数 |
58 | propsParam: this.$attrs, | 63 | propsParam: this.$attrs, |
59 | qlxxList: "", | 64 | qlxxList: "", |
60 | }; | 65 | }; |
61 | }, | 66 | }, |
62 | mounted() { | 67 | mounted () { |
63 | getBdcqljqtsx({ | 68 | getBdcqljqtsx({ |
64 | bdcdyid: this.propsParam.bdcdyid, | 69 | bdcdyid: this.propsParam.bdcdyid, |
65 | bdcdyh: this.propsParam.bdcdyh, | 70 | bdcdyh: this.propsParam.bdcdyh, |
66 | }).then((res) => { | 71 | }).then((res) => { |
67 | if (res.code === 200) { | 72 | if (res.code === 200) { |
68 | this.qlxxList = res.result; | 73 | this.qlxxList = res.result; |
69 | } | 74 | } |
70 | }); | 75 | }); |
71 | }, | 76 | }, |
72 | }; | 77 | }; |
73 | </script> | 78 | </script> |
74 | 79 | ||
75 | <style lang="scss" scoped> | 80 | <style lang="scss" scoped> |
76 | .bdcqljqtsx { | 81 | .bdcqljqtsx { |
77 | width: 100%; | 82 | width: 100%; |
78 | height: 100%; | ||
79 | background: #fff; | ||
80 | |||
81 | .content { | ||
82 | width: 50%; | ||
83 | height: 100%; | 83 | height: 100%; |
84 | margin: 0 auto; | 84 | background: #fff; |
85 | text-align: right; | ||
86 | color: #333; | ||
87 | font-family: "Arial Negreta", "Arial Normal", "Arial", sans-serif; | ||
88 | font-weight: 700; | ||
89 | font-size: 18px; | ||
90 | line-height: 16px; | ||
91 | 85 | ||
92 | .title { | 86 | .content { |
93 | font-size: 32px; | 87 | width: 50%; |
94 | text-align: center; | 88 | height: 100%; |
95 | padding: 40px 0; | 89 | margin: 0 auto; |
96 | line-height: 34px; | 90 | text-align: right; |
97 | } | 91 | color: #333; |
92 | font-family: "Arial Negreta", "Arial Normal", "Arial", sans-serif; | ||
93 | font-weight: 700; | ||
94 | font-size: 18px; | ||
95 | line-height: 16px; | ||
98 | 96 | ||
99 | .underline { | 97 | .title { |
100 | font-size: 14px; | 98 | font-size: 32px; |
101 | font-weight: normal; | 99 | text-align: center; |
102 | text-decoration: underline; | 100 | padding: 40px 0; |
103 | display: inline-block; | 101 | line-height: 34px; |
102 | } | ||
103 | |||
104 | .underline { | ||
105 | font-size: 14px; | ||
106 | font-weight: normal; | ||
107 | text-decoration: underline; | ||
108 | display: inline-block; | ||
109 | } | ||
104 | } | 110 | } |
105 | } | 111 | } |
106 | } | ||
107 | </style> | 112 | </style> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:52:46 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="content"> | 7 | <div class="content"> |
3 | <div class="left"> | 8 | <div class="left"> |
... | @@ -69,7 +74,7 @@ | ... | @@ -69,7 +74,7 @@ |
69 | this.componentTag = (r) => | 74 | this.componentTag = (r) => |
70 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 75 | require.ensure([], () => r(require("@/views/registerBook/" + form))); |
71 | }, | 76 | }, |
72 | }, | 77 | } |
73 | }; | 78 | }; |
74 | </script> | 79 | </script> |
75 | <style scoped lang="scss"> | 80 | <style scoped lang="scss"> | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-19 09:52:42 | ||
5 | --> | ||
1 | <template> | 6 | <template> |
2 | <div class="djbfm"> | 7 | <div class="djbfm"> |
3 | <br /><br /> | 8 | <br /><br /> |
... | @@ -33,76 +38,76 @@ | ... | @@ -33,76 +38,76 @@ |
33 | </template> | 38 | </template> |
34 | 39 | ||
35 | <script> | 40 | <script> |
36 | import { getDjbfm } from "@/api/djbDetail.js"; | 41 | import { getDjbfm } from "@/api/djbDetail.js"; |
37 | 42 | ||
38 | export default { | 43 | export default { |
39 | data () { | 44 | data () { |
40 | return { | 45 | return { |
41 | //传递参数 | 46 | //传递参数 |
42 | propsParam: this.$attrs, | 47 | propsParam: this.$attrs, |
43 | info: {}, | 48 | info: {}, |
44 | }; | 49 | }; |
45 | }, | ||
46 | mounted () { | ||
47 | this.loadData(); | ||
48 | }, | ||
49 | methods: { | ||
50 | loadData () { | ||
51 | getDjbfm({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
52 | if (res.code === 200) { | ||
53 | this.info = res.result; | ||
54 | } | ||
55 | }); | ||
56 | }, | 50 | }, |
57 | }, | 51 | mounted () { |
58 | }; | 52 | this.loadData(); |
53 | }, | ||
54 | methods: { | ||
55 | loadData () { | ||
56 | getDjbfm({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
57 | if (res.code === 200) { | ||
58 | this.info = res.result; | ||
59 | } | ||
60 | }); | ||
61 | }, | ||
62 | }, | ||
63 | }; | ||
59 | </script> | 64 | </script> |
60 | 65 | ||
61 | <style lang="scss" scoped> | 66 | <style lang="scss" scoped> |
62 | .djbfm { | 67 | .djbfm { |
63 | width: 100%; | 68 | width: 100%; |
64 | height: 100%; | 69 | height: 100%; |
65 | background: #fff; | 70 | background: #fff; |
66 | border-right: 1px solid #ccc; | 71 | border-right: 1px solid #ccc; |
67 | line-height: 45px; | 72 | line-height: 45px; |
68 | text-align: center; | 73 | text-align: center; |
69 | font-size: 18px; | 74 | font-size: 18px; |
70 | font-family: serif; | 75 | font-family: serif; |
71 | position: relative; | 76 | position: relative; |
72 | 77 | ||
73 | font { | 78 | font { |
74 | border-bottom: 1px solid #000; | 79 | border-bottom: 1px solid #000; |
75 | display: inline-block; | 80 | display: inline-block; |
76 | padding: 0 15px; | 81 | padding: 0 15px; |
77 | line-height: 16px; | 82 | line-height: 16px; |
78 | } | 83 | } |
79 | 84 | ||
80 | .title { | 85 | .title { |
81 | height: 40%; | 86 | height: 40%; |
82 | display: flex; | 87 | display: flex; |
83 | font-size: 38px; | 88 | font-size: 38px; |
84 | color: #000; | 89 | color: #000; |
85 | justify-content: center; | 90 | justify-content: center; |
86 | align-items: center; | 91 | align-items: center; |
87 | } | 92 | } |
88 | 93 | ||
89 | .bottom { | 94 | .bottom { |
90 | position: absolute; | 95 | position: absolute; |
91 | bottom: 0px; | 96 | bottom: 0px; |
92 | text-align: center; | 97 | text-align: center; |
93 | width: 100%; | 98 | width: 100%; |
94 | left: 0; | 99 | left: 0; |
95 | height: 100px; | 100 | height: 100px; |
96 | line-height: 100px; | 101 | line-height: 100px; |
97 | 102 | ||
98 | p { | 103 | p { |
99 | font-size: 28px; | 104 | font-size: 28px; |
100 | } | 105 | } |
101 | 106 | ||
102 | font { | 107 | font { |
103 | font-size: 24px; | 108 | font-size: 24px; |
104 | line-height: 24px; | 109 | line-height: 24px; |
110 | } | ||
105 | } | 111 | } |
106 | } | 112 | } |
107 | } | ||
108 | </style> | 113 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 16:42:17 | 4 | * @LastEditTime: 2023-07-19 10:23:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -69,19 +69,19 @@ | ... | @@ -69,19 +69,19 @@ |
69 | }, | 69 | }, |
70 | { | 70 | { |
71 | prop: 'dcode', | 71 | prop: 'dcode', |
72 | width: '100', | 72 | width: '150', |
73 | label: '字典项编码', | 73 | label: '字典项编码', |
74 | render: (h, scope) => { | 74 | render: (h, scope) => { |
75 | return ( | 75 | return ( |
76 | <div> | 76 | <div> |
77 | <el-input placeholder="字典项编码" disabled={this.formData.isenable == 2} v-show={scope.row.codeShow} v-fo value={scope.row[scope.column.property]} | 77 | <el-input placeholder="字典项编码" disabled={this.formData.isenable == 2} v-show={scope.row.codeShow} v-fo value={scope.row[scope.column.property]} |
78 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} | 78 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} |
79 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | 79 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='20'></el-input> |
80 | 80 | ||
81 | 81 | ||
82 | <el-input placeholder="字典项编码" disabled={this.formData.isenable == 2} v-show={!scope.row.codeShow} value={scope.row[scope.column.property]} | 82 | <el-input placeholder="字典项编码" disabled={this.formData.isenable == 2} v-show={!scope.row.codeShow} value={scope.row[scope.column.property]} |
83 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} | 83 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} |
84 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | 84 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='20'></el-input> |
85 | </div> | 85 | </div> |
86 | ) | 86 | ) |
87 | } | 87 | } |
... | @@ -106,17 +106,17 @@ | ... | @@ -106,17 +106,17 @@ |
106 | { | 106 | { |
107 | prop: 'normcode', | 107 | prop: 'normcode', |
108 | label: '部标编码', | 108 | label: '部标编码', |
109 | width: '100', | 109 | width: '150', |
110 | render: (h, scope) => { | 110 | render: (h, scope) => { |
111 | return ( | 111 | return ( |
112 | <div> | 112 | <div> |
113 | <el-input placeholder="部标编码" disabled={this.formData.isenable == 2} v-show={scope.row.normcodeShow} v-fo value={scope.row[scope.column.property]} | 113 | <el-input placeholder="部标编码" disabled={this.formData.isenable == 2} v-show={scope.row.normcodeShow} v-fo value={scope.row[scope.column.property]} |
114 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} | 114 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} |
115 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | 115 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='20'></el-input> |
116 | 116 | ||
117 | <el-input placeholder="部标编码" disabled={this.formData.isenable == 2} v-show={!scope.row.normcodeShow} value={scope.row[scope.column.property]} | 117 | <el-input placeholder="部标编码" disabled={this.formData.isenable == 2} v-show={!scope.row.normcodeShow} value={scope.row[scope.column.property]} |
118 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} | 118 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} |
119 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | 119 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='20'></el-input> |
120 | </div> | 120 | </div> |
121 | ) | 121 | ) |
122 | } | 122 | } |
... | @@ -152,7 +152,7 @@ | ... | @@ -152,7 +152,7 @@ |
152 | } | 152 | } |
153 | }, | 153 | }, |
154 | { | 154 | { |
155 | width: '130', | 155 | width: '100', |
156 | label: '移动', | 156 | label: '移动', |
157 | render: (h, scope) => { | 157 | render: (h, scope) => { |
158 | return ( | 158 | return ( |
... | @@ -164,7 +164,7 @@ | ... | @@ -164,7 +164,7 @@ |
164 | } | 164 | } |
165 | }, | 165 | }, |
166 | { | 166 | { |
167 | width: '150', | 167 | width: '130', |
168 | label: '操作', | 168 | label: '操作', |
169 | render: (h, scope) => { | 169 | render: (h, scope) => { |
170 | return ( | 170 | return ( |
... | @@ -324,9 +324,16 @@ | ... | @@ -324,9 +324,16 @@ |
324 | </script> | 324 | </script> |
325 | <style rel="stylesheet/scss" lang="scss" scoped> | 325 | <style rel="stylesheet/scss" lang="scss" scoped> |
326 | @import "~@/styles/dialogBoxheader.scss"; | 326 | @import "~@/styles/dialogBoxheader.scss"; |
327 | 327 | /deep/.el-radio-group { | |
328 | display: flex; | ||
329 | justify-content: center; | ||
330 | } | ||
328 | /deep/.el-radio { | 331 | /deep/.el-radio { |
329 | margin-right: 5px !important; | 332 | margin-right: 5px !important; |
333 | display: flex; | ||
334 | } | ||
335 | /deep/.el-radio__label { | ||
336 | display: block !important; | ||
330 | } | 337 | } |
331 | </style> | 338 | </style> |
332 | 339 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-14 16:01:33 | 4 | * @LastEditTime: 2023-07-18 14:26:54 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <canvas id="mxcad"> | 7 | <canvas id="mxcad"> |
... | @@ -36,10 +36,4 @@ | ... | @@ -36,10 +36,4 @@ |
36 | }) | 36 | }) |
37 | } | 37 | } |
38 | } | 38 | } |
39 | </script> | ||
40 | <style scoped lang='scss'> | ||
41 | #cad-container { | ||
42 | width: 100%; | ||
43 | height: 100%; | ||
44 | } | ||
45 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
39 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment