41884e83 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 1713973e 4b49a592
1 /* 1 /*
2 * @Description: 企业银行接口 2 * @Description: 企业银行接口
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-11 10:19:36 4 * @LastEditTime: 2023-09-12 08:35:25
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
...@@ -80,4 +80,21 @@ export function deleteFile (bsmFile) { ...@@ -80,4 +80,21 @@ export function deleteFile (bsmFile) {
80 bsmFile: bsmFile 80 bsmFile: bsmFile
81 } 81 }
82 }) 82 })
83 }
84
85 /**
86 * @description: 移动
87 * @param {*} bsmFile
88 * @param {*} direction
89 * @author: renchao
90 */
91 export function move (bsmFile, direction) {
92 return request({
93 url: SERVER.SERVERAPI + '/rest/sys/company/move',
94 method: 'get',
95 params: {
96 bsmFile: bsmFile,
97 direction: direction
98 }
99 })
83 } 100 }
...\ No newline at end of file ...\ No newline at end of file
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:01 4 * @LastEditTime: 2023-09-12 13:26:13
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
8 <!-- 表单部分 -->
9 <div class="from-clues-header"> 8 <div class="from-clues-header">
10 <el-form ref="queryForm" label-width="180px" v-if="this.formData.obj"> 9 <el-form ref="queryForm" label-width="180px" v-if="this.formData.obj">
11 <el-form-item label="下一环节名称:"> 10 <el-form-item label="下一环节名称:">
...@@ -21,139 +20,136 @@ ...@@ -21,139 +20,136 @@
21 </el-form-item> 20 </el-form-item>
22 </el-form> 21 </el-form>
23 <div v-if="this.formData.showidea"> 22 <div v-if="this.formData.showidea">
24 <div class="invalid-reson">审批意见:</div> 23 <div class="invalid-reson">审批意见:</div>
25 <el-input 24 <el-input
26 class="opinion" 25 class="opinion"
27 v-model="shyj" 26 v-model="shyj"
28 placeholder="请输入审批意见" 27 placeholder="请输入审批意见"
29 type="textarea" 28 type="textarea"
30 :rows="4" 29 :rows="4"></el-input>
31 ></el-input> 30 </div>
31 <div style="text-align:center">
32 <el-button @click="cancelBack">取消转出</el-button>
33 <el-button type="primary" @click="submitForm">确定转出</el-button>
32 </div> 34 </div>
33
34 <!-- <el-button class="opinion_btn" @click="commonOpinion">常用意见</el-button> -->
35 <el-button style="float: right" @click="cancelBack">取消转出</el-button>
36 <el-button type="primary" @click="submitForm" style="float: right"
37 >确定转出</el-button
38 >
39 </div> 35 </div>
40 </div> 36 </div>
41 </template> 37 </template>
42 38
43 <script> 39 <script>
44 import { completeTask, getNextLinkInfo } from "@/api/workFlow.js"; 40 import { completeTask, getNextLinkInfo } from "@/api/workFlow.js";
45 import { popupCacel } from "@/utils/popup.js"; 41 import { popupCacel } from "@/utils/popup.js";
46 import { mapGetters } from "vuex"; 42 import { mapGetters } from "vuex";
47 export default { 43 export default {
48 computed: { 44 computed: {
49 }, 45 },
50 props: { 46 props: {
51 formData: { 47 formData: {
52 type: Object, 48 type: Object,
53 default: {}, 49 default: {},
50 },
54 }, 51 },
55 },
56 52
57 data() { 53 data () {
58 return { 54 return {
59 queryForm: {}, 55 queryForm: {},
60 shyj: "", 56 shyj: "",
61 }; 57 };
62 }, 58 },
63 59
64 watch: { 60 watch: {
65 yjsqOptions: { 61 yjsqOptions: {
66 handler(val) { 62 handler (val) {
67 this.add(val.opinion); 63 this.add(val.opinion);
64 },
65 deep: true,
66 immediate: true,
68 }, 67 },
69 deep: true,
70 immediate: true,
71 }, 68 },
72 }, 69 mounted () {
73 mounted() { 70 // this.queryForm= this.queryForm.obj
74 // this.queryForm= this.queryForm.obj
75 },
76 methods: {
77 /**
78 * @description: submitForm
79 * @author: renchao
80 */
81 commonOpinion() {
82 this.$popup('常用意见',"workflow/components/dialog/commonOpinion",{
83 title:"常用意见",
84 width: '75%', // 初始化75% 不需要改的话 可以直接不要
85 formData:{}, // 父组件传给子组件的参数
86 cancel: function () {}, //取消事件的回调 没有按钮可以不需要
87 confirm: function () {} //确认事件的回调 没有按钮可以不需要
88 })
89 }, 71 },
90 submitForm() { 72 methods: {
91 this.queryForm = { 73 /**
92 bsmSlsq: this.formData.bsmSlsq, 74 * @description: submitForm
93 shyj: this.shyj, 75 * @author: renchao
94 stepform: JSON.stringify(this.formData.tabList), 76 */
95 }; 77 commonOpinion () {
96 completeTask(this.queryForm).then((res) => { 78 this.$popup('常用意见', "workflow/components/dialog/commonOpinion", {
97 if (res.code === 200) { 79 title: "常用意见",
98 this.$message.success("转件成功"); 80 width: '75%', // 初始化75% 不需要改的话 可以直接不要
99 // setTimeout(() => { 81 formData: {}, // 父组件传给子组件的参数
100 // window.opener = null; 82 cancel: function () { }, //取消事件的回调 没有按钮可以不需要
101 // window.open("about:blank", "_self"); 83 confirm: function () { } //确认事件的回调 没有按钮可以不需要
102 // window.close(); 84 })
103 // this.$emit("input", false); 85 },
104 // }, 1000); 86 submitForm () {
105 popupCacel(); 87 this.queryForm = {
106 setTimeout(() => { 88 bsmSlsq: this.formData.bsmSlsq,
107 // window.opener.location.reload(); //刷新父窗口 89 shyj: this.shyj,
108 if (window.opener && window.opener.getBpageList) { 90 stepform: JSON.stringify(this.formData.tabList),
109 window.opener.getBpageList(); 91 };
110 } else { 92 completeTask(this.queryForm).then((res) => {
111 window.opener.frames[0].getBpageList(); 93 if (res.code === 200) {
112 } 94 this.$message.success("转件成功");
113 window.close(); 95 // setTimeout(() => {
114 this.$emit("input", false); 96 // window.opener = null;
115 }, 1000); 97 // window.open("about:blank", "_self");
116 } else { 98 // window.close();
117 this.$message.error(res.message); 99 // this.$emit("input", false);
100 // }, 1000);
101 popupCacel();
102 setTimeout(() => {
103 // window.opener.location.reload(); //刷新父窗口
104 if (window.opener && window.opener.getBpageList) {
105 window.opener.getBpageList();
106 } else {
107 window.opener.frames[0].getBpageList();
108 }
109 window.close();
110 this.$emit("input", false);
111 }, 1000);
112 } else {
113 this.$message.error(res.message);
114 }
115 });
116 },
117 /**
118 * @description: add
119 * @param {*} val
120 * @author: renchao
121 */
122 add (val) {
123 if (val != "") {
124 this.shyj;
118 } 125 }
119 }); 126 },
120 },
121 /**
122 * @description: add
123 * @param {*} val
124 * @author: renchao
125 */
126 add(val) {
127 if (val != "") {
128 this.shyj;
129 }
130 },
131 127
132 /** 128 /**
133 * @description: closeDialog 129 * @description: closeDialog
134 * @author: renchao 130 * @author: renchao
135 */ 131 */
136 cancelBack() { 132 cancelBack () {
137 popupCacel(); 133 popupCacel();
134 },
138 }, 135 },
139 }, 136 };
140 };
141 </script> 137 </script>
142 <style scoped lang="scss"> 138 <style scoped lang="scss">
143 @import "~@/styles/mixin.scss"; 139 @import "~@/styles/mixin.scss";
144 .el-button { 140 .el-button {
145 margin-top: 20px; 141 margin-top: 20px;
146 margin-right: 10px; 142 margin-right: 10px;
147 } 143 }
148 144
149 .opinion { 145 .opinion {
150 position: relative; 146 position: relative;
151 font-size: 14px; 147 font-size: 14px;
152 } 148 }
153 149
154 .opinion_btn { 150 .opinion_btn {
155 position: absolute; 151 position: absolute;
156 right: 35px; 152 right: 35px;
157 bottom: 80px; 153 bottom: 80px;
158 } 154 }
159 </style> 155 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-22 16:27:42 4 * @LastEditTime: 2023-09-11 16:37:36
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
142 <el-form-item label="分摊土地面积:"> 142 <el-form-item label="分摊土地面积:">
143 <div class="flex"> 143 <div class="flex">
144 <el-input 144 <el-input
145 maxlength="12" 145 maxlength="12"
146 v-model="ruleForm.fdcq2.fttdmj" 146 v-model="ruleForm.fdcq2.fttdmj"
147 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 147 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
148 <el-select disabled v-model="mjdw" style="width: 68px"> 148 <el-select disabled v-model="mjdw" style="width: 68px">
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
173 <el-form-item label="房地产交易价格:"> 173 <el-form-item label="房地产交易价格:">
174 <div class="flex"> 174 <div class="flex">
175 <el-input 175 <el-input
176 maxlength="11" 176 maxlength="11"
177 v-model="ruleForm.fdcq2.qjjg" 177 v-model="ruleForm.fdcq2.qjjg"
178 style="width: 500%" 178 style="width: 500%"
179 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 179 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
...@@ -256,14 +256,14 @@ ...@@ -256,14 +256,14 @@
256 </el-col> 256 </el-col>
257 <el-col :span="8"> 257 <el-col :span="8">
258 <el-form-item label="总层数:"> 258 <el-form-item label="总层数:">
259 <el-input maxlength="4" v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input> 259 <el-input maxlength="4" v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
260 </el-form-item> 260 </el-form-item>
261 </el-col> 261 </el-col>
262 <el-col :span="8"> 262 <el-col :span="8">
263 <el-form-item label="建筑面积:"> 263 <el-form-item label="建筑面积:">
264 <div class="flex"> 264 <div class="flex">
265 <el-input 265 <el-input
266 maxlength="12" 266 maxlength="12"
267 v-model="ruleForm.fdcq2.jzmj" 267 v-model="ruleForm.fdcq2.jzmj"
268 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 268 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
269 <el-select disabled v-model="mjdw" style="width: 68px"> 269 <el-select disabled v-model="mjdw" style="width: 68px">
...@@ -493,7 +493,6 @@ ...@@ -493,7 +493,6 @@
493 this.ruleForm.qlxx.ssywh = val.ywh; 493 this.ruleForm.qlxx.ssywh = val.ywh;
494 this.ssQlxxchangediolog(val); 494 this.ssQlxxchangediolog(val);
495 }, 495 },
496 // 弹框事件
497 /** 496 /**
498 * @description: 弹框事件 497 * @description: 弹框事件
499 * @param {*} val 498 * @param {*} val
...@@ -598,7 +597,6 @@ ...@@ -598,7 +597,6 @@
598 } 597 }
599 }); 598 });
600 }, 599 },
601 // 更新土地用途信息
602 /** 600 /**
603 * @description: 更新土地用途信息 601 * @description: 更新土地用途信息
604 * @param {*} val 602 * @param {*} val
...@@ -608,16 +606,16 @@ ...@@ -608,16 +606,16 @@
608 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 606 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
609 this.key++; 607 this.key++;
610 }, 608 },
611 // 更新权利人信息
612 /** 609 /**
613 * @description: 更新权利人信息 610 * @description: 更新权利人信息
614 * @param {*} val 611 * @param {*} val
615 * @author: renchao 612 * @author: renchao
616 */ 613 */
617 upDateQlrxxList (val) { 614 upDateQlrxxList (val) {
618 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 615 if (!_.isEqual(val, this.ruleForm.qlrData)) {
619 this.czrOptions = this.ruleForm.qlrData; 616 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
620 this.key++; 617 this.czrOptions = this.ruleForm.qlrData;
618 }
621 }, 619 },
622 // 更新义务人信息 620 // 更新义务人信息
623 /** 621 /**
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <el-form 9 <el-form
10 :model="ruleForm" 10 :model="ruleForm"
11 :rules="rules" 11 :rules="rules"
12 v-Loading="loading" 12 v-Loading="loading"
13 ref="ruleForm" 13 ref="ruleForm"
14 :label-position="flag ? 'top' : ''" 14 :label-position="flag ? 'top' : ''"
15 :inline="flag" 15 :inline="flag"
...@@ -517,16 +517,19 @@ ...@@ -517,16 +517,19 @@
517 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 517 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
518 this.key++; 518 this.key++;
519 }, 519 },
520 // 更新权利人信息
521 /** 520 /**
522 * @description: 更新权利人信息 521 * @description: 更新权利人信息
523 * @param {*} val 522 * @param {*} val
524 * @author: renchao 523 * @author: renchao
525 */ 524 */
526 upDateQlrxxList (val) { 525 upDateQlrxxList (val) {
527 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 526 if (!_.isEqual(val, this.ruleForm.qlrData)) {
528 this.czrOptions = this.ruleForm.qlrData; 527 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
529 this.key++; 528 this.czrOptions = this.ruleForm.qlrData;
529 }
530 if (this.ruleForm.qlrData.length == 0) {
531 this.czr = ''
532 }
530 }, 533 },
531 // 保存 534 // 保存
532 /** 535 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-22 16:27:48 4 * @LastEditTime: 2023-09-11 16:38:51
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
167 <el-form-item label="农用地面积:"> 167 <el-form-item label="农用地面积:">
168 <div class="flex"> 168 <div class="flex">
169 <el-input 169 <el-input
170 maxlength="12" 170 maxlength="12"
171 v-model="ruleForm.tdsyq.nydmj" 171 v-model="ruleForm.tdsyq.nydmj"
172 :disabled="!ableOperation" 172 :disabled="!ableOperation"
173 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 173 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
189 <el-form-item label="耕地面积:"> 189 <el-form-item label="耕地面积:">
190 <div class="flex"> 190 <div class="flex">
191 <el-input 191 <el-input
192 maxlength="12" 192 maxlength="12"
193 v-model="ruleForm.tdsyq.gdmj" 193 v-model="ruleForm.tdsyq.gdmj"
194 :disabled="!ableOperation" 194 :disabled="!ableOperation"
195 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 195 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
211 <el-form-item label="林地面积:"> 211 <el-form-item label="林地面积:">
212 <div class="flex"> 212 <div class="flex">
213 <el-input 213 <el-input
214 maxlength="12" 214 maxlength="12"
215 v-model="ruleForm.tdsyq.ldmj" 215 v-model="ruleForm.tdsyq.ldmj"
216 :disabled="!ableOperation" 216 :disabled="!ableOperation"
217 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 217 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
235 <el-form-item label="草地面积:"> 235 <el-form-item label="草地面积:">
236 <div class="flex"> 236 <div class="flex">
237 <el-input 237 <el-input
238 maxlength="12" 238 maxlength="12"
239 v-model="ruleForm.tdsyq.cdmj" 239 v-model="ruleForm.tdsyq.cdmj"
240 :disabled="!ableOperation" 240 :disabled="!ableOperation"
241 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 241 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
257 <el-form-item label="其他农用地面积:"> 257 <el-form-item label="其他农用地面积:">
258 <div class="flex"> 258 <div class="flex">
259 <el-input 259 <el-input
260 maxlength="12" 260 maxlength="12"
261 v-model="ruleForm.tdsyq.qtnydmj" 261 v-model="ruleForm.tdsyq.qtnydmj"
262 :disabled="!ableOperation" 262 :disabled="!ableOperation"
263 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 263 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
279 <el-form-item label="建筑使用面积:"> 279 <el-form-item label="建筑使用面积:">
280 <div class="flex"> 280 <div class="flex">
281 <el-input 281 <el-input
282 maxlength="12" 282 maxlength="12"
283 v-model="ruleForm.tdsyq.jsydmj" 283 v-model="ruleForm.tdsyq.jsydmj"
284 :disabled="!ableOperation" 284 :disabled="!ableOperation"
285 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 285 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
...@@ -303,7 +303,7 @@ ...@@ -303,7 +303,7 @@
303 <el-form-item label="未利用地面积:"> 303 <el-form-item label="未利用地面积:">
304 <div class="flex"> 304 <div class="flex">
305 <el-input 305 <el-input
306 maxlength="12" 306 maxlength="12"
307 v-model="ruleForm.tdsyq.wlydmj" 307 v-model="ruleForm.tdsyq.wlydmj"
308 :disabled="!ableOperation" 308 :disabled="!ableOperation"
309 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 309 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
...@@ -629,16 +629,16 @@ ...@@ -629,16 +629,16 @@
629 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 629 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
630 this.key++; 630 this.key++;
631 }, 631 },
632 // 更新权利人信息
633 /** 632 /**
634 * @description: 更新权利人信息 633 * @description: 更新权利人信息
635 * @param {*} val 634 * @param {*} val
636 * @author: renchao 635 * @author: renchao
637 */ 636 */
638 upDateQlrxxList (val) { 637 upDateQlrxxList (val) {
639 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 638 if (!_.isEqual(val, this.ruleForm.qlrData)) {
640 this.czrOptions = this.ruleForm.qlrData; 639 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
641 this.key++; 640 this.czrOptions = this.ruleForm.qlrData;
641 }
642 }, 642 },
643 /** 643 /**
644 * @description: onSubmit 644 * @description: onSubmit
......
...@@ -51,6 +51,25 @@ ...@@ -51,6 +51,25 @@
51 </el-col> 51 </el-col>
52 </el-row> 52 </el-row>
53 <el-row> 53 <el-row>
54 <el-col :span="12">
55 <el-form-item label="接口类型:" prop="requestType">
56 <el-input v-model="ruleForm.requestType"></el-input>
57 </el-form-item>
58 </el-col>
59 <el-col :span="12">
60 <el-form-item label="接口模块:" prop="requestModule">
61 <el-input v-model="ruleForm.requestModule"></el-input>
62 </el-form-item>
63 </el-col>
64 </el-row>
65 <el-row>
66 <el-col :span="24">
67 <el-form-item label="接口参数:" prop="requestParams">
68 <el-input v-model="ruleForm.requestParams" type="textarea" :rows="4"></el-input>
69 </el-form-item>
70 </el-col>
71 </el-row>
72 <el-row>
54 <el-col :span="24"> 73 <el-col :span="24">
55 <el-form-item label="接口描述:" prop="interfaceDescription"> 74 <el-form-item label="接口描述:" prop="interfaceDescription">
56 <el-input v-model="ruleForm.interfaceDescription" type="textarea" :rows="4"></el-input> 75 <el-input v-model="ruleForm.interfaceDescription" type="textarea" :rows="4"></el-input>
...@@ -91,6 +110,9 @@ ...@@ -91,6 +110,9 @@
91 interfaceMethod: '', 110 interfaceMethod: '',
92 interfaceType: '', 111 interfaceType: '',
93 interfaceKey: '', 112 interfaceKey: '',
113 requestParams: '',
114 requestType: '',
115 requestModule: '',
94 }, 116 },
95 rules: { 117 rules: {
96 interfaceCode: [ 118 interfaceCode: [
......
...@@ -45,6 +45,11 @@ ...@@ -45,6 +45,11 @@
45 }) 45 })
46 }, 46 },
47 methods: { 47 methods: {
48 /**
49 * @description: handleSelectBdcdyh
50 * @param {*} val
51 * @author: renchao
52 */
48 handleSelectBdcdyh (val) { 53 handleSelectBdcdyh (val) {
49 this.$emit('getBdcdyh', val); 54 this.$emit('getBdcdyh', val);
50 } 55 }
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
4 * @LastEditors: yangwei 4 * @LastEditors: yangwei
5 * @LastEditTime: 2023-09-07 09:03:14 5 * @LastEditTime: 2023-09-07 09:03:14
6 * @FilePath: \bdcdj-web\src\views\sjgx\gbmhlgxsjgx\components\zbbjbxxcx.vue 6 * @FilePath: \bdcdj-web\src\views\sjgx\gbmhlgxsjgx\components\zbbjbxxcx.vue
7 * @Description: 7 * @Description:
8 * 8 *
9 * Copyright (c) 2023 by yangwei, All Rights Reserved. 9 * Copyright (c) 2023 by yangwei, All Rights Reserved.
10 --> 10 -->
11 <template> 11 <template>
12 <div class="check-result"> 12 <div class="check-result">
...@@ -222,6 +222,10 @@ export default { ...@@ -222,6 +222,10 @@ export default {
222 }, 222 },
223 mounted() {}, 223 mounted() {},
224 methods: { 224 methods: {
225 /**
226 * @description: handleSearch
227 * @author: renchao
228 */
225 handleSearch() { 229 handleSearch() {
226 xydm(this.queryForm).then((res) => { 230 xydm(this.queryForm).then((res) => {
227 if (res.status == "OK") { 231 if (res.status == "OK") {
......
...@@ -116,6 +116,11 @@ ...@@ -116,6 +116,11 @@
116 this.$store.dispatch("user/refreshPage", false); 116 this.$store.dispatch("user/refreshPage", false);
117 }, 117 },
118 //删除 118 //删除
119 /**
120 * @description: 删除
121 * @param {*} item
122 * @author: renchao
123 */
119 delNotice (item) { 124 delNotice (item) {
120 this.$confirm('是否确定删除', '提示', { 125 this.$confirm('是否确定删除', '提示', {
121 confirmButtonText: '确定', 126 confirmButtonText: '确定',
...@@ -138,6 +143,11 @@ ...@@ -138,6 +143,11 @@
138 }); 143 });
139 }, 144 },
140 //发布 145 //发布
146 /**
147 * @description: 发布
148 * @param {*} item
149 * @author: renchao
150 */
141 toPublish (item) { 151 toPublish (item) {
142 this.$confirm('是否确定发布', '提示', { 152 this.$confirm('是否确定发布', '提示', {
143 confirmButtonText: '确定', 153 confirmButtonText: '确定',
...@@ -160,10 +170,19 @@ ...@@ -160,10 +170,19 @@
160 }); 170 });
161 }); 171 });
162 }, 172 },
173 /**
174 * @description: postMessage
175 * @author: renchao
176 */
163 postMessage () { 177 postMessage () {
164 window.parent.postMessage({ update: true }, '*') 178 window.parent.postMessage({ update: true }, '*')
165 }, 179 },
166 //取消发布 180 //取消发布
181 /**
182 * @description: 取消发布
183 * @param {*} item
184 * @author: renchao
185 */
167 toUnPublish (item) { 186 toUnPublish (item) {
168 this.$confirm('是否确定取消发布', '提示', { 187 this.$confirm('是否确定取消发布', '提示', {
169 confirmButtonText: '确定', 188 confirmButtonText: '确定',
...@@ -187,9 +206,19 @@ ...@@ -187,9 +206,19 @@
187 }); 206 });
188 }, 207 },
189 //编辑通知 208 //编辑通知
209 /**
210 * @description: 编辑通知
211 * @param {*} item
212 * @author: renchao
213 */
190 editNotice (item) { 214 editNotice (item) {
191 this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": true, "edit": true }, "50%") 215 this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": true, "edit": true }, "50%")
192 }, 216 },
217 /**
218 * @description: downloadFile
219 * @param {*} item
220 * @author: renchao
221 */
193 downloadFile (item) { 222 downloadFile (item) {
194 const href = item.noticeFileUrl 223 const href = item.noticeFileUrl
195 window.open(href, '_blank'); 224 window.open(href, '_blank');
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-11 16:12:27 4 * @LastEditTime: 2023-09-12 08:55:14
5 --> 5 -->
6 <template> 6 <template>
7 <dialogBox 7 <dialogBox
...@@ -422,6 +422,9 @@ ...@@ -422,6 +422,9 @@
422 watch: { 422 watch: {
423 value (val) { 423 value (val) {
424 this.myValue = _.cloneDeep(val) 424 this.myValue = _.cloneDeep(val)
425 if (val && Object.keys(this.details).length > 0) {
426 this.activeName = '1'
427 }
425 this.isShow = this.showButton 428 this.isShow = this.showButton
426 }, 429 },
427 details: { 430 details: {
...@@ -432,7 +435,11 @@ ...@@ -432,7 +435,11 @@
432 } 435 }
433 }, 436 },
434 methods: { 437 methods: {
435 // 证件种类选择 438 /**
439 * @description: 证件种类选择
440 * @param {*} val
441 * @author: renchao
442 */
436 handleZjzl (val) { 443 handleZjzl (val) {
437 if (['6', '7', '8'].includes(val)) { 444 if (['6', '7', '8'].includes(val)) {
438 this.isBz = true 445 this.isBz = true
...@@ -440,14 +447,16 @@ ...@@ -440,14 +447,16 @@
440 this.isBz = false 447 this.isBz = false
441 } 448 }
442 }, 449 },
443 // 信息备案 450 /**
451 * @description: 信息备案
452 * @author: renchao
453 */
444 handleFilings () { 454 handleFilings () {
445 this.ruleForm.qymc = this.ruleForm.sqrmc 455 this.ruleForm.qymc = this.ruleForm.sqrmc
446 this.ruleForm.dwdz = this.ruleForm.txdz 456 this.ruleForm.dwdz = this.ruleForm.txdz
447 addQy(this.ruleForm).then(res => { 457 addQy(this.ruleForm).then(res => {
448 if (res.code == 200) { 458 if (res.code == 200) {
449 this.$message.success('备案成功') 459 this.$message.success('备案成功')
450 this.$refs['ruleForm'].resetFields();
451 } else { 460 } else {
452 this.$message.error(res.message); 461 this.$message.error(res.message);
453 } 462 }
...@@ -474,6 +483,8 @@ ...@@ -474,6 +483,8 @@
474 }, 483 },
475 /** 484 /**
476 * @description:企业查询 485 * @description:企业查询
486 * @param {*} val
487 * @param {*} code
477 * @author: renchao 488 * @author: renchao
478 */ 489 */
479 dicStatus (val, code) { 490 dicStatus (val, code) {
...@@ -488,6 +499,10 @@ ...@@ -488,6 +499,10 @@
488 return name 499 return name
489 } 500 }
490 }, 501 },
502 /**
503 * @description: handleSearchQY
504 * @author: renchao
505 */
491 handleSearchQY () { 506 handleSearchQY () {
492 let data = { ...this.queryFormQY, ...this.pageData } 507 let data = { ...this.queryFormQY, ...this.pageData }
493 this.tableDataQy.data = [] 508 this.tableDataQy.data = []
...@@ -504,15 +519,29 @@ ...@@ -504,15 +519,29 @@
504 } 519 }
505 }) 520 })
506 }, 521 },
522 /**
523 * @description: handleQYCurrentChange
524 * @param {*} val
525 * @author: renchao
526 */
507 handleQYCurrentChange (val) { 527 handleQYCurrentChange (val) {
508 this.pageData.currentPage = val 528 this.pageData.currentPage = val
509 this.handleSearchQY() 529 this.handleSearchQY()
510 }, 530 },
531 /**
532 * @description: handlesQYSelect
533 * @param {*} val
534 * @author: renchao
535 */
511 handlesQYSelect (val) { 536 handlesQYSelect (val) {
512 this.$emit("updateDetail", _.cloneDeep(val)); 537 this.$emit("updateDetail", _.cloneDeep(val));
513 this.$emit("input", false); 538 this.$emit("input", false);
514 }, 539 },
515 // 银行 540 // 银行
541 /**
542 * @description: 银行
543 * @author: renchao
544 */
516 handleSearchYH () { 545 handleSearchYH () {
517 let data = { ...this.queryFormYH, ...this.pageData } 546 let data = { ...this.queryFormYH, ...this.pageData }
518 this.tableDataYh.data = [] 547 this.tableDataYh.data = []
...@@ -529,10 +558,20 @@ ...@@ -529,10 +558,20 @@
529 } 558 }
530 }) 559 })
531 }, 560 },
561 /**
562 * @description: handleYHCurrentChange
563 * @param {*} val
564 * @author: renchao
565 */
532 handleYHCurrentChange (val) { 566 handleYHCurrentChange (val) {
533 this.pageData.currentPage = val 567 this.pageData.currentPage = val
534 this.handleSearchQY() 568 this.handleSearchQY()
535 }, 569 },
570 /**
571 * @description: handlesYHSelect
572 * @param {*} val
573 * @author: renchao
574 */
536 handlesYHSelect (val) { 575 handlesYHSelect (val) {
537 this.$emit("updateDetail", _.cloneDeep(val)); 576 this.$emit("updateDetail", _.cloneDeep(val));
538 this.$emit("input", false); 577 this.$emit("input", false);
......
1 <!-- 1 <!--
2 * @Description: workFrame左侧菜单列表-普通 2 * @Description: workFrame左侧菜单列表-普通
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-30 13:59:09 4 * @LastEditTime: 2023-09-12 11:24:17
5 --> 5 -->
6 <template> 6 <template>
7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> 7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
15 申请单元列表({{ unitData.length }}) 15 申请单元列表({{ unitData.length }})
16 <el-button type="text" class="batchDel" @click="handleBatchDel" v-if="unitData.length > 1">批量删除</el-button> 16 <el-button type="text" class="batchDel" @click="handleBatchDel" v-if="unitData.length > 1">批量删除</el-button>
17 </div> 17 </div>
18 <el-menu :default-active="activeIndex" @select="unitClick"> 18 <el-menu v-model="activeIndex" :default-active="activeIndex" @select="unitClick">
19 <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index"> 19 <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index">
20 <p class="dot" v-if="item.issave == '0'"></p> 20 <p class="dot" v-if="item.issave == '0'"></p>
21 <div class="menu-con"> 21 <div class="menu-con">
...@@ -74,18 +74,20 @@ ...@@ -74,18 +74,20 @@
74 watch: { 74 watch: {
75 isRefresh: { 75 isRefresh: {
76 handler (newVal, oldVal) { 76 handler (newVal, oldVal) {
77 if (newVal) this.loadBdcdylist() 77 if (newVal) {
78 this.loadBdcdylist()
79 }
78 }, 80 },
79 immediate: true 81 immediate: true
80 } 82 }
81 }, 83 },
82 methods: { 84 methods: {
83 //读取申请单元信息
84 /** 85 /**
85 * @description: 读取申请单元信息 86 * @description: 读取申请单元信息
86 * @author: renchao 87 * @author: renchao
87 */ 88 */
88 loadBdcdylist () { 89 loadBdcdylist () {
90 let that = this
89 var formdata = new FormData(); 91 var formdata = new FormData();
90 formdata.append("bsmSlsq", this.bsmSlsq); 92 formdata.append("bsmSlsq", this.bsmSlsq);
91 if (this.$route.query.bestepid) { 93 if (this.$route.query.bestepid) {
...@@ -97,40 +99,41 @@ ...@@ -97,40 +99,41 @@
97 if (this.$route.query.type == 'jdcx') { 99 if (this.$route.query.type == 'jdcx') {
98 jdcxLeftMenu(formdata).then((res) => { 100 jdcxLeftMenu(formdata).then((res) => {
99 if (res.code === 200 && res.result) { 101 if (res.code === 200 && res.result) {
100 this.unitData = res.result; 102 that.unitData = res.result;
101 window.unitData = res.result; 103 window.unitData = res.result;
102 this.currentSelectProps = res.result[0]; 104 that.currentSelectProps = res.result[0];
103 this.$emit('getCurrentSelectProps', this.currentSelectProps); 105 that.$emit('getCurrentSelectProps', this.currentSelectProps);
104 this.judgeBatchShow(); 106 that.judgeBatchShow();
105 if (this.showBatch) { 107 if (sessionStorage.getItem('keyPath')) {
106 //满足批量查封/批量抵押按钮出现 即先展示批量表单 108 that.unitClick(sessionStorage.getItem('keyPath') - 0)
107 this.batchUnitClick();
108 } else { 109 } else {
109 //默认选择单元列表第一个 110 if (that.showBatch) {
110 this.unitClick(0); 111 //满足批量查封/批量抵押按钮出现 即先展示批量表单
112 that.batchUnitClick();
113 }
111 } 114 }
112 } 115 }
113 }) 116 })
114 } else { 117 } else {
115 leftMenu(formdata).then((res) => { 118 leftMenu(formdata).then((res) => {
116 if (res.code === 200 && res.result) { 119 if (res.code === 200 && res.result) {
117 this.unitData = res.result; 120 that.unitData = res.result;
118 window.unitData = res.result; 121 window.unitData = res.result;
119 this.currentSelectProps = res.result[0]; 122 this.currentSelectProps = res.result[0];
120 this.$emit('getCurrentSelectProps', this.currentSelectProps); 123 this.$emit('getCurrentSelectProps', this.currentSelectProps);
121 this.judgeBatchShow(); 124 this.judgeBatchShow();
122 if (this.showBatch) { 125 if (sessionStorage.getItem('keyPath')) {
123 //满足批量查封/批量抵押按钮出现 即先展示批量表单 126 that.unitClick(sessionStorage.getItem('keyPath') - 0)
124 this.batchUnitClick();
125 } else { 127 } else {
126 //默认选择单元列表第一个 128 if (that.showBatch) {
127 this.unitClick(0); 129 //满足批量查封/批量抵押按钮出现 即先展示批量表单
130 that.batchUnitClick();
131 }
128 } 132 }
129 } 133 }
130 }) 134 })
131 } 135 }
132 }, 136 },
133 //批量按钮判断
134 /** 137 /**
135 * @description: 批量按钮判断 138 * @description: 批量按钮判断
136 * @author: renchao 139 * @author: renchao
...@@ -224,11 +227,15 @@ ...@@ -224,11 +227,15 @@
224 this.currentSelectProps = this.unitData[index]; 227 this.currentSelectProps = this.unitData[index];
225 this.currentSelectProps.batchOperation = false; 228 this.currentSelectProps.batchOperation = false;
226 this.activeIndex = index.toString(); 229 this.activeIndex = index.toString();
230 sessionStorage.setItem('keyPath', this.activeIndex);
227 //选中表单传递数据 231 //选中表单传递数据
228 this.$emit('getCurrentSelectProps', this.currentSelectProps); 232 this.$emit('getCurrentSelectProps', this.currentSelectProps);
229 this.$parent.stepForm(index); 233 this.$parent.stepForm(index);
230 this.$store.dispatch('user/refreshPage', false); 234 this.$store.dispatch('user/refreshPage', false);
231 } 235 }
236 },
237 beforeDestroy () {
238 sessionStorage.removeItem('keyPath')
232 } 239 }
233 } 240 }
234 </script> 241 </script>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-30 11:01:54 4 * @LastEditTime: 2023-09-12 09:40:17
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -14,15 +14,13 @@ ...@@ -14,15 +14,13 @@
14 :heightNumSetting="true" 14 :heightNumSetting="true"
15 :minHeight="150" 15 :minHeight="150"
16 height="150" 16 height="150"
17 style="width: 100%" 17 style="width: 100%">
18 >
19 <el-table-column prop="index" width="50" :render-header="renderHeader"> 18 <el-table-column prop="index" width="50" :render-header="renderHeader">
20 <template slot-scope="scope"> 19 <template slot-scope="scope">
21 <i 20 <i
22 class="el-icon-minus pointer" 21 class="el-icon-minus pointer"
23 @click="deleClick(scope.$index, scope.row)" 22 @click="deleClick(scope.$index, scope.row)"
24 v-if="ableOperation" 23 v-if="ableOperation"></i>
25 ></i>
26 <div style="text-align: center" v-else> 24 <div style="text-align: center" v-else>
27 {{ scope.$index + 1 }} 25 {{ scope.$index + 1 }}
28 </div> 26 </div>
...@@ -40,8 +38,7 @@ ...@@ -40,8 +38,7 @@
40 :normalizer="normalizer" 38 :normalizer="normalizer"
41 :appendToBody="true" 39 :appendToBody="true"
42 z-index="9999" 40 z-index="9999"
43 @input="addrow(scope.row)" 41 @input="addrow(scope.row)" />
44 />
45 </template> 42 </template>
46 </el-table-column> 43 </el-table-column>
47 <el-table-column prop="qssj" label="土地使用起始时间" min-width="100"> 44 <el-table-column prop="qssj" label="土地使用起始时间" min-width="100">
...@@ -54,8 +51,7 @@ ...@@ -54,8 +51,7 @@
54 placeholder="选择日期" 51 placeholder="选择日期"
55 value-format="yyyy-MM-dd HH:mm:ss" 52 value-format="yyyy-MM-dd HH:mm:ss"
56 format="yyyy-MM-dd" 53 format="yyyy-MM-dd"
57 @input="startTime(scope.$index)" 54 @input="startTime(scope.$index)">
58 >
59 </el-date-picker> 55 </el-date-picker>
60 </template> 56 </template>
61 </el-table-column> 57 </el-table-column>
...@@ -69,8 +65,7 @@ ...@@ -69,8 +65,7 @@
69 placeholder="选择日期" 65 placeholder="选择日期"
70 value-format="yyyy-MM-dd HH:mm:ss" 66 value-format="yyyy-MM-dd HH:mm:ss"
71 format="yyyy-MM-dd" 67 format="yyyy-MM-dd"
72 @input="endTime(scope.$index)" 68 @input="endTime(scope.$index)">
73 >
74 </el-date-picker> 69 </el-date-picker>
75 </template> 70 </template>
76 </el-table-column> 71 </el-table-column>
...@@ -82,232 +77,229 @@ ...@@ -82,232 +77,229 @@
82 v-model="scope.row.tdsyqx" 77 v-model="scope.row.tdsyqx"
83 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 78 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
84 placeholder="请输入内容" 79 placeholder="请输入内容"
85 @input="sumTime(scope.$index, scope.row.tdsyqx)" 80 @input="sumTime(scope.$index, scope.row.tdsyqx)">
86 > 81 ></el-input>
87 ></el-input
88 >
89 </template> 82 </template>
90 </el-table-column> 83 </el-table-column>
91 </el-table> 84 </el-table>
92 </div> 85 </div>
93 </template> 86 </template>
94 <script> 87 <script>
95 import { mapGetters } from "vuex"; 88 import { mapGetters } from "vuex";
96 export default { 89 export default {
97 computed: { 90 computed: {
98 ...mapGetters(["dictData"]), 91 ...mapGetters(["dictData"]),
99 },
100 props: {
101 tableData: {
102 type: Array,
103 default: function () {
104 return [];
105 },
106 },
107 ableOperation: {
108 type: Boolean,
109 default: true,
110 }, 92 },
111 }, 93 props: {
112 data() { 94 tableData: {
113 return { 95 type: Array,
114 // 键名转换,方法默认是label和children进行树状渲染 96 default: function () {
115 key: 0, 97 return [];
116 newdata: { 98 },
117 yt: null,
118 qssj: "",
119 jssj: "",
120 tdsyqx: "",
121 },
122 tableDataList: [],
123 // 起始时间选择范围
124 pickerStart: {},
125 pickerEnd: {},
126 normalizer(node) {
127 if (node.children == null || node.children == "null") {
128 delete node.children;
129 }
130 return {
131 id: node.dcode,
132 label: node.dname,
133 children: node.children,
134 };
135 }, 99 },
136 }; 100 ableOperation: {
137 }, 101 type: Boolean,
138 mounted() {}, 102 default: true,
139 watch: {
140 tableData: {
141 handler: function (val, oldVal) {
142 let that = this;
143 this.$nextTick(() => {
144 if (!val || val.length == 0) {
145 that.tableDataList = _.cloneDeep([
146 {
147 yt: null,
148 qssj: "",
149 jssj: "",
150 tdsyqx: "",
151 },
152 ]);
153 } else {
154 that.tableDataList = _.cloneDeep(val);
155 }
156 });
157 }, 103 },
158 immediate: true,
159 deep: true,
160 }, 104 },
161 }, 105 data () {
162 methods: { 106 return {
163 /** 107 // 键名转换,方法默认是label和children进行树状渲染
164 * @description: renderHeader 108 key: 0,
165 * @author: renchao 109 newdata: {
166 */ 110 yt: null,
167 renderHeader() { 111 qssj: "",
168 return ( 112 jssj: "",
169 <div> 113 tdsyqx: "",
170 {" "}
171 {!this.ableOperation ? (
172 "序号"
173 ) : (
174 <i
175 class="el-icon-plus pointer"
176 onClick={() => {
177 this.addClick();
178 }}
179 ></i>
180 )}
181 </div>
182 );
183 },
184 // 修改事件
185 /**
186 * @description: 修改事件
187 * @author: renchao
188 */
189 addrow(a) {
190 console.log(a);
191 // this.tableDataList = this.tableDataList.map((item) => {
192 // return {
193 // ...item,
194 // yt: a.yt,
195 // };
196 // });
197 this.$emit("upDateTdytxxList", this.tableDataList);
198 },
199 /**
200 * @description: startTime
201 * @param {*} index
202 * @author: renchao
203 */
204 startTime(index) {
205 console.log("index", index);
206 // let startTime = this.tableDataList[index].tdsyqssj;
207 let endTime = this.tableDataList[index].jssj;
208 let startTime = this.tableDataList[index].qssj;
209 this.tableDataList[index].pickerEnd = {
210 disabledDate: (time) => {
211 if (Object.keys(startTime).length > 0) {
212 return new Date(startTime).getTime() > time.getTime();
213 } else {
214 return time.getTime() < Date.now();
215 }
216 }, 114 },
217 }; 115 tableDataList: [],
218 if (startTime && endTime) { 116 // 起始时间选择范围
219 let startYear = new Date(startTime).getFullYear(); 117 pickerStart: {},
220 let endYear = new Date(endTime).getFullYear(); 118 pickerEnd: {},
221 this.tableDataList[index].tdsyqx = endYear - startYear; 119 normalizer (node) {
222 } 120 if (node.children == null || node.children == "null") {
223 this.$emit("upDateTdytxxList", this.tableDataList); 121 delete node.children;
224 },
225 /**
226 * @description: endTime
227 * @param {*} index
228 * @author: renchao
229 */
230 endTime(index) {
231 // let startTime = this.tableDataList[index].tdsyqssj;
232 let startTime = this.tableDataList[index].qssj;
233 let endTime = this.tableDataList[index].jssj;
234 this.tableDataList[index].pickerStart = {
235 disabledDate: (time) => {
236 if (Object.keys(endTime).length > 0) {
237 return new Date(endTime).getTime() < time.getTime();
238 } else {
239 return time.getTime() > Date.now();
240 } 122 }
123 return {
124 id: node.dcode,
125 label: node.dname,
126 children: node.children,
127 };
241 }, 128 },
242 }; 129 };
243 if (startTime && endTime) {
244 let startYear = new Date(startTime).getFullYear();
245 let endYear = new Date(endTime).getFullYear();
246 this.tableDataList[index].tdsyqx = endYear - startYear;
247 }
248 this.$emit("upDateTdytxxList", this.tableDataList);
249 },
250 /**
251 * @description: sumTime
252 * @param {*} index
253 * @param {*} tdsyqx
254 * @author: renchao
255 */
256 sumTime(index, tdsyqx) {
257 let startTime = this.tableDataList[index].qssj;
258 this.tableDataList[index].jssj =
259 Number(startTime.substring(0, 4)) +
260 Number(tdsyqx) +
261 startTime.slice(4, 19);
262 this.$emit("upDateTdytxxList", this.tableDataList);
263 }, 130 },
264 // 新增 131 mounted () { },
265 /** 132 watch: {
266 * @description: 新增 133 tableData: {
267 * @author: renchao 134 handler: function (val, oldVal) {
268 */ 135 let that = this;
269 addClick() { 136 this.$nextTick(() => {
270 // this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata); 137 if (!val || val.length == 0) {
271 this.tableDataList.push(_.cloneDeep(this.newdata)) 138 that.tableDataList = _.cloneDeep([
272 this.$emit("upDateTdytxxList", this.tableDataList); 139 {
140 yt: null,
141 qssj: "",
142 jssj: "",
143 tdsyqx: "",
144 },
145 ]);
146 } else {
147 that.tableDataList = _.cloneDeep(val);
148 }
149 });
150 },
151 immediate: true,
152 deep: true,
153 },
273 }, 154 },
155 methods: {
156 /**
157 * @description: renderHeader
158 * @author: renchao
159 */
160 renderHeader () {
161 return (
162 <div>
163 {" "}
164 {!this.ableOperation ? (
165 "序号"
166 ) : (
167 <i
168 class="el-icon-plus pointer"
169 onClick={() => {
170 this.addClick();
171 }}
172 ></i>
173 )}
174 </div>
175 );
176 },
177 // 修改事件
178 /**
179 * @description: 修改事件
180 * @author: renchao
181 */
182 addrow (a) {
183 // this.tableDataList = this.tableDataList.map((item) => {
184 // return {
185 // ...item,
186 // yt: a.yt,
187 // };
188 // });
189 this.$emit("upDateTdytxxList", this.tableDataList);
190 },
191 /**
192 * @description: startTime
193 * @param {*} index
194 * @author: renchao
195 */
196 startTime (index) {
197 console.log("index", index);
198 // let startTime = this.tableDataList[index].tdsyqssj;
199 let endTime = this.tableDataList[index].jssj;
200 let startTime = this.tableDataList[index].qssj;
201 this.tableDataList[index].pickerEnd = {
202 disabledDate: (time) => {
203 if (Object.keys(startTime).length > 0) {
204 return new Date(startTime).getTime() > time.getTime();
205 } else {
206 return time.getTime() < Date.now();
207 }
208 },
209 };
210 if (startTime && endTime) {
211 let startYear = new Date(startTime).getFullYear();
212 let endYear = new Date(endTime).getFullYear();
213 this.tableDataList[index].tdsyqx = endYear - startYear;
214 }
215 this.$emit("upDateTdytxxList", this.tableDataList);
216 },
217 /**
218 * @description: endTime
219 * @param {*} index
220 * @author: renchao
221 */
222 endTime (index) {
223 // let startTime = this.tableDataList[index].tdsyqssj;
224 let startTime = this.tableDataList[index].qssj;
225 let endTime = this.tableDataList[index].jssj;
226 this.tableDataList[index].pickerStart = {
227 disabledDate: (time) => {
228 if (Object.keys(endTime).length > 0) {
229 return new Date(endTime).getTime() < time.getTime();
230 } else {
231 return time.getTime() > Date.now();
232 }
233 },
234 };
235 if (startTime && endTime) {
236 let startYear = new Date(startTime).getFullYear();
237 let endYear = new Date(endTime).getFullYear();
238 this.tableDataList[index].tdsyqx = endYear - startYear;
239 }
240 this.$emit("upDateTdytxxList", this.tableDataList);
241 },
242 /**
243 * @description: sumTime
244 * @param {*} index
245 * @param {*} tdsyqx
246 * @author: renchao
247 */
248 sumTime (index, tdsyqx) {
249 let startTime = this.tableDataList[index].qssj;
250 this.tableDataList[index].jssj =
251 Number(startTime.substring(0, 4)) +
252 Number(tdsyqx) +
253 startTime.slice(4, 19);
254 this.$emit("upDateTdytxxList", this.tableDataList);
255 },
256 // 新增
257 /**
258 * @description: 新增
259 * @author: renchao
260 */
261 addClick () {
262 // this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata);
263 this.tableDataList.push(_.cloneDeep(this.newdata))
264 this.$emit("upDateTdytxxList", this.tableDataList);
265 },
274 266
275 // 删除 267 // 删除
276 /** 268 /**
277 * @description: 删除 269 * @description: 删除
278 * @param {*} index 270 * @param {*} index
279 * @param {*} row 271 * @param {*} row
280 * @author: renchao 272 * @author: renchao
281 */ 273 */
282 deleClick(index, row) { 274 deleClick (index, row) {
283 this.$confirm("确定要删除吗, 是否继续?", "提示", { 275 this.$confirm("确定要删除吗, 是否继续?", "提示", {
284 confirmButtonText: "确定", 276 confirmButtonText: "确定",
285 cancelButtonText: "取消", 277 cancelButtonText: "取消",
286 type: "warning", 278 type: "warning",
287 })
288 .then(() => {
289 this.tableDataList.splice(index, 1);
290 this.$emit("upDateTdytxxList", this.tableDataList);
291 }) 279 })
292 .catch(() => {}); 280 .then(() => {
281 this.tableDataList.splice(index, 1);
282 this.$emit("upDateTdytxxList", this.tableDataList);
283 })
284 .catch(() => { });
285 },
293 }, 286 },
294 }, 287 };
295 };
296 </script> 288 </script>
297 <style scoped lang="scss"> 289 <style scoped lang="scss">
298 .el-input { 290 .el-input {
299 border: none !important; 291 border: none !important;
300 } 292 }
301 /deep/.el-table__row { 293 /deep/.el-table__row {
302 border: none !important; 294 border: none !important;
303 } 295 }
304 .el-date-editor.el-input { 296 .el-date-editor.el-input {
305 width: 100%; 297 width: 100%;
306 } 298 }
307 /deep/.el-table th { 299 /deep/.el-table th {
308 height: 30px !important; 300 height: 30px !important;
309 } 301 }
310 /deep/ .el-table--border .el-table__cell:first-child .cell{ 302 /deep/ .el-table--border .el-table__cell:first-child .cell {
311 text-align: center; 303 text-align: center;
312 } 304 }
313 </style> 305 </style>
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-17 15:34:33 4 * @LastEditTime: 2023-09-12 09:41:27
5 */ 5 */
6 //流程环节操作按钮 6 //流程环节操作按钮
7 /** 7 /**
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
10 * @param {*} djywbm 10 * @param {*} djywbm
11 * @author: renchao 11 * @author: renchao
12 */ 12 */
13 export function getForm(tabName, djywbm) { 13 export function getForm (tabName, djywbm) {
14 let form; 14 let form;
15 switch (tabName) { 15 switch (tabName) {
16 case "tdsyqslxx": 16 case "tdsyqslxx":
...@@ -72,7 +72,7 @@ export function getForm(tabName, djywbm) { ...@@ -72,7 +72,7 @@ export function getForm(tabName, djywbm) {
72 case "sfxx": 72 case "sfxx":
73 form = require("@/views/workflow/components/sfxx.vue"); 73 form = require("@/views/workflow/components/sfxx.vue");
74 break; 74 break;
75 case "sdqxx": 75 case "sdqxx":
76 form = require("@/views/workflow/components/sdqxx.vue"); 76 form = require("@/views/workflow/components/sdqxx.vue");
77 break; 77 break;
78 case "zdjbxx": 78 case "zdjbxx":
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-05 15:39:08 4 * @LastEditTime: 2023-09-12 10:52:24
5 */ 5 */
6 import { getForm } from "../flowform"; 6 import { getForm } from "../flowform";
7 import { getHomeNoticeList } from "@/api/home.js" 7 import { getHomeNoticeList } from "@/api/home.js"
...@@ -32,7 +32,6 @@ export default { ...@@ -32,7 +32,6 @@ export default {
32 } 32 }
33 }) 33 })
34 }, 34 },
35 //右侧表单选项卡事件
36 /** 35 /**
37 * @description: 右侧表单选项卡事件 36 * @description: 右侧表单选项卡事件
38 * @param {*} activeName 37 * @param {*} activeName
...@@ -40,9 +39,9 @@ export default { ...@@ -40,9 +39,9 @@ export default {
40 * @author: renchao 39 * @author: renchao
41 */ 40 */
42 beforeLeave (activeName, oldActiveName) { 41 beforeLeave (activeName, oldActiveName) {
42 sessionStorage.setItem('activeName', activeName);
43 if (activeName && activeName != 0) this.getFromRouter(activeName) 43 if (activeName && activeName != 0) this.getFromRouter(activeName)
44 }, 44 },
45 //切换选项卡内容组件
46 /** 45 /**
47 * @description: 切换选项卡内容组件 46 * @description: 切换选项卡内容组件
48 * @param {*} tabname 47 * @param {*} tabname
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-30 14:14:55 4 * @LastEditTime: 2023-09-12 10:52:18
5 --> 5 -->
6 <template> 6 <template>
7 <div class="container"> 7 <div class="container">
...@@ -162,7 +162,6 @@ ...@@ -162,7 +162,6 @@
162 stepForm (index) { 162 stepForm (index) {
163 getStepFormInfo(this.currentSelectProps).then((res) => { 163 getStepFormInfo(this.currentSelectProps).then((res) => {
164 if (res.code === 200) { 164 if (res.code === 200) {
165 // this.fresh++;
166 //获取单元对应的所有表单信息 165 //获取单元对应的所有表单信息
167 this.tabList = res.result; 166 this.tabList = res.result;
168 //默认加载第一个表单信息 167 //默认加载第一个表单信息
...@@ -172,6 +171,9 @@ ...@@ -172,6 +171,9 @@
172 } else { 171 } else {
173 this.tabName = res.result[0].value; 172 this.tabName = res.result[0].value;
174 } 173 }
174 if (sessionStorage.getItem('activeName') == this.tabName) {
175 this.fresh++;
176 }
175 this.ableOperation = this.tabList[0].ableOperation 177 this.ableOperation = this.tabList[0].ableOperation
176 //批量操作无分屏按钮 178 //批量操作无分屏按钮
177 if (index != null) { 179 if (index != null) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-11 14:01:06 4 * @LastEditTime: 2023-09-12 08:51:36
5 --> 5 -->
6 <template> 6 <template>
7 <div class="rlPopup"> 7 <div class="rlPopup">
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
53 <script> 53 <script>
54 import PhotoZoom from '@/components/PhotoZoom' 54 import PhotoZoom from '@/components/PhotoZoom'
55 import { getAltimeterInfo, getUuid } from '@/utils/operation.js' 55 import { getAltimeterInfo, getUuid } from '@/utils/operation.js'
56 import { uploadBatch, deleteFile } from "@/api/company.js" 56 import { uploadBatch, deleteFile, move } from "@/api/company.js"
57 import publicPicture from '@/components/publicPicture/index.vue' 57 import publicPicture from '@/components/publicPicture/index.vue'
58 export default { 58 export default {
59 name: 'PreviewImage', 59 name: 'PreviewImage',
...@@ -137,8 +137,19 @@ ...@@ -137,8 +137,19 @@
137 } 137 }
138 }, 138 },
139 // 左右移动 139 // 左右移动
140 /**
141 * @description: 左右移动
142 * @param {*} direction
143 * @author: renchao
144 */
140 handleMove (direction) { 145 handleMove (direction) {
141 146 move(this.previewImg.imgList[this.previewImg.index].bsmFile, direction).then(res => {
147 this.$emit('updateList', { children: res.result, bsmMaterial: this.previewImg.bsmMaterial })
148 this.$message({
149 message: '移动成功!',
150 type: 'success'
151 })
152 })
142 }, 153 },
143 /** 154 /**
144 * @description: 拍照 155 * @description: 拍照
...@@ -270,7 +281,7 @@ ...@@ -270,7 +281,7 @@
270 } 281 }
271 formData.append("bsmMaterial", this.previewImg.bsmMaterial); 282 formData.append("bsmMaterial", this.previewImg.bsmMaterial);
272 if (this.previewImg.imgList.length > 0) { 283 if (this.previewImg.imgList.length > 0) {
273 formData.append("index", this.previewImg.index + 1); 284 formData.append("index", this.previewImg.imgList[this.previewImg.index].sxh);
274 } 285 }
275 uploadBatch(formData).then((res) => { 286 uploadBatch(formData).then((res) => {
276 if (res.code == 200) { 287 if (res.code == 200) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-28 09:56:03 4 * @LastEditTime: 2023-09-12 11:26:18
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -293,6 +293,7 @@ ...@@ -293,6 +293,7 @@
293 * @author: renchao 293 * @author: renchao
294 */ 294 */
295 ywhClick (item) { 295 ywhClick (item) {
296 sessionStorage.removeItem('keyPath')
296 //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 297 //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面
297 judgeUserTaskPermission({ 298 judgeUserTaskPermission({
298 bsmSlsq: item.bsmSlsq, 299 bsmSlsq: item.bsmSlsq,
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-24 15:34:27 4 * @LastEditTime: 2023-09-12 09:59:18
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <el-form 9 <el-form
10 :model="ruleForm" 10 :model="ruleForm"
11 :rules="rules" 11 :rules="rules"
12 class="loadingtext" 12 v-Loading="loading"
13 ref="ruleForm" 13 ref="ruleForm"
14 :label-position="flag ? 'top' : ''" 14 :label-position="flag ? 'top' : ''"
15 :inline="flag" 15 :inline="flag"
...@@ -365,18 +365,21 @@ ...@@ -365,18 +365,21 @@
365 import { mapGetters } from "vuex"; 365 import { mapGetters } from "vuex";
366 export default { 366 export default {
367 mounted () { 367 mounted () {
368 this.loading = true
368 this.viewEdit = this.$parent.currentSelectTab.ableOperation; 369 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
369 this.propsParam = this.$attrs; 370 this.propsParam = this.$attrs;
370 var formdata = new FormData(); 371 var formdata = new FormData();
371 if (this.propsParam.djlx == "400") { 372 if (this.propsParam.djlx == "400") {
372 this.isJfOperation = true; 373 this.isJfOperation = true;
373 } 374 }
374 this.$startLoading();
375 formdata.append("bsmSldy", this.propsParam.bsmSldy); 375 formdata.append("bsmSldy", this.propsParam.bsmSldy);
376 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 376 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
377 formdata.append("djlx", this.propsParam.djlx); 377 formdata.append("djlx", this.propsParam.djlx);
378 formdata.append("isEdit", this.viewEdit); 378 formdata.append("isEdit", this.viewEdit);
379 Init(formdata).then((res) => { 379 Init(formdata).then((res) => {
380 setTimeout(() => {
381 this.loading = false
382 }, 200)
380 if (res.code === 200 && res.result) { 383 if (res.code === 200 && res.result) {
381 this.ruleForm = res.result; 384 this.ruleForm = res.result;
382 this.czrOptions = this.ruleForm.qlrList; 385 this.czrOptions = this.ruleForm.qlrList;
...@@ -386,8 +389,9 @@ ...@@ -386,8 +389,9 @@
386 this.czr = item.sqrmc; 389 this.czr = item.sqrmc;
387 } 390 }
388 }); 391 });
389 this.$endLoading(); 392 }).catch(() => {
390 }); 393 this.loading = false
394 })
391 }, 395 },
392 components: { qlrCommonTable }, 396 components: { qlrCommonTable },
393 computed: { 397 computed: {
...@@ -395,6 +399,7 @@ ...@@ -395,6 +399,7 @@
395 }, 399 },
396 data () { 400 data () {
397 return { 401 return {
402 loading: false,
398 //表单是否可操作 403 //表单是否可操作
399 viewEdit: true, 404 viewEdit: true,
400 disabled: true, 405 disabled: true,
...@@ -499,8 +504,17 @@ ...@@ -499,8 +504,17 @@
499 this.ruleForm.qlrList = _.cloneDeep(val); 504 this.ruleForm.qlrList = _.cloneDeep(val);
500 this.czrOptions = this.ruleForm.qlrList; 505 this.czrOptions = this.ruleForm.qlrList;
501 } 506 }
507 this.num = 0
508 this.ruleForm.qlrList.forEach(item => {
509 if (item.sqrmc == this.czr) {
510 this.num++
511 }
512 })
513 if (this.num == 0) {
514 this.czr = ''
515 }
516
502 }, 517 },
503 // 是否持证人变化
504 /** 518 /**
505 * @description: 是否持证人变化 519 * @description: 是否持证人变化
506 * @author: renchao 520 * @author: renchao
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2023-09-05 15:48:55 4 * @LastEditTime: 2023-09-12 09:55:25
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -271,6 +271,9 @@ ...@@ -271,6 +271,9 @@
271 formdata.append("djlx", this.propsParam.djlx); 271 formdata.append("djlx", this.propsParam.djlx);
272 formdata.append("isEdit", this.viewEdit); 272 formdata.append("isEdit", this.viewEdit);
273 Init(formdata).then((res) => { 273 Init(formdata).then((res) => {
274 setTimeout(() => {
275 this.loading = false
276 }, 200)
274 if (res.code === 200 && res.result) { 277 if (res.code === 200 && res.result) {
275 this.ruleForm = { 278 this.ruleForm = {
276 ...res.result, 279 ...res.result,
...@@ -281,16 +284,9 @@ ...@@ -281,16 +284,9 @@
281 this.czr = item.sqrmc; 284 this.czr = item.sqrmc;
282 } 285 }
283 }); 286 });
284 setTimeout(() => {
285 this.loading = false
286 }, 200)
287 //初始化发证方式,1:小证,2:大正
288 this.ruleForm.slsq.fzfs == null
289 ? (this.ruleForm.slsq.fzfs = "1")
290 : this.ruleForm.slsq.fzfs;
291 this.czrOptions = this.ruleForm.qlrList; 287 this.czrOptions = this.ruleForm.qlrList;
292 } 288 }
293 }); 289 })
294 }, 290 },
295 components: { qlrCommonTable, tdytTable, fdcqxmTable, ywrCommonTable }, 291 components: { qlrCommonTable, tdytTable, fdcqxmTable, ywrCommonTable },
296 computed: { 292 computed: {
...@@ -353,9 +349,19 @@ ...@@ -353,9 +349,19 @@
353 * @author: renchao 349 * @author: renchao
354 */ 350 */
355 upDateQlrxxList (val) { 351 upDateQlrxxList (val) {
356 this.ruleForm.qlrList = _.cloneDeep(val); 352 if (!_.isEqual(val, this.ruleForm.qlrList)) {
357 this.czrOptions = this.ruleForm.qlrList; 353 this.ruleForm.qlrList = _.cloneDeep(val);
358 this.key++; 354 this.czrOptions = this.ruleForm.qlrList;
355 }
356 this.num = 0
357 this.ruleForm.qlrList.forEach(item => {
358 if (item.sqrmc == this.czr) {
359 this.num++
360 }
361 })
362 if (this.num == 0) {
363 this.czr = ''
364 }
359 }, 365 },
360 /** 366 /**
361 * @description: 是否持证人变化 367 * @description: 是否持证人变化
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-05 15:53:51 4 * @LastEditTime: 2023-09-12 10:04:14
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
9 :model="ruleForm" 9 :model="ruleForm"
10 :rules="rules" 10 :rules="rules"
11 ref="ruleForm" 11 ref="ruleForm"
12 v-Loading="loading"
12 :label-position="flag ? 'top' : ''" 13 :label-position="flag ? 'top' : ''"
13 :inline="flag" 14 :inline="flag"
14 label-width="120px"> 15 label-width="120px">
...@@ -417,6 +418,7 @@ ...@@ -417,6 +418,7 @@
417 export default { 418 export default {
418 mixins: [ywmix], 419 mixins: [ywmix],
419 mounted () { 420 mounted () {
421 this.loading = true
420 this.viewEdit = this.$parent.currentSelectTab.ableOperation; 422 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
421 this.propsParam = this.$attrs; 423 this.propsParam = this.$attrs;
422 var formdata = new FormData(); 424 var formdata = new FormData();
...@@ -424,6 +426,9 @@ ...@@ -424,6 +426,9 @@
424 formdata.append("djlx", this.propsParam.djlx); 426 formdata.append("djlx", this.propsParam.djlx);
425 formdata.append("isEdit", this.viewEdit); 427 formdata.append("isEdit", this.viewEdit);
426 Init(formdata).then((res) => { 428 Init(formdata).then((res) => {
429 setTimeout(() => {
430 this.loading = false
431 }, 200)
427 if (res.code === 200 && res.result) { 432 if (res.code === 200 && res.result) {
428 this.ruleForm = { 433 this.ruleForm = {
429 ...res.result, 434 ...res.result,
...@@ -434,13 +439,11 @@ ...@@ -434,13 +439,11 @@
434 this.czr = item.sqrmc; 439 this.czr = item.sqrmc;
435 } 440 }
436 }); 441 });
437 //初始化发证方式,1:小证,2:大正
438 this.ruleForm.slsq.fzfs == null
439 ? (this.ruleForm.slsq.fzfs = "1")
440 : this.ruleForm.slsq.fzfs;
441 this.czrOptions = this.ruleForm.qlrList; 442 this.czrOptions = this.ruleForm.qlrList;
442 } 443 }
443 }); 444 }).catch(() => {
445 this.loading = false
446 })
444 }, 447 },
445 components: { qlrCommonTable, tdytTable, ywrCommonTable }, 448 components: { qlrCommonTable, tdytTable, ywrCommonTable },
446 computed: { 449 computed: {
...@@ -448,6 +451,7 @@ ...@@ -448,6 +451,7 @@
448 }, 451 },
449 data () { 452 data () {
450 return { 453 return {
454 loading: false,
451 mjdw: "1", 455 mjdw: "1",
452 // 键名转换,方法默认是label和children进行树状渲染 456 // 键名转换,方法默认是label和children进行树状渲染
453 normalizer (node) { 457 normalizer (node) {
...@@ -507,6 +511,15 @@ ...@@ -507,6 +511,15 @@
507 upDateQlrxxList (val) { 511 upDateQlrxxList (val) {
508 this.ruleForm.qlrList = _.cloneDeep(val); 512 this.ruleForm.qlrList = _.cloneDeep(val);
509 this.czrOptions = this.ruleForm.qlrList; 513 this.czrOptions = this.ruleForm.qlrList;
514 this.num = 0
515 this.ruleForm.qlrList.forEach(item => {
516 if (item.sqrmc == this.czr) {
517 this.num++
518 }
519 })
520 if (this.num == 0) {
521 this.czr = ''
522 }
510 }, 523 },
511 // 是否持证人变化 524 // 是否持证人变化
512 /** 525 /**
...@@ -593,6 +606,7 @@ ...@@ -593,6 +606,7 @@
593 }); 606 });
594 } 607 }
595 } 608 }
609 this.$store.dispatch("user/refreshPage", false);
596 saveData(this.ruleForm).then((res) => { 610 saveData(this.ruleForm).then((res) => {
597 if (res.code === 200) { 611 if (res.code === 200) {
598 this.$message({ 612 this.$message({
...@@ -606,10 +620,10 @@ ...@@ -606,10 +620,10 @@
606 showClose: true, 620 showClose: true,
607 message: res.message, 621 message: res.message,
608 type: "error", 622 type: "error",
609 }); 623 })
610 } 624 }
611 }); 625 })
612 }, 626 }
613 }, 627 },
614 }; 628 };
615 </script> 629 </script>
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-24 15:34:11 4 * @LastEditTime: 2023-09-12 09:56:07
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
8 <el-form 8 <el-form
9 :model="ruleForm" 9 :model="ruleForm"
10 :rules="rules" 10 :rules="rules"
11 v-Loading="loading"
11 ref="ruleForm" 12 ref="ruleForm"
12 :label-position="flag ? 'top' : ''" 13 :label-position="flag ? 'top' : ''"
13 :inline="flag" 14 :inline="flag"
14 label-width="120px" 15 label-width="120px">
15 >
16 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 16 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
17 <div class="slxx_title title-block"> 17 <div class="slxx_title title-block">
18 申请业务信息 18 申请业务信息
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
54 </el-row> 54 </el-row>
55 <div 55 <div
56 class="slxx_title title-block flex" 56 class="slxx_title title-block flex"
57 style="justify-content: space-between" 57 style="justify-content: space-between">
58 >
59 不动产单元情况 58 不动产单元情况
60 <el-button @click="compare">变化情况对比+</el-button> 59 <el-button @click="compare">变化情况对比+</el-button>
61 </div> 60 </div>
...@@ -116,8 +115,7 @@ ...@@ -116,8 +115,7 @@
116 <el-input 115 <el-input
117 disabled 116 disabled
118 v-model.number="ruleForm.fdcq2.zcs" 117 v-model.number="ruleForm.fdcq2.zcs"
119 oninput="value=value.replace(/[^0-9]/g,'')" 118 oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
120 ></el-input>
121 </el-form-item> 119 </el-form-item>
122 </el-col> 120 </el-col>
123 <el-col :span="8"> 121 <el-col :span="8">
...@@ -133,15 +131,13 @@ ...@@ -133,15 +131,13 @@
133 <el-input 131 <el-input
134 disabled 132 disabled
135 v-model="ruleForm.qlxx.mj" 133 v-model="ruleForm.qlxx.mj"
136 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 134 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
137 ></el-input>
138 <el-select disabled v-model="mjdw" style="width: 68px"> 135 <el-select disabled v-model="mjdw" style="width: 68px">
139 <el-option 136 <el-option
140 v-for="item in dictData['A7']" 137 v-for="item in dictData['A7']"
141 :key="item.dcode" 138 :key="item.dcode"
142 :label="item.dname" 139 :label="item.dname"
143 :value="item.dcode" 140 :value="item.dcode">
144 >
145 </el-option> 141 </el-option>
146 </el-select> 142 </el-select>
147 </div> 143 </div>
...@@ -153,15 +149,13 @@ ...@@ -153,15 +149,13 @@
153 <el-input 149 <el-input
154 disabled 150 disabled
155 v-model="ruleForm.fdcq2.zyjzmj" 151 v-model="ruleForm.fdcq2.zyjzmj"
156 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 152 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
157 ></el-input>
158 <el-select disabled v-model="mjdw" style="width: 68px"> 153 <el-select disabled v-model="mjdw" style="width: 68px">
159 <el-option 154 <el-option
160 v-for="item in dictData['A7']" 155 v-for="item in dictData['A7']"
161 :key="item.dcode" 156 :key="item.dcode"
162 :label="item.dname" 157 :label="item.dname"
163 :value="item.dcode" 158 :value="item.dcode">
164 >
165 </el-option> 159 </el-option>
166 </el-select> 160 </el-select>
167 </div> 161 </div>
...@@ -173,15 +167,13 @@ ...@@ -173,15 +167,13 @@
173 <el-input 167 <el-input
174 disabled 168 disabled
175 v-model="ruleForm.fdcq2.ftjzmj" 169 v-model="ruleForm.fdcq2.ftjzmj"
176 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 170 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
177 ></el-input>
178 <el-select disabled v-model="mjdw" style="width: 68px"> 171 <el-select disabled v-model="mjdw" style="width: 68px">
179 <el-option 172 <el-option
180 v-for="item in dictData['A7']" 173 v-for="item in dictData['A7']"
181 :key="item.dcode" 174 :key="item.dcode"
182 :label="item.dname" 175 :label="item.dname"
183 :value="item.dcode" 176 :value="item.dcode">
184 >
185 </el-option> 177 </el-option>
186 </el-select> 178 </el-select>
187 </div> 179 </div>
...@@ -195,8 +187,7 @@ ...@@ -195,8 +187,7 @@
195 <tdytTable 187 <tdytTable
196 :ableOperation="viewEdit" 188 :ableOperation="viewEdit"
197 :tableData="ruleForm.tdytqxList" 189 :tableData="ruleForm.tdytqxList"
198 @upDateTdytxxList="upDateTdytxxList" 190 @upDateTdytxxList="upDateTdytxxList" />
199 />
200 <div class="slxx_title title-block"> 191 <div class="slxx_title title-block">
201 权利人信息 192 权利人信息
202 <div class="triangle"></div> 193 <div class="triangle"></div>
...@@ -206,8 +197,7 @@ ...@@ -206,8 +197,7 @@
206 <el-form-item label="共有方式:"> 197 <el-form-item label="共有方式:">
207 <el-radio-group 198 <el-radio-group
208 :disabled="!viewEdit" 199 :disabled="!viewEdit"
209 v-model="ruleForm.sldy.gyfs" 200 v-model="ruleForm.sldy.gyfs">
210 >
211 <el-radio label="0">单独所有</el-radio> 201 <el-radio label="0">单独所有</el-radio>
212 <el-radio label="1">共同共有</el-radio> 202 <el-radio label="1">共同共有</el-radio>
213 <el-radio label="2">按份所有</el-radio> 203 <el-radio label="2">按份所有</el-radio>
...@@ -220,8 +210,7 @@ ...@@ -220,8 +210,7 @@
220 <el-radio-group 210 <el-radio-group
221 v-model="ruleForm.sldy.sqfbcz" 211 v-model="ruleForm.sldy.sqfbcz"
222 :disabled="!viewEdit" 212 :disabled="!viewEdit"
223 @input="updaterow()" 213 @input="updaterow()">
224 >
225 <el-radio :label="1"></el-radio> 214 <el-radio :label="1"></el-radio>
226 <el-radio :label="0"></el-radio> 215 <el-radio :label="0"></el-radio>
227 </el-radio-group> 216 </el-radio-group>
...@@ -229,20 +218,17 @@ ...@@ -229,20 +218,17 @@
229 </el-col> 218 </el-col>
230 <el-col 219 <el-col
231 :span="6" 220 :span="6"
232 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'" 221 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
233 >
234 <el-form-item label="持证人:"> 222 <el-form-item label="持证人:">
235 <el-select 223 <el-select
236 v-model="czr" 224 v-model="czr"
237 placeholder="持证人" 225 placeholder="持证人"
238 :disabled="!viewEdit" 226 :disabled="!viewEdit">
239 >
240 <el-option 227 <el-option
241 v-for="item in czrOptions" 228 v-for="item in czrOptions"
242 :key="item.zjh" 229 :key="item.zjh"
243 :label="item.sqrmc" 230 :label="item.sqrmc"
244 :value="item.zjh" 231 :value="item.zjh">
245 >
246 </el-option> 232 </el-option>
247 </el-select> 233 </el-select>
248 </el-form-item> 234 </el-form-item>
...@@ -252,8 +238,7 @@ ...@@ -252,8 +238,7 @@
252 @upDateQlrxxList="upDateQlrxxList" 238 @upDateQlrxxList="upDateQlrxxList"
253 :disabled="!viewEdit" 239 :disabled="!viewEdit"
254 :tableData="ruleForm.qlrList" 240 :tableData="ruleForm.qlrList"
255 :gyfs="ruleForm.sldy.gyfs" 241 :gyfs="ruleForm.sldy.gyfs" />
256 />
257 <div class="slxx_title title-block"> 242 <div class="slxx_title title-block">
258 登记原因 243 登记原因
259 <div class="triangle"></div> 244 <div class="triangle"></div>
...@@ -267,8 +252,7 @@ ...@@ -267,8 +252,7 @@
267 maxlength="500" 252 maxlength="500"
268 show-word-limit 253 show-word-limit
269 :disabled="!viewEdit" 254 :disabled="!viewEdit"
270 v-model="ruleForm.fdcq2.djyy" 255 v-model="ruleForm.fdcq2.djyy">
271 >
272 </el-input> 256 </el-input>
273 </el-form-item> 257 </el-form-item>
274 </el-col> 258 </el-col>
...@@ -283,335 +267,338 @@ ...@@ -283,335 +267,338 @@
283 </div> 267 </div>
284 </template> 268 </template>
285 <script> 269 <script>
286 import ywmix from "@/views/ywbl/mixin/index"; 270 import ywmix from "@/views/ywbl/mixin/index";
287 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 271 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
288 import tdytTable from "@/views/workflow/components/tdytTable"; 272 import tdytTable from "@/views/workflow/components/tdytTable";
289 import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; 273 import { Init, saveData } from "@/api/workflow/fwsyqFlow.js";
290 import { mapGetters } from "vuex"; 274 import { mapGetters } from "vuex";
291 export default { 275 export default {
292 mixins: [ywmix], 276 mixins: [ywmix],
293 mounted() { 277 mounted () {
294 this.viewEdit = this.$parent.currentSelectTab.ableOperation; 278 this.loading = true
295 this.propsParam = this.$attrs; 279 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
296 var formdata = new FormData(); 280 this.propsParam = this.$attrs;
297 formdata.append("bsmSldy", this.propsParam.bsmSldy); 281 var formdata = new FormData();
298 formdata.append("djlx", this.propsParam.djlx); 282 formdata.append("bsmSldy", this.propsParam.bsmSldy);
299 formdata.append("isEdit", this.viewEdit); 283 formdata.append("djlx", this.propsParam.djlx);
300 Init(formdata).then((res) => { 284 formdata.append("isEdit", this.viewEdit);
301 if (res.code === 200 && res.result) { 285 Init(formdata).then((res) => {
302 this.ruleForm = { 286 setTimeout(() => {
303 ...res.result, 287 this.loading = false
304 ...res.result.zdjbxxdatas, 288 }, 200)
305 ...res.result.qlxxdatas, 289 if (res.code === 200 && res.result) {
306 ...res.result.jsydsyqdatas, 290 this.ruleForm = {
307 }; 291 ...res.result,
308 this.ruleForm.qlrList.forEach((item) => { 292 ...res.result.zdjbxxdatas,
309 if (item.sfczr == 1) { 293 ...res.result.qlxxdatas,
310 this.czr = item.sqrmc; 294 ...res.result.jsydsyqdatas,
311 } 295 };
312 }); 296 this.ruleForm.qlrList.forEach((item) => {
313 //初始化发证方式,1:小证,2:大正 297 if (item.sfczr == 1) {
314 this.ruleForm.slsq.fzfs == null 298 this.czr = item.sqrmc;
315 ? (this.ruleForm.slsq.fzfs = "1") 299 }
316 : this.ruleForm.slsq.fzfs; 300 });
317 this.czrOptions = this.ruleForm.qlrList; 301 this.czrOptions = this.ruleForm.qlrList;
318 }
319 });
320 },
321 components: { qlrCommonTable, tdytTable },
322 computed: {
323 ...mapGetters(["dictData", "flag"]),
324 },
325 data() {
326 return {
327 mjdw: "1",
328 //表单是否可操作
329 viewEdit: false,
330 disabled: true,
331 tdytOption: [],
332 czrOptions: [],
333 czr: "",
334 ruleForm: {
335 flow: {
336 ywh: "",
337 },
338 slry: "",
339 slsj: "",
340 qllx: "",
341 djlx: "",
342 djqx: "",
343 sldy: {
344 gyfs: "",
345 },
346 // 宗地代码
347 zddm: "",
348 bdcdyh: "",
349 qlxzmc: "",
350 qlrxx: [],
351 // 自然幢号
352 zrzh: "",
353 // 户不动产单元号
354 hbdcdyh: "",
355 djzt: "",
356 // 图幅丘幢号
357 tfqzh: "",
358 zl: "",
359 // 房屋用途
360 fwyt: "",
361 fwxz: "",
362 fwjg: "",
363 // 权利人信息
364 // 是否分别持证
365 sffbcz: "",
366 // 持证人
367 czr: "",
368 djyy: "",
369 // 规划用途名称
370 zdjbxx: {
371 ghytmc: "",
372 },
373 fdcq2: {
374 fwxzmc: "",
375 },
376 slsq: {
377 gyfs: "",
378 },
379 },
380 //传递参数
381 propsParam: {},
382 rules: {},
383 };
384 },
385 methods: {
386 /**
387 * @description: dataSelectClick
388 * @author: renchao
389 */
390 dataSelectClick() {
391 this.$popup(
392 "房屋所有权",
393 this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai",
394 {
395 formData: {
396 bsmSldy: this.propsParam.bsmSldy,
397 qllx: this.propsParam.qllx,
398 },
399 } 302 }
400 ); 303 }).catch(() => {
401 }, 304 this.loading = false
402 /** 305 })
403 * @description: 更新土地用途信息
404 * @param {*} val
405 * @author: renchao
406 */
407 upDateTdytxxList(val) {
408 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
409 this.key++;
410 }, 306 },
411 // 是否持证人变化 307 components: { qlrCommonTable, tdytTable },
412 /** 308 computed: {
413 * @description: 是否持证人变化 309 ...mapGetters(["dictData", "flag"]),
414 * @param {*} val
415 * @author: renchao
416 */
417 updaterow() {
418 this.czr = "";
419 }, 310 },
420 /** 311 data () {
421 * @description: 更新权利人信息 312 return {
422 * @param {*} val 313 loading: false,
423 * @author: renchao 314 mjdw: "1",
424 */ 315 //表单是否可操作
425 upDateQlrxxList(val) { 316 viewEdit: false,
426 this.ruleForm.qlrList = _.cloneDeep(val); 317 disabled: true,
427 this.czrOptions = this.ruleForm.qlrList; 318 tdytOption: [],
428 this.key++; 319 czrOptions: [],
429 }, 320 czr: "",
430 // 更新权利人信息 321 ruleForm: {
431 /** 322 flow: {
432 * @description: 更新权利人信息 323 ywh: "",
433 * @param {*} val 324 },
434 * @author: renchao 325 slry: "",
435 */ 326 slsj: "",
436 upDateYwrxxList(val) { 327 qllx: "",
437 this.ruleForm.ywrList = _.cloneDeep(val); 328 djlx: "",
329 djqx: "",
330 sldy: {
331 gyfs: "",
332 },
333 // 宗地代码
334 zddm: "",
335 bdcdyh: "",
336 qlxzmc: "",
337 qlrxx: [],
338 // 自然幢号
339 zrzh: "",
340 // 户不动产单元号
341 hbdcdyh: "",
342 djzt: "",
343 // 图幅丘幢号
344 tfqzh: "",
345 zl: "",
346 // 房屋用途
347 fwyt: "",
348 fwxz: "",
349 fwjg: "",
350 // 权利人信息
351 // 是否分别持证
352 sffbcz: "",
353 // 持证人
354 czr: "",
355 djyy: "",
356 // 规划用途名称
357 zdjbxx: {
358 ghytmc: "",
359 },
360 fdcq2: {
361 fwxzmc: "",
362 },
363 slsq: {
364 gyfs: "",
365 },
366 },
367 //传递参数
368 propsParam: {},
369 rules: {},
370 };
438 }, 371 },
439 /** 372 methods: {
440 * @description: onSubmit 373 /**
441 * @author: renchao 374 * @description: dataSelectClick
442 */ 375 * @author: renchao
443 onSubmit() { 376 */
444 let that = this; 377 dataSelectClick () {
445 let arr = this.ruleForm.tdytqxList.filter((item) => !item.yt); 378 this.$popup(
446 if (arr.length > 0) { 379 "房屋所有权",
447 this.$message({ 380 this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai",
448 showClose: true, 381 {
449 message: "土地用途不能为空", 382 formData: {
450 type: "error", 383 bsmSldy: this.propsParam.bsmSldy,
451 }); 384 qllx: this.propsParam.qllx,
452 return false; 385 },
453 } 386 }
454 if (this.ruleForm.qlrList.length == 0) { 387 );
455 this.$message({ 388 },
456 showClose: true, 389 /**
457 message: "请确认权利人信息", 390 * @description: 更新土地用途信息
458 type: "error", 391 * @param {*} val
459 }); 392 * @author: renchao
460 return false; 393 */
461 } 394 upDateTdytxxList (val) {
462 395 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
463 if (this.ruleForm.sldy.gyfs == "0") { 396 this.key++;
464 if (this.ruleForm.qlrList.length > 1) { 397 },
398 // 是否持证人变化
399 /**
400 * @description: 是否持证人变化
401 * @param {*} val
402 * @author: renchao
403 */
404 updaterow () {
405 this.czr = "";
406 },
407 /**
408 * @description: 更新权利人信息
409 * @param {*} val
410 * @author: renchao
411 */
412 upDateQlrxxList (val) {
413 this.ruleForm.qlrList = _.cloneDeep(val);
414 this.czrOptions = this.ruleForm.qlrList;
415 this.key++;
416 },
417 // 更新权利人信息
418 /**
419 * @description: 更新权利人信息
420 * @param {*} val
421 * @author: renchao
422 */
423 upDateYwrxxList (val) {
424 this.ruleForm.ywrList = _.cloneDeep(val);
425 },
426 /**
427 * @description: onSubmit
428 * @author: renchao
429 */
430 onSubmit () {
431 let that = this;
432 let arr = this.ruleForm.tdytqxList.filter((item) => !item.yt);
433 if (arr.length > 0) {
465 this.$message({ 434 this.$message({
466 showClose: true, 435 showClose: true,
467 message: "共有方式:单独所有,权利人只能是一个人", 436 message: "土地用途不能为空",
468 type: "error", 437 type: "error",
469 }); 438 });
470 return false; 439 return false;
471 } 440 }
472 this.ruleForm.qlrList[0].sfczr = "1"; 441 if (this.ruleForm.qlrList.length == 0) {
473 } else {
474 if (this.ruleForm.qlrList.length <= 1) {
475 this.$message({ 442 this.$message({
476 showClose: true, 443 showClose: true,
477 message: 444 message: "请确认权利人信息",
478 "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
479 type: "error", 445 type: "error",
480 }); 446 });
481 return false; 447 return false;
482 } 448 }
483 //是否分别持证 449
484 if (this.ruleForm.sldy.sqfbcz == "1") { 450 if (this.ruleForm.sldy.gyfs == "0") {
485 //是 451 if (this.ruleForm.qlrList.length > 1) {
486 this.ruleForm.qlrList.forEach((item, index) => { 452 this.$message({
487 item.sfczr = "1"; 453 showClose: true,
488 }); 454 message: "共有方式:单独所有,权利人只能是一个人",
455 type: "error",
456 });
457 return false;
458 }
459 this.ruleForm.qlrList[0].sfczr = "1";
489 } else { 460 } else {
490 if (!that.czr) { 461 if (this.ruleForm.qlrList.length <= 1) {
491 that.$message({ 462 this.$message({
492 showClose: true, 463 showClose: true,
493 message: "请选择持证人", 464 message:
465 "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
494 type: "error", 466 type: "error",
495 }); 467 });
496 return false; 468 return false;
497 } 469 }
498 this.ruleForm.qlrList.forEach((item, index) => { 470 //是否分别持证
499 if (item.zjh == that.czr) { 471 if (this.ruleForm.sldy.sqfbcz == "1") {
472 //是
473 this.ruleForm.qlrList.forEach((item, index) => {
500 item.sfczr = "1"; 474 item.sfczr = "1";
501 } else { 475 });
502 item.sfczr = "0"; 476 } else {
477 if (!that.czr) {
478 that.$message({
479 showClose: true,
480 message: "请选择持证人",
481 type: "error",
482 });
483 return false;
503 } 484 }
504 }); 485 this.ruleForm.qlrList.forEach((item, index) => {
505 } 486 if (item.zjh == that.czr) {
506 } 487 item.sfczr = "1";
507 saveData(this.ruleForm).then((res) => { 488 } else {
508 if (res.code === 200) { 489 item.sfczr = "0";
509 this.$message({ 490 }
510 showClose: true, 491 });
511 message: "保存成功!", 492 }
512 type: "success",
513 });
514 this.$store.dispatch("user/refreshPage", true);
515 } else {
516 this.$message({
517 showClose: true,
518 message: res.message,
519 type: "error",
520 });
521 } 493 }
522 }); 494 saveData(this.ruleForm).then((res) => {
523 }, 495 if (res.code === 200) {
524 /** 496 this.$message({
525 * @description: compare 497 showClose: true,
526 * @author: renchao 498 message: "保存成功!",
527 */ 499 type: "success",
528 compare() { 500 });
529 this.$popupDialog( 501 this.$store.dispatch("user/refreshPage", true);
530 this.ruleForm.qlxx.qllxmc, 502 } else {
531 "registerBook/comparison", 503 this.$message({
532 { 504 showClose: true,
533 bsmQlxx: this.ruleForm.qlxx.bsmQlxx, 505 message: res.message,
534 dqqllx: "FDCQ2", 506 type: "error",
535 }, 507 });
536 "80%", 508 }
537 true 509 });
538 ); 510 },
511 /**
512 * @description: compare
513 * @author: renchao
514 */
515 compare () {
516 this.$popupDialog(
517 this.ruleForm.qlxx.qllxmc,
518 "registerBook/comparison",
519 {
520 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
521 dqqllx: "FDCQ2",
522 },
523 "80%",
524 true
525 );
526 },
539 }, 527 },
540 }, 528 };
541 };
542 </script> 529 </script>
543 <style scoped lang="scss"> 530 <style scoped lang="scss">
544 @import "~@/styles/public.scss"; 531 @import "~@/styles/public.scss";
545 @import "~@/styles/slxx/slxx.scss"; 532 @import "~@/styles/slxx/slxx.scss";
546 /deep/.el-form { 533 /deep/.el-form {
547 display: flex; 534 display: flex;
548 flex-direction: column; 535 flex-direction: column;
549 height: calc(100vh - 130px); 536 height: calc(100vh - 130px);
550 } 537 }
551 538
552 /deep/.el-form-item__label { 539 /deep/.el-form-item__label {
553 padding: 0; 540 padding: 0;
554 } 541 }
555 542
556 /deep/.el-radio { 543 /deep/.el-radio {
557 margin-right: 10px; 544 margin-right: 10px;
558 } 545 }
559 546
560 /deep/.el-select { 547 /deep/.el-select {
561 width: 100%; 548 width: 100%;
562 } 549 }
563 550
564 /deep/.el-form-item { 551 /deep/.el-form-item {
565 margin-bottom: 8px; 552 margin-bottom: 8px;
566 } 553 }
567 554
568 .marginBot0 { 555 .marginBot0 {
569 margin-bottom: 0 !important; 556 margin-bottom: 0 !important;
570 } 557 }
571 558
572 .slxx { 559 .slxx {
573 box-sizing: border-box; 560 box-sizing: border-box;
574 } 561 }
575 562
576 .slxx_con { 563 .slxx_con {
577 flex: 1; 564 flex: 1;
578 height: 100%; 565 height: 100%;
579 background-color: #ffffff; 566 background-color: #ffffff;
580 overflow-y: auto; 567 overflow-y: auto;
581 padding-right: 3px; 568 padding-right: 3px;
582 overflow-x: hidden; 569 overflow-x: hidden;
583 } 570 }
584 571
585 .submit_btn { 572 .submit_btn {
586 height: 50px; 573 height: 50px;
587 } 574 }
588 575
589 .slxx_title { 576 .slxx_title {
590 border-bottom: 1px solid $borderColor; 577 border-bottom: 1px solid $borderColor;
591 padding-left: 10px; 578 padding-left: 10px;
592 padding-bottom: 5px; 579 padding-bottom: 5px;
593 margin-bottom: 10px; 580 margin-bottom: 10px;
594 margin-top: 5px; 581 margin-top: 5px;
595 font-size: 16px; 582 font-size: 16px;
596 font-weight: 500; 583 font-weight: 500;
597 color: #4a4a4a; 584 color: #4a4a4a;
598 } 585 }
599 586
600 .btn { 587 .btn {
601 text-align: center; 588 text-align: center;
602 padding-top: 10px; 589 padding-top: 10px;
603 height: 36px; 590 height: 36px;
604 background-color: #ffffff; 591 background-color: #ffffff;
605 padding: 5px 0; 592 padding: 5px 0;
606 } 593 }
607 594
608 .textArea { 595 .textArea {
609 /deep/.el-textarea__inner { 596 /deep/.el-textarea__inner {
610 min-height: 90px !important; 597 min-height: 90px !important;
598 }
611 } 599 }
612 }
613 600
614 /deep/.el-form-item__label { 601 /deep/.el-form-item__label {
615 padding-bottom: 0px; 602 padding-bottom: 0px;
616 } 603 }
617 </style> 604 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-01 13:41:37 4 * @LastEditTime: 2023-09-11 16:28:26
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -319,6 +319,15 @@ ...@@ -319,6 +319,15 @@
319 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)); 319 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val));
320 this.czrOptions = this.ruleForm.qlrList; 320 this.czrOptions = this.ruleForm.qlrList;
321 this.key++; 321 this.key++;
322 this.num = 0
323 this.ruleForm.qlrList.forEach(item => {
324 if (item.sqrmc == this.czr) {
325 this.num++
326 }
327 })
328 if (this.num == 0) {
329 this.czr = ''
330 }
322 }, 331 },
323 // 是否持证人变化 332 // 是否持证人变化
324 /** 333 /**
......
...@@ -348,7 +348,7 @@ ...@@ -348,7 +348,7 @@
348 ? (this.ruleForm.slsq.fzfs = "1") 348 ? (this.ruleForm.slsq.fzfs = "1")
349 : this.ruleForm.slsq.fzfs; 349 : this.ruleForm.slsq.fzfs;
350 this.czrOptions = this.ruleForm.qlrList; 350 this.czrOptions = this.ruleForm.qlrList;
351 this.ruleForm.lq.zlnd ? this.$set(this.ruleForm.lq,'zlnd',this.ruleForm.lq.zlnd.toString()) : this.$set(this.ruleForm.lq,'zlnd',"") 351 this.ruleForm.lq.zlnd ? this.$set(this.ruleForm.lq, 'zlnd', this.ruleForm.lq.zlnd.toString()) : this.$set(this.ruleForm.lq, 'zlnd', "")
352 setTimeout(() => { 352 setTimeout(() => {
353 this.loading = false 353 this.loading = false
354 }, 200) 354 }, 200)
...@@ -367,7 +367,7 @@ ...@@ -367,7 +367,7 @@
367 czrOptions: [], 367 czrOptions: [],
368 czr: "", 368 czr: "",
369 ruleForm: { 369 ruleForm: {
370 lq:{ 370 lq: {
371 }, 371 },
372 flow: { 372 flow: {
373 ywh: "", 373 ywh: "",
...@@ -420,7 +420,15 @@ ...@@ -420,7 +420,15 @@
420 upDateQlrxxList (val) { 420 upDateQlrxxList (val) {
421 this.ruleForm.qlrList = _.cloneDeep(val); 421 this.ruleForm.qlrList = _.cloneDeep(val);
422 this.czrOptions = this.ruleForm.qlrList; 422 this.czrOptions = this.ruleForm.qlrList;
423 this.key++; 423 this.num = 0
424 this.ruleForm.qlrList.forEach(item => {
425 if (item.sqrmc == this.czr) {
426 this.num++
427 }
428 })
429 if (this.num == 0) {
430 this.czr = ''
431 }
424 }, 432 },
425 /** 433 /**
426 * @description: 更新业务人信息 434 * @description: 更新业务人信息
......
...@@ -456,6 +456,15 @@ ...@@ -456,6 +456,15 @@
456 upDateQlrxxList (val) { 456 upDateQlrxxList (val) {
457 this.ruleForm.qlrList = _.cloneDeep(val); 457 this.ruleForm.qlrList = _.cloneDeep(val);
458 this.czrOptions = this.ruleForm.qlrList; 458 this.czrOptions = this.ruleForm.qlrList;
459 this.num = 0
460 this.ruleForm.qlrList.forEach(item => {
461 if (item.sqrmc == this.czr) {
462 this.num++
463 }
464 })
465 if (this.num == 0) {
466 this.czr = ''
467 }
459 }, 468 },
460 // 是否持证人变化 469 // 是否持证人变化
461 /** 470 /**
......
...@@ -359,10 +359,10 @@ ...@@ -359,10 +359,10 @@
359 czrOptions: [], 359 czrOptions: [],
360 czr: "", 360 czr: "",
361 ruleForm: { 361 ruleForm: {
362 lq:{ 362 lq: {
363 zlnd:"", 363 zlnd: "",
364 ldsyqssj:"", 364 ldsyqssj: "",
365 ldsyjssj:"" 365 ldsyjssj: ""
366 }, 366 },
367 flow: { 367 flow: {
368 ywh: "", 368 ywh: "",
...@@ -406,7 +406,15 @@ ...@@ -406,7 +406,15 @@
406 upDateQlrxxList (val) { 406 upDateQlrxxList (val) {
407 this.ruleForm.qlrList = _.cloneDeep(val); 407 this.ruleForm.qlrList = _.cloneDeep(val);
408 this.czrOptions = this.ruleForm.qlrList; 408 this.czrOptions = this.ruleForm.qlrList;
409 this.key++; 409 this.num = 0
410 this.ruleForm.qlrList.forEach(item => {
411 if (item.sqrmc == this.czr) {
412 this.num++
413 }
414 })
415 if (this.num == 0) {
416 this.czr = ''
417 }
410 }, 418 },
411 // 是否持证人变化 419 // 是否持证人变化
412 /** 420 /**
......
...@@ -429,7 +429,15 @@ ...@@ -429,7 +429,15 @@
429 upDateQlrxxList (val) { 429 upDateQlrxxList (val) {
430 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)); 430 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val));
431 this.czrOptions = this.ruleForm.qlrList; 431 this.czrOptions = this.ruleForm.qlrList;
432 this.key++; 432 this.num = 0
433 this.ruleForm.qlrList.forEach(item => {
434 if (item.sqrmc == this.czr) {
435 this.num++
436 }
437 })
438 if (this.num == 0) {
439 this.czr = ''
440 }
433 }, 441 },
434 // 更新义务人信息 442 // 更新义务人信息
435 /** 443 /**
......
...@@ -340,8 +340,8 @@ ...@@ -340,8 +340,8 @@
340 }, 340 },
341 //传递参数 341 //传递参数
342 propsParam: this.$attrs, 342 propsParam: this.$attrs,
343 rules: {}, 343 rules: {}
344 }; 344 }
345 }, 345 },
346 methods: { 346 methods: {
347 /** 347 /**
...@@ -352,6 +352,15 @@ ...@@ -352,6 +352,15 @@
352 upDateQlrxxList (val) { 352 upDateQlrxxList (val) {
353 this.ruleForm.qlrList = _.cloneDeep(val); 353 this.ruleForm.qlrList = _.cloneDeep(val);
354 this.czrOptions = this.ruleForm.qlrList; 354 this.czrOptions = this.ruleForm.qlrList;
355 this.num = 0
356 this.ruleForm.qlrList.forEach(item => {
357 if (item.sqrmc == this.czr) {
358 this.num++
359 }
360 })
361 if (this.num == 0) {
362 this.czr = ''
363 }
355 }, 364 },
356 /** 365 /**
357 * @description: 更新业务人信息 366 * @description: 更新业务人信息
......
...@@ -270,6 +270,15 @@ ...@@ -270,6 +270,15 @@
270 upDateQlrxxList (val) { 270 upDateQlrxxList (val) {
271 this.ruleForm.qlrList = _.cloneDeep(val); 271 this.ruleForm.qlrList = _.cloneDeep(val);
272 this.czrOptions = this.ruleForm.qlrList; 272 this.czrOptions = this.ruleForm.qlrList;
273 this.num = 0
274 this.ruleForm.qlrList.forEach(item => {
275 if (item.sqrmc == this.czr) {
276 this.num++
277 }
278 })
279 if (this.num == 0) {
280 this.czr = ''
281 }
273 }, 282 },
274 /** 283 /**
275 * @description: 是否持证人变化 284 * @description: 是否持证人变化
......
...@@ -130,22 +130,20 @@ ...@@ -130,22 +130,20 @@
130 <el-input disabled v-model="ruleForm.ygdj.ygdjzlmc"></el-input> 130 <el-input disabled v-model="ruleForm.ygdj.ygdjzlmc"></el-input>
131 </el-form-item> 131 </el-form-item>
132 </el-col> 132 </el-col>
133 <el-col :span="8"> 133 <el-col :span="8">
134 <el-form-item 134 <el-form-item
135 label="是否禁止或者限制转让的约定:" 135 label="是否禁止或者限制转让的约定:"
136 label-width="200px" 136 label-width="200px">
137 >
138 <el-radio-group 137 <el-radio-group
139 v-model="ruleForm.ygdj.sfczjzhxz" 138 v-model="ruleForm.ygdj.sfczjzhxz"
140 :disabled="!viewEdit || isJfOperation" 139 :disabled="!viewEdit">
141 >
142 <el-radio label="1"></el-radio> 140 <el-radio label="1"></el-radio>
143 <el-radio label="0"></el-radio> 141 <el-radio label="0"></el-radio>
144 </el-radio-group> 142 </el-radio-group>
145 </el-form-item> 143 </el-form-item>
146 </el-col> 144 </el-col>
147 </el-row> 145 </el-row>
148 <el-row :gutter="10"> 146 <el-row :gutter="10">
149 <el-col :span="8"> 147 <el-col :span="8">
150 <el-form-item label="被担保主债权数额:"> 148 <el-form-item label="被担保主债权数额:">
151 <div class="flex"> 149 <div class="flex">
...@@ -320,14 +318,14 @@ ...@@ -320,14 +318,14 @@
320 Init(formdata).then((res) => { 318 Init(formdata).then((res) => {
321 if (res.code === 200 && res.result) { 319 if (res.code === 200 && res.result) {
322 that.ruleForm = res.result; 320 that.ruleForm = res.result;
323 this.czrOptions = this.ruleForm.qlrList; 321 that.czrOptions = this.ruleForm.qlrList;
324 this.ruleForm.qlrList.forEach((item) => { 322 that.ruleForm.qlrList.forEach((item) => {
325 if (item.sfczr == 1) { 323 if (item.sfczr == 1) {
326 this.czr = item.sqrmc; 324 that.czr = item.sqrmc;
327 } 325 }
328 }); 326 });
329 setTimeout(() => { 327 setTimeout(() => {
330 this.loading = false 328 that.loading = false
331 }, 200) 329 }, 200)
332 } 330 }
333 }) 331 })
...@@ -360,6 +358,15 @@ ...@@ -360,6 +358,15 @@
360 upDateQlrxxList (val) { 358 upDateQlrxxList (val) {
361 this.ruleForm.qlrList = _.cloneDeep(val); 359 this.ruleForm.qlrList = _.cloneDeep(val);
362 this.czrOptions = this.ruleForm.qlrList; 360 this.czrOptions = this.ruleForm.qlrList;
361 this.num = 0
362 this.ruleForm.qlrList.forEach(item => {
363 if (item.sqrmc == this.czr) {
364 this.num++
365 }
366 })
367 if (this.num == 0) {
368 this.czr = ''
369 }
363 }, 370 },
364 /** 371 /**
365 * @description: 义务人信息 372 * @description: 义务人信息
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-28 15:38:25 4 * @LastEditTime: 2023-09-12 11:25:49
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -219,6 +219,7 @@ ...@@ -219,6 +219,7 @@
219 * @author: renchao 219 * @author: renchao
220 */ 220 */
221 ywhClick (item) { 221 ywhClick (item) {
222 sessionStorage.removeItem('keyPath')
222 //有任务权限 223 //有任务权限
223 if (item.sjlx == "3") { 224 if (item.sjlx == "3") {
224 item.djywbm = "DJBBL"; 225 item.djywbm = "DJBBL";
......
...@@ -83,32 +83,19 @@ ...@@ -83,32 +83,19 @@
83 </el-form-item> 83 </el-form-item>
84 </el-col> 84 </el-col>
85 <el-col :span="7"> 85 <el-col :span="7">
86 <el-form-item label="土地证号"> 86 <el-form-item label="坐落">
87 <el-input placeholder="请输入土地证号" v-model="querydzForm.bdcqzh" clearable>
88 </el-input>
89 </el-form-item>
90 </el-col>
91 <el-col :span="7">
92 <el-form-item label="土地坐落">
93 <el-input placeholder="请输入土地坐落" v-model="querydzForm.zl" clearable> 87 <el-input placeholder="请输入土地坐落" v-model="querydzForm.zl" clearable>
94 </el-input> 88 </el-input>
95 </el-form-item> 89 </el-form-item>
96 </el-col> 90 </el-col>
97 </el-row> 91 <el-col :span="10" class="btnColRight">
98 <el-row>
99 <el-col :span="6">
100 <el-form-item label="项目名称">
101 <el-input placeholder="请输入项目名称" v-model="querydzForm.xmmc"></el-input>
102 </el-form-item>
103 </el-col>
104
105 <el-col :span="18" class="btnColRight">
106 <el-form-item> 92 <el-form-item>
107 <el-button type="primary" @click="resetForm(true)">重置</el-button> 93 <el-button type="primary" @click="resetForm(true)">重置</el-button>
108 <el-button type="primary" @click="handleSearch">查询</el-button> 94 <el-button type="primary" @click="handleSearch">查询</el-button>
109 </el-form-item> 95 </el-form-item>
110 </el-col> 96 </el-col>
111 </el-row> 97 </el-row>
98
112 </el-form> 99 </el-form>
113 </div> 100 </div>
114 <div class="from-clues-content loadingtext"> 101 <div class="from-clues-content loadingtext">
...@@ -310,6 +297,11 @@ ...@@ -310,6 +297,11 @@
310 this.bdcdysz = val; 297 this.bdcdysz = val;
311 } 298 }
312 }, 299 },
300 /**
301 * @description: handleLpbClick
302 * @param {*} item
303 * @author: renchao
304 */
313 handleLpbClick (item) { 305 handleLpbClick (item) {
314 this.$popup('楼盘表', 'lpb/index', { 306 this.$popup('楼盘表', 'lpb/index', {
315 width: '85%', 307 width: '85%',
...@@ -320,17 +312,6 @@ ...@@ -320,17 +312,6 @@
320 } 312 }
321 }) 313 })
322 }, 314 },
323 handleSelectionChange (val) {
324 if (this.sqywInfo.sqywdylx == "1") {
325 if (val.length > 1) {
326 this.bdcdysz = [...val[val.length - 1]];
327 } else {
328 this.bdcdysz = val;
329 }
330 } else {
331 this.bdcdysz = val;
332 }
333 },
334 /** 315 /**
335 * @description: select 316 * @description: select
336 * @param {*} selection 317 * @param {*} selection
......
...@@ -38,7 +38,6 @@ class data extends filter { ...@@ -38,7 +38,6 @@ class data extends filter {
38 render: (h, scope) => { 38 render: (h, scope) => {
39 return ( 39 return (
40 <div> 40 <div>
41 {/*<a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>*/}
42 <span v-show={scope.row.qqzt == 1}>已确权</span> 41 <span v-show={scope.row.qqzt == 1}>已确权</span>
43 <span v-show={scope.row.qqzt == 0}>未确权</span> 42 <span v-show={scope.row.qqzt == 0}>未确权</span>
44 </div> 43 </div>
...@@ -47,10 +46,11 @@ class data extends filter { ...@@ -47,10 +46,11 @@ class data extends filter {
47 }, 46 },
48 { 47 {
49 prop: "tdzh", 48 prop: "tdzh",
49 width: '150',
50 label: "土地证号", 50 label: "土地证号",
51 }, 51 },
52 { 52 {
53 width: '100', 53 width: '120',
54 label: "权利类型", 54 label: "权利类型",
55 render: (h, scope) => { 55 render: (h, scope) => {
56 return ( 56 return (
...@@ -135,13 +135,12 @@ class data extends filter { ...@@ -135,13 +135,12 @@ class data extends filter {
135 }, 135 },
136 { 136 {
137 label: '操作', 137 label: '操作',
138 width: '160', 138 width: '120',
139 align: 'center', 139 align: 'center',
140 render: (h, scope) => { 140 render: (h, scope) => {
141 return ( 141 return (
142 <div> 142 <div>
143 <el-button type="text" icon="el-icon-film" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表</el-button> 143 <el-button type="text" icon="el-icon-film" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表</el-button>
144 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button>
145 </div> 144 </div>
146 ) 145 )
147 } 146 }
...@@ -191,24 +190,18 @@ class data extends filter { ...@@ -191,24 +190,18 @@ class data extends filter {
191 }, 190 },
192 { 191 {
193 prop: "tdzh", 192 prop: "tdzh",
193 width: '150',
194 label: "土地证号", 194 label: "土地证号",
195 }, 195 },
196 { 196 {
197 prop: "qllxmc", 197 prop: "qllxmc",
198 width: '120',
198 label: "权利类型", 199 label: "权利类型",
199 }, 200 },
200 { 201 {
201 prop: "xmmc", 202 prop: "xmmc",
202 label: "项目名称", 203 label: "项目名称",
203 }, 204 },
204 // {
205 // prop: "zrzh",
206 // label: "自然幢号",
207 // },
208 // {
209 // prop: "jzwmc",
210 // label: "建筑物名称",
211 // },
212 { 205 {
213 label: "土地/房屋性质", 206 label: "土地/房屋性质",
214 render: (h, scope) => { 207 render: (h, scope) => {
...@@ -220,7 +213,7 @@ class data extends filter { ...@@ -220,7 +213,7 @@ class data extends filter {
220 } 213 }
221 }, 214 },
222 { 215 {
223 label: "面积", 216 label: "土地/房屋面积",
224 render: (h, scope) => { 217 render: (h, scope) => {
225 return ( 218 return (
226 <div> 219 <div>
...@@ -239,29 +232,19 @@ class data extends filter { ...@@ -239,29 +232,19 @@ class data extends filter {
239 ) 232 )
240 } 233 }
241 }, 234 },
242 // {
243 // prop: "zcs",
244 // label: "总层数",
245 // width: '70',
246 // },
247 // {
248 // prop: "zts",
249 // label: "总套数",
250 // width: '70',
251 // },
252 { 235 {
253 prop: "zl", 236 prop: "zl",
254 label: "多幢坐落", 237 label: "多幢坐落",
255 }, 238 },
256 { 239 {
257 label: '操作', 240 label: '操作',
258 width: '80', 241 width: '120',
259 align: 'center', 242 align: 'center',
260 fixed: 'right', 243 fixed: 'right',
261 render: (h, scope) => { 244 render: (h, scope) => {
262 return ( 245 return (
263 <div> 246 <div>
264 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 247 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>自然幢</el-button>
265 </div> 248 </div>
266 ) 249 )
267 } 250 }
......