b1aa7788 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents c57b1d5b d1a1eecf
...@@ -147,9 +147,11 @@ div:focus { ...@@ -147,9 +147,11 @@ div:focus {
147 .pl-5 { 147 .pl-5 {
148 padding-left: 5px; 148 padding-left: 5px;
149 } 149 }
150
150 .pt-10 { 151 .pt-10 {
151 padding-top: 10px; 152 padding-top: 10px;
152 } 153 }
154
153 .block { 155 .block {
154 display: block; 156 display: block;
155 } 157 }
...@@ -383,7 +385,65 @@ aside { ...@@ -383,7 +385,65 @@ aside {
383 transition: 0.5s; 385 transition: 0.5s;
384 margin-left: -1px; 386 margin-left: -1px;
385 border-top: 0; 387 border-top: 0;
388
386 .el-checkbox__label { 389 .el-checkbox__label {
387 font-size: 16px; 390 font-size: 16px;
388 } 391 }
389 } 392 }
393
394
395 .linshiIcon {
396 position: relative;
397
398 .icon {
399 position: absolute;
400 top: 12px;
401 right: -5px;
402 transform: rotate(45deg);
403 color: #fff;
404 font-size: 12px;
405 z-index: 10;
406 }
407 }
408
409 .linshiIcon::after {
410 content: "";
411 display: block;
412 width: 0;
413 height: 0;
414 border-width: 0px 0px 55px 55px;
415 border-style: none solid solid;
416 border-color: transparent transparent #fe9400;
417 position: absolute;
418 top: 0;
419 right: 0;
420 transform: rotate(-90deg);
421 }
422
423 .xianshiIcon {
424 position: relative;
425
426 .icon {
427 position: absolute;
428 top: 9px;
429 right: 5px;
430 transform: rotate(45deg);
431 color: #fff;
432 font-size: 12px;
433 z-index: 10;
434 }
435 }
436
437 .xianshiIcon::after {
438 content: "";
439 display: block;
440 width: 0;
441 height: 0;
442 border-width: 0px 0px 55px 55px;
443 border-style: none solid solid;
444 border-color: transparent transparent #67C23A;
445 position: absolute;
446 top: 0;
447 right: 0;
448 transform: rotate(-90deg);
449 }
...\ No newline at end of file ...\ No newline at end of file
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-07-03 08:59:06
5 */
6 import store from '@/store'
1 export function getSjlx (level) { 7 export function getSjlx (level) {
2 const resultMap = { 8 const resultMap = {
3 1: '系统数据', 9 1: '系统数据',
...@@ -6,3 +12,15 @@ export function getSjlx (level) { ...@@ -6,3 +12,15 @@ export function getSjlx (level) {
6 } 12 }
7 return resultMap[level] || resultMap.default; 13 return resultMap[level] || resultMap.default;
8 } 14 }
15
16 export function getDictLeabel (level, code) {
17 const resultMap = store.getters.dictData[code]
18 const desiredObject = resultMap.find(obj => obj.dcode === level);
19
20 if (desiredObject) {
21 const desiredName = desiredObject.dname;
22 return desiredName
23 } else {
24 return ''
25 }
26 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
13 ref="ruleForm" 13 ref="ruleForm"
14 :label-position="flag ? 'top' : ''" 14 :label-position="flag ? 'top' : ''"
15 :inline="flag" 15 :inline="flag"
16 label-width="145px"> 16 label-width="145px"
17 >
17 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 18 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
18 <div class="slxx_title title-block"> 19 <div class="slxx_title title-block">
19 补录信息 20 补录信息
...@@ -66,7 +67,12 @@ ...@@ -66,7 +67,12 @@
66 <el-col :span="8"> 67 <el-col :span="8">
67 <el-form-item label="登记类型:"> 68 <el-form-item label="登记类型:">
68 <el-select v-model="ruleForm.qlxx.djlx"> 69 <el-select v-model="ruleForm.qlxx.djlx">
69 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 70 <el-option
71 v-for="item in djlxlist"
72 :key="item.dcode"
73 :label="item.dname"
74 :value="item.dcode"
75 >
70 </el-option> 76 </el-option>
71 </el-select> 77 </el-select>
72 </el-form-item> 78 </el-form-item>
...@@ -125,7 +131,12 @@ ...@@ -125,7 +131,12 @@
125 </el-form-item> --> 131 </el-form-item> -->
126 <el-form-item label="抵押不动产类型:"> 132 <el-form-item label="抵押不动产类型:">
127 <el-select v-model="ruleForm.qlxx.djlx"> 133 <el-select v-model="ruleForm.qlxx.djlx">
128 <el-option v-for="item in dictData['A27']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 134 <el-option
135 v-for="item in dictData['A27']"
136 :key="item.dcode"
137 :label="item.dname"
138 :value="item.dcode"
139 >
129 </el-option> 140 </el-option>
130 </el-select> 141 </el-select>
131 </el-form-item> 142 </el-form-item>
...@@ -158,7 +169,12 @@ ...@@ -158,7 +169,12 @@
158 <el-col :span="8"> 169 <el-col :span="8">
159 <el-form-item label="是否预告登记:"> 170 <el-form-item label="是否预告登记:">
160 <el-select v-model="ruleForm.qlxx.djlx"> 171 <el-select v-model="ruleForm.qlxx.djlx">
161 <el-option v-for="item in dictData['A6']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 172 <el-option
173 v-for="item in dictData['A6']"
174 :key="item.dcode"
175 :label="item.dname"
176 :value="item.dcode"
177 >
162 </el-option> 178 </el-option>
163 </el-select> 179 </el-select>
164 </el-form-item> 180 </el-form-item>
...@@ -175,40 +191,64 @@ ...@@ -175,40 +191,64 @@
175 </el-col> 191 </el-col>
176 <el-col :span="8"> 192 <el-col :span="8">
177 <el-form-item label="抵押面积:"> 193 <el-form-item label="抵押面积:">
178 <div style="display:flex"> 194 <div style="display: flex">
179 <el-input v-model="ruleForm.diyaq.dymj" style="width:500%" 195 <el-input
180 oninput="value=value.replace(/[^\d.]/g,'')"></el-input> 196 v-model="ruleForm.diyaq.dymj"
197 style="width: 500%"
198 oninput="value=value.replace(/[^\d.]/g,'')"
199 ></el-input>
181 <el-select v-model="ruleForm.diyaq.mjdw"> 200 <el-select v-model="ruleForm.diyaq.mjdw">
182 <el-option v-for="item in dictData['A7']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 201 <el-option
202 v-for="item in dictData['A7']"
203 :key="item.dcode"
204 :label="item.dname"
205 :value="item.dcode"
206 >
183 </el-option> 207 </el-option>
184 </el-select> 208 </el-select>
185 </div> 209 </div>
186 </el-form-item> 210 </el-form-item>
187 </el-col > 211 </el-col>
188 <el-col :span="8"> 212 <el-col :span="8">
189 <el-form-item label="最高债权额"> 213 <el-form-item label="最高债权额">
190 <div style="display:flex"> 214 <div style="display: flex">
191 <el-input v-model="ruleForm.diyaq.zgzqse" style="width:500%" 215 <el-input
192 oninput="value=value.replace(/[^\d.]/g,'')"></el-input> 216 v-model="ruleForm.diyaq.zgzqse"
217 style="width: 500%"
218 oninput="value=value.replace(/[^\d.]/g,'')"
219 ></el-input>
193 <el-select v-model="ruleForm.diyaq.jedw"> 220 <el-select v-model="ruleForm.diyaq.jedw">
194 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 221 <el-option
222 v-for="item in dictData['A57']"
223 :key="item.dcode"
224 :label="item.dname"
225 :value="item.dcode"
226 >
195 </el-option> 227 </el-option>
196 </el-select> 228 </el-select>
197 </div> 229 </div>
198 </el-form-item> 230 </el-form-item>
199 </el-col > 231 </el-col>
200 <el-col :span="8"> 232 <el-col :span="8">
201 <el-form-item label="被担保主债权数额"> 233 <el-form-item label="被担保主债权数额">
202 <div style="display:flex"> 234 <div style="display: flex">
203 <el-input v-model="ruleForm.diyaq.bdbzzqse" style="width:500%" 235 <el-input
204 oninput="value=value.replace(/[^\d.]/g,'')"></el-input> 236 v-model="ruleForm.diyaq.bdbzzqse"
237 style="width: 500%"
238 oninput="value=value.replace(/[^\d.]/g,'')"
239 ></el-input>
205 <el-select v-model="ruleForm.diyaq.jedw"> 240 <el-select v-model="ruleForm.diyaq.jedw">
206 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 241 <el-option
242 v-for="item in dictData['A57']"
243 :key="item.dcode"
244 :label="item.dname"
245 :value="item.dcode"
246 >
207 </el-option> 247 </el-option>
208 </el-select> 248 </el-select>
209 </div> 249 </div>
210 </el-form-item> 250 </el-form-item>
211 </el-col > 251 </el-col>
212 <el-col :span="8"> 252 <el-col :span="8">
213 <el-form-item label="币种"> 253 <el-form-item label="币种">
214 <el-input v-model="ruleForm.qlxx.djsj"></el-input> 254 <el-input v-model="ruleForm.qlxx.djsj"></el-input>
...@@ -312,8 +352,7 @@ ...@@ -312,8 +352,7 @@
312 <el-row :gutter="10"> 352 <el-row :gutter="10">
313 <el-col :span="12"> 353 <el-col :span="12">
314 <el-form-item label="共有方式:"> 354 <el-form-item label="共有方式:">
315 <el-radio-group 355 <el-radio-group v-model="ruleForm.qlxx.gyqk">
316 v-model="ruleForm.qlxx.gyqk">
317 <el-radio label="0">单独所有</el-radio> 356 <el-radio label="0">单独所有</el-radio>
318 <el-radio label="1">共同共有</el-radio> 357 <el-radio label="1">共同共有</el-radio>
319 <el-radio label="2">按份所有</el-radio> 358 <el-radio label="2">按份所有</el-radio>
...@@ -326,7 +365,8 @@ ...@@ -326,7 +365,8 @@
326 :tableData="ruleForm.qlrData" 365 :tableData="ruleForm.qlrData"
327 @upDateQlrxxList="upDateQlrxxList" 366 @upDateQlrxxList="upDateQlrxxList"
328 :key="key" 367 :key="key"
329 :gyfs="ruleForm.qlxx.gyfs" /> 368 :gyfs="ruleForm.qlxx.gyfs"
369 />
330 370
331 <div> 371 <div>
332 <div class="slxx_title title-block"> 372 <div class="slxx_title title-block">
...@@ -337,7 +377,8 @@ ...@@ -337,7 +377,8 @@
337 v-if="ruleForm.ywrData" 377 v-if="ruleForm.ywrData"
338 :tableData="ruleForm.ywrData" 378 :tableData="ruleForm.ywrData"
339 :key="key" 379 :key="key"
340 @upDateQlrxxList="upDateYwrxxList" /> 380 @upDateQlrxxList="upDateYwrxxList"
381 />
341 </div> 382 </div>
342 </div> 383 </div>
343 <el-row class="btn"> 384 <el-row class="btn">
...@@ -350,13 +391,13 @@ ...@@ -350,13 +391,13 @@
350 </template> 391 </template>
351 <script> 392 <script>
352 import { mapGetters } from "vuex"; 393 import { mapGetters } from "vuex";
353 import { init,save } from "@/api/djbbl.js"; 394 import { init, save } from "@/api/djbbl.js";
354 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 395 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
355 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 396 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
356 397
357 import tdytTable from "@/views/workflow/components/tdytTable"; 398 import tdytTable from "@/views/workflow/components/tdytTable";
358 export default { 399 export default {
359 components: { qlrCommonTable,ywrCommonTable,tdytTable }, 400 components: { qlrCommonTable, ywrCommonTable, tdytTable },
360 computed: { 401 computed: {
361 ...mapGetters(["dictData", "flag"]), 402 ...mapGetters(["dictData", "flag"]),
362 }, 403 },
...@@ -371,6 +412,7 @@ export default { ...@@ -371,6 +412,7 @@ export default {
371 ruleForm: {}, 412 ruleForm: {},
372 //传递参数\ 413 //传递参数\
373 rules: {}, 414 rules: {},
415 // 权属状态
374 qsztlist: [ 416 qsztlist: [
375 { 417 {
376 dcode: "1", 418 dcode: "1",
...@@ -381,6 +423,35 @@ export default { ...@@ -381,6 +423,35 @@ export default {
381 dname: "历史", 423 dname: "历史",
382 }, 424 },
383 ], 425 ],
426
427 // 登记类型
428 djlxlist: [
429 {
430 dcode: "100",
431 dname: "首次登记",
432 },
433 {
434 dcode: "200",
435 dname: "转移登记",
436 },
437 {
438 dcode: "300",
439 dname: "变更登记",
440 },
441 {
442 dcode: "500",
443 dname: "更正登记",
444 },
445
446 {
447 dcode: "901",
448 dname: "补证",
449 },
450 {
451 dcode: "902",
452 dname: "换证",
453 },
454 ],
384 }; 455 };
385 }, 456 },
386 created() { 457 created() {
...@@ -389,26 +460,26 @@ export default { ...@@ -389,26 +460,26 @@ export default {
389 mounted() {}, 460 mounted() {},
390 methods: { 461 methods: {
391 loadData() { 462 loadData() {
392 console.log("预告登记",this.propsParam); 463 console.log("预告登记", this.propsParam);
393 init(this.propsParam.bsmRepair).then((res) => { 464 init(this.propsParam.bsmRepair).then((res) => {
394 if (res.code == 200) { 465 if (res.code == 200) {
395 this.ruleForm = res.result; 466 this.ruleForm = res.result;
396 console.log("this.ruleForm",this.ruleForm); 467 console.log("this.ruleForm", this.ruleForm);
397 this.isShow = true; 468 this.isShow = true;
398 } 469 }
399 }); 470 });
400 }, 471 },
401 // 更新土地用途信息 472 // 更新土地用途信息
402 upDateTdytxxList(val) { 473 upDateTdytxxList(val) {
403 console.log("VAL",val); 474 console.log("VAL", val);
404 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 475 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
405 this.key++; 476 this.key++;
406 }, 477 },
407 // 更新权利人信息 478 // 更新权利人信息
408 upDateQlrxxList(val) { 479 upDateQlrxxList(val) {
409 console.log("val",val); 480 console.log("val", val);
410 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 481 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
411 console.log("this.ruleForm.qlrData",this.ruleForm.qlrData); 482 console.log("this.ruleForm.qlrData", this.ruleForm.qlrData);
412 this.czrOptions = this.ruleForm.qlrData; 483 this.czrOptions = this.ruleForm.qlrData;
413 this.key++; 484 this.key++;
414 }, 485 },
...@@ -418,7 +489,7 @@ export default { ...@@ -418,7 +489,7 @@ export default {
418 this.key++; 489 this.key++;
419 }, 490 },
420 onSubmit() { 491 onSubmit() {
421 console.log("this.ruleForm大信息",this.ruleForm); 492 console.log("this.ruleForm大信息", this.ruleForm);
422 if (this.ruleForm.qlrData.length == 0) { 493 if (this.ruleForm.qlrData.length == 0) {
423 this.$message({ 494 this.$message({
424 showClose: true, 495 showClose: true,
......
...@@ -107,64 +107,6 @@ ...@@ -107,64 +107,6 @@
107 } 107 }
108 } 108 }
109 109
110 .linshiIcon {
111 position: relative;
112
113 .icon {
114 position: absolute;
115 top: 12px;
116 right: -5px;
117 transform: rotate(45deg);
118 color: #fff;
119 font-size: 12px;
120 z-index: 10;
121 }
122 }
123
124 .linshiIcon::after {
125 content: "";
126 display: block;
127 width: 0;
128 height: 0;
129 border-width: 0px 0px 55px 55px;
130 border-style: none solid solid;
131 border-color: transparent transparent #fe9400;
132 position: absolute;
133 top: 0;
134 right: 0;
135 transform: rotate(-90deg);
136 }
137
138 .xianshiIcon {
139 position: relative;
140
141 .icon {
142 position: absolute;
143 top: 9px;
144 right: 5px;
145 transform: rotate(45deg);
146 color: #fff;
147 font-size: 12px;
148 z-index: 10;
149 }
150 }
151
152 .xianshiIcon::after {
153 content: "";
154 display: block;
155 width: 0;
156 height: 0;
157 border-width: 0px 0px 55px 55px;
158 border-style: none solid solid;
159 border-color: transparent transparent #67C23A;
160 position: absolute;
161 top: 0;
162 right: 0;
163 transform: rotate(-90deg);
164 }
165
166
167
168 tr { 110 tr {
169 display: flex; 111 display: flex;
170 } 112 }
......
...@@ -4,7 +4,7 @@ class data extends filter { ...@@ -4,7 +4,7 @@ class data extends filter {
4 constructor() { 4 constructor() {
5 super() 5 super()
6 } 6 }
7 columns() { 7 columns () {
8 return { 8 return {
9 //空列值个数 9 //空列值个数
10 emptycolNum: 3, 10 emptycolNum: 3,
...@@ -26,8 +26,9 @@ class data extends filter { ...@@ -26,8 +26,9 @@ class data extends filter {
26 ], 26 ],
27 JSYDSYQ: [ 27 JSYDSYQ: [
28 28
29 { prop:"cz", 29 {
30 label:"操作", 30 prop: "cz",
31 label: "操作",
31 render: (h, scope) => { 32 render: (h, scope) => {
32 return ( 33 return (
33 <div> 34 <div>
...@@ -144,8 +145,9 @@ class data extends filter { ...@@ -144,8 +145,9 @@ class data extends filter {
144 ], 145 ],
145 FDCQ2: [ 146 FDCQ2: [
146 147
147 { prop:"cz", 148 {
148 label:"操作" 149 prop: "cz",
150 label: "操作"
149 }, 151 },
150 { 152 {
151 prop: "qszt", 153 prop: "qszt",
...@@ -283,8 +285,9 @@ class data extends filter { ...@@ -283,8 +285,9 @@ class data extends filter {
283 ], 285 ],
284 NYDSYQ: [ 286 NYDSYQ: [
285 287
286 { prop:"cz", 288 {
287 label:"操作" 289 prop: "cz",
290 label: "操作"
288 }, 291 },
289 { 292 {
290 prop: "qszt", 293 prop: "qszt",
...@@ -412,9 +415,9 @@ class data extends filter { ...@@ -412,9 +415,9 @@ class data extends filter {
412 }, 415 },
413 ], 416 ],
414 DYAQ: [ 417 DYAQ: [
415 418 {
416 { prop:"cz", 419 prop: "cz",
417 label:"操作" 420 label: "操作"
418 }, 421 },
419 { 422 {
420 prop: "qszt", 423 prop: "qszt",
...@@ -423,6 +426,19 @@ class data extends filter { ...@@ -423,6 +426,19 @@ class data extends filter {
423 { 426 {
424 prop: "dybdclx", 427 prop: "dybdclx",
425 label: "抵押不动产类型", 428 label: "抵押不动产类型",
429 render: (h, scope) => {
430 return (
431 <div>
432 <span v-show={scope.row.dybdclx == '1'}>土地</span>
433 <span v-show={scope.row.dybdclx == '2'}>土地和房屋</span>
434 <span v-show={scope.row.dybdclx == '3'}>林地和林木</span>
435 <span v-show={scope.row.dybdclx == '4'}>土地和在建建筑物</span>
436 <span v-show={scope.row.dybdclx == '5'}>海域</span>
437 <span v-show={scope.row.dybdclx == '6'}>海域和构筑物</span>
438 <span v-show={scope.row.dybdclx == '7'}>其它</span>
439 </div>
440 )
441 }
426 }, 442 },
427 { 443 {
428 prop: "djlxmc", 444 prop: "djlxmc",
...@@ -572,8 +588,9 @@ class data extends filter { ...@@ -572,8 +588,9 @@ class data extends filter {
572 ], 588 ],
573 DYIQ: [ 589 DYIQ: [
574 590
575 { prop:"cz", 591 {
576 label:"操作" 592 prop: "cz",
593 label: "操作"
577 }, 594 },
578 { 595 {
579 prop: "qszt", 596 prop: "qszt",
...@@ -666,8 +683,9 @@ class data extends filter { ...@@ -666,8 +683,9 @@ class data extends filter {
666 ], 683 ],
667 YGDJ: [ 684 YGDJ: [
668 685
669 { prop:"cz", 686 {
670 label:"操作" 687 prop: "cz",
688 label: "操作"
671 }, 689 },
672 { 690 {
673 prop: "qszt", 691 prop: "qszt",
...@@ -792,8 +810,9 @@ class data extends filter { ...@@ -792,8 +810,9 @@ class data extends filter {
792 ], 810 ],
793 CFDJ: [ 811 CFDJ: [
794 812
795 { prop:"cz", 813 {
796 label:"操作" 814 prop: "cz",
815 label: "操作"
797 }, 816 },
798 { 817 {
799 prop: "qszt", 818 prop: "qszt",
...@@ -903,8 +922,9 @@ class data extends filter { ...@@ -903,8 +922,9 @@ class data extends filter {
903 ], 922 ],
904 YYDJ: [ 923 YYDJ: [
905 924
906 { prop:"cz", 925 {
907 label:"操作" 926 prop: "cz",
927 label: "操作"
908 }, 928 },
909 { 929 {
910 prop: "qszt", 930 prop: "qszt",
......
...@@ -22,13 +22,19 @@ ...@@ -22,13 +22,19 @@
22 :class="[ 22 :class="[
23 row.qszt == '2' ? 'lishi' : '', 23 row.qszt == '2' ? 'lishi' : '',
24 row.qszt == '0' ? 'linshi' : '', 24 row.qszt == '0' ? 'linshi' : '',
25 item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))? 'linshiIcon' : '', 25 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
26 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
26 ]"> 27 ]">
27 <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> 28 <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'">
28 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
29 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> 30 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button>
30 </div> 31 </div>
31 <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))">正在办理</div> 32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
33 正在办理
34 </div>
35 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
36 有效
37 </div>
32 <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> 38 <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span>
33 39
34 <span v-else>{{ row[item.prop] }}</span> 40 <span v-else>{{ row[item.prop] }}</span>
...@@ -114,7 +120,7 @@ ...@@ -114,7 +120,7 @@
114 return name; 120 return name;
115 }, 121 },
116 // 新增一条补录信息 122 // 新增一条补录信息
117 editDialog(row, del) { 123 editDialog (row, del) {
118 this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { 124 this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
119 confirmButtonText: "确定", 125 confirmButtonText: "确定",
120 cancelButtonText: "取消", 126 cancelButtonText: "取消",
......
...@@ -8,9 +8,7 @@ ...@@ -8,9 +8,7 @@
8 <el-checkbox 8 <el-checkbox
9 v-for="item in qsztList" 9 v-for="item in qsztList"
10 :key="item.value" 10 :key="item.value"
11 :label="item.value" 11 :label="item.value">{{ item.label }}</el-checkbox>
12 >{{ item.label }}</el-checkbox
13 >
14 </el-checkbox-group> 12 </el-checkbox-group>
15 </div> 13 </div>
16 </div> 14 </div>
...@@ -27,25 +25,24 @@ ...@@ -27,25 +25,24 @@
27 row.qszt == '2' ? 'lishi' : '', 25 row.qszt == '2' ? 'lishi' : '',
28 row.qszt == '0' ? 'linshi' : '', 26 row.qszt == '0' ? 'linshi' : '',
29 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 27 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
30 ]" 28 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
31 > 29 ]">
32 <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> 30 <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'">
33 <el-button 31 <el-button
34 type="text" 32 type="text"
35 icon="el-icon-edit-outline" 33 icon="el-icon-edit-outline"
36 @click="editDialog(row)" 34 @click="editDialog(row)">编辑</el-button>
37 >编辑</el-button
38 >
39 <el-button 35 <el-button
40 type="text" 36 type="text"
41 icon="el-icon-edit-outline" 37 icon="el-icon-edit-outline"
42 @click="editDialog(row, 'D')" 38 @click="editDialog(row, 'D')">删除</el-button>
43 >删除</el-button
44 >
45 </div> 39 </div>
46 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 40 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
47 正在办理 41 正在办理
48 </div> 42 </div>
43 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
44 有效
45 </div>
49 <span v-if="item.prop == 'qszt'"> 46 <span v-if="item.prop == 'qszt'">
50 {{ getQsztName(row[item.prop]) }} 47 {{ getQsztName(row[item.prop]) }}
51 </span> 48 </span>
...@@ -61,11 +58,11 @@ ...@@ -61,11 +58,11 @@
61 </template> 58 </template>
62 59
63 <script> 60 <script>
64 import { datas } from "./qlxxFormData.js"; 61 import { datas } from "./qlxxFormData.js";
65 import { getSjlx } from "@/utils/dictionary.js"; 62 import { getSjlx, getDictLeabel } from "@/utils/dictionary.js";
66 import { getDiyaqList } from "@/api/registerBook.js"; 63 import { getDiyaqList } from "@/api/registerBook.js";
67 export default { 64 export default {
68 data() { 65 data () {
69 return { 66 return {
70 title: "抵押权登记信息", 67 title: "抵押权登记信息",
71 qsztList: datas.columns().qsztList, 68 qsztList: datas.columns().qsztList,
...@@ -80,11 +77,11 @@ export default { ...@@ -80,11 +77,11 @@ export default {
80 columns: datas.columns().DYAQ, 77 columns: datas.columns().DYAQ,
81 }; 78 };
82 }, 79 },
83 created() { 80 created () {
84 this.loadData(); 81 this.loadData();
85 }, 82 },
86 methods: { 83 methods: {
87 loadData() { 84 loadData () {
88 if (this.$parent.addRepairRecord) { 85 if (this.$parent.addRepairRecord) {
89 this.columns.unshift({ prop: "cz", label: "操作" }); 86 this.columns.unshift({ prop: "cz", label: "操作" });
90 } 87 }
...@@ -97,6 +94,7 @@ export default { ...@@ -97,6 +94,7 @@ export default {
97 this.tableData = res.result; 94 this.tableData = res.result;
98 this.tableData.forEach((item) => { 95 this.tableData.forEach((item) => {
99 item.sjlx = getSjlx(item.sjlx); 96 item.sjlx = getSjlx(item.sjlx);
97 item.dybdclx = getDictLeabel(item.dybdclx, 'A27')
100 }); 98 });
101 if (this.tableData.length < datas.columns().emptycolNum) { 99 if (this.tableData.length < datas.columns().emptycolNum) {
102 this.emptycolNum = 100 this.emptycolNum =
...@@ -107,7 +105,7 @@ export default { ...@@ -107,7 +105,7 @@ export default {
107 } 105 }
108 }); 106 });
109 }, 107 },
110 checkChange() { 108 checkChange () {
111 if (this.checkList.length === 0) { 109 if (this.checkList.length === 0) {
112 this.tableData = []; 110 this.tableData = [];
113 this.emptycolNum = datas.columns().emptycolNum; 111 this.emptycolNum = datas.columns().emptycolNum;
...@@ -115,7 +113,7 @@ export default { ...@@ -115,7 +113,7 @@ export default {
115 this.loadData(); 113 this.loadData();
116 } 114 }
117 }, 115 },
118 getQsztName(code) { 116 getQsztName (code) {
119 let name = ""; 117 let name = "";
120 for (let item of this.qsztList) { 118 for (let item of this.qsztList) {
121 if (item.value == code) { 119 if (item.value == code) {
...@@ -126,7 +124,7 @@ export default { ...@@ -126,7 +124,7 @@ export default {
126 return name; 124 return name;
127 }, 125 },
128 // 新增一条补录信息 126 // 新增一条补录信息
129 editDialog(row, del) { 127 editDialog (row, del) {
130 this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { 128 this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
131 confirmButtonText: "确定", 129 confirmButtonText: "确定",
132 cancelButtonText: "取消", 130 cancelButtonText: "取消",
...@@ -134,7 +132,6 @@ export default { ...@@ -134,7 +132,6 @@ export default {
134 }) 132 })
135 .then(() => { 133 .then(() => {
136 this.$parent.addRepairRecord(row, del); 134 this.$parent.addRepairRecord(row, del);
137
138 this.$message({ 135 this.$message({
139 type: "success", 136 type: "success",
140 message: "补录成功!", 137 message: "补录成功!",
...@@ -148,9 +145,9 @@ export default { ...@@ -148,9 +145,9 @@ export default {
148 }); 145 });
149 }, 146 },
150 }, 147 },
151 }; 148 };
152 </script> 149 </script>
153 150
154 <style lang="scss" scoped> 151 <style lang="scss" scoped>
155 @import "./qlxxCommon.scss"; 152 @import "./qlxxCommon.scss";
156 </style> 153 </style>
......
...@@ -8,9 +8,7 @@ ...@@ -8,9 +8,7 @@
8 <el-checkbox 8 <el-checkbox
9 v-for="item in qsztList" 9 v-for="item in qsztList"
10 :key="item.value" 10 :key="item.value"
11 :label="item.value" 11 :label="item.value">{{ item.label }}</el-checkbox>
12 >{{ item.label }}</el-checkbox
13 >
14 </el-checkbox-group> 12 </el-checkbox-group>
15 </div> 13 </div>
16 </div> 14 </div>
...@@ -27,8 +25,8 @@ ...@@ -27,8 +25,8 @@
27 row.qszt == '2' ? 'lishi' : '', 25 row.qszt == '2' ? 'lishi' : '',
28 row.qszt == '0' ? 'linshi' : '', 26 row.qszt == '0' ? 'linshi' : '',
29 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 27 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
30 ]" 28 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
31 > 29 ]">
32 <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> 30 <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'">
33 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 31 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
34 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> 32 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button>
...@@ -36,6 +34,9 @@ ...@@ -36,6 +34,9 @@
36 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 34 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
37 正在办理 35 正在办理
38 </div> 36 </div>
37 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
38 有效
39 </div>
39 <span v-if="item.prop == 'qszt'"> 40 <span v-if="item.prop == 'qszt'">
40 {{ getQsztName(row[item.prop]) }} 41 {{ getQsztName(row[item.prop]) }}
41 </span> 42 </span>
...@@ -51,11 +52,11 @@ ...@@ -51,11 +52,11 @@
51 </template> 52 </template>
52 53
53 <script> 54 <script>
54 import { datas } from "./qlxxFormData.js"; 55 import { datas } from "./qlxxFormData.js";
55 import { getSjlx } from "@/utils/dictionary.js"; 56 import { getSjlx } from "@/utils/dictionary.js";
56 import { getDiyiqList } from "@/api/registerBook.js"; 57 import { getDiyiqList } from "@/api/registerBook.js";
57 export default { 58 export default {
58 data() { 59 data () {
59 return { 60 return {
60 title: "地役权登记信息", 61 title: "地役权登记信息",
61 qsztList: datas.columns().qsztList, 62 qsztList: datas.columns().qsztList,
...@@ -70,11 +71,11 @@ export default { ...@@ -70,11 +71,11 @@ export default {
70 columns: datas.columns().DYIQ, 71 columns: datas.columns().DYIQ,
71 }; 72 };
72 }, 73 },
73 created() { 74 created () {
74 this.loadData(); 75 this.loadData();
75 }, 76 },
76 methods: { 77 methods: {
77 loadData() { 78 loadData () {
78 if (this.$parent.addRepairRecord) { 79 if (this.$parent.addRepairRecord) {
79 this.columns.unshift({ prop: "cz", label: "操作" }); 80 this.columns.unshift({ prop: "cz", label: "操作" });
80 } 81 }
...@@ -97,7 +98,7 @@ export default { ...@@ -97,7 +98,7 @@ export default {
97 } 98 }
98 }); 99 });
99 }, 100 },
100 checkChange() { 101 checkChange () {
101 if (this.checkList.length === 0) { 102 if (this.checkList.length === 0) {
102 this.tableData = []; 103 this.tableData = [];
103 this.emptycolNum = datas.columns().emptycolNum; 104 this.emptycolNum = datas.columns().emptycolNum;
...@@ -105,7 +106,7 @@ export default { ...@@ -105,7 +106,7 @@ export default {
105 this.loadData(); 106 this.loadData();
106 } 107 }
107 }, 108 },
108 getQsztName(code) { 109 getQsztName (code) {
109 let name = ""; 110 let name = "";
110 for (let item of this.qsztList) { 111 for (let item of this.qsztList) {
111 if (item.value == code) { 112 if (item.value == code) {
...@@ -116,7 +117,7 @@ export default { ...@@ -116,7 +117,7 @@ export default {
116 return name; 117 return name;
117 }, 118 },
118 // 新增一条补录信息 119 // 新增一条补录信息
119 editDialog(row, del) { 120 editDialog (row, del) {
120 this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { 121 this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
121 confirmButtonText: "确定", 122 confirmButtonText: "确定",
122 cancelButtonText: "取消", 123 cancelButtonText: "取消",
...@@ -138,9 +139,9 @@ export default { ...@@ -138,9 +139,9 @@ export default {
138 }); 139 });
139 }, 140 },
140 }, 141 },
141 }; 142 };
142 </script> 143 </script>
143 144
144 <style lang="scss" scoped> 145 <style lang="scss" scoped>
145 @import "./qlxxCommon.scss"; 146 @import "./qlxxCommon.scss";
146 </style> 147 </style>
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
11 </div> 11 </div>
12 </template> 12 </template>
13 <script> 13 <script>
14 import { getBdcqljqtsx } from "@/api/registerBook.js"; 14 import { getBdcqljqtsx } from "@/api/registerBook.js";
15 import { loadTreeData, getNode } from "./djbFrameData.js"; 15 import { loadTreeData, getNode } from "./djbFrameData.js";
16 export default { 16 export default {
17 data () { 17 data () {
18 return { 18 return {
19 //接收参数 19 //接收参数
...@@ -65,18 +65,19 @@ export default { ...@@ -65,18 +65,19 @@ export default {
65 this.loadComponent(data.form); 65 this.loadComponent(data.form);
66 }, 66 },
67 loadComponent (form) { 67 loadComponent (form) {
68 console.log(form, 'formformformform');
68 this.componentTag = (r) => 69 this.componentTag = (r) =>
69 require.ensure([], () => r(require("@/views/registerBook/" + form))); 70 require.ensure([], () => r(require("@/views/registerBook/" + form)));
70 }, 71 },
71 }, 72 },
72 }; 73 };
73 </script> 74 </script>
74 <style scoped lang="scss"> 75 <style scoped lang="scss">
75 /deep/.rollTable { 76 /deep/.rollTable {
76 height: calc(100vh - 240px) !important; 77 height: calc(100vh - 240px) !important;
77 } 78 }
78 79
79 .content { 80 .content {
80 width: 100%; 81 width: 100%;
81 height: 100%; 82 height: 100%;
82 display: flex; 83 display: flex;
...@@ -97,31 +98,31 @@ export default { ...@@ -97,31 +98,31 @@ export default {
97 background-color: #f5f5f5; 98 background-color: #f5f5f5;
98 border: 1px solid rgb(228, 228, 228); 99 border: 1px solid rgb(228, 228, 228);
99 } 100 }
100 } 101 }
101 102
102 /deep/ .expanded.el-tree-node__expand-icon, 103 /deep/ .expanded.el-tree-node__expand-icon,
103 /deep/ .el-tree-node__expand-icon { 104 /deep/ .el-tree-node__expand-icon {
104 visibility: hidden; 105 visibility: hidden;
105 } 106 }
106 107
107 /deep/ .el-tree-node__content { 108 /deep/ .el-tree-node__content {
108 border: 1px solid rgb(228, 228, 228); 109 border: 1px solid rgb(228, 228, 228);
109 height: 45px; 110 height: 45px;
110 } 111 }
111 112
112 /deep/ .el-tree-node:focus>.el-tree-node__content { 113 /deep/ .el-tree-node:focus > .el-tree-node__content {
113 background-color: #f5f5f5; 114 background-color: #f5f5f5;
114 color: #0079fe; 115 color: #0079fe;
115 border-right: 4px solid #0079fe; 116 border-right: 4px solid #0079fe;
116 } 117 }
117 118
118 /deep/.el-tree-node { 119 /deep/.el-tree-node {
119 white-space: pre-wrap; 120 white-space: pre-wrap;
120 } 121 }
121 122
122 /deep/ .is-current>.el-tree-node__content { 123 /deep/ .is-current > .el-tree-node__content {
123 background-color: #f5f5f5; 124 background-color: #f5f5f5;
124 color: #0079fe; 125 color: #0079fe;
125 border-right: 4px solid #0079fe; 126 border-right: 4px solid #0079fe;
126 } 127 }
127 </style> 128 </style>
......
...@@ -8,9 +8,7 @@ ...@@ -8,9 +8,7 @@
8 <el-checkbox 8 <el-checkbox
9 v-for="item in qsztList" 9 v-for="item in qsztList"
10 :key="item.value" 10 :key="item.value"
11 :label="item.value" 11 :label="item.value">{{ item.label }}</el-checkbox>
12 >{{ item.label }}</el-checkbox
13 >
14 </el-checkbox-group> 12 </el-checkbox-group>
15 </div> 13 </div>
16 </div> 14 </div>
...@@ -27,25 +25,24 @@ ...@@ -27,25 +25,24 @@
27 row.qszt == '2' ? 'lishi' : '', 25 row.qszt == '2' ? 'lishi' : '',
28 row.qszt == '0' ? 'linshi' : '', 26 row.qszt == '0' ? 'linshi' : '',
29 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 27 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
30 ]" 28 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
31 > 29 ]">
32 <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> 30 <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'">
33 <el-button 31 <el-button
34 type="text" 32 type="text"
35 icon="el-icon-edit-outline" 33 icon="el-icon-edit-outline"
36 @click="editDialog(row)" 34 @click="editDialog(row)">编辑</el-button>
37 >编辑</el-button
38 >
39 <el-button 35 <el-button
40 type="text" 36 type="text"
41 icon="el-icon-edit-outline" 37 icon="el-icon-edit-outline"
42 @click="editDialog(row, 'D')" 38 @click="editDialog(row, 'D')">删除</el-button>
43 >删除</el-button
44 >
45 </div> 39 </div>
46 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 40 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
47 正在办理 41 正在办理
48 </div> 42 </div>
43 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
44 有效
45 </div>
49 <span v-if="item.prop == 'qszt'"> 46 <span v-if="item.prop == 'qszt'">
50 {{ getQsztName(row[item.prop]) }} 47 {{ getQsztName(row[item.prop]) }}
51 </span> 48 </span>
...@@ -61,11 +58,11 @@ ...@@ -61,11 +58,11 @@
61 </template> 58 </template>
62 59
63 <script> 60 <script>
64 import { datas } from "./qlxxFormData.js"; 61 import { datas } from "./qlxxFormData.js";
65 import { getSjlx } from "@/utils/dictionary.js"; 62 import { getSjlx } from "@/utils/dictionary.js";
66 import { getFdcq2List } from "@/api/registerBook.js"; 63 import { getFdcq2List } from "@/api/registerBook.js";
67 export default { 64 export default {
68 data() { 65 data () {
69 return { 66 return {
70 title: "房地产权登记信息(独幢、层、套、间房屋)", 67 title: "房地产权登记信息(独幢、层、套、间房屋)",
71 qsztList: datas.columns().qsztList, 68 qsztList: datas.columns().qsztList,
...@@ -80,11 +77,11 @@ export default { ...@@ -80,11 +77,11 @@ export default {
80 columns: datas.columns().FDCQ2, 77 columns: datas.columns().FDCQ2,
81 }; 78 };
82 }, 79 },
83 created() { 80 created () {
84 this.loadData(); 81 this.loadData();
85 }, 82 },
86 methods: { 83 methods: {
87 loadData() { 84 loadData () {
88 if (this.$parent.addRepairRecord) { 85 if (this.$parent.addRepairRecord) {
89 this.columns.unshift({ prop: "cz", label: "操作" }); 86 this.columns.unshift({ prop: "cz", label: "操作" });
90 } 87 }
...@@ -107,7 +104,7 @@ export default { ...@@ -107,7 +104,7 @@ export default {
107 } 104 }
108 }); 105 });
109 }, 106 },
110 checkChange() { 107 checkChange () {
111 if (this.checkList.length === 0) { 108 if (this.checkList.length === 0) {
112 this.tableData = []; 109 this.tableData = [];
113 this.emptycolNum = datas.columns().emptycolNum; 110 this.emptycolNum = datas.columns().emptycolNum;
...@@ -115,7 +112,7 @@ export default { ...@@ -115,7 +112,7 @@ export default {
115 this.loadData(); 112 this.loadData();
116 } 113 }
117 }, 114 },
118 getQsztName(code) { 115 getQsztName (code) {
119 let name = ""; 116 let name = "";
120 for (let item of this.qsztList) { 117 for (let item of this.qsztList) {
121 if (item.value == code) { 118 if (item.value == code) {
...@@ -126,7 +123,7 @@ export default { ...@@ -126,7 +123,7 @@ export default {
126 return name; 123 return name;
127 }, 124 },
128 // 新增一条补录信息 125 // 新增一条补录信息
129 editDialog(row, del) { 126 editDialog (row, del) {
130 this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { 127 this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
131 confirmButtonText: "确定", 128 confirmButtonText: "确定",
132 cancelButtonText: "取消", 129 cancelButtonText: "取消",
...@@ -143,9 +140,9 @@ export default { ...@@ -143,9 +140,9 @@ export default {
143 }); 140 });
144 }, 141 },
145 }, 142 },
146 }; 143 };
147 </script> 144 </script>
148 145
149 <style lang="scss" scoped> 146 <style lang="scss" scoped>
150 @import "./qlxxCommon.scss"; 147 @import "./qlxxCommon.scss";
151 </style> 148 </style>
......
...@@ -51,10 +51,14 @@ ...@@ -51,10 +51,14 @@
51 row.qszt == '2' ? 'lishi' : '', 51 row.qszt == '2' ? 'lishi' : '',
52 row.qszt == '0' ? 'linshi' : '', 52 row.qszt == '0' ? 'linshi' : '',
53 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 53 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
54 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
54 ]"> 55 ]">
55 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 56 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
56 正在办理 57 正在办理
57 </div> 58 </div>
59 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
60 有效
61 </div>
58 <span v-if="item.prop == 'qszt'"> 62 <span v-if="item.prop == 'qszt'">
59 {{ getQsztName(row[item.prop]) }} 63 {{ getQsztName(row[item.prop]) }}
60 </span> 64 </span>
...@@ -100,9 +104,10 @@ ...@@ -100,9 +104,10 @@
100 }, 104 },
101 methods: { 105 methods: {
102 loadData () { 106 loadData () {
103 if(this.$parent.addRepairRecord){ 107 if (this.$parent.addRepairRecord) {
104 this.columns.unshift({prop:"cz", 108 this.columns.unshift({
105 label:"操作" 109 prop: "cz",
110 label: "操作"
106 }) 111 })
107 } 112 }
108 getNydsyqList({ 113 getNydsyqList({
...@@ -143,13 +148,13 @@ ...@@ -143,13 +148,13 @@
143 return name; 148 return name;
144 }, 149 },
145 // 新增一条补录信息 150 // 新增一条补录信息
146 editDialog(row,del){ 151 editDialog (row, del) {
147 this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { 152 this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', {
148 confirmButtonText: '确定', 153 confirmButtonText: '确定',
149 cancelButtonText: '取消', 154 cancelButtonText: '取消',
150 type: 'warning' 155 type: 'warning'
151 }).then(() => { 156 }).then(() => {
152 this.$parent.addRepairRecord(row,del) 157 this.$parent.addRepairRecord(row, del)
153 158
154 this.$message({ 159 this.$message({
155 type: 'success', 160 type: 'success',
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
19 row.qszt == '2' ? 'lishi' : '', 19 row.qszt == '2' ? 'lishi' : '',
20 row.qszt == '0' ? 'linshi' : '', 20 row.qszt == '0' ? 'linshi' : '',
21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
22 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
22 ]"> 23 ]">
23 <div class="setbut" v-if="item.prop == 'cz'"> 24 <div class="setbut" v-if="item.prop == 'cz'">
24 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 25 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
...@@ -27,6 +28,9 @@ ...@@ -27,6 +28,9 @@
27 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 28 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
28 正在办理 29 正在办理
29 </div> 30 </div>
31 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
32 有效
33 </div>
30 <span v-if="item.prop == 'qszt'"> 34 <span v-if="item.prop == 'qszt'">
31 {{ getQsztName(row[item.prop]) }} 35 {{ getQsztName(row[item.prop]) }}
32 </span> 36 </span>
...@@ -42,9 +46,9 @@ ...@@ -42,9 +46,9 @@
42 </template> 46 </template>
43 47
44 <script> 48 <script>
45 import { getYgdjList } from "@/api/registerBook.js"; 49 import { getYgdjList } from "@/api/registerBook.js";
46 import { datas } from "./qlxxFormData.js"; 50 import { datas } from "./qlxxFormData.js";
47 export default { 51 export default {
48 data () { 52 data () {
49 return { 53 return {
50 title: "预告登记信息", 54 title: "预告登记信息",
...@@ -66,9 +70,10 @@ export default { ...@@ -66,9 +70,10 @@ export default {
66 methods: { 70 methods: {
67 loadData () { 71 loadData () {
68 // 判断是否在登记簿补录调的子页面 72 // 判断是否在登记簿补录调的子页面
69 if(this.$parent.addRepairRecord){ 73 if (this.$parent.addRepairRecord) {
70 this.columns.unshift({prop:"cz", 74 this.columns.unshift({
71 label:"操作" 75 prop: "cz",
76 label: "操作"
72 }) 77 })
73 } 78 }
74 getYgdjList({ 79 getYgdjList({
...@@ -106,13 +111,13 @@ export default { ...@@ -106,13 +111,13 @@ export default {
106 return name; 111 return name;
107 }, 112 },
108 // 新增一条补录信息 113 // 新增一条补录信息
109 editDialog(row,del){ 114 editDialog (row, del) {
110 this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { 115 this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', {
111 confirmButtonText: '确定', 116 confirmButtonText: '确定',
112 cancelButtonText: '取消', 117 cancelButtonText: '取消',
113 type: 'warning' 118 type: 'warning'
114 }).then(() => { 119 }).then(() => {
115 this.$parent.addRepairRecord(row,del) 120 this.$parent.addRepairRecord(row, del)
116 121
117 this.$message({ 122 this.$message({
118 type: 'success', 123 type: 'success',
...@@ -127,9 +132,9 @@ export default { ...@@ -127,9 +132,9 @@ export default {
127 132
128 }, 133 },
129 }, 134 },
130 }; 135 };
131 </script> 136 </script>
132 137
133 <style lang="scss" scoped> 138 <style lang="scss" scoped>
134 @import "./qlxxCommon.scss"; 139 @import "./qlxxCommon.scss";
135 </style> 140 </style>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
19 row.qszt == '2' ? 'lishi' : '', 19 row.qszt == '2' ? 'lishi' : '',
20 row.qszt == '0' ? 'linshi' : '', 20 row.qszt == '0' ? 'linshi' : '',
21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 21 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
22 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
22 ]"> 23 ]">
23 <div class="setbut" v-if="item.prop == 'cz'"> 24 <div class="setbut" v-if="item.prop == 'cz'">
24 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> 25 <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
...@@ -27,6 +28,9 @@ ...@@ -27,6 +28,9 @@
27 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 28 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
28 正在办理 29 正在办理
29 </div> 30 </div>
31 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
32 有效
33 </div>
30 <span v-if="item.prop == 'qszt'"> 34 <span v-if="item.prop == 'qszt'">
31 {{ getQsztName(row[item.prop]) }} 35 {{ getQsztName(row[item.prop]) }}
32 </span> 36 </span>
...@@ -42,9 +46,9 @@ ...@@ -42,9 +46,9 @@
42 </template> 46 </template>
43 47
44 <script> 48 <script>
45 import { getYydjList } from "@/api/registerBook.js"; 49 import { getYydjList } from "@/api/registerBook.js";
46 import { datas } from "./qlxxFormData.js"; 50 import { datas } from "./qlxxFormData.js";
47 export default { 51 export default {
48 data () { 52 data () {
49 return { 53 return {
50 title: "异议登记信息", 54 title: "异议登记信息",
...@@ -65,9 +69,10 @@ export default { ...@@ -65,9 +69,10 @@ export default {
65 }, 69 },
66 methods: { 70 methods: {
67 loadData () { 71 loadData () {
68 if(this.$parent.addRepairRecord){ 72 if (this.$parent.addRepairRecord) {
69 this.columns.unshift({prop:"cz", 73 this.columns.unshift({
70 label:"操作" 74 prop: "cz",
75 label: "操作"
71 }) 76 })
72 } 77 }
73 getYydjList({ 78 getYydjList({
...@@ -105,13 +110,13 @@ export default { ...@@ -105,13 +110,13 @@ export default {
105 return name; 110 return name;
106 }, 111 },
107 // 新增一条补录信息 112 // 新增一条补录信息
108 editDialog(row,del){ 113 editDialog (row, del) {
109 this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { 114 this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', {
110 confirmButtonText: '确定', 115 confirmButtonText: '确定',
111 cancelButtonText: '取消', 116 cancelButtonText: '取消',
112 type: 'warning' 117 type: 'warning'
113 }).then(() => { 118 }).then(() => {
114 this.$parent.addRepairRecord(row,del) 119 this.$parent.addRepairRecord(row, del)
115 120
116 this.$message({ 121 this.$message({
117 type: 'success', 122 type: 'success',
...@@ -126,9 +131,9 @@ export default { ...@@ -126,9 +131,9 @@ export default {
126 131
127 }, 132 },
128 }, 133 },
129 }; 134 };
130 </script> 135 </script>
131 136
132 <style lang="scss" scoped> 137 <style lang="scss" scoped>
133 @import "./qlxxCommon.scss"; 138 @import "./qlxxCommon.scss";
134 </style> 139 </style>
......
...@@ -59,16 +59,16 @@ ...@@ -59,16 +59,16 @@
59 <el-table-column label="序号" header-align="center" align="center" type="index" width="55px" /> 59 <el-table-column label="序号" header-align="center" align="center" type="index" width="55px" />
60 <el-table-column label="流程状态" header-align="center" align="center"> 60 <el-table-column label="流程状态" header-align="center" align="center">
61 <template slot-scope="scope"> 61 <template slot-scope="scope">
62 <div v-if="scope.row.finishTime == null">正在办理</div> 62 <div v-if="scope.row.endTime">已完结</div>
63 <div v-else>已完结</div> 63 <div v-else>正在办理</div>
64 </template> 64 </template>
65 </el-table-column> 65 </el-table-column>
66 <el-table-column label="环节名称" prop="name" minWidth="100" align="center" /> 66 <el-table-column label="环节名称" prop="name" minWidth="100" align="center" />
67 <el-table-column label="办理人" prop="agent" minWidth="120" align="center" /> 67 <el-table-column label="办理人" prop="agent" minWidth="120" align="center" />
68 <el-table-column label="处理时间" prop="createTime" width="160" align="center" /> 68 <el-table-column label="创建时间" prop="createTime" width="160" align="center" />
69 <el-table-column label="办结时间" prop="finishTime" width="160" align="center" /> 69 <el-table-column label="办结时间" prop="endTime" width="160" align="center" />
70 <el-table-column label="操作方式" align="center"> 70 <el-table-column label="操作方式" prop="businessName" align="center"/>
71 </el-table-column> 71 <el-table-column label="意见" prop="idea" align="center"/>
72 </el-table> 72 </el-table>
73 </div> 73 </div>
74 </div> 74 </div>
...@@ -237,13 +237,31 @@ ...@@ -237,13 +237,31 @@
237 // 获取流程记录 237 // 获取流程记录
238 getCommentList() { 238 getCommentList() {
239 this.formData.allCommentList.forEach(async (item,index) => { 239 this.formData.allCommentList.forEach(async (item,index) => {
240 item.comments.forEach(element => {
241 if(element.type=="COMPLETE"){
242 this.formData.allCommentList[index].idea=element.message
243 }
244 });
240 this.formData.allCommentList[index].agent=item.assignee.name 245 this.formData.allCommentList[index].agent=item.assignee.name
241 }) 246 })
242 setTimeout(() => { 247 this.formData.handlinglist.forEach(async (item,index) => {
243 this.taskList =this.formData.allCommentList; 248 if(item.assignee.name){
249 this.formData.handlinglist[index].agent=item.assignee.name
250 }else{
251 let str=""
252 item.countersign.forEach((item) => {
253 str+=item.name+","
254 })
255 str=str.slice(0, -1);
256 this.formData.allCommentList[index].agent=str
257 }
258
259 })
260 this.taskList =[...this.formData.allCommentList,...this.formData.handlinglist];
261 // this.taskList =this.formData.allCommentList;
244 // 处理数据之后赋值 262 // 处理数据之后赋值
245 this.taskCommentList=this.taskList 263 this.taskCommentList=this.taskList
246 }, 100) 264
247 }, 265 },
248 266
249 // 设置流程图元素状态 267 // 设置流程图元素状态
......
...@@ -76,6 +76,7 @@ export default { ...@@ -76,6 +76,7 @@ export default {
76 rejectedTaskSet: {}, 76 rejectedTaskSet: {},
77 finishedSequenceFlowSet: result.finishedSequenceFlowIds 77 finishedSequenceFlowSet: result.finishedSequenceFlowIds
78 }, 78 },
79 handlinglist:result.runningTasks,
79 allCommentList: result.finishedTasks 80 allCommentList: result.finishedTasks
80 }, '80%', true) 81 }, '80%', true)
81 }) 82 })
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:41 4 * @LastEditTime: 2023-06-30 17:09:35
5 --> 5 -->
6 <template> 6 <template>
7 <div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }" 7 <div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }"
...@@ -28,10 +28,14 @@ ...@@ -28,10 +28,14 @@
28 row.qszt == '2' ? 'lishi' : '', 28 row.qszt == '2' ? 'lishi' : '',
29 row.qszt == '0' ? 'linshi' : '', 29 row.qszt == '0' ? 'linshi' : '',
30 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', 30 item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '',
31 item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '',
31 ]"> 32 ]">
32 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> 33 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'">
33 正在办理 34 正在办理
34 </div> 35 </div>
36 <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'">
37 有效
38 </div>
35 <span v-if="item.prop == 'qszt'"> 39 <span v-if="item.prop == 'qszt'">
36 {{ getQsztName(row[item.prop]) }} 40 {{ getQsztName(row[item.prop]) }}
37 </span> 41 </span>
......