5d6b144d by xiaomiao

--no commit message

1 parent f27b61d3
...@@ -480,7 +480,7 @@ export default { ...@@ -480,7 +480,7 @@ export default {
480 ztQlxxList: [], 480 ztQlxxList: [],
481 rules: { 481 rules: {
482 ztQlxxrules: [ 482 ztQlxxrules: [
483 { required: true, message: "抵押不动产信息", trigger: "change" }, 483 { required: true, message: "抵押不动产信息", trigger: "blur" },
484 ], 484 ],
485 bdcqzhrules: [ 485 bdcqzhrules: [
486 { required: true, message: "不动产登记证明号", trigger: "blur" }, 486 { required: true, message: "不动产登记证明号", trigger: "blur" },
......
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
194 </el-form-item> 194 </el-form-item>
195 </el-col> 195 </el-col>
196 <el-col :span="8"> 196 <el-col :span="8">
197 <el-form-item label="业务号:"> 197 <el-form-item label="业务号:" prop="qlxx.ywh" :rules="rules.ywhrules">
198 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 198 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
199 </el-form-item> 199 </el-form-item>
200 </el-col> 200 </el-col>
...@@ -612,7 +612,7 @@ export default { ...@@ -612,7 +612,7 @@ export default {
612 ableOperation: false, 612 ableOperation: false,
613 rules: { 613 rules: {
614 ztQlxxrules: [ 614 ztQlxxrules: [
615 { required: true, message: "抵押不动产信息", trigger: "change" }, 615 { required: true, message: "抵押不动产信息", trigger: "blur" },
616 ], 616 ],
617 bdcqzhrules: [ 617 bdcqzhrules: [
618 { required: true, message: "不动产登记证明号", trigger: "blur" }, 618 { required: true, message: "不动产登记证明号", trigger: "blur" },
...@@ -636,6 +636,7 @@ export default { ...@@ -636,6 +636,7 @@ export default {
636 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 636 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
637 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 637 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
638 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], 638 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
639 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
639 }, 640 },
640 }; 641 };
641 }, 642 },
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
165 </el-form-item> 165 </el-form-item>
166 </el-col> 166 </el-col>
167 <el-col :span="8"> 167 <el-col :span="8">
168 <el-form-item label="业务号:"> 168 <el-form-item label="业务号:" prop="qlxx.ywh" :rules="rules.ywhrules">
169 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 169 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
170 </el-form-item> 170 </el-form-item>
171 </el-col> 171 </el-col>
...@@ -505,7 +505,7 @@ export default { ...@@ -505,7 +505,7 @@ export default {
505 //传递参数\ 505 //传递参数\
506 rules: { 506 rules: {
507 ztQlxxrules: [ 507 ztQlxxrules: [
508 { required: true, message: "抵押不动产信息", trigger: "change" }, 508 { required: true, message: "抵押不动产信息", trigger: "blur" },
509 ], 509 ],
510 bdcqzhrules: [ 510 bdcqzhrules: [
511 { required: true, message: "不动产登记证明号", trigger: "blur" }, 511 { required: true, message: "不动产登记证明号", trigger: "blur" },
...@@ -513,7 +513,8 @@ export default { ...@@ -513,7 +513,8 @@ export default {
513 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], 513 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
514 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 514 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
515 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 515 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
516 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], 516 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
517 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
517 }, 518 },
518 }; 519 };
519 }, 520 },
......
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
163 </el-form-item> 163 </el-form-item>
164 </el-col> 164 </el-col>
165 <el-col :span="8"> 165 <el-col :span="8">
166 <el-form-item label="业务号:"> 166 <el-form-item label="业务号:" prop="qlxx.ywh" :rules="rules.ywhrules">
167 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 167 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
168 </el-form-item> 168 </el-form-item>
169 </el-col> 169 </el-col>
...@@ -250,8 +250,8 @@ ...@@ -250,8 +250,8 @@
250 </el-col> 250 </el-col>
251 251
252 <el-col :span="8"> 252 <el-col :span="8">
253 <el-form-item label="预告登记种类:" prop="ygdj.ygdjlx" :rules="rules.ygdjlxrules"> 253 <el-form-item label="预告登记种类:" prop="ygdj.ygdjzlmc" :rules="rules.ygdjlxrules">
254 <el-select v-model="ruleForm.ygdj.ygdjlx"> 254 <el-select v-model="ruleForm.ygdj.ygdjzlmc">
255 <el-option 255 <el-option
256 v-for="item in dictData['A29']" 256 v-for="item in dictData['A29']"
257 :key="item.dcode" 257 :key="item.dcode"
...@@ -543,7 +543,7 @@ export default { ...@@ -543,7 +543,7 @@ export default {
543 //传递参数\ 543 //传递参数\
544 rules: { 544 rules: {
545 ztQlxxrules: [ 545 ztQlxxrules: [
546 { required: true, message: "抵押不动产信息", trigger: "change" }, 546 { required: true, message: "抵押不动产信息", trigger: "blur" },
547 ], 547 ],
548 bdcqzhrules: [ 548 bdcqzhrules: [
549 { required: true, message: "不动产登记证明号", trigger: "blur" }, 549 { required: true, message: "不动产登记证明号", trigger: "blur" },
...@@ -552,8 +552,9 @@ export default { ...@@ -552,8 +552,9 @@ export default {
552 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], 552 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
553 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 553 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
554 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 554 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
555 ygdjlxrules: [{ required: true, message: "预告登记种类", trigger: "blur" }], 555 ygdjlxrules: [{ required: true, message: "预告登记种类", trigger: "change" }],
556 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], 556 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
557 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
557 }, 558 },
558 ableOperation:false, 559 ableOperation:false,
559 }; 560 };
...@@ -563,6 +564,7 @@ export default { ...@@ -563,6 +564,7 @@ export default {
563 }, 564 },
564 mounted() { 565 mounted() {
565 this.ableOperation=this.$parent.ableOperation 566 this.ableOperation=this.$parent.ableOperation
567
566 }, 568 },
567 methods: { 569 methods: {
568 /** 570 /**
...@@ -619,6 +621,7 @@ export default { ...@@ -619,6 +621,7 @@ export default {
619 }).then((res) => { 621 }).then((res) => {
620 if (res.code == 200) { 622 if (res.code == 200) {
621 this.ssQlxxList = res.result; 623 this.ssQlxxList = res.result;
624 console.log("this.$refs.ruleForm",this.$refs.ruleForm);
622 } 625 }
623 }); 626 });
624 627
...@@ -626,6 +629,7 @@ export default { ...@@ -626,6 +629,7 @@ export default {
626 getZtQlxx({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { 629 getZtQlxx({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
627 if (res.code == 200) { 630 if (res.code == 200) {
628 this.ztQlxxList = res.result; 631 this.ztQlxxList = res.result;
632 console.log("this.$refs.ruleForm",this.$refs.ruleForm);
629 } 633 }
630 }); 634 });
631 635
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
102 </el-form-item> 102 </el-form-item>
103 </el-col> 103 </el-col>
104 <el-col :span="8"> 104 <el-col :span="8">
105 <el-form-item label="业务号:"> 105 <el-form-item label="业务号:" prop="qlxx.ywh" :rules="rules.ywhrules">
106 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 106 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
107 </el-form-item> 107 </el-form-item>
108 </el-col> 108 </el-col>
...@@ -468,7 +468,8 @@ export default { ...@@ -468,7 +468,8 @@ export default {
468 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 468 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
469 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 469 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
470 ygdjlxrules: [{ required: true, message: "预告登记种类", trigger: "blur" }], 470 ygdjlxrules: [{ required: true, message: "预告登记种类", trigger: "blur" }],
471 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], 471 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
472 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
472 }, 473 },
473 ableOperation:false, 474 ableOperation:false,
474 }; 475 };
......
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
166 </el-form-item> 166 </el-form-item>
167 </el-col> 167 </el-col>
168 <el-col :span="8"> 168 <el-col :span="8">
169 <el-form-item label="业务号:"> 169 <el-form-item label="业务号:" prop="qlxx.ywh" :rules="rules.ywhrules">
170 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 170 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
171 </el-form-item> 171 </el-form-item>
172 </el-col> 172 </el-col>
...@@ -442,7 +442,7 @@ export default { ...@@ -442,7 +442,7 @@ export default {
442 //传递参数\ 442 //传递参数\
443 rules: { 443 rules: {
444 ztQlxxrules: [ 444 ztQlxxrules: [
445 { required: true, message: "抵押不动产信息", trigger: "change" }, 445 { required: true, message: "抵押不动产信息", trigger: "blur" },
446 ], 446 ],
447 bdcqzhrules: [ 447 bdcqzhrules: [
448 { required: true, message: "不动产登记证明号", trigger: "blur" }, 448 { required: true, message: "不动产登记证明号", trigger: "blur" },
...@@ -450,8 +450,9 @@ export default { ...@@ -450,8 +450,9 @@ export default {
450 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], 450 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
451 djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], 451 djjgrules: [{ required: true, message: "登记机构", trigger: "change" }],
452 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 452 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
453 djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], 453 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
454 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], 454 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }],
455 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
455 }, 456 },
456 ableOperation: false, 457 ableOperation: false,
457 }; 458 };
......
1 <!--
2 * @Description: 审批意见
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:24
5 -->
6 <template>
7 <div class="spyj loadingtext">
8 <div class="box">
9 <div class="spyj_title">
10 <div class="righttitle">审批表</div>
11 </div>
12
13 <div v-for="(item, index) in tableData" :key="index">
14 <el-form
15 :model="tableData[index]"
16 label-width="120px"
17 ref="ruleFormRef'"
18 >
19 <div class="spyj_form">
20 <div class="item_left">
21 <div class="right">{{ item.jdmc }}意见</div>
22 </div>
23 <div class="item_right">
24 <el-row>
25 <el-col :span="24">
26 <el-form-item label-width="0" class="opinion_item">
27 <el-input
28 :disabled="!ableOperation"
29 type="textarea"
30 :rows="4"
31 class="opinion"
32 placeholder="请输入审批意见"
33 v-model="item.shyj"
34 ></el-input>
35 <el-button
36 class="opinion_btn"
37 @click="commonOpinion(index)"
38 v-if="ableOperation"
39 >常用意见</el-button
40 >
41 </el-form-item>
42 </el-col>
43 </el-row>
44 <el-row>
45 <el-col :span="16">
46 <el-form-item label="审查人">
47 <el-input
48 :disabled="!ableOperation"
49 v-model="item.shryxm"
50 ></el-input>
51 </el-form-item>
52 </el-col>
53 <el-col :span="8">
54 <el-form-item class="sjxzq" label="审核时间">
55 <el-date-picker
56 :disabled="!ableOperation"
57 v-model="item.shjssj"
58 type="date"
59 placeholder="选择日期"
60 value-format="yyyy-MM-dd HH:mm:ss"
61 format="yyyy-MM-dd"
62 >
63 </el-date-picker>
64 </el-form-item>
65 </el-col>
66 </el-row>
67 </div>
68 </div>
69 </el-form>
70 </div>
71 <div class="submit_button" v-if="ableOperation">
72 <el-button type="primary" @click="onSubmit()">保存</el-button>
73 </div>
74 </div>
75 <!-- <el-empty v-if="isNoData" description="暂无数据"></el-empty> -->
76 </div>
77 </template>
78 <script>
79 import { saveSpyjBySlsq, getSpyjList } from "@/api/opinion.js";
80 import { mapGetters } from "vuex";
81 export default {
82 computed: {
83 ...mapGetters(["userData", "yjsqOptions", "userInfo"]),
84 },
85 data() {
86 return {
87 isNoData: false,
88 currentindex: 0,
89 bsmSlsq: "",
90 ableOperation: false,
91 bsmSlsq: this.$route.query.bsmSlsq,
92 bestepid: this.$route.query.bestepid,
93 propsParam: {},
94 tableData: [],
95 falg: false,
96 falg1: false,
97 jdmc: "",
98 indexdqlc: 0,
99 };
100 },
101
102 watch: {
103 yjsqOptions: {
104 handler(val) {
105 console.log("val", val);
106 this.add(val);
107 },
108 deep: true,
109 immediate: true,
110 },
111 },
112 created() {},
113 mounted() {
114 this.propsParam = this.$attrs;
115 console.log("this.$parent.dqhj", this.$parent.dqhj);
116 this.ableOperation = this.$parent.currentSelectTab.ableOperation;
117 // this.ableOperation = this.$parent.ableOperation;
118 this.getShList();
119
120 switch (this.$parent.dqhj) {
121 case "cs":
122 this.indexdqlc = 0;
123 this.jdmc = "初审";
124 break;
125 case "fs":
126 this.indexdqlc = 1;
127 this.jdmc = "复审";
128 break;
129 case "hd":
130 this.indexdqlc = 2;
131 this.jdmc = "核定";
132 break;
133 }
134 },
135 methods: {
136 /**
137 * @description: getShList
138 * @param {*} obj
139 * @author: renchao
140 */
141 getShList() {
142 let that = this;
143 this.$startLoading();
144 console.log(this.userInfo);
145 var formdata = new FormData();
146 formdata.append("bsmBusiness", this.propsParam.bsmBusiness);
147 formdata.append("bestepid", this.$route.query.bestepid);
148
149 getSpyjList(formdata).then((res) => {
150 this.$endLoading();
151 if (res.code === 200 && res.result) {
152 this.tableData = res.result;
153 if (this.tableData.length == 0) {
154 console.log(0);
155 this.tableData.push({ jdmc: "初审" });
156 }else if(this.tableData[this.tableData.length-1].jdmc=="初审") {
157 console.log(1);
158 this.tableData.push({ jdmc: "复审" });
159 }else if(this.tableData[this.tableData.length-1].jdmc=="复审") {
160 console.log(2);
161 this.tableData.push({ jdmc: "核定" });
162 }
163 console.log("this.tableData", this.tableData);
164 }
165 });
166 },
167 /**
168 * @description: judgment
169 * @param {*} obj
170 * @author: renchao
171 */
172 judgment(obj) {},
173 /**
174 * @description: onSubmit
175 * @author: renchao
176 */
177 onSubmit() {
178 this.tableData.forEach((item, index) => {
179 item["bsmBusiness"] = this.propsParam.bsmBusiness;
180 item["bestepid"] = this.$route.query.bestepid;
181 item["shryxm"] = this.userInfo.name;
182 item["userid"] = this.userInfo.id;
183 item["shjssj"] = item.shkssj;
184 item["czjg"] = "1";
185 item["jddm"] = this.$parent.dqhj;
186 item["jdmc"] = this.jdmc;
187
188 });
189 console.log("this.tableData", this.tableData);
190 saveSpyjBySlsq(this.tableData).then((res) => {
191 if (res.code === 200) {
192 this.$message.success("保存成功");
193 this.refresh += 1;
194 } else {
195 this.$message.error(res.message);
196 }
197 });
198 // } else {
199 // return false;
200 // }
201 },
202 //打开常用意见列表弹窗
203 /**
204 * @description: 打开常用意见列表弹窗
205 * @param {*} index
206 * @author: renchao
207 */
208 commonOpinion(index) {
209 this.currentindex = index;
210 this.$popupDialog(
211 "常用意见",
212 "workflow/components/dialog/commonOpinion",
213 {},
214 "70%",
215 true
216 );
217 },
218 /**
219 * @description: add
220 * @param {*} val
221 * @author: renchao
222 */
223 add(val) {
224 if (val != "") {
225 this.$set(this.tableData[this.currentindex], "shyj", val);
226 }
227 },
228 },
229 };
230 </script>
231 <style scoped lang="scss">
232 @import "~@/styles/mixin.scss";
233
234 .spyj {
235 width: 100%;
236 height: 100%;
237 background-color: #f5f5f5;
238 padding: 5px;
239 .box {
240 overflow-x: auto;
241 width: 100%;
242 height: 95%;
243 background: #fff;
244 text-align: center;
245 padding: 4px;
246 overflow-y: scroll;
247 padding-top: 20px;
248 padding: 20px 40px;
249 .spyj_title {
250 width: 100%;
251 height: 80px;
252 border: 1px solid $borderColor;
253 background-color: #eceef2;
254 display: flex;
255 }
256 .leftadd {
257 width: 3%;
258 height: 100%;
259 display: flex;
260 font-size: 14px;
261 text-indent: 20px;
262 align-items: center;
263 border: 1px solid $borderColor;
264 }
265 .righttitle {
266 width: 80%;
267 height: 100%;
268 line-height: 80px;
269 border: 1px solid $borderColor;
270 margin: auto;
271 font-size: 22px;
272 font-weight: 400;
273 }
274 }
275
276 /deep/.el-form-item {
277 margin-bottom: 0;
278 }
279
280 .bottom10 {
281 margin-bottom: 15px;
282 }
283
284 .spyj_form {
285 display: flex;
286 border: 1px solid $borderColor;
287
288 .item_left {
289 width: 150px;
290 background-color: #f8f8fa;
291 color: #606266;
292 display: flex;
293 font-size: 14px;
294 text-indent: 50px;
295 align-items: center;
296 border-right: 1px solid $borderColor;
297 }
298
299 .item_right {
300 flex: 1;
301 width: 100%;
302
303 /deep/.el-form-item__label {
304 background-color: #f8f8fa;
305 }
306 /deep/.el-form-item__content {
307 display: block;
308 text-align: left;
309 }
310 .opinion_item {
311 /deep/.el-form-item__error {
312 margin-top: -16px !important;
313 left: 3px;
314 }
315 border-bottom: 1px solid $borderColor;
316 }
317
318 .opinion {
319 position: relative;
320 font-size: 14px;
321
322 /deep/.el-textarea__inner {
323 border: none;
324 }
325 }
326
327 .opinion_btn {
328 position: absolute;
329 right: 15px;
330 bottom: 10px;
331 }
332 }
333 }
334
335 .submit_button {
336 text-align: center;
337 margin: 15px 0;
338 }
339
340 .el-date-editor.el-input {
341 width: 100%;
342 }
343 }
344 </style>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
18 > 18 >
19 <div class="spyj_form"> 19 <div class="spyj_form">
20 <div class="item_left"> 20 <div class="item_left">
21 <div class="right">{{ jdmc }}意见</div> 21 <div class="right">意见</div>
22 </div> 22 </div>
23 <div class="item_right"> 23 <div class="item_right">
24 <el-row> 24 <el-row>
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
143 this.$startLoading(); 143 this.$startLoading();
144 console.log(this.userInfo); 144 console.log(this.userInfo);
145 var formdata = new FormData(); 145 var formdata = new FormData();
146 formdata.append("bsmBusiness",this.$parent.bsmSlsq); 146 formdata.append("bsmBusiness", this.propsParam.bsmBusiness);
147 formdata.append("bestepid", this.$route.query.bestepid); 147 formdata.append("bestepid", this.$route.query.bestepid);
148 148
149 getSpyjList(formdata).then((res) => { 149 getSpyjList(formdata).then((res) => {
...@@ -169,15 +169,14 @@ export default { ...@@ -169,15 +169,14 @@ export default {
169 */ 169 */
170 onSubmit() { 170 onSubmit() {
171 this.tableData.forEach((item, index) => { 171 this.tableData.forEach((item, index) => {
172 item["bsmSlsq"] = this.$parent.bsmSlsq; 172 item["bsmBusiness"] = this.propsParam.bsmBusiness;
173 item["bestepid"] = this.$parent.bestepid; 173 item["bestepid"] = this.$route.query.bestepid;
174 item["shryxm"] = this.userInfo.name; 174 item["shryxm"] = this.userInfo.name;
175 item["userid"] = this.userInfo.id; 175 item["userid"] = this.userInfo.id;
176 item["jddm"] = this.$parent.dqhj;
177 item["jdmc"] = this.jdmc;
178 item["shjssj"] = item.shkssj; 176 item["shjssj"] = item.shkssj;
179 item["czjg"] = "1"; 177 item["czjg"] = "1";
180 item["stepid"] = "1"; 178 item["jddm"] = this.$parent.dqhj;
179 item["jdmc"] = this.jdmc;
181 180
182 }); 181 });
183 console.log("this.tableData", this.tableData); 182 console.log("this.tableData", this.tableData);
......