Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
24 changed files
with
996 additions
and
142 deletions
1 | /* | 1 | /* |
2 | * @Description: 互联共享数据 | 2 | * @Description: 互联共享数据 |
3 | * @Autor: | 3 | * @Autor: |
4 | * @LastEditTime: 2023-09-06 09:47:59 | 4 | * @LastEditTime: 2024-01-23 15:37:47 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import request from "@/utils/request"; | 7 | import request from "@/utils/request"; |
... | @@ -16,7 +16,7 @@ let SERVER = window.config | ... | @@ -16,7 +16,7 @@ let SERVER = window.config |
16 | */ | 16 | */ |
17 | export function sfhc(data) { | 17 | export function sfhc(data) { |
18 | return request({ | 18 | return request({ |
19 | url: SERVER.SERVERAPI + "/v1/gab/sfhc", | 19 | url: SERVER.SERVERAPI + "/rest/bj/sfhc", |
20 | method: "post", | 20 | method: "post", |
21 | data, | 21 | data, |
22 | }); | 22 | }); |
... | @@ -28,7 +28,7 @@ export function sfhc(data) { | ... | @@ -28,7 +28,7 @@ export function sfhc(data) { |
28 | */ | 28 | */ |
29 | export function hy(data) { | 29 | export function hy(data) { |
30 | return request({ | 30 | return request({ |
31 | url: SERVER.SERVERAPI + "/v1/mzb/hy", | 31 | url: SERVER.SERVERAPI + "/rest/bj/hy", |
32 | method: "post", | 32 | method: "post", |
33 | data, | 33 | data, |
34 | }); | 34 | }); |
... | @@ -40,7 +40,7 @@ export function hy(data) { | ... | @@ -40,7 +40,7 @@ export function hy(data) { |
40 | */ | 40 | */ |
41 | export function jrxkz(data) { | 41 | export function jrxkz(data) { |
42 | return request({ | 42 | return request({ |
43 | url: SERVER.SERVERAPI + "/v1/ybj/jrxkz", | 43 | url: SERVER.SERVERAPI + "/rest/bj/jrxkz", |
44 | method: "post", | 44 | method: "post", |
45 | data, | 45 | data, |
46 | }); | 46 | }); |
... | @@ -52,7 +52,7 @@ export function jrxkz(data) { | ... | @@ -52,7 +52,7 @@ export function jrxkz(data) { |
52 | */ | 52 | */ |
53 | export function qyjbxx(data) { | 53 | export function qyjbxx(data) { |
54 | return request({ | 54 | return request({ |
55 | url: SERVER.SERVERAPI + "/v1/scjg/qyjbxx", | 55 | url: SERVER.SERVERAPI + "/rest/scjg/qyjbxx", |
56 | method: "post", | 56 | method: "post", |
57 | data, | 57 | data, |
58 | }); | 58 | }); |
... | @@ -64,7 +64,7 @@ export function qyjbxx(data) { | ... | @@ -64,7 +64,7 @@ export function qyjbxx(data) { |
64 | */ | 64 | */ |
65 | export function qyjbxxyz(data) { | 65 | export function qyjbxxyz(data) { |
66 | return request({ | 66 | return request({ |
67 | url: SERVER.SERVERAPI + "/v1/scjg/qyjbxxyz", | 67 | url: SERVER.SERVERAPI + "/rest/scjg/qyjbxxyz", |
68 | method: "post", | 68 | method: "post", |
69 | data, | 69 | data, |
70 | }); | 70 | }); |
... | @@ -76,7 +76,7 @@ export function qyjbxxyz(data) { | ... | @@ -76,7 +76,7 @@ export function qyjbxxyz(data) { |
76 | */ | 76 | */ |
77 | export function dm(data) { | 77 | export function dm(data) { |
78 | return request({ | 78 | return request({ |
79 | url: SERVER.SERVERAPI + "/v1/mzb/dm", | 79 | url: SERVER.SERVERAPI + "/rest/bj/dm", |
80 | method: "post", | 80 | method: "post", |
81 | data, | 81 | data, |
82 | }); | 82 | }); |
... | @@ -88,7 +88,7 @@ export function dm(data) { | ... | @@ -88,7 +88,7 @@ export function dm(data) { |
88 | */ | 88 | */ |
89 | export function gtgshjbxx(data) { | 89 | export function gtgshjbxx(data) { |
90 | return request({ | 90 | return request({ |
91 | url: SERVER.SERVERAPI + "/v1/sczj/gtgshjbxx", | 91 | url: SERVER.SERVERAPI + "/rest/scjg/gtgshjbxx", |
92 | method: "post", | 92 | method: "post", |
93 | data, | 93 | data, |
94 | }); | 94 | }); |
... | @@ -100,7 +100,7 @@ export function gtgshjbxx(data) { | ... | @@ -100,7 +100,7 @@ export function gtgshjbxx(data) { |
100 | */ | 100 | */ |
101 | export function gtgshjbxxyz(data) { | 101 | export function gtgshjbxxyz(data) { |
102 | return request({ | 102 | return request({ |
103 | url: SERVER.SERVERAPI + "/v1/sczj/gtgshjbxxyz", | 103 | url: SERVER.SERVERAPI + "/rest/scjg/gtgshjbxxyz", |
104 | method: "post", | 104 | method: "post", |
105 | data, | 105 | data, |
106 | }); | 106 | }); |
... | @@ -112,7 +112,7 @@ export function gtgshjbxxyz(data) { | ... | @@ -112,7 +112,7 @@ export function gtgshjbxxyz(data) { |
112 | */ | 112 | */ |
113 | export function xydm(data) { | 113 | export function xydm(data) { |
114 | return request({ | 114 | return request({ |
115 | url: SERVER.SERVERAPI + "/v1/zbb/xydm", | 115 | url: SERVER.SERVERAPI + "/rest/bj/xydm", |
116 | method: "post", | 116 | method: "post", |
117 | data, | 117 | data, |
118 | }); | 118 | }); |
... | @@ -124,7 +124,7 @@ export function xydm(data) { | ... | @@ -124,7 +124,7 @@ export function xydm(data) { |
124 | */ | 124 | */ |
125 | export function jgxxcx(data) { | 125 | export function jgxxcx(data) { |
126 | return request({ | 126 | return request({ |
127 | url: SERVER.SERVERAPI + "/v1/mzb/xydm", | 127 | url: SERVER.SERVERAPI + "/rest/bj/mzbxydm", |
128 | method: "post", | 128 | method: "post", |
129 | data, | 129 | data, |
130 | }); | 130 | }); |
... | @@ -136,7 +136,7 @@ export function jgxxcx(data) { | ... | @@ -136,7 +136,7 @@ export function jgxxcx(data) { |
136 | */ | 136 | */ |
137 | export function bdcdj(data) { | 137 | export function bdcdj(data) { |
138 | return request({ | 138 | return request({ |
139 | url: SERVER.SERVERAPI + "/v1/mzt/bdcdj", | 139 | url: SERVER.SERVERAPI + "/rest/mzsf/mzt/bdcdj", |
140 | method: "post", | 140 | method: "post", |
141 | data, | 141 | data, |
142 | }); | 142 | }); |
... | @@ -148,7 +148,7 @@ export function bdcdj(data) { | ... | @@ -148,7 +148,7 @@ export function bdcdj(data) { |
148 | */ | 148 | */ |
149 | export function dzyyzz(data) { | 149 | export function dzyyzz(data) { |
150 | return request({ | 150 | return request({ |
151 | url: SERVER.SERVERAPI + "/v1/sczj/dzyyzz", | 151 | url: SERVER.SERVERAPI + "/rest/scjg/dzyyzz", |
152 | method: "post", | 152 | method: "post", |
153 | data, | 153 | data, |
154 | }); | 154 | }); |
... | @@ -158,11 +158,11 @@ export function dzyyzz(data) { | ... | @@ -158,11 +158,11 @@ export function dzyyzz(data) { |
158 | * @param {*} data | 158 | * @param {*} data |
159 | * @author: | 159 | * @author: |
160 | */ | 160 | */ |
161 | export function gzsxx(data) { | 161 | export function gzsxx(params) { |
162 | return request({ | 162 | return request({ |
163 | url: SERVER.SERVERAPI + "/v1/sft/gzsxx", | 163 | url: SERVER.SERVERAPI + "/rest/mzsf/sft/gzsxx", |
164 | method: "post", | 164 | method: "get", |
165 | data, | 165 | params, |
166 | }); | 166 | }); |
167 | } | 167 | } |
168 | /** | 168 | /** |
... | @@ -172,7 +172,7 @@ export function gzsxx(data) { | ... | @@ -172,7 +172,7 @@ export function gzsxx(data) { |
172 | */ | 172 | */ |
173 | export function pjws(data) { | 173 | export function pjws(data) { |
174 | return request({ | 174 | return request({ |
175 | url: SERVER.SERVERAPI + "/v1/zgf/pjws", | 175 | url: SERVER.SERVERAPI + "/rest/bj/pjws", |
176 | method: "post", | 176 | method: "post", |
177 | data, | 177 | data, |
178 | }); | 178 | }); |
... | @@ -184,9 +184,8 @@ export function pjws(data) { | ... | @@ -184,9 +184,8 @@ export function pjws(data) { |
184 | */ | 184 | */ |
185 | export function pjwsDetail(data) { | 185 | export function pjwsDetail(data) { |
186 | return request({ | 186 | return request({ |
187 | url: SERVER.SERVERAPI + "/v1/zgf/pjwsDetail", | 187 | url: SERVER.SERVERAPI + "/rest/bj/pjwsDetail", |
188 | method: "post", | 188 | method: "post", |
189 | data, | 189 | data, |
190 | }); | 190 | }); |
191 | } | 191 | } |
192 | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:30:58 | 4 | * @LastEditTime: 2024-01-23 10:59:37 |
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')) |
... | @@ -11,7 +11,7 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap | ... | @@ -11,7 +11,7 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap |
11 | * @param data | 11 | * @param data |
12 | * @author ssq 2023年5月26日14点29分 | 12 | * @author ssq 2023年5月26日14点29分 |
13 | */ | 13 | */ |
14 | export function BatchInit(data) { | 14 | export function BatchInit (data) { |
15 | let apiUrl = ""; | 15 | let apiUrl = ""; |
16 | switch (data.get("djlx")) { | 16 | switch (data.get("djlx")) { |
17 | case "100": | 17 | case "100": | ... | ... |
src/api/workflow/tdcbjyq.js
0 → 100644
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-01-23 14:10:30 | ||
5 | */ | ||
6 | import request from '@/utils/request' | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
8 | |||
9 | /** | ||
10 | * @description: 初始化 | ||
11 | * @param {*} data | ||
12 | * @author: renchao | ||
13 | */ | ||
14 | export function Init (data) { | ||
15 | let apiUrl = ""; | ||
16 | switch (data.get("djlx")) { | ||
17 | case "100": | ||
18 | apiUrl = "/system/tdcbjyq/fristInit"; | ||
19 | break; | ||
20 | case "200": | ||
21 | apiUrl = "/system/tdcbjyq/transferInit"; | ||
22 | break; | ||
23 | case "300": | ||
24 | apiUrl = "/system/tdcbjyq/changeInit"; | ||
25 | break; | ||
26 | case "400": | ||
27 | apiUrl = "/system/tdcbjyq/logoutInit"; | ||
28 | break; | ||
29 | case "500": | ||
30 | apiUrl = "/system/tdcbjyq/riviseInit"; | ||
31 | break; | ||
32 | case "901": | ||
33 | apiUrl = "/system/tdcbjyq/renewalInit"; | ||
34 | break; | ||
35 | case "902": | ||
36 | apiUrl = "/system/tdcbjyq/replaceInit"; | ||
37 | break; | ||
38 | } | ||
39 | return request({ | ||
40 | url: SERVER.SERVERAPI + apiUrl, | ||
41 | method: 'post', | ||
42 | data | ||
43 | }) | ||
44 | } | ||
45 | /** | ||
46 | * @description: 受理信息保存 | ||
47 | * @param {*} data | ||
48 | * @author: renchao | ||
49 | */ | ||
50 | export function saveData (data) { | ||
51 | return request({ | ||
52 | url: SERVER.SERVERAPI + '/system/tdcbjyq/saveData', | ||
53 | method: 'post', | ||
54 | data | ||
55 | }) | ||
56 | } |
1 | /* | 1 | /* |
2 | * @Description: 业务申请 | 2 | * @Description: 业务申请 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-14 09:30:08 | 4 | * @LastEditTime: 2024-01-23 13:17:00 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
... | @@ -84,6 +84,19 @@ export function selectNydsyqQlxx (data) { | ... | @@ -84,6 +84,19 @@ export function selectNydsyqQlxx (data) { |
84 | }) | 84 | }) |
85 | } | 85 | } |
86 | 86 | ||
87 | /** | ||
88 | * @description: 业务办理-查询土地承包经营权-根据条件进行列表查询 | ||
89 | * @param {*} data | ||
90 | * @author: renchao | ||
91 | */ | ||
92 | export function selectTdcbjyq (data) { | ||
93 | return request({ | ||
94 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectTdcbjyq', | ||
95 | method: 'post', | ||
96 | data | ||
97 | }) | ||
98 | } | ||
99 | |||
87 | 100 | ||
88 | /** | 101 | /** |
89 | * @description: 业务办理-选择单元-查询宗地基本信息 | 102 | * @description: 业务办理-选择单元-查询宗地基本信息 | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | /* | 2 | /* |
3 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 | 3 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 |
4 | * @Autor: renchao | 4 | * @Autor: renchao |
5 | * @LastEditTime: 2023-09-20 14:20:39 | 5 | * @LastEditTime: 2024-01-22 17:02:42 |
6 | */ | 6 | */ |
7 | import axios from 'axios' | 7 | import axios from 'axios' |
8 | import Router from '@/router' | 8 | import Router from '@/router' |
... | @@ -18,7 +18,7 @@ const service = axios.create({ | ... | @@ -18,7 +18,7 @@ const service = axios.create({ |
18 | : window._config.baseUrl + "/", | 18 | : window._config.baseUrl + "/", |
19 | withCredentials: true, //是否允许跨域 | 19 | withCredentials: true, //是否允许跨域 |
20 | headers: { | 20 | headers: { |
21 | 'Content-Type': 'application/json; charset=utf-8' | 21 | 'Content-Type': 'application/json' |
22 | }, | 22 | }, |
23 | timeout: 15000 | 23 | timeout: 15000 |
24 | }) | 24 | }) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-14 15:43:23 | 4 | * @LastEditTime: 2024-01-23 10:37:15 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="content"> | 7 | <div class="content"> |
... | @@ -94,8 +94,17 @@ | ... | @@ -94,8 +94,17 @@ |
94 | }; | 94 | }; |
95 | }, | 95 | }, |
96 | props: ["formData"], | 96 | props: ["formData"], |
97 | mounted () { | 97 | // mounted () { |
98 | this.loadData(this.formData.bdcdyh); | 98 | // this.loadData(this.formData.bdcdyh); |
99 | // }, | ||
100 | watch: { | ||
101 | 'formData.bdcdyh': { | ||
102 | handler (newName, oldName) { | ||
103 | this.loadData(this.formData.bdcdyh); | ||
104 | }, | ||
105 | immediate: true, | ||
106 | deep: true | ||
107 | } | ||
99 | }, | 108 | }, |
100 | methods: { | 109 | methods: { |
101 | /** | 110 | /** | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Author: yangwei | 2 | * @Author: yangwei |
3 | * @Date: 2023-09-06 09:00:34 | 3 | * @Date: 2023-09-06 09:00:34 |
4 | * @LastEditors: yangwei | 4 | * @LastEditors: vers |
5 | * @LastEditTime: 2023-09-07 11:11:32 | 5 | * @LastEditTime: 2024-01-23 15:36:59 |
6 | * @FilePath: \bdcdj-web\src\views\sjgx\gbmhlgxsjgx\components\gzsxxcx.vue | 6 | * @FilePath: \bdcdj-web\src\views\sjgx\gbmhlgxsjgx\components\gzsxxcx.vue |
7 | * @Description: | 7 | * @Description: |
8 | * | 8 | * |
... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
19 | label-width="80px" | 19 | label-width="80px" |
20 | > | 20 | > |
21 | <el-row> | 21 | <el-row> |
22 | <el-col :span="9"> | 22 | <!-- <el-col :span="9"> |
23 | <el-form-item label="业务号"> | 23 | <el-form-item label="业务号"> |
24 | <el-input | 24 | <el-input |
25 | placeholder="业务号" | 25 | placeholder="业务号" |
... | @@ -29,12 +29,12 @@ | ... | @@ -29,12 +29,12 @@ |
29 | > | 29 | > |
30 | </el-input> | 30 | </el-input> |
31 | </el-form-item> | 31 | </el-form-item> |
32 | </el-col> | 32 | </el-col> --> |
33 | <el-col :span="9"> | 33 | <el-col :span="9"> |
34 | <el-form-item label="证件号码"> | 34 | <el-form-item label="证件号码"> |
35 | <el-input | 35 | <el-input |
36 | placeholder="证件号码" | 36 | placeholder="证件号码" |
37 | v-model="queryForm.certCode" | 37 | v-model="queryForm.zjhm" |
38 | clearable | 38 | clearable |
39 | class="width100" | 39 | class="width100" |
40 | > | 40 | > |
... | @@ -74,7 +74,8 @@ | ... | @@ -74,7 +74,8 @@ |
74 | </el-table-column> | 74 | </el-table-column> |
75 | <el-table-column prop="notary_name" label="公证员" width="120"> | 75 | <el-table-column prop="notary_name" label="公证员" width="120"> |
76 | </el-table-column> | 76 | </el-table-column> |
77 | <el-table-column prop="accept_date" label="公证日期" width="120"> </el-table-column> | 77 | <el-table-column prop="accept_date" label="公证日期" width="120"> |
78 | </el-table-column> | ||
78 | <el-table-column prop="fwbh" label="房屋编号" width="120"> | 79 | <el-table-column prop="fwbh" label="房屋编号" width="120"> |
79 | </el-table-column> | 80 | </el-table-column> |
80 | <el-table-column prop="mj" label="面积" width="120"> | 81 | <el-table-column prop="mj" label="面积" width="120"> | ... | ... |
... | @@ -677,18 +677,18 @@ | ... | @@ -677,18 +677,18 @@ |
677 | arr.push(currentLine); | 677 | arr.push(currentLine); |
678 | if (i > 0) { | 678 | if (i > 0) { |
679 | arr.forEach((line, index) => { | 679 | arr.forEach((line, index) => { |
680 | context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 22)); // 调整行高 | 680 | context.fillText(line, 770, 605 + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高 |
681 | }) | 681 | }) |
682 | } else { | 682 | } else { |
683 | arr.forEach((line, index) => { | 683 | arr.forEach((line, index) => { |
684 | context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 22)); // 调整行高 | 684 | context.fillText(line, 770, 605 + (24 * (i - 1)) + (index * 17)); // 调整行高 |
685 | }) | 685 | }) |
686 | } | 686 | } |
687 | } else { | 687 | } else { |
688 | if (i > 0) { | 688 | if (i > 0) { |
689 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (24 * (i - 1))); | 689 | context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + 6 * num + (25 * (i - 1))); |
690 | } else { | 690 | } else { |
691 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (24 * (i - 1))); | 691 | context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + (25 * (i - 1))); |
692 | } | 692 | } |
693 | } | 693 | } |
694 | } | 694 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-18 11:25:39 | 4 | * @LastEditTime: 2024-01-23 11:07:58 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> |
... | @@ -606,18 +606,18 @@ | ... | @@ -606,18 +606,18 @@ |
606 | arr.push(currentLine); | 606 | arr.push(currentLine); |
607 | if (i > 0) { | 607 | if (i > 0) { |
608 | arr.forEach((line, index) => { | 608 | arr.forEach((line, index) => { |
609 | context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 22)); // 调整行高 | 609 | context.fillText(line, 770, 605 + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高 |
610 | }) | 610 | }) |
611 | } else { | 611 | } else { |
612 | arr.forEach((line, index) => { | 612 | arr.forEach((line, index) => { |
613 | context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 22)); // 调整行高 | 613 | context.fillText(line, 770, 605 + (24 * (i - 1)) + (index * 17)); // 调整行高 |
614 | }) | 614 | }) |
615 | } | 615 | } |
616 | } else { | 616 | } else { |
617 | if (i > 0) { | 617 | if (i > 0) { |
618 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (24 * (i - 1))); | 618 | context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + 6 * num + (25 * (i - 1))); |
619 | } else { | 619 | } else { |
620 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (24 * (i - 1))); | 620 | context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + (25 * (i - 1))); |
621 | } | 621 | } |
622 | } | 622 | } |
623 | } | 623 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 14:56:43 | 4 | * @LastEditTime: 2024-01-23 14:07:58 |
5 | */ | 5 | */ |
6 | /** | 6 | /** |
7 | * @description: 流程环节操作按钮 | 7 | * @description: 流程环节操作按钮 |
... | @@ -21,6 +21,10 @@ export function getForm (tabName) { | ... | @@ -21,6 +21,10 @@ export function getForm (tabName) { |
21 | case "jsydsyqslxx300": | 21 | case "jsydsyqslxx300": |
22 | form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue"); | 22 | form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue"); |
23 | break; | 23 | break; |
24 | //土地承包经营权 | ||
25 | case "tdcbjyqslxx100": | ||
26 | form = require("@/views/ywbl/slsqxx/tdcbjyq/slxx.vue"); | ||
27 | break; | ||
24 | //国有建设用地使用权/房屋所有权 | 28 | //国有建设用地使用权/房屋所有权 |
25 | case "fwsyqdzslxx": | 29 | case "fwsyqdzslxx": |
26 | form = require("@/views/ywbl/slsqxx/fdcq1/slxx.vue"); | 30 | form = require("@/views/ywbl/slsqxx/fdcq1/slxx.vue"); | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-12-19 10:02:03 | 4 | * @LastEditTime: 2024-01-23 09:57:51 |
5 | */ | 5 | */ |
6 | import Vue from 'vue' | 6 | import Vue from 'vue' |
7 | import { getPrintTemplateByCode } from "@/api/print"; | 7 | import { getPrintTemplateByCode } from "@/api/print"; |
... | @@ -173,6 +173,7 @@ export default { | ... | @@ -173,6 +173,7 @@ export default { |
173 | case "B-TXDW": | 173 | case "B-TXDW": |
174 | getZdInfo(this.currentSelectProps.bdcdyid).then(res => { | 174 | getZdInfo(this.currentSelectProps.bdcdyid).then(res => { |
175 | this.bsmZd = res?.result[0]?.bsmZd | 175 | this.bsmZd = res?.result[0]?.bsmZd |
176 | console.log(this.bsmZd); | ||
176 | this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '85%', true) | 177 | this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '85%', true) |
177 | }) | 178 | }) |
178 | break; | 179 | break; | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 11:00:07 | 4 | * @LastEditTime: 2024-01-23 10:23:02 |
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" | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 14:57:22 | 4 | * @LastEditTime: 2024-01-23 10:25:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -245,7 +245,13 @@ | ... | @@ -245,7 +245,13 @@ |
245 | if (res.code === 200) { | 245 | if (res.code === 200) { |
246 | //获取单元对应的所有表单信息 | 246 | //获取单元对应的所有表单信息 |
247 | this.tabList = res.result; | 247 | this.tabList = res.result; |
248 | var indexTab = 0 | ||
248 | //默认加载第一个表单信息 | 249 | //默认加载第一个表单信息 |
250 | res.result.forEach((item, index) => { | ||
251 | if (item.defaultForm) { | ||
252 | indexTab = index | ||
253 | } | ||
254 | }) | ||
249 | let arr = res.result.filter((item) => item.defaultForm); | 255 | let arr = res.result.filter((item) => item.defaultForm); |
250 | if (arr.length > 0) { | 256 | if (arr.length > 0) { |
251 | this.tabName = arr[0].value; | 257 | this.tabName = arr[0].value; |
... | @@ -255,8 +261,8 @@ | ... | @@ -255,8 +261,8 @@ |
255 | if (sessionStorage.getItem('activeName') == this.tabName) { | 261 | if (sessionStorage.getItem('activeName') == this.tabName) { |
256 | this.fresh++; | 262 | this.fresh++; |
257 | } | 263 | } |
258 | this.ableOperation = this.tabList[0].ableOperation; | 264 | this.ableOperation = this.tabList[indexTab].ableOperation; |
259 | this.currentSelectTab = this.tabList[0]; | 265 | this.currentSelectTab = this.tabList[indexTab]; |
260 | //批量操作无分屏按钮 | 266 | //批量操作无分屏按钮 |
261 | if (index != null) { | 267 | if (index != null) { |
262 | //处理分屏材料信息 | 268 | //处理分屏材料信息 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 11:04:51 | 4 | * @LastEditTime: 2024-01-23 10:21:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -129,15 +129,21 @@ | ... | @@ -129,15 +129,21 @@ |
129 | if (res.code === 200) { | 129 | if (res.code === 200) { |
130 | //获取单元对应的所有表单信息 | 130 | //获取单元对应的所有表单信息 |
131 | this.tabList = res.result; | 131 | this.tabList = res.result; |
132 | var indexTab = 0 | ||
132 | //默认加载第一个表单信息 | 133 | //默认加载第一个表单信息 |
134 | res.result.forEach((item, index) => { | ||
135 | if (item.defaultForm) { | ||
136 | indexTab = index | ||
137 | } | ||
138 | }) | ||
133 | if (res.result.length > 0) { | 139 | if (res.result.length > 0) { |
134 | that.tabName = res.result[0].value; | 140 | that.tabName = res.result[0].value; |
135 | } | 141 | } |
136 | if (sessionStorage.getItem('activeName') == this.tabName) { | 142 | if (sessionStorage.getItem('activeName') == this.tabName) { |
137 | that.fresh++; | 143 | that.fresh++; |
138 | } | 144 | } |
139 | this.ableOperation = this.tabList[0].ableOperation | 145 | this.ableOperation = this.tabList[indexTab].ableOperation |
140 | this.currentSelectTab = this.tabList[0]; | 146 | this.currentSelectTab = this.tabList[indexTab]; |
141 | //批量操作无分屏按钮 | 147 | //批量操作无分屏按钮 |
142 | if (index != null) { | 148 | if (index != null) { |
143 | //处理分屏材料信息 | 149 | //处理分屏材料信息 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 14:08:17 | 4 | * @LastEditTime: 2024-01-23 09:44:44 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox :isButton="false" :isFullscreen="false" width="50%" @closeDialog="closeDialog" v-model="myValue" | 7 | <dialogBox :isButton="false" :isFullscreen="false" width="50%" @closeDialog="closeDialog" v-model="myValue" |
8 | title="高级搜索"> | 8 | title="高级搜索"> |
9 | <el-form :model="ruleForm" ref="ruleForm" label-width="100px"> | 9 | <el-form :model="ruleForm" ref="ruleForm" label-width="100px"> |
10 | <el-row> | 10 | <el-row> |
11 | <el-col :span="8"> | 11 | <!-- <el-col :span="8"> |
12 | <el-form-item label="申请业务名称" prop="sqywmc"> | 12 | <el-form-item label="申请业务名称" prop="sqywmc"> |
13 | <el-input v-model="ruleForm.sqywmc" placeholder="请输入申请业务名称"></el-input> | 13 | <el-input v-model="ruleForm.sqywmc" placeholder="请输入申请业务名称"></el-input> |
14 | </el-form-item> | 14 | </el-form-item> |
15 | </el-col> | 15 | </el-col> --> |
16 | <el-col :span="8"> | 16 | <el-col :span="8"> |
17 | <el-form-item label="权利人" prop="qlrmc"> | 17 | <el-form-item label="权利人" prop="qlrmc"> |
18 | <el-input v-model="ruleForm.qlrmc" placeholder="请输入权利人"></el-input> | 18 | <el-input v-model="ruleForm.qlrmc" placeholder="请输入权利人"></el-input> |
... | @@ -23,8 +23,11 @@ | ... | @@ -23,8 +23,11 @@ |
23 | <el-input v-model="ruleForm.ywrmc" placeholder="请输入义务人"></el-input> | 23 | <el-input v-model="ruleForm.ywrmc" placeholder="请输入义务人"></el-input> |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> |
26 | <el-col :span="8" class="btnColRight"> | ||
27 | <el-button type="primary" icon="el-icon-search" @click="submitForm('ruleForm')">查询</el-button> | ||
28 | </el-col> | ||
26 | </el-row> | 29 | </el-row> |
27 | <el-row> | 30 | <!-- <el-row> |
28 | <el-col :span="8"> | 31 | <el-col :span="8"> |
29 | <el-form-item label="受理时间" prop="slsj"> | 32 | <el-form-item label="受理时间" prop="slsj"> |
30 | <el-date-picker v-model="ruleForm.slsj" value-format="yyyy-MM-dd" class="width100" type="date" | 33 | <el-date-picker v-model="ruleForm.slsj" value-format="yyyy-MM-dd" class="width100" type="date" |
... | @@ -32,11 +35,11 @@ | ... | @@ -32,11 +35,11 @@ |
32 | </el-date-picker> | 35 | </el-date-picker> |
33 | </el-form-item> | 36 | </el-form-item> |
34 | </el-col> | 37 | </el-col> |
35 | </el-row> | 38 | </el-row> --> |
36 | <el-row class="search-btn"> | 39 | <el-row class="search-btn"> |
37 | <el-button type="text" @click.native="closeDialog">收起搜索</el-button> | 40 | <!-- <el-button type="text" @click.native="closeDialog">收起搜索</el-button> --> |
38 | <el-button type="primary" icon="el-icon-search" @click="submitForm('ruleForm')">查询</el-button> | 41 | <!-- <el-button type="primary" icon="el-icon-search" @click="submitForm('ruleForm')">查询</el-button> --> |
39 | <el-button icon="el-icon-refresh-left" @click="resetForm('ruleForm')">重置</el-button> | 42 | <!-- <el-button icon="el-icon-refresh-left" @click="resetForm('ruleForm')">重置</el-button> --> |
40 | </el-row> | 43 | </el-row> |
41 | </el-form> | 44 | </el-form> |
42 | </dialogBox> | 45 | </dialogBox> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-24 17:35:49 | 4 | * @LastEditTime: 2024-01-23 15:14:11 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -215,7 +215,7 @@ | ... | @@ -215,7 +215,7 @@ |
215 | :key="key" | 215 | :key="key" |
216 | :gyfs="ruleForm.sldy.gyfs" /> | 216 | :gyfs="ruleForm.sldy.gyfs" /> |
217 | 217 | ||
218 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | 218 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0 && ruleForm.qlxx.djlx==200"> |
219 | <div class="slxx_title title-block"> | 219 | <div class="slxx_title title-block"> |
220 | 义务人信息 | 220 | 义务人信息 |
221 | <div class="triangle"></div> | 221 | <div class="triangle"></div> | ... | ... |
src/views/ywbl/slsqxx/tdcbjyq/slxx.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-01-23 16:05:38 | ||
5 | --> | ||
6 | <template> | ||
7 | <!-- 受理信息 --> | ||
8 | <div class="slxx"> | ||
9 | <el-form | ||
10 | :model="ruleForm" | ||
11 | :rules="rules" | ||
12 | :class="{ readonly: editDisabled }" | ||
13 | v-Loading="loading" | ||
14 | ref="ruleForm" | ||
15 | :label-position="flag ? 'top' : ''" | ||
16 | :inline="flag" | ||
17 | label-width="140px"> | ||
18 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> | ||
19 | <div class="slxx_title title-block"> | ||
20 | 申请业务信息 | ||
21 | <div class="triangle"></div> | ||
22 | </div> | ||
23 | <el-row :gutter="10"> | ||
24 | <el-col :span="8"> | ||
25 | <el-form-item label="业务号:"> | ||
26 | <el-input disabled v-model="ruleForm.flow.ywh"></el-input> | ||
27 | </el-form-item> | ||
28 | </el-col> | ||
29 | <el-col :span="8"> | ||
30 | <el-form-item label="受理人员:"> | ||
31 | <el-input disabled v-model="ruleForm.slsq.slry"></el-input> | ||
32 | </el-form-item> | ||
33 | </el-col> | ||
34 | <el-col :span="8"> | ||
35 | <el-form-item label="受理时间:"> | ||
36 | <el-input disabled v-model="ruleForm.slsq.slsj"></el-input> | ||
37 | </el-form-item> | ||
38 | </el-col> | ||
39 | </el-row> | ||
40 | <el-row :gutter="10"> | ||
41 | <el-col :span="8"> | ||
42 | <el-form-item label="权利类型:"> | ||
43 | <el-input disabled v-model="ruleForm.sldy.qllxmc"></el-input> | ||
44 | </el-form-item> | ||
45 | </el-col> | ||
46 | <el-col :span="8"> | ||
47 | <el-form-item label="登记类型:"> | ||
48 | <el-input disabled v-model="ruleForm.sldy.djlxmc"></el-input> | ||
49 | </el-form-item> | ||
50 | </el-col> | ||
51 | <el-col :span="8"> | ||
52 | <el-form-item label="登记情形:"> | ||
53 | <el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input> | ||
54 | </el-form-item> | ||
55 | </el-col> | ||
56 | </el-row> | ||
57 | <div class="slxx_title title-block"> | ||
58 | 不动产单元情况 | ||
59 | <div class="triangle"></div> | ||
60 | </div> | ||
61 | <el-row :gutter="10"> | ||
62 | <el-col :span="8"> | ||
63 | <el-form-item label="宗地代码:"> | ||
64 | <el-input v-model="ruleForm.zdjbxx.zddm" disabled></el-input> | ||
65 | </el-form-item> | ||
66 | </el-col> | ||
67 | <el-col :span="8"> | ||
68 | <el-form-item label="不动产单元号:"> | ||
69 | <el-input v-model="ruleForm.sldy.bdcdyh" disabled></el-input> | ||
70 | </el-form-item> | ||
71 | </el-col> | ||
72 | <el-col :span="8"> | ||
73 | <el-form-item label="权利性质:"> | ||
74 | <treeselect | ||
75 | v-model="ruleForm.zdjbxx.qlxz" | ||
76 | noOptionsText="暂无数据" | ||
77 | :default-expand-level="1" | ||
78 | :disabled="!viewEdit" | ||
79 | placeholder="" | ||
80 | :normalizer="normalizer" | ||
81 | :show-count="true" | ||
82 | :options="dictData['A9']" /> | ||
83 | </el-form-item> | ||
84 | </el-col> | ||
85 | </el-row> | ||
86 | <el-row :gutter="10"> | ||
87 | <el-col :span="8"> | ||
88 | <el-form-item label="地块代码:"> | ||
89 | <el-input v-model="ruleForm.tdcbjyq.dkdm" :disabled="!viewEdit"></el-input> | ||
90 | </el-form-item> | ||
91 | </el-col> | ||
92 | <el-col :span="8"> | ||
93 | <el-form-item label="地块名称:"> | ||
94 | <el-input v-model="ruleForm.tdcbjyq.dkmc" :disabled="!viewEdit"></el-input> | ||
95 | </el-form-item> | ||
96 | </el-col> | ||
97 | <el-col :span="8"> | ||
98 | <el-form-item label="承包方式:"> | ||
99 | <el-input v-model="ruleForm.tdcbjyq.cbfs" :disabled="!viewEdit"></el-input> | ||
100 | </el-form-item> | ||
101 | </el-col> | ||
102 | |||
103 | </el-row> | ||
104 | |||
105 | <el-row :gutter="10"> | ||
106 | <el-col :span="8"> | ||
107 | <el-form-item label="发包方代码:"> | ||
108 | <el-input v-model="ruleForm.tdcbjyq.fbfdm" :disabled="!viewEdit"></el-input> | ||
109 | </el-form-item> | ||
110 | </el-col> | ||
111 | <el-col :span="8"> | ||
112 | <el-form-item label="发包方全称:"> | ||
113 | <el-input v-model="ruleForm.tdcbjyq.fbfqc" :disabled="!viewEdit"></el-input> | ||
114 | </el-form-item> | ||
115 | </el-col> | ||
116 | <el-col :span="8"> | ||
117 | <el-form-item label="发包方负责人:"> | ||
118 | <el-input v-model="ruleForm.tdcbjyq.fbffzr" :disabled="!viewEdit"></el-input> | ||
119 | </el-form-item> | ||
120 | </el-col> | ||
121 | </el-row> | ||
122 | |||
123 | <el-row :gutter="10"> | ||
124 | <el-col :span="8"> | ||
125 | <el-form-item label="承包起始时间:"> | ||
126 | <el-date-picker | ||
127 | v-model="ruleForm.tdcbjyq.cbqssj" | ||
128 | class="width100" | ||
129 | type="date" | ||
130 | :disabled="!viewEdit" | ||
131 | :picker-options="pickerOptionsStart" | ||
132 | placeholder="选择日期" | ||
133 | value-format="yyyy-MM-dd HH:mm:ss" | ||
134 | format="yyyy-MM-dd"></el-date-picker> | ||
135 | </el-form-item> | ||
136 | </el-col> | ||
137 | <el-col :span="8"> | ||
138 | <el-form-item label="承包结束时间:"> | ||
139 | <el-date-picker | ||
140 | v-model="ruleForm.tdcbjyq.cbjssj" | ||
141 | :disabled="!viewEdit" | ||
142 | class="width100" | ||
143 | type="date" | ||
144 | placeholder="选择日期" | ||
145 | :picker-options="pickerOptionsEnd" | ||
146 | value-format="yyyy-MM-dd HH:mm:ss" | ||
147 | format="yyyy-MM-dd"></el-date-picker> | ||
148 | </el-form-item> | ||
149 | </el-col> | ||
150 | <el-col :span="8"> | ||
151 | <el-form-item label="承包期限:"> | ||
152 | <el-input v-model="ruleForm.tdcbjyq.cbqx" :disabled="!viewEdit"></el-input> | ||
153 | </el-form-item> | ||
154 | </el-col> | ||
155 | </el-row> | ||
156 | <el-row :gutter="10"> | ||
157 | <el-col :span="8"> | ||
158 | <el-form-item label="用途:"> | ||
159 | <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.yt"></el-input> | ||
160 | </el-form-item> | ||
161 | </el-col> | ||
162 | <el-col :span="8"> | ||
163 | <el-form-item label="确权面积:"> | ||
164 | <div class="flex"> | ||
165 | <el-input | ||
166 | :disabled="!viewEdit" | ||
167 | v-model="ruleForm.tdcbjyq.qqmj" | ||
168 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
169 | <el-select :disabled="!viewEdit" v-model="mjdw" style="width: 68px"> | ||
170 | <el-option | ||
171 | v-for="item in dictData['A7']" | ||
172 | :key="item.dcode" | ||
173 | :label="item.dname" | ||
174 | :value="item.dcode"> | ||
175 | </el-option> | ||
176 | </el-select> | ||
177 | </div> | ||
178 | </el-form-item> | ||
179 | </el-col> | ||
180 | <el-col :span="8"> | ||
181 | <el-form-item label="土地所有权性质:"> | ||
182 | <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.tdsyqxz"></el-input> | ||
183 | </el-form-item> | ||
184 | </el-col> | ||
185 | </el-row> | ||
186 | |||
187 | <el-row :gutter="10"> | ||
188 | <el-col :span="8"> | ||
189 | <el-form-item label="是否永久基本农田:"> | ||
190 | <el-radio-group | ||
191 | v-model="ruleForm.tdcbjyq.sfyjjbnt" | ||
192 | :disabled="!viewEdit"> | ||
193 | <el-radio label="1">是</el-radio> | ||
194 | <el-radio label="0">否</el-radio> | ||
195 | </el-radio-group> | ||
196 | </el-form-item> | ||
197 | </el-col> | ||
198 | <el-col :span="8"> | ||
199 | <el-form-item label="是否自留地:"> | ||
200 | <el-radio-group | ||
201 | v-model="ruleForm.tdcbjyq.sfzld" | ||
202 | :disabled="!viewEdit"> | ||
203 | <el-radio label="1">是</el-radio> | ||
204 | <el-radio label="0">否</el-radio> | ||
205 | </el-radio-group> | ||
206 | </el-form-item> | ||
207 | </el-col> | ||
208 | <el-col :span="8"> | ||
209 | <el-form-item label="用地用海分类:"> | ||
210 | <el-input :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.ydyhfl"></el-input> | ||
211 | </el-form-item> | ||
212 | </el-col> | ||
213 | </el-row> | ||
214 | |||
215 | <el-row :gutter="10"> | ||
216 | <el-col :span="8"> | ||
217 | <el-form-item label="承包经营权取得方式:"> | ||
218 | <el-input :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.cbjyqqdfs"></el-input> | ||
219 | </el-form-item> | ||
220 | </el-col> | ||
221 | <el-col :span="16"> | ||
222 | <el-form-item label="附记:"> | ||
223 | <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.fj"></el-input> | ||
224 | </el-form-item> | ||
225 | </el-col> | ||
226 | </el-row> | ||
227 | |||
228 | <div class="slxx_title title-block"> | ||
229 | 权利人信息 | ||
230 | <div class="triangle"></div> | ||
231 | </div> | ||
232 | <el-row :gutter="10"> | ||
233 | <el-col :span="12"> | ||
234 | <el-form-item label="共有方式:"> | ||
235 | <el-radio-group | ||
236 | :disabled="!viewEdit" | ||
237 | v-model="ruleForm.sldy.gyfs"> | ||
238 | <el-radio label="0">单独所有</el-radio> | ||
239 | <el-radio label="1">共同共有</el-radio> | ||
240 | <el-radio label="2">按份所有</el-radio> | ||
241 | <el-radio label="3">其它共有</el-radio> | ||
242 | </el-radio-group> | ||
243 | </el-form-item> | ||
244 | </el-col> | ||
245 | <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> | ||
246 | <el-form-item label="是否分别持证:"> | ||
247 | <el-radio-group | ||
248 | v-model="ruleForm.sldy.sqfbcz" | ||
249 | :disabled="!viewEdit" | ||
250 | @input="updaterow()"> | ||
251 | <el-radio :label="1">是</el-radio> | ||
252 | <el-radio :label="0">否</el-radio> | ||
253 | </el-radio-group> | ||
254 | </el-form-item> | ||
255 | </el-col> | ||
256 | <el-col | ||
257 | :span="6" | ||
258 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | ||
259 | <el-form-item label="持证人:"> | ||
260 | <el-select | ||
261 | v-model="czr" | ||
262 | placeholder="持证人" | ||
263 | :disabled="!viewEdit"> | ||
264 | <el-option | ||
265 | v-for="(item, index) in czrOptions" | ||
266 | :key="index" | ||
267 | :label="item.sqrmc" | ||
268 | :value="item.id"> | ||
269 | </el-option> | ||
270 | </el-select> | ||
271 | </el-form-item> | ||
272 | </el-col> | ||
273 | </el-row> | ||
274 | <qlrCommonTable | ||
275 | :tableData="ruleForm.qlrList" | ||
276 | :disabled="viewEdit" | ||
277 | @upDateQlrxxList="upDateQlrxxList" | ||
278 | :key="key" | ||
279 | :gyfs="ruleForm.sldy.gyfs" /> | ||
280 | |||
281 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | ||
282 | <div class="slxx_title title-block"> | ||
283 | 义务人信息 | ||
284 | <div class="triangle"></div> | ||
285 | </div> | ||
286 | <ywrCommonTable | ||
287 | v-if="ruleForm.ywrList" | ||
288 | :disabled="viewEdit" | ||
289 | :tableData="ruleForm.ywrList" | ||
290 | :key="key" | ||
291 | @upDateQlrxxList="upDateYwrxxList" /> | ||
292 | </div> | ||
293 | |||
294 | </div> | ||
295 | <el-row class="btn" v-if="isSave"> | ||
296 | <el-form-item> | ||
297 | <el-button type="primary" @click="onSubmit">保存</el-button> | ||
298 | </el-form-item> | ||
299 | </el-row> | ||
300 | </el-form> | ||
301 | </div> | ||
302 | </template> | ||
303 | <script> | ||
304 | import { mapGetters } from "vuex"; | ||
305 | import ywmix from "@/views/ywbl/mixin/index"; | ||
306 | import { Init, saveData } from "@/api/workflow/tdcbjyq.js"; | ||
307 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | ||
308 | import ywrCommonTable from "@/views/workflow/components/ywrCommonTable"; | ||
309 | export default { | ||
310 | mixins: [ywmix], | ||
311 | mounted () { | ||
312 | let that = this | ||
313 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; | ||
314 | this.propsParam = this.$attrs; | ||
315 | var formdata = new FormData(); | ||
316 | this.loading = true | ||
317 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | ||
318 | formdata.append("djlx", this.propsParam.djlx); | ||
319 | formdata.append("isEdit", this.viewEdit); | ||
320 | Init(formdata).then((res) => { | ||
321 | setTimeout(() => { | ||
322 | that.loading = false | ||
323 | }, 200) | ||
324 | if (res.code === 200) { | ||
325 | that.ruleForm = res.result; | ||
326 | that.ruleForm.qlrList.forEach((item) => { | ||
327 | item.id = item.bsmSqr | ||
328 | if (item.sfczr == '1') { | ||
329 | that.czr = item.bsmSqr | ||
330 | } | ||
331 | }) | ||
332 | that.czrOptions = that.ruleForm.qlrList; | ||
333 | that.isSave = that.viewEdit | ||
334 | } else { | ||
335 | that.isSave = false | ||
336 | that.$confirm(res.message, '提示', { | ||
337 | cancelButtonText: '取消', | ||
338 | showConfirmButton: false, | ||
339 | type: 'warning' | ||
340 | }) | ||
341 | } | ||
342 | }).catch(() => { | ||
343 | this.loading = false | ||
344 | this.isSave = false | ||
345 | }) | ||
346 | }, | ||
347 | components: { qlrCommonTable, ywrCommonTable }, | ||
348 | computed: { | ||
349 | ...mapGetters(["dictData", "flag"]), | ||
350 | // 根据流程判断表单是否为只读 | ||
351 | editDisabled () { | ||
352 | if (!this.viewEdit) { | ||
353 | //只读状态 | ||
354 | return true; | ||
355 | } | ||
356 | return false; | ||
357 | }, | ||
358 | }, | ||
359 | data () { | ||
360 | return { | ||
361 | // 开始结束日期限制 | ||
362 | pickerOptionsStart: { | ||
363 | disabledDate: (time) => { | ||
364 | if (this.ruleForm.tdcbjyq.cbjssj) { | ||
365 | return ( | ||
366 | time.getTime() >= new Date(this.ruleForm.tdcbjyq.cbjssj).getTime() | ||
367 | ); | ||
368 | } | ||
369 | } | ||
370 | }, | ||
371 | // 结束日期限制 | ||
372 | pickerOptionsEnd: { | ||
373 | disabledDate: (time) => { | ||
374 | if (this.ruleForm.tdcbjyq.cbqssj) { | ||
375 | return ( | ||
376 | time.getTime() <= new Date(this.ruleForm.tdcbjyq.cbqssj).getTime() | ||
377 | ); | ||
378 | } | ||
379 | } | ||
380 | }, | ||
381 | isSave: true, | ||
382 | // 键名转换,方法默认是label和children进行树状渲染 | ||
383 | normalizer (node) { | ||
384 | //方法 | ||
385 | if (node.children == null || node.children == "null") { | ||
386 | delete node.children; | ||
387 | } | ||
388 | return { | ||
389 | id: node.dcode, | ||
390 | label: node.dname, | ||
391 | }; | ||
392 | }, | ||
393 | loading: false, | ||
394 | mjdw: "1", | ||
395 | //表单是否可操作 | ||
396 | viewEdit: true, | ||
397 | czr: "", | ||
398 | key: 0, | ||
399 | disabled: true, | ||
400 | czrOptions: [], | ||
401 | ruleForm: {}, | ||
402 | //传递参数 | ||
403 | propsParam: {}, | ||
404 | rules: {}, | ||
405 | }; | ||
406 | }, | ||
407 | methods: { | ||
408 | /** | ||
409 | * @description: 更新权利人信息 | ||
410 | * @param {*} val | ||
411 | * @author: renchao | ||
412 | */ | ||
413 | upDateQlrxxList (val) { | ||
414 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)); | ||
415 | this.czrOptions = this.ruleForm.qlrList; | ||
416 | this.num = 0 | ||
417 | this.ruleForm.qlrList.forEach(item => { | ||
418 | if (item.id == this.czr) { | ||
419 | this.num++ | ||
420 | } | ||
421 | }) | ||
422 | if (this.num == 0) { | ||
423 | this.czr = '' | ||
424 | } | ||
425 | }, | ||
426 | /** | ||
427 | * @description: 是否持证人变化 | ||
428 | * @param {*} val | ||
429 | * @author: renchao | ||
430 | */ | ||
431 | updaterow () { | ||
432 | this.czr = ""; | ||
433 | }, | ||
434 | /** | ||
435 | * @description: 更新义务人信息 | ||
436 | * @param {*} val | ||
437 | * @author: renchao | ||
438 | */ | ||
439 | upDateYwrxxList (val) { | ||
440 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)); | ||
441 | this.key++; | ||
442 | }, | ||
443 | /** | ||
444 | * @description: onSubmit | ||
445 | * @author: renchao | ||
446 | */ | ||
447 | onSubmit () { | ||
448 | let that = this; | ||
449 | if (this.ruleForm.qlrList.length == 0) { | ||
450 | this.$message({ | ||
451 | showClose: true, | ||
452 | message: "请确认权利人信息", | ||
453 | type: "error", | ||
454 | }); | ||
455 | return false; | ||
456 | } | ||
457 | if (this.ruleForm.sldy.gyfs == "0") { | ||
458 | if (this.ruleForm.qlrList.length > 1) { | ||
459 | this.$message({ | ||
460 | showClose: true, | ||
461 | message: "共有方式:单独所有,权利人只能是一个人", | ||
462 | type: "error", | ||
463 | }); | ||
464 | return false; | ||
465 | } | ||
466 | this.ruleForm.qlrList[0].sfczr = "1"; | ||
467 | } else { | ||
468 | if (this.ruleForm.qlrList.length <= 1) { | ||
469 | this.$message({ | ||
470 | showClose: true, | ||
471 | message: | ||
472 | "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
473 | type: "error", | ||
474 | }); | ||
475 | return false; | ||
476 | } | ||
477 | //是否分别持证 | ||
478 | if (this.ruleForm.sldy.sqfbcz == "1") { | ||
479 | //是 | ||
480 | this.ruleForm.qlrList.forEach((item, index) => { | ||
481 | item.sfczr = "1"; | ||
482 | }); | ||
483 | } else { | ||
484 | if (that.czr === '') { | ||
485 | that.$message({ | ||
486 | showClose: true, | ||
487 | message: "请选择持证人", | ||
488 | type: "error", | ||
489 | }); | ||
490 | return false; | ||
491 | } | ||
492 | this.ruleForm.qlrList.forEach((item, index) => { | ||
493 | if (item.id == that.czr) { | ||
494 | item.sfczr = "1"; | ||
495 | } else { | ||
496 | item.sfczr = "0"; | ||
497 | } | ||
498 | }); | ||
499 | } | ||
500 | } | ||
501 | /** | ||
502 | * @description: saveData | ||
503 | * @author: renchao | ||
504 | */ | ||
505 | this.$store.dispatch("user/refreshPage", false); | ||
506 | saveData(this.ruleForm).then((res) => { | ||
507 | if (res.code === 200) { | ||
508 | this.$message({ | ||
509 | showClose: true, | ||
510 | message: "保存成功!", | ||
511 | type: "success", | ||
512 | }); | ||
513 | this.$store.dispatch("user/refreshPage", true); | ||
514 | } else { | ||
515 | this.$message({ | ||
516 | showClose: true, | ||
517 | message: res.message, | ||
518 | type: "error" | ||
519 | }) | ||
520 | } | ||
521 | }) | ||
522 | } | ||
523 | } | ||
524 | } | ||
525 | </script> | ||
526 | <style scoped lang="scss"> | ||
527 | @import "~@/styles/public.scss"; | ||
528 | @import "~@/styles/slxx/slxx.scss"; | ||
529 | </style> |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-16 14:08:55 | 4 | * @LastEditTime: 2024-01-23 13:45:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -33,7 +33,7 @@ | ... | @@ -33,7 +33,7 @@ |
33 | <!-- 表格 --> | 33 | <!-- 表格 --> |
34 | <div class="from-clues-content loadingtext"> | 34 | <div class="from-clues-content loadingtext"> |
35 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | 35 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" |
36 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" | 36 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
37 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" | 37 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
38 | :data="tableData.data"> | 38 | :data="tableData.data"> |
39 | </lb-table> | 39 | </lb-table> |
... | @@ -62,6 +62,7 @@ | ... | @@ -62,6 +62,7 @@ |
62 | }, | 62 | }, |
63 | data () { | 63 | data () { |
64 | return { | 64 | return { |
65 | radioVal: '', | ||
65 | loading: false, | 66 | loading: false, |
66 | queryForm: defaultParameters.defaultParameters(), | 67 | queryForm: defaultParameters.defaultParameters(), |
67 | qllxs: [], | 68 | qllxs: [], |
... | @@ -75,6 +76,28 @@ | ... | @@ -75,6 +76,28 @@ |
75 | }, | 76 | }, |
76 | mounted () { | 77 | mounted () { |
77 | sendThis(this); | 78 | sendThis(this); |
79 | if (this.sqywInfo.sqywdylx == "1") { | ||
80 | this.tableData.columns = [{ | ||
81 | label: '选择', | ||
82 | width: '50px', | ||
83 | render: (h, scope) => { | ||
84 | return ( | ||
85 | <div class="orgColumn"> | ||
86 | <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}> | ||
87 |   | ||
88 | </el-radio> | ||
89 | </div> | ||
90 | ) | ||
91 | } | ||
92 | }].concat(datas.columns()) | ||
93 | } else { | ||
94 | this.tableData.columns = | ||
95 | [{ | ||
96 | type: 'selection', | ||
97 | label: '全选', | ||
98 | width: '50' | ||
99 | }].concat(datas.columns()) | ||
100 | } | ||
78 | }, | 101 | }, |
79 | methods: { | 102 | methods: { |
80 | /** | 103 | /** |
... | @@ -158,21 +181,10 @@ | ... | @@ -158,21 +181,10 @@ |
158 | formData: param | 181 | formData: param |
159 | }) | 182 | }) |
160 | }, | 183 | }, |
161 | /** | 184 | handleChange () { |
162 | * @description: select | 185 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) |
163 | * @param {*} selection | 186 | arr[0].bsm = arr[0].zdbsm |
164 | * @param {*} row | 187 | this.bdcdysz = arr |
165 | * @author: renchao | ||
166 | */ | ||
167 | select (selection, row) { | ||
168 | if (this.sqywInfo.sqywdylx == "1") { | ||
169 | // 清除 所有勾选项 | ||
170 | this.$refs.table.clearSelection() | ||
171 | // 当表格数据都没有被勾选的时候 就返回 | ||
172 | // 主要用于将当前勾选的表格状态清除 | ||
173 | if (selection.length == 0) return | ||
174 | this.$refs.table.toggleRowSelection(row, true); | ||
175 | } | ||
176 | }, | 188 | }, |
177 | /** | 189 | /** |
178 | * @description: handleRowClick | 190 | * @description: handleRowClick |
... | @@ -181,28 +193,15 @@ | ... | @@ -181,28 +193,15 @@ |
181 | */ | 193 | */ |
182 | handleRowClick (row) { | 194 | handleRowClick (row) { |
183 | // 如果状态是1,那就是单选 | 195 | // 如果状态是1,那就是单选 |
196 | let refs = 'table'; | ||
184 | if (this.sqywInfo.sqywdylx == "1") { | 197 | if (this.sqywInfo.sqywdylx == "1") { |
185 | const bdcdysz = this.bdcdysz | 198 | row.bsm = row.zdbsm |
186 | this.$refs.table.clearSelection() | 199 | this.bdcdysz = [row] |
187 | if (bdcdysz.length == 1) { | 200 | this.radioVal = row.bdcdyid |
188 | bdcdysz.forEach(item => { | ||
189 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | ||
190 | if (item == row) { | ||
191 | this.$refs.table.toggleRowSelection(row, false); | ||
192 | } | ||
193 | // 不然就让当前的一行勾选 | ||
194 | else { | ||
195 | this.$refs.table.toggleRowSelection(row, true); | ||
196 | } | ||
197 | }) | ||
198 | } | ||
199 | else { | ||
200 | this.$refs.table.toggleRowSelection(row, true); | ||
201 | } | ||
202 | } else { | 201 | } else { |
203 | this.$refs.table.toggleRowSelection(row); | 202 | this.$refs[refs].toggleRowSelection(row) |
204 | } | 203 | } |
205 | }, | 204 | } |
206 | } | 205 | } |
207 | } | 206 | } |
208 | </script> | 207 | </script> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-17 14:18:01 | 4 | * @LastEditTime: 2024-01-23 13:47:01 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -53,7 +53,7 @@ | ... | @@ -53,7 +53,7 @@ |
53 | <!-- 表格 --> | 53 | <!-- 表格 --> |
54 | <div class="from-clues-content loadingtext"> | 54 | <div class="from-clues-content loadingtext"> |
55 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | 55 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" |
56 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" | 56 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
57 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" | 57 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
58 | :data="tableData.data"> | 58 | :data="tableData.data"> |
59 | </lb-table> | 59 | </lb-table> |
... | @@ -82,6 +82,7 @@ | ... | @@ -82,6 +82,7 @@ |
82 | }, | 82 | }, |
83 | data () { | 83 | data () { |
84 | return { | 84 | return { |
85 | radioVal: '', | ||
85 | loading: false, | 86 | loading: false, |
86 | queryForm: defaultParameters.defaultParameters(), | 87 | queryForm: defaultParameters.defaultParameters(), |
87 | tableData: { | 88 | tableData: { |
... | @@ -94,6 +95,28 @@ | ... | @@ -94,6 +95,28 @@ |
94 | }, | 95 | }, |
95 | mounted () { | 96 | mounted () { |
96 | sendThis(this); | 97 | sendThis(this); |
98 | if (this.sqywInfo.sqywdylx == "1") { | ||
99 | this.tableData.columns = [{ | ||
100 | label: '选择', | ||
101 | width: '50px', | ||
102 | render: (h, scope) => { | ||
103 | return ( | ||
104 | <div class="orgColumn"> | ||
105 | <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}> | ||
106 |   | ||
107 | </el-radio> | ||
108 | </div> | ||
109 | ) | ||
110 | } | ||
111 | }].concat(datas.columns()) | ||
112 | } else { | ||
113 | this.tableData.columns = | ||
114 | [{ | ||
115 | type: 'selection', | ||
116 | label: '全选', | ||
117 | width: '50' | ||
118 | }].concat(datas.columns()) | ||
119 | } | ||
97 | }, | 120 | }, |
98 | methods: { | 121 | methods: { |
99 | /** | 122 | /** |
... | @@ -182,21 +205,10 @@ | ... | @@ -182,21 +205,10 @@ |
182 | formData: param | 205 | formData: param |
183 | }) | 206 | }) |
184 | }, | 207 | }, |
185 | /** | 208 | handleChange () { |
186 | * @description: select | 209 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) |
187 | * @param {*} selection | 210 | arr[0].bsm = arr[0].zdbsm |
188 | * @param {*} row | 211 | this.bdcdysz = arr |
189 | * @author: renchao | ||
190 | */ | ||
191 | select (selection, row) { | ||
192 | if (this.sqywInfo.sqywdylx == "1") { | ||
193 | // 清除 所有勾选项 | ||
194 | this.$refs.table.clearSelection() | ||
195 | // 当表格数据都没有被勾选的时候 就返回 | ||
196 | // 主要用于将当前勾选的表格状态清除 | ||
197 | if (selection.length == 0) return | ||
198 | this.$refs.table.toggleRowSelection(row, true); | ||
199 | } | ||
200 | }, | 212 | }, |
201 | /** | 213 | /** |
202 | * @description: handleRowClick | 214 | * @description: handleRowClick |
... | @@ -205,26 +217,13 @@ | ... | @@ -205,26 +217,13 @@ |
205 | */ | 217 | */ |
206 | handleRowClick (row) { | 218 | handleRowClick (row) { |
207 | // 如果状态是1,那就是单选 | 219 | // 如果状态是1,那就是单选 |
220 | let refs = 'table'; | ||
208 | if (this.sqywInfo.sqywdylx == "1") { | 221 | if (this.sqywInfo.sqywdylx == "1") { |
209 | const bdcdysz = this.bdcdysz | 222 | row.bsm = row.zdbsm |
210 | this.$refs.table.clearSelection() | 223 | this.bdcdysz = [row] |
211 | if (bdcdysz.length == 1) { | 224 | this.radioVal = row.bdcdyid |
212 | bdcdysz.forEach(item => { | ||
213 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | ||
214 | if (item == row) { | ||
215 | this.$refs.table.toggleRowSelection(row, false); | ||
216 | } | ||
217 | // 不然就让当前的一行勾选 | ||
218 | else { | ||
219 | this.$refs.table.toggleRowSelection(row, true); | ||
220 | } | ||
221 | }) | ||
222 | } | ||
223 | else { | ||
224 | this.$refs.table.toggleRowSelection(row, true); | ||
225 | } | ||
226 | } else { | 225 | } else { |
227 | this.$refs.table.toggleRowSelection(row); | 226 | this.$refs[refs].toggleRowSelection(row) |
228 | } | 227 | } |
229 | } | 228 | } |
230 | } | 229 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 16:24:56 | 4 | * @LastEditTime: 2024-01-23 13:40:23 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -198,6 +198,7 @@ | ... | @@ -198,6 +198,7 @@ |
198 | // 如果状态是1,那就是单选 | 198 | // 如果状态是1,那就是单选 |
199 | let refs = 'table'; | 199 | let refs = 'table'; |
200 | if (this.sqywInfo.sqywdylx == "1") { | 200 | if (this.sqywInfo.sqywdylx == "1") { |
201 | row.bsm = row.zdbsm | ||
201 | this.bdcdysz = [row] | 202 | this.bdcdysz = [row] |
202 | this.radioVal = row.bdcdyid | 203 | this.radioVal = row.bdcdyid |
203 | } else { | 204 | } else { | ... | ... |
src/views/ywbl/ywsq/components/tdjyq200.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-01-23 13:44:44 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="from-clues"> | ||
8 | <!-- 表单部分 --> | ||
9 | <div class="from-clues-header"> | ||
10 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
11 | <el-row> | ||
12 | <el-col :span="6"> | ||
13 | <el-form-item label="不动产单元号"> | ||
14 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> | ||
15 | </el-input> | ||
16 | </el-form-item> | ||
17 | </el-col> | ||
18 | <el-col :span="6"> | ||
19 | <el-form-item label="坐落"> | ||
20 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> | ||
21 | </el-input> | ||
22 | </el-form-item> | ||
23 | </el-col> | ||
24 | <el-col :span="6"> | ||
25 | <el-form-item label="权利人"> | ||
26 | <el-input placeholder="请输入权利人" v-model.trim="queryForm.qlr" clearable class="width100"> | ||
27 | </el-input> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | <el-col :span="6"> | ||
31 | <el-form-item label="证件号"> | ||
32 | <el-input placeholder="请输入证件号" v-model.trim="queryForm.zjh" clearable class="width100"> | ||
33 | </el-input> | ||
34 | </el-form-item> | ||
35 | </el-col> | ||
36 | <el-col :span="24" class="btnColRight"> | ||
37 | <el-form-item> | ||
38 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
39 | <el-button type="primary" @click="handleSearch">查询</el-button> | ||
40 | </el-form-item> | ||
41 | </el-col> | ||
42 | </el-row> | ||
43 | </el-form> | ||
44 | </div> | ||
45 | <!-- 表格 --> | ||
46 | <div class="from-clues-content loadingtext"> | ||
47 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | ||
48 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" | ||
49 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" | ||
50 | :data="tableData.data"> | ||
51 | </lb-table> | ||
52 | </div> | ||
53 | <div class="submit_button"> | ||
54 | <el-button @click="$popupCacel">取消</el-button> | ||
55 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> | ||
56 | </div> | ||
57 | </div> | ||
58 | </template> | ||
59 | <script> | ||
60 | //首次登记 | ||
61 | import store from '@/store/index.js' | ||
62 | import ywsqTable from "@/utils/mixin/ywsqTable"; | ||
63 | import jump from "../components/mixin/jump"; | ||
64 | import { ywPopupDialog } from "@/utils/popup.js"; | ||
65 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; | ||
66 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
67 | import { selectTdcbjyq } from "@/api/ywsq.js"; | ||
68 | import { startBusinessFlow } from "@/api/workFlow.js"; | ||
69 | export default { | ||
70 | mixins: [ywsqTable, jump], | ||
71 | props: { | ||
72 | isJump: { type: Boolean, default: false }, | ||
73 | sqywInfo: { type: Object, default: () => { } }, | ||
74 | }, | ||
75 | data () { | ||
76 | return { | ||
77 | radioVal: '', | ||
78 | loading: false, | ||
79 | queryForm: defaultParameters.defaultParameters(), | ||
80 | qllxs: [], | ||
81 | tableData: { | ||
82 | total: 0, | ||
83 | columns: datas.columns(), | ||
84 | data: [], | ||
85 | }, | ||
86 | bdcdysz: [] | ||
87 | }; | ||
88 | }, | ||
89 | mounted () { | ||
90 | sendThis(this); | ||
91 | if (this.sqywInfo.sqywdylx == "1") { | ||
92 | this.tableData.columns = [{ | ||
93 | label: '选择', | ||
94 | width: '50px', | ||
95 | render: (h, scope) => { | ||
96 | return ( | ||
97 | <div class="orgColumn"> | ||
98 | <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}> | ||
99 |   | ||
100 | </el-radio> | ||
101 | </div> | ||
102 | ) | ||
103 | } | ||
104 | }].concat(datas.columns()) | ||
105 | } else { | ||
106 | this.tableData.columns = | ||
107 | [{ | ||
108 | type: 'selection', | ||
109 | label: '全选', | ||
110 | width: '50' | ||
111 | }].concat(datas.columns()) | ||
112 | } | ||
113 | }, | ||
114 | methods: { | ||
115 | /** | ||
116 | * @description: queryClick | ||
117 | * @author: renchao | ||
118 | */ | ||
119 | queryClick () { | ||
120 | this.$startLoading(); | ||
121 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
122 | selectTdcbjyq({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
123 | this.$endLoading(); | ||
124 | if (res.code === 200) { | ||
125 | let { total, records } = res.result; | ||
126 | this.tableData.total = total; | ||
127 | this.tableData.data = records; | ||
128 | } | ||
129 | }) | ||
130 | }, | ||
131 | /** | ||
132 | * @description: submitForm | ||
133 | * @author: renchao | ||
134 | */ | ||
135 | submitForm () { | ||
136 | if (this.bdcdysz.length == 0) { | ||
137 | this.$message.error("请至少选择一条数据"); | ||
138 | return; | ||
139 | } | ||
140 | this.loading = true | ||
141 | startBusinessFlow({ | ||
142 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
143 | bdcdysz: this.bdcdysz, | ||
144 | }).then((res) => { | ||
145 | this.loading = false | ||
146 | if (res.code == 200) { | ||
147 | this.$message({ | ||
148 | showClose: true, | ||
149 | message: '发起申请成功', | ||
150 | type: 'success' | ||
151 | }) | ||
152 | if (!this.isJump) { | ||
153 | this.jump(res.result) | ||
154 | } else { | ||
155 | store.dispatch('user/refreshPage', true); | ||
156 | } | ||
157 | this.$popupCacel() | ||
158 | } else { | ||
159 | if (res.result && res.result.length > 0) { | ||
160 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
161 | } else { | ||
162 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
163 | } | ||
164 | } | ||
165 | }).catch(() => { | ||
166 | this.loading = false | ||
167 | }) | ||
168 | }, | ||
169 | /** | ||
170 | * @description: handleSelectionChange | ||
171 | * @param {*} val | ||
172 | * @author: renchao | ||
173 | */ | ||
174 | handleSelectionChange (val) { | ||
175 | val.forEach((item, index) => { | ||
176 | item.bsm = item.zdbsm; | ||
177 | }); | ||
178 | if (this.sqywInfo.sqywdylx == "1") { | ||
179 | if (val.length > 1) { | ||
180 | this.bdcdysz = [...val[val.length - 1]]; | ||
181 | } else { | ||
182 | this.bdcdysz = val; | ||
183 | } | ||
184 | } else { | ||
185 | this.bdcdysz = val; | ||
186 | } | ||
187 | }, | ||
188 | /** | ||
189 | * @description: openBook | ||
190 | * @param {*} row | ||
191 | * @author: renchao | ||
192 | */ | ||
193 | openBook (row) { | ||
194 | var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx }; | ||
195 | this.$popup('登记簿详情', 'registerBook/djbFrame', { | ||
196 | formData: param | ||
197 | }) | ||
198 | }, | ||
199 | handleChange () { | ||
200 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) | ||
201 | arr[0].bsm = arr[0].zdbsm | ||
202 | this.bdcdysz = arr | ||
203 | }, | ||
204 | /** | ||
205 | * @description: handleRowClick | ||
206 | * @param {*} row | ||
207 | * @author: renchao | ||
208 | */ | ||
209 | handleRowClick (row) { | ||
210 | // 如果状态是1,那就是单选 | ||
211 | let refs = 'table'; | ||
212 | if (this.sqywInfo.sqywdylx == "1") { | ||
213 | row.bsm = row.zdbsm | ||
214 | this.bdcdysz = [row] | ||
215 | this.radioVal = row.bdcdyid | ||
216 | } else { | ||
217 | this.$refs[refs].toggleRowSelection(row) | ||
218 | } | ||
219 | } | ||
220 | } | ||
221 | } | ||
222 | </script> | ||
223 | <style scoped lang="scss"> | ||
224 | @import "~@/styles/mixin.scss"; | ||
225 | @import "~@/styles/public.scss"; | ||
226 | </style> |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-17 09:44:35 | 4 | * @LastEditTime: 2024-01-23 13:43:12 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -15,11 +15,11 @@ class data extends filter { | ... | @@ -15,11 +15,11 @@ class data extends filter { |
15 | } | 15 | } |
16 | columns () { | 16 | columns () { |
17 | return [ | 17 | return [ |
18 | { | 18 | // { |
19 | type: 'selection', | 19 | // type: 'selection', |
20 | label: '全选', | 20 | // label: '全选', |
21 | selectable: this.selected | 21 | // selectable: this.selected |
22 | }, | 22 | // }, |
23 | { | 23 | { |
24 | label: '序号', | 24 | label: '序号', |
25 | type: 'index', | 25 | type: 'index', | ... | ... |
... | @@ -73,7 +73,9 @@ export function queueDjywmc (djywbm, djqxbm) { | ... | @@ -73,7 +73,9 @@ export function queueDjywmc (djywbm, djqxbm) { |
73 | case "A23200": | 73 | case "A23200": |
74 | case "A23300": | 74 | case "A23300": |
75 | case "A23400": | 75 | case "A23400": |
76 | case "A09200": | 76 | case "A09200": // 土地承包经营权(转移登记) |
77 | vm = "tdjyq200"; | ||
78 | break; | ||
77 | case "A09300": | 79 | case "A09300": |
78 | case "A09400": | 80 | case "A09400": |
79 | vm = "nydsyq200"; | 81 | vm = "nydsyq200"; | ... | ... |
-
Please register or sign in to post a comment