Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
43 changed files
with
1522 additions
and
389 deletions
1 | /* | 1 | /* |
2 | * @Description: 材料信息 | 2 | * @Description: 材料信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-18 16:03:16 | 4 | * @LastEditTime: 2024-01-19 16:00:03 |
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')) | ... | ... |
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,29 +11,14 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap | ... | @@ -11,29 +11,14 @@ 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": |
18 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/fristBatchInit"; | 18 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/fristBatchInit"; |
19 | break; | 19 | break; |
20 | case "200": | ||
21 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/transferInit"; | ||
22 | break; | ||
23 | case "300": | ||
24 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/changeInit"; | ||
25 | break; | ||
26 | case "400": | 20 | case "400": |
27 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/logoutBatchSave"; | 21 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/logoutBatchInit"; |
28 | break; | ||
29 | case "500": | ||
30 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/riviseInit"; | ||
31 | break; | ||
32 | case "901": | ||
33 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/renewalInit"; | ||
34 | break; | ||
35 | case "902": | ||
36 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/replaceInit"; | ||
37 | break; | 22 | break; |
38 | } | 23 | } |
39 | return request({ | 24 | return request({ |
... | @@ -47,7 +32,7 @@ export function BatchInit(data){ | ... | @@ -47,7 +32,7 @@ export function BatchInit(data){ |
47 | * @param {*} data | 32 | * @param {*} data |
48 | * @author: renchao | 33 | * @author: renchao |
49 | */ | 34 | */ |
50 | export function Init (data) { | 35 | export function Init(data) { |
51 | let apiUrl = ""; | 36 | let apiUrl = ""; |
52 | switch (data.get("djlx")) { | 37 | switch (data.get("djlx")) { |
53 | case "100": | 38 | case "100": |
... | @@ -83,9 +68,13 @@ export function Init (data) { | ... | @@ -83,9 +68,13 @@ export function Init (data) { |
83 | * @param {*} data | 68 | * @param {*} data |
84 | * @author: renchao | 69 | * @author: renchao |
85 | */ | 70 | */ |
86 | export function saveBatchData (data) { | 71 | export function saveBatchData(data) { |
72 | let path = "/rest/ywbl/fdcq2lr/fristBatchSave"; | ||
73 | if (data.slsq.djywbm.includes("400")) { | ||
74 | path = "/rest/ywbl/fdcq2lr/logoutBatchSave"; | ||
75 | } | ||
87 | return request({ | 76 | return request({ |
88 | url: SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/saveBatchData", | 77 | url: SERVER.SERVERAPI + path, |
89 | method: 'post', | 78 | method: 'post', |
90 | data | 79 | data |
91 | }) | 80 | }) |
... | @@ -96,7 +85,7 @@ export function saveBatchData (data) { | ... | @@ -96,7 +85,7 @@ export function saveBatchData (data) { |
96 | * @param {*} data | 85 | * @param {*} data |
97 | * @author: renchao | 86 | * @author: renchao |
98 | */ | 87 | */ |
99 | export function saveData (data) { | 88 | export function saveData(data) { |
100 | return request({ | 89 | return request({ |
101 | url: SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/saveData", | 90 | url: SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/saveData", |
102 | method: 'post', | 91 | method: 'post', | ... | ... |
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: 业务办理-选择单元-查询宗地基本信息 |
... | @@ -207,6 +220,35 @@ export function selectFwsyq (data) { | ... | @@ -207,6 +220,35 @@ export function selectFwsyq (data) { |
207 | data | 220 | data |
208 | }) | 221 | }) |
209 | } | 222 | } |
223 | |||
224 | /** | ||
225 | * 业务办理-选择权利信息-根据条件进行列表查询 | ||
226 | * @param data | ||
227 | * @returns {*} | ||
228 | */ | ||
229 | export function selectFwsyqQlxxSplitMergeBefore (data) { | ||
230 | return request({ | ||
231 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectFwsyqQlxxSplitMergeBefore', | ||
232 | method: 'post', | ||
233 | data | ||
234 | }) | ||
235 | } | ||
236 | |||
237 | |||
238 | /** | ||
239 | * 业务办理-选择权利信息-根据条件进行列表查询 | ||
240 | * @param data | ||
241 | * @returns {*} | ||
242 | */ | ||
243 | export function selectHSplitMerge (data) { | ||
244 | return request({ | ||
245 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectHSplitMerge', | ||
246 | method: 'post', | ||
247 | data | ||
248 | }) | ||
249 | } | ||
250 | |||
251 | |||
210 | /** | 252 | /** |
211 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 | 253 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 |
212 | * @param data | 254 | * @param data | ... | ... |
... | @@ -126,7 +126,7 @@ export const asyncRoutes = [ | ... | @@ -126,7 +126,7 @@ export const asyncRoutes = [ |
126 | component: () => import('@/views/ywbl/ybx/ybx.vue'), | 126 | component: () => import('@/views/ywbl/ybx/ybx.vue'), |
127 | name: 'ybx', | 127 | name: 'ybx', |
128 | meta: { title: '已办箱' } | 128 | meta: { title: '已办箱' } |
129 | }, { | 129 | }, { |
130 | path: 'ycsl', | 130 | path: 'ycsl', |
131 | id: '24', | 131 | id: '24', |
132 | parentId: '2', | 132 | parentId: '2', | ... | ... |
... | @@ -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: 2024-01-19 13:58:43 | 4 | * @LastEditTime: 2024-01-19 16:48:37 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -80,13 +80,13 @@ | ... | @@ -80,13 +80,13 @@ |
80 | popupCacel(); | 80 | popupCacel(); |
81 | that.$message.success("转件成功"); | 81 | that.$message.success("转件成功"); |
82 | setTimeout(() => { | 82 | setTimeout(() => { |
83 | window.close(); | ||
84 | that.$emit("input", false); | ||
83 | if (window.opener && window.opener.getBpageList) { | 85 | if (window.opener && window.opener.getBpageList) { |
84 | window.opener.getBpageList(); | 86 | window.opener.getBpageList(); |
85 | } else { | 87 | } else { |
86 | window.opener.frames[0].getBpageList(); | 88 | window.opener.frames[0].getBpageList(); |
87 | } | 89 | } |
88 | window.close(); | ||
89 | that.$emit("input", false); | ||
90 | }, 360); | 90 | }, 360); |
91 | } else { | 91 | } else { |
92 | this.$message.error(res.message); | 92 | this.$message.error(res.message); | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-21 09:55:21 | 4 | * @LastEditTime: 2024-01-22 14:59:51 |
5 | */ | 5 | */ |
6 | //流程环节操作按钮 | 6 | //流程环节操作按钮 |
7 | export function getForm (tabName) { | 7 | export function getForm (tabName) { |
8 | let form; | 8 | let form; |
9 | if (tabName == 0) return | ||
9 | switch (tabName) { | 10 | switch (tabName) { |
10 | case "zdjbxx": | 11 | case "zdjbxx": |
11 | form = require("@/views/registerBook/zdjbxx.vue"); | 12 | form = require("@/views/registerBook/zdjbxx.vue"); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-09 10:18:46 | 4 | * @LastEditTime: 2024-01-19 16:30:06 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="clxx"> | 7 | <div class="clxx"> |
... | @@ -45,7 +45,7 @@ | ... | @@ -45,7 +45,7 @@ |
45 | <script> | 45 | <script> |
46 | import store from '@/store/index.js' | 46 | import store from '@/store/index.js' |
47 | import imagePreview from "./dialog/imagePreview.vue"; | 47 | import imagePreview from "./dialog/imagePreview.vue"; |
48 | import { repairInitClml, getClmxList } from "@/api/clxx.js"; | 48 | import { InitClml, repairInitClml, getClmxList } from "@/api/clxx.js"; |
49 | export default { | 49 | export default { |
50 | components: { imagePreview }, | 50 | components: { imagePreview }, |
51 | props: { | 51 | props: { |
... | @@ -87,7 +87,7 @@ | ... | @@ -87,7 +87,7 @@ |
87 | } | 87 | } |
88 | }, | 88 | }, |
89 | created () { | 89 | created () { |
90 | this.clmlInitList() | 90 | this.clmlInitList(1) |
91 | }, | 91 | }, |
92 | methods: { | 92 | methods: { |
93 | /** | 93 | /** |
... | @@ -148,26 +148,51 @@ | ... | @@ -148,26 +148,51 @@ |
148 | clmlInitList (type) { | 148 | clmlInitList (type) { |
149 | // 1:列表初始化 2:新增材料 | 149 | // 1:列表初始化 2:新增材料 |
150 | return new Promise((resolve) => { | 150 | return new Promise((resolve) => { |
151 | console.log(this.formData, 'this.formData'); | 151 | if (this.formData.sjlx == 2) { |
152 | repairInitClml(this.formData).then((res) => { | 152 | repairInitClml(this.formData).then((res) => { |
153 | if (res.code == 200) { | 153 | if (res.code == 200) { |
154 | resolve(res.code); | 154 | resolve(res.code); |
155 | if (res.result && res.result.length > 0) { | 155 | if (res.result && res.result.length > 0) { |
156 | this.tableData = res.result; | 156 | this.tableData = res.result; |
157 | if (type == 1) { | 157 | if (type == 1) { |
158 | this.treeClick(this.tableData[0], 0); | 158 | this.treeClick(this.tableData[0], 0); |
159 | } else { | 159 | } else { |
160 | //新增材料后刷新列表焦点置于新增的对象上 | 160 | //新增材料后刷新列表焦点置于新增的对象上 |
161 | this.treeClick( | 161 | this.treeClick( |
162 | this.tableData[this.tableData.length - 1], | 162 | this.tableData[this.tableData.length - 1], |
163 | this.tableData.length - 1 | 163 | this.tableData.length - 1 |
164 | ); | 164 | ); |
165 | } | ||
165 | } | 166 | } |
167 | } else { | ||
168 | this.$message.error(res.message); | ||
166 | } | 169 | } |
167 | } else { | 170 | }) |
168 | this.$message.error(res.message); | 171 | } else { |
169 | } | 172 | var formdata = new FormData(); |
170 | }) | 173 | formdata.append("bsmSlsq", this.formData.bsmSlsq); |
174 | formdata.append("bsmSldy", this.formData.bsmSldy); | ||
175 | |||
176 | InitClml(formdata).then((res) => { | ||
177 | if (res.code == 200) { | ||
178 | resolve(res.code); | ||
179 | if (res.result && res.result.length > 0) { | ||
180 | this.tableData = res.result; | ||
181 | if (type == 1) { | ||
182 | this.treeClick(this.tableData[0], 0); | ||
183 | } else { | ||
184 | //新增材料后刷新列表焦点置于新增的对象上 | ||
185 | this.treeClick( | ||
186 | this.tableData[this.tableData.length - 1], | ||
187 | this.tableData.length - 1 | ||
188 | ); | ||
189 | } | ||
190 | } | ||
191 | } else { | ||
192 | this.$message.error(res.message); | ||
193 | } | ||
194 | }) | ||
195 | } | ||
171 | }) | 196 | }) |
172 | }, | 197 | }, |
173 | /** | 198 | /** |
... | @@ -280,13 +305,11 @@ | ... | @@ -280,13 +305,11 @@ |
280 | position: absolute; | 305 | position: absolute; |
281 | 306 | ||
282 | .menu-tree { | 307 | .menu-tree { |
283 | width: 20%; | 308 | width: 26%; |
284 | min-width: 160px; | 309 | min-width: 160px; |
285 | height: 100%; | 310 | height: 100%; |
286 | margin-right: 10px; | 311 | margin-right: 5px; |
287 | border-right: 1px dotted #d9d9d9; | 312 | border-right: 1px dotted #d9d9d9; |
288 | padding: 0 15px; | ||
289 | |||
290 | .item { | 313 | .item { |
291 | line-height: 30px; | 314 | line-height: 30px; |
292 | padding-top: 5px; | 315 | padding-top: 5px; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-19 15:46:35 | 4 | * @LastEditTime: 2024-01-19 16:10:10 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="tableBox"> | 7 | <div class="tableBox"> |
... | @@ -260,19 +260,19 @@ | ... | @@ -260,19 +260,19 @@ |
260 | if (sjlx == '系统数据') { | 260 | if (sjlx == '系统数据') { |
261 | getXtParamsByYwh(ywh).then(res => { | 261 | getXtParamsByYwh(ywh).then(res => { |
262 | let data = res.result | 262 | let data = res.result |
263 | // that.$popup('材料信息', 'registerBook/components/clxx/index', { | 263 | that.$popup('材料信息', 'registerBook/components/clxx/index', { |
264 | // width: '60%', | 264 | width: '70%', |
265 | // formData: data | 265 | formData: { ...data, sjlx: 1, bsmSldy: row.bsmSldy } |
266 | // }) | 266 | }) |
267 | const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness) | 267 | // const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness) |
268 | window.open(href, `urlname${new Date().getTime()}`) | 268 | // window.open(href, `urlname${new Date().getTime()}`) |
269 | }) | 269 | }) |
270 | } else { | 270 | } else { |
271 | getBlParamsByYwh(ywh, bsmQlxx).then(res => { | 271 | getBlParamsByYwh(ywh, bsmQlxx).then(res => { |
272 | let data = res.result | 272 | let data = res.result |
273 | this.$popup('材料信息', 'registerBook/components/clxx/index', { | 273 | this.$popup('材料信息', 'registerBook/components/clxx/index', { |
274 | width: '60%', | 274 | width: '70%', |
275 | formData: data | 275 | formData: { ...data, sjlx: 2 } |
276 | }) | 276 | }) |
277 | }) | 277 | }) |
278 | } | 278 | } | ... | ... |
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 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2024-01-19 15:46:23 | 4 | * @LastEditTime: 2024-01-19 16:09:59 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -307,19 +307,19 @@ | ... | @@ -307,19 +307,19 @@ |
307 | if (sjlx == '系统数据') { | 307 | if (sjlx == '系统数据') { |
308 | getXtParamsByYwh(ywh).then(res => { | 308 | getXtParamsByYwh(ywh).then(res => { |
309 | let data = res.result | 309 | let data = res.result |
310 | // that.$popup('材料信息', 'registerBook/components/clxx/index', { | 310 | that.$popup('材料信息', 'registerBook/components/clxx/index', { |
311 | // width: '60%', | 311 | width: '70%', |
312 | // formData: data | 312 | formData: { ...data, sjlx: 1, bsmSldy: row.bsmSldy } |
313 | // }) | 313 | }) |
314 | const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness) | 314 | // const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness) |
315 | window.open(href, `urlname${new Date().getTime()}`) | 315 | // window.open(href, `urlname${new Date().getTime()}`) |
316 | }) | 316 | }) |
317 | } else { | 317 | } else { |
318 | getBlParamsByYwh(ywh, bsmQlxx).then(res => { | 318 | getBlParamsByYwh(ywh, bsmQlxx).then(res => { |
319 | let data = res.result | 319 | let data = res.result |
320 | this.$popup('材料信息', 'registerBook/components/clxx/index', { | 320 | this.$popup('材料信息', 'registerBook/components/clxx/index', { |
321 | width: '60%', | 321 | width: '70%', |
322 | formData: data | 322 | formData: { ...data, sjlx: 2 } |
323 | }) | 323 | }) |
324 | }) | 324 | }) |
325 | } | 325 | } | ... | ... |
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"> | ... | ... |
... | @@ -259,7 +259,7 @@ class data extends filter { | ... | @@ -259,7 +259,7 @@ class data extends filter { |
259 | { | 259 | { |
260 | vm.form.djqx.map(option => { | 260 | vm.form.djqx.map(option => { |
261 | return ( | 261 | return ( |
262 | <el-option label={option.nodename} value={option.bsmSqyw}></el-option> | 262 | <el-option label={option.nodename} value={option.nodecode}></el-option> |
263 | ) | 263 | ) |
264 | }) | 264 | }) |
265 | } | 265 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-13 13:38:21 | 4 | * @LastEditTime: 2024-01-22 15:49:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -111,7 +111,7 @@ | ... | @@ -111,7 +111,7 @@ |
111 | </lb-table> | 111 | </lb-table> |
112 | </el-collapse-item> | 112 | </el-collapse-item> |
113 | <el-collapse-item title="材料信息设置" name="2"> | 113 | <el-collapse-item title="材料信息设置" name="2"> |
114 | <lb-table :column="clxxList" :heightNumSetting="true" :minHeight="160" | 114 | <lb-table :column="clxxList" :heightNumSetting="true" :key="cLkey" :minHeight="160" |
115 | :pagination="false" :data="form.clxx"> | 115 | :pagination="false" :data="form.clxx"> |
116 | </lb-table> | 116 | </lb-table> |
117 | </el-collapse-item> | 117 | </el-collapse-item> |
... | @@ -169,6 +169,7 @@ | ... | @@ -169,6 +169,7 @@ |
169 | }, | 169 | }, |
170 | data () { | 170 | data () { |
171 | return { | 171 | return { |
172 | cLkey: 0, | ||
172 | loading: false, | 173 | loading: false, |
173 | key: 0, | 174 | key: 0, |
174 | tn: 0, | 175 | tn: 0, |
... | @@ -211,7 +212,6 @@ | ... | @@ -211,7 +212,6 @@ |
211 | } | 212 | } |
212 | }, | 213 | }, |
213 | methods: { | 214 | methods: { |
214 | //页面初始化 | ||
215 | /** | 215 | /** |
216 | * @description: 页面初始化 | 216 | * @description: 页面初始化 |
217 | * @author: renchao | 217 | * @author: renchao |
... | @@ -233,6 +233,7 @@ | ... | @@ -233,6 +233,7 @@ |
233 | } | 233 | } |
234 | }) | 234 | }) |
235 | } | 235 | } |
236 | console.log(this.clxxList); | ||
236 | }, | 237 | }, |
237 | /** | 238 | /** |
238 | * @description: orderNoChange | 239 | * @description: orderNoChange |
... | @@ -289,7 +290,7 @@ | ... | @@ -289,7 +290,7 @@ |
289 | getSqdjywDetail(bsmSqyw).then((res) => { | 290 | getSqdjywDetail(bsmSqyw).then((res) => { |
290 | if (res.code === 200) { | 291 | if (res.code === 200) { |
291 | this.form = res.result; | 292 | this.form = res.result; |
292 | console.log(this.form.clxx); | 293 | console.log(this.form); |
293 | if (that.formData.sqfl == "2") { | 294 | if (that.formData.sqfl == "2") { |
294 | that.form.ywmcList = that.form.djlx.map(item => ({ nodename: item.djywmc + '+' + item.nodename, bsmSqyw: item.bsmSqyw })) | 295 | that.form.ywmcList = that.form.djlx.map(item => ({ nodename: item.djywmc + '+' + item.nodename, bsmSqyw: item.bsmSqyw })) |
295 | } | 296 | } |
... | @@ -384,6 +385,7 @@ | ... | @@ -384,6 +385,7 @@ |
384 | */ | 385 | */ |
385 | removeDjqx (index, row) { | 386 | removeDjqx (index, row) { |
386 | this.form.djqx.splice(index, 1); | 387 | this.form.djqx.splice(index, 1); |
388 | this.cLkey++ | ||
387 | }, | 389 | }, |
388 | /** | 390 | /** |
389 | * @description: addClxx | 391 | * @description: addClxx | ... | ... |
... | @@ -52,14 +52,18 @@ | ... | @@ -52,14 +52,18 @@ |
52 | { | 52 | { |
53 | prop: "qllxmc", | 53 | prop: "qllxmc", |
54 | label: "权利类型" | 54 | label: "权利类型" |
55 | }, | ||
56 | { | ||
57 | prop: "bdcqzh", | ||
58 | label: "不动产权证号" | ||
55 | }, | 59 | }, |
56 | { | 60 | { |
57 | prop: "qlrmc", | 61 | prop: "qlrmc", |
58 | label: "被执行人" | 62 | label: "权利人" |
59 | }, | 63 | }, |
60 | { | 64 | { |
61 | prop: "bdcqzh", | 65 | prop: "qlrzjhm", |
62 | label: "不动产权证号" | 66 | label: "证件号码" |
63 | }, | 67 | }, |
64 | { | 68 | { |
65 | prop: "bdcdyh", | 69 | prop: "bdcdyh", | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-18 11:04:53 | 4 | * @LastEditTime: 2024-01-22 16:34:15 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -279,6 +279,8 @@ | ... | @@ -279,6 +279,8 @@ |
279 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 165, 56); | 279 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 165, 56); |
280 | // 恢复原始字体设置 | 280 | // 恢复原始字体设置 |
281 | context.font = originalFont; | 281 | context.font = originalFont; |
282 | } else { | ||
283 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56); | ||
282 | } | 284 | } |
283 | 285 | ||
284 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56); | 286 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56); |
... | @@ -528,6 +530,8 @@ | ... | @@ -528,6 +530,8 @@ |
528 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 725, 125); | 530 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 725, 125); |
529 | // 恢复原始字体设置 | 531 | // 恢复原始字体设置 |
530 | context.font = originalFont; | 532 | context.font = originalFont; |
533 | } else { | ||
534 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56); | ||
531 | } | 535 | } |
532 | 536 | ||
533 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123); | 537 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123); |
... | @@ -686,18 +690,18 @@ | ... | @@ -686,18 +690,18 @@ |
686 | arr.push(currentLine); | 690 | arr.push(currentLine); |
687 | if (i > 0) { | 691 | if (i > 0) { |
688 | arr.forEach((line, index) => { | 692 | arr.forEach((line, index) => { |
689 | context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 22)); // 调整行高 | 693 | context.fillText(line, 770, 605 + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高 |
690 | }) | 694 | }) |
691 | } else { | 695 | } else { |
692 | arr.forEach((line, index) => { | 696 | arr.forEach((line, index) => { |
693 | context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 22)); // 调整行高 | 697 | context.fillText(line, 770, 605 + (24 * (i - 1)) + (index * 17)); // 调整行高 |
694 | }) | 698 | }) |
695 | } | 699 | } |
696 | } else { | 700 | } else { |
697 | if (i > 0) { | 701 | if (i > 0) { |
698 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (24 * (i - 1))); | 702 | context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + 6 * num + (25 * (i - 1))); |
699 | } else { | 703 | } else { |
700 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (24 * (i - 1))); | 704 | context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + (25 * (i - 1))); |
701 | } | 705 | } |
702 | } | 706 | } |
703 | } | 707 | } | ... | ... |
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;"> |
... | @@ -198,7 +198,6 @@ | ... | @@ -198,7 +198,6 @@ |
198 | context.fillStyle = '#000000'; | 198 | context.fillStyle = '#000000'; |
199 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); | 199 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); |
200 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); | 200 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); |
201 | // context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 180, 56); | ||
202 | if (getByteLen(this.bdcqz.sxqc) > 14) { | 201 | if (getByteLen(this.bdcqz.sxqc) > 14) { |
203 | const originalFont = context.font; | 202 | const originalFont = context.font; |
204 | // 设置新的字体大小 | 203 | // 设置新的字体大小 |
... | @@ -207,6 +206,8 @@ | ... | @@ -207,6 +206,8 @@ |
207 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 165, 56); | 206 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 165, 56); |
208 | // 恢复原始字体设置 | 207 | // 恢复原始字体设置 |
209 | context.font = originalFont; | 208 | context.font = originalFont; |
209 | } else { | ||
210 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56); | ||
210 | } | 211 | } |
211 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56); | 212 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56); |
212 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97); | 213 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97); |
... | @@ -451,6 +452,8 @@ | ... | @@ -451,6 +452,8 @@ |
451 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 725, 125); | 452 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 725, 125); |
452 | // 恢复原始字体设置 | 453 | // 恢复原始字体设置 |
453 | context.font = originalFont; | 454 | context.font = originalFont; |
455 | } else { | ||
456 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56); | ||
454 | } | 457 | } |
455 | 458 | ||
456 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123); | 459 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123); |
... | @@ -613,18 +616,18 @@ | ... | @@ -613,18 +616,18 @@ |
613 | arr.push(currentLine); | 616 | arr.push(currentLine); |
614 | if (i > 0) { | 617 | if (i > 0) { |
615 | arr.forEach((line, index) => { | 618 | arr.forEach((line, index) => { |
616 | context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 22)); // 调整行高 | 619 | context.fillText(line, 770, 605 + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高 |
617 | }) | 620 | }) |
618 | } else { | 621 | } else { |
619 | arr.forEach((line, index) => { | 622 | arr.forEach((line, index) => { |
620 | context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 22)); // 调整行高 | 623 | context.fillText(line, 770, 605 + (24 * (i - 1)) + (index * 17)); // 调整行高 |
621 | }) | 624 | }) |
622 | } | 625 | } |
623 | } else { | 626 | } else { |
624 | if (i > 0) { | 627 | if (i > 0) { |
625 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (24 * (i - 1))); | 628 | context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + 6 * num + (25 * (i - 1))); |
626 | } else { | 629 | } else { |
627 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (24 * (i - 1))); | 630 | context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + (25 * (i - 1))); |
628 | } | 631 | } |
629 | } | 632 | } |
630 | } | 633 | } | ... | ... |
... | @@ -65,11 +65,19 @@ | ... | @@ -65,11 +65,19 @@ |
65 | prop: "fwxzmc", | 65 | prop: "fwxzmc", |
66 | label: "房屋性质" | 66 | label: "房屋性质" |
67 | }, | 67 | }, |
68 | { | ||
69 | prop: "sjc", | ||
70 | label: "层号" | ||
71 | }, | ||
68 | { | 72 | { |
69 | prop: "jzmj", | 73 | prop: "jzmj", |
70 | label: "建筑面积" | 74 | label: "建筑面积" |
71 | }, | 75 | }, |
72 | { | 76 | { |
77 | prop: "fwlxmc", | ||
78 | label: "房屋类型" | ||
79 | }, | ||
80 | { | ||
73 | prop: "showfwyt", | 81 | prop: "showfwyt", |
74 | label: "房屋用途" | 82 | label: "房屋用途" |
75 | }, | 83 | }, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:42:01 | 4 | * @LastEditTime: 2024-01-19 16:43:43 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -102,15 +102,14 @@ | ... | @@ -102,15 +102,14 @@ |
102 | this.$message.success("转件成功"); | 102 | this.$message.success("转件成功"); |
103 | popupCacel(); | 103 | popupCacel(); |
104 | setTimeout(() => { | 104 | setTimeout(() => { |
105 | // window.opener.location.reload(); //刷新父窗口 | 105 | window.close(); |
106 | this.$emit("input", false); | ||
106 | if (window.opener && window.opener.getBpageList) { | 107 | if (window.opener && window.opener.getBpageList) { |
107 | window.opener.getBpageList(); | 108 | window.opener.getBpageList(); |
108 | } else { | 109 | } else { |
109 | window.opener.frames[0].getBpageList(); | 110 | window.opener.frames[0].getBpageList(); |
110 | } | 111 | } |
111 | window.close(); | 112 | }, 360); |
112 | this.$emit("input", false); | ||
113 | }, 1000); | ||
114 | } else { | 113 | } else { |
115 | this.$message.error(res.message); | 114 | this.$message.error(res.message); |
116 | } | 115 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-12 09:41:27 | 4 | * @LastEditTime: 2024-01-23 14:07:58 |
5 | */ | 5 | */ |
6 | /** | 6 | /** |
7 | * @description: 流程环节操作按钮 | 7 | * @description: 流程环节操作按钮 |
... | @@ -10,6 +10,7 @@ | ... | @@ -10,6 +10,7 @@ |
10 | */ | 10 | */ |
11 | export function getForm (tabName) { | 11 | export function getForm (tabName) { |
12 | let form; | 12 | let form; |
13 | if (tabName == 0) return | ||
13 | switch (tabName) { | 14 | switch (tabName) { |
14 | case "tdsyqslxx": | 15 | case "tdsyqslxx": |
15 | form = require("@/views/ywbl/slsqxx/tdsyq/slxx.vue"); | 16 | form = require("@/views/ywbl/slsqxx/tdsyq/slxx.vue"); |
... | @@ -20,6 +21,10 @@ export function getForm (tabName) { | ... | @@ -20,6 +21,10 @@ export function getForm (tabName) { |
20 | case "jsydsyqslxx300": | 21 | case "jsydsyqslxx300": |
21 | form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue"); | 22 | form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue"); |
22 | break; | 23 | break; |
24 | //土地承包经营权 | ||
25 | case "tdcbjyqslxx100": | ||
26 | form = require("@/views/ywbl/slsqxx/tdcbjyq/slxx.vue"); | ||
27 | break; | ||
23 | //国有建设用地使用权/房屋所有权 | 28 | //国有建设用地使用权/房屋所有权 |
24 | case "fwsyqdzslxx": | 29 | case "fwsyqdzslxx": |
25 | 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: 2023-09-21 14:16:39 | 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" |
... | @@ -40,7 +40,7 @@ export default { | ... | @@ -40,7 +40,7 @@ export default { |
40 | */ | 40 | */ |
41 | beforeLeave (activeName, oldActiveName) { | 41 | beforeLeave (activeName, oldActiveName) { |
42 | sessionStorage.setItem('activeName', activeName); | 42 | sessionStorage.setItem('activeName', activeName); |
43 | if (activeName && activeName != 0) this.getFromRouter(activeName) | 43 | this.getFromRouter(activeName) |
44 | }, | 44 | }, |
45 | /** | 45 | /** |
46 | * @description: 切换选项卡内容组件 | 46 | * @description: 切换选项卡内容组件 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-18 15:02:23 | 4 | * @LastEditTime: 2024-01-23 10:25:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -38,7 +38,7 @@ | ... | @@ -38,7 +38,7 @@ |
38 | <!-- 内容框架 --> | 38 | <!-- 内容框架 --> |
39 | <div class="containerFrame"> | 39 | <div class="containerFrame"> |
40 | <!-- 左侧菜单栏 区分业务--> | 40 | <!-- 左侧菜单栏 区分业务--> |
41 | <segmentMenu v-if="['A0320099', 'A0330099'].includes(slsq.djqxbm)" | 41 | <segmentMenu v-if="['A0320099', 'A0330099','A04300S1','A04200S2','A0830S1'].includes(slsq.djqxbm)" |
42 | @getCurrentSelectProps="getCurrentSelectProps" /> | 42 | @getCurrentSelectProps="getCurrentSelectProps" /> |
43 | <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" /> | 43 | <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" /> |
44 | <div class="leftCon"> | 44 | <div class="leftCon"> |
... | @@ -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,7 +261,8 @@ | ... | @@ -255,7 +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; |
265 | this.currentSelectTab = this.tabList[indexTab]; | ||
259 | //批量操作无分屏按钮 | 266 | //批量操作无分屏按钮 |
260 | if (index != null) { | 267 | if (index != null) { |
261 | //处理分屏材料信息 | 268 | //处理分屏材料信息 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-18 10:45:37 | 4 | * @LastEditTime: 2024-01-23 10:21:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
26 | <!-- 内容框架 --> | 26 | <!-- 内容框架 --> |
27 | <div class="containerFrame"> | 27 | <div class="containerFrame"> |
28 | <!-- 左侧菜单栏 区分业务--> | 28 | <!-- 左侧菜单栏 区分业务--> |
29 | <segmentMenu v-if="['A0320099','A0330099' ].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" /> | 29 | <segmentMenu v-if="['A0320099','A0330099' ,'A04300S1','A04200S2','A0830S1'].includes(slsq.djqxbm)" @getCurrentSelectProps="getCurrentSelectProps" /> |
30 | <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" /> | 30 | <ordinaryMenu v-else @getCurrentSelectProps="getCurrentSelectProps" /> |
31 | 31 | ||
32 | <div class="leftCon"> | 32 | <div class="leftCon"> |
... | @@ -129,14 +129,21 @@ | ... | @@ -129,14 +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 |
146 | this.currentSelectTab = this.tabList[indexTab]; | ||
140 | //批量操作无分屏按钮 | 147 | //批量操作无分屏按钮 |
141 | if (index != null) { | 148 | if (index != null) { |
142 | //处理分屏材料信息 | 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.trim="ruleForm.sqywmc" clearable placeholder="请输入申请业务名称"></el-input> | 13 | <el-input v-model.trim="ruleForm.sqywmc" clearable 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.trim="ruleForm.qlrmc" clearable placeholder="请输入权利人"></el-input> | 18 | <el-input v-model.trim="ruleForm.qlrmc" clearable placeholder="请输入权利人"></el-input> |
... | @@ -23,8 +23,11 @@ | ... | @@ -23,8 +23,11 @@ |
23 | <el-input v-model.trim="ruleForm.ywrmc" clearable placeholder="请输入义务人"></el-input> | 23 | <el-input v-model.trim="ruleForm.ywrmc" clearable 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: 2024-01-18 16:19:51 | 4 | * @LastEditTime: 2024-01-24 09:30:19 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -56,93 +56,29 @@ | ... | @@ -56,93 +56,29 @@ |
56 | </el-form-item> | 56 | </el-form-item> |
57 | </el-col> | 57 | </el-col> |
58 | </el-row> | 58 | </el-row> |
59 | <div class="slxx_title title-block"> | 59 | <div class="slxx_title title-block" v-if="ruleForm.slsq.djywbm.includes('100')"> |
60 | 房屋批量情况 | 60 | <el-row> |
61 | <div class="triangle"></div> | 61 | <el-col :span="19"> |
62 | </div> | 62 | <p>房屋信息列表</p> |
63 | <el-row :gutter="10" v-if="ruleForm.zdjbxx"> | 63 | </el-col> |
64 | <el-col :span="8"> | 64 | <el-col :span="5"> |
65 | <el-form-item label="宗地面积:"> | 65 | <el-form-item label="发证方式:" :disabled="!viewEdit"> |
66 | <div class="flex"> | 66 | <el-radio-group v-model="ruleForm.slsq.fzfs"> |
67 | <el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input> | 67 | <el-radio label="2">大证</el-radio> |
68 | <el-select | 68 | <el-radio label="1">小证</el-radio> |
69 | disabled | 69 | </el-radio-group> |
70 | v-model="ruleForm.zdjbxx.mjdw" | 70 | </el-form-item> |
71 | style="width: 68px"> | 71 | </el-col> |
72 | <el-option | 72 | <!-- <div class="triangle"></div> --> |
73 | v-for="item in dictData['A7']" | 73 | </el-row> |
74 | :key="item.dcode" | 74 | </div> |
75 | :label="item.dname" | 75 | <qjhTable :tableData="ruleForm.hlist" v-if="ruleForm.slsq.djywbm.includes('100')"/> |
76 | :value="item.dcode"></el-option> | 76 | <cfBdcdyTable :tableData="ruleForm.qlxxList" v-if="ruleForm.slsq.djywbm.includes('400')"/> |
77 | </el-select> | 77 | <div class="slxx_title title-block" v-if="ruleForm.slsq.djywbm.includes('100')"> |
78 | </div> | ||
79 | </el-form-item> | ||
80 | </el-col> | ||
81 | <el-col :span="8"> | ||
82 | <el-form-item label="土地性质:"> | ||
83 | <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input> | ||
84 | </el-form-item> | ||
85 | </el-col> | ||
86 | <el-col :span="8"> | ||
87 | <el-form-item label="土地用途:"> | ||
88 | <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input> | ||
89 | </el-form-item> | ||
90 | </el-col> | ||
91 | </el-row> | ||
92 | <el-row :gutter="10" v-if="ruleForm.zdjbxx"> | ||
93 | <el-col :span="8"> | ||
94 | <el-form-item label="房屋性质:"> | ||
95 | <el-input disabled v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input> | ||
96 | </el-form-item> | ||
97 | </el-col> | ||
98 | <el-col :span="8"> | ||
99 | <el-form-item label="房屋用途:"> | ||
100 | <el-input disabled v-model="splicingFdcq2.fwxz"></el-input> | ||
101 | </el-form-item> | ||
102 | </el-col> | ||
103 | <el-col :span="8"> | ||
104 | <el-form-item label="房屋结构:"> | ||
105 | <el-input disabled v-model="splicingFdcq2.fwjg"></el-input> | ||
106 | </el-form-item> | ||
107 | </el-col> | ||
108 | </el-row> | ||
109 | <el-row :gutter="10" v-if="ruleForm.zdjbxx"> | ||
110 | <el-col :span="8"> | ||
111 | <el-form-item label="房屋总层数:"> | ||
112 | <el-input disabled v-model="ruleForm.fdcq2List[0].zcs"></el-input> | ||
113 | </el-form-item> | ||
114 | </el-col> | ||
115 | <el-col :span="8"> | ||
116 | <el-form-item label="房屋总建筑面积:"> | ||
117 | <el-input disabled v-model="splicingFdcq2.jzmj"></el-input> | ||
118 | </el-form-item> | ||
119 | </el-col> | ||
120 | <el-col :span="8"> | ||
121 | <el-form-item label="房屋总套数:"> | ||
122 | <el-input disabled v-model="splicingFdcq2.zts"></el-input> | ||
123 | </el-form-item> | ||
124 | </el-col> | ||
125 | </el-row> | ||
126 | <el-row :gutter="10" v-if="ruleForm.slsq"> | ||
127 | <el-col :span="8"> | ||
128 | <el-form-item label="竣工时间:"> | ||
129 | <el-input disabled v-model="splicingFdcq2.jzmj"></el-input> | ||
130 | </el-form-item> | ||
131 | </el-col> | ||
132 | <el-col :span="5"> | ||
133 | <el-form-item label="发证方式:" :disabled="!viewEdit"> | ||
134 | <el-radio-group v-model="ruleForm.slsq.fzfs"> | ||
135 | <el-radio label="2">大证</el-radio> | ||
136 | <el-radio label="1">小证</el-radio> | ||
137 | </el-radio-group> | ||
138 | </el-form-item> | ||
139 | </el-col> | ||
140 | </el-row> | ||
141 | <div class="slxx_title title-block"> | ||
142 | 权利人信息 | 78 | 权利人信息 |
143 | <div class="triangle"></div> | 79 | <div class="triangle"></div> |
144 | </div> | 80 | </div> |
145 | <el-row :gutter="10"> | 81 | <el-row :gutter="10" v-if="ruleForm.slsq.djywbm.includes('100')"> |
146 | <el-col :span="12" v-if="ruleForm.sldyList.length > 0"> | 82 | <el-col :span="12" v-if="ruleForm.sldyList.length > 0"> |
147 | <el-form-item label="共有方式:"> | 83 | <el-form-item label="共有方式:"> |
148 | <el-radio-group | 84 | <el-radio-group |
... | @@ -191,7 +127,7 @@ | ... | @@ -191,7 +127,7 @@ |
191 | :disabled="viewEdit" | 127 | :disabled="viewEdit" |
192 | @upDateQlrxxList="upDateQlrxxList" | 128 | @upDateQlrxxList="upDateQlrxxList" |
193 | :tableData="ruleForm.qlrList" | 129 | :tableData="ruleForm.qlrList" |
194 | :gyfs="ruleForm.sldyList[0].gyfs" /> | 130 | :gyfs="ruleForm.sldyList[0].gyfs" v-if="ruleForm.slsq.djywbm.includes('100')" /> |
195 | <div class="slxx_title title-block"> | 131 | <div class="slxx_title title-block"> |
196 | 登记原因 | 132 | 登记原因 |
197 | <div class="triangle"></div> | 133 | <div class="triangle"></div> |
... | @@ -221,6 +157,8 @@ | ... | @@ -221,6 +157,8 @@ |
221 | </template> | 157 | </template> |
222 | <script> | 158 | <script> |
223 | import ywmix from "@/views/ywbl/mixin/index"; | 159 | import ywmix from "@/views/ywbl/mixin/index"; |
160 | import cfBdcdyTable from "@/views/workflow/components/cfBdcdyTable"; | ||
161 | import qjhTable from "@/views/workflow/components/qjhTable"; | ||
224 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 162 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
225 | import { | 163 | import { |
226 | BatchInit, | 164 | BatchInit, |
... | @@ -234,7 +172,7 @@ | ... | @@ -234,7 +172,7 @@ |
234 | computed: { | 172 | computed: { |
235 | ...mapGetters(["dictData", "flag"]) | 173 | ...mapGetters(["dictData", "flag"]) |
236 | }, | 174 | }, |
237 | components: { qlrCommonTable }, | 175 | components: { qlrCommonTable, cfBdcdyTable,qjhTable}, |
238 | data () { | 176 | data () { |
239 | return { | 177 | return { |
240 | isSave: true, | 178 | isSave: true, |
... | @@ -264,15 +202,7 @@ | ... | @@ -264,15 +202,7 @@ |
264 | viewEdit: true, | 202 | viewEdit: true, |
265 | rules: {}, | 203 | rules: {}, |
266 | gyfs: "", | 204 | gyfs: "", |
267 | bsmSlsq: this.$route.query.bsmSlsq, //受理申请标识码 | 205 | bsmSlsq: this.$route.query.bsmSlsq, //受理申请标识码 |
268 | splicingFdcq2: { | ||
269 | //前端根据后台数组组装展示内容 | ||
270 | tdxz: "", //土地性质 | ||
271 | fwxz: "", //房屋性质 | ||
272 | fwjg: "", //房屋结构 | ||
273 | jzmj: "", //建筑面积 | ||
274 | zts: "", //房屋总套数 | ||
275 | }, | ||
276 | }; | 206 | }; |
277 | }, | 207 | }, |
278 | mounted (callbackfn, thisArg) { | 208 | mounted (callbackfn, thisArg) { |
... | @@ -300,7 +230,7 @@ | ... | @@ -300,7 +230,7 @@ |
300 | } | 230 | } |
301 | }) | 231 | }) |
302 | that.isSave = this.viewEdit | 232 | that.isSave = this.viewEdit |
303 | this.splicingFdcq2Info(); | 233 | |
304 | } else { | 234 | } else { |
305 | that.isSave = false | 235 | that.isSave = false |
306 | that.$confirm(res.message, '提示', { | 236 | that.$confirm(res.message, '提示', { |
... | @@ -315,29 +245,6 @@ | ... | @@ -315,29 +245,6 @@ |
315 | }, | 245 | }, |
316 | methods: { | 246 | methods: { |
317 | /** | 247 | /** |
318 | * @description: 组装房地产权通用信息 | ||
319 | * @author: renchao | ||
320 | */ | ||
321 | splicingFdcq2Info () { | ||
322 | let fdcq2List = this.ruleForm.fdcq2List; | ||
323 | let fwxzArr = []; | ||
324 | let fwjgArr = []; | ||
325 | let jzmj = 0; | ||
326 | fdcq2List.forEach((fdcq2) => { | ||
327 | fwxzArr.push(fdcq2.fwxzmc); | ||
328 | fwjgArr.push(fdcq2.fwjgmc); | ||
329 | jzmj += parseFloat(fdcq2.jzmj); | ||
330 | }); | ||
331 | //房屋性质 | ||
332 | let fwxz = Array.from(new Set(fwxzArr)).join(","); | ||
333 | //房屋结构 | ||
334 | let fwjg = Array.from(new Set(fwjgArr)).join(","); | ||
335 | this.splicingFdcq2.fwxz = fwxz; | ||
336 | this.splicingFdcq2.fwjg = fwjg; | ||
337 | this.splicingFdcq2.jzmj = jzmj == null ? 0 : jzmj; | ||
338 | this.splicingFdcq2.zts = fdcq2List.length; | ||
339 | }, | ||
340 | /** | ||
341 | * @description: 更新权利人信息 | 248 | * @description: 更新权利人信息 |
342 | * @param {*} val | 249 | * @param {*} val |
343 | * @author: renchao | 250 | * @author: renchao | ... | ... |
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: 2024-01-18 15:56:28 | 4 | * @LastEditTime: 2024-01-22 16:30:18 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -171,6 +171,9 @@ | ... | @@ -171,6 +171,9 @@ |
171 | * @author: renchao | 171 | * @author: renchao |
172 | */ | 172 | */ |
173 | handleSelectionChange (val) { | 173 | handleSelectionChange (val) { |
174 | val.forEach((item, index) => { | ||
175 | item.bsm = item.zdbsm; | ||
176 | }); | ||
174 | if (this.sqywInfo.sqywdylx == "1") { | 177 | if (this.sqywInfo.sqywdylx == "1") { |
175 | if (val.length > 1) { | 178 | if (val.length > 1) { |
176 | this.bdcdysz = [...val[val.length - 1]]; | 179 | this.bdcdysz = [...val[val.length - 1]]; |
... | @@ -183,6 +186,7 @@ | ... | @@ -183,6 +186,7 @@ |
183 | }, | 186 | }, |
184 | handleChange () { | 187 | handleChange () { |
185 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) | 188 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) |
189 | arr[0].bsm = arr[0].zdbsm | ||
186 | this.bdcdysz = arr | 190 | this.bdcdysz = arr |
187 | }, | 191 | }, |
188 | /** | 192 | /** |
... | @@ -194,6 +198,7 @@ | ... | @@ -194,6 +198,7 @@ |
194 | // 如果状态是1,那就是单选 | 198 | // 如果状态是1,那就是单选 |
195 | let refs = 'table'; | 199 | let refs = 'table'; |
196 | if (this.sqywInfo.sqywdylx == "1") { | 200 | if (this.sqywInfo.sqywdylx == "1") { |
201 | row.bsm = row.zdbsm | ||
197 | this.bdcdysz = [row] | 202 | this.bdcdysz = [row] |
198 | this.radioVal = row.bdcdyid | 203 | this.radioVal = row.bdcdyid |
199 | } else { | 204 | } else { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-16 16:48:47 | 4 | * @LastEditTime: 2024-01-23 15:15:58 |
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> | ... | ... |
... | @@ -147,7 +147,7 @@ | ... | @@ -147,7 +147,7 @@ |
147 | import { ywPopupDialog } from "@/utils/popup.js"; | 147 | import { ywPopupDialog } from "@/utils/popup.js"; |
148 | import { datas, sendThis } from "../javascript/selectFwfgSplitMerge.js"; | 148 | import { datas, sendThis } from "../javascript/selectFwfgSplitMerge.js"; |
149 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 149 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
150 | import { selectFwsyq, selectJsydQlxxSplitMergeBefore, selectZdjbxxSplitMerge } from "@/api/ywsq.js"; | 150 | import { selectFwsyqQlxxSplitMergeBefore, selectJsydQlxxSplitMergeBefore, selectHSplitMerge } from "@/api/ywsq.js"; |
151 | import { startBusinessFlow } from "@/api/workFlow.js"; | 151 | import { startBusinessFlow } from "@/api/workFlow.js"; |
152 | export default { | 152 | export default { |
153 | mixins: [ywsqTable, jump], | 153 | mixins: [ywsqTable, jump], |
... | @@ -185,12 +185,12 @@ | ... | @@ -185,12 +185,12 @@ |
185 | handleSelect () { | 185 | handleSelect () { |
186 | this.tableData.data.forEach(item => { | 186 | this.tableData.data.forEach(item => { |
187 | if (this.radioVal == item.bdcdyh) { | 187 | if (this.radioVal == item.bdcdyh) { |
188 | item.bglx = '1' | 188 | //item.bglx = '1' |
189 | this.bdcdysz[0] = item | 189 | this.bdcdysz[0] = item |
190 | this.queryForm.bhqkbsm = item.bhqkbsm | 190 | this.queryForm.bhqkbsm = item.bhqkbsm |
191 | } | 191 | } |
192 | }) | 192 | }) |
193 | selectZdjbxxSplitMerge({ ...this.queryForm }).then((res) => { | 193 | selectHSplitMerge({ ...this.queryForm }).then((res) => { |
194 | this.$endLoading(); | 194 | this.$endLoading(); |
195 | if (res.code === 200) { | 195 | if (res.code === 200) { |
196 | this.tableData.datastwo = res.result | 196 | this.tableData.datastwo = res.result |
... | @@ -208,7 +208,7 @@ | ... | @@ -208,7 +208,7 @@ |
208 | queryClick () { | 208 | queryClick () { |
209 | this.$startLoading(); | 209 | this.$startLoading(); |
210 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 210 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
211 | selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => { | 211 | selectFwsyqQlxxSplitMergeBefore({ ...this.queryForm, ...this.pageData }).then((res) => { |
212 | this.$endLoading(); | 212 | this.$endLoading(); |
213 | if (res.code === 200) { | 213 | if (res.code === 200) { |
214 | this.tableData.data = res.result.records | 214 | this.tableData.data = res.result.records |
... | @@ -289,16 +289,11 @@ | ... | @@ -289,16 +289,11 @@ |
289 | * @author: renchao | 289 | * @author: renchao |
290 | */ | 290 | */ |
291 | handleRowClick (row) { | 291 | handleRowClick (row) { |
292 | this.queryForm.bhqkbsm = row.bhqkbsm | 292 | this.queryForm.bhqkbsm = row.bhqkbsm |
293 | this.radioVal = row.bdcdyh | 293 | selectHSplitMerge({ ...this.queryForm }).then((res) => { |
294 | row.bglx = '1' | ||
295 | selectZdjbxxSplitMerge({ ...this.queryForm }).then((res) => { | ||
296 | this.$endLoading(); | 294 | this.$endLoading(); |
297 | if (res.code === 200) { | 295 | if (res.code === 200) { |
298 | this.tableData.datastwo = res.result | 296 | this.tableData.datastwo = res.result; |
299 | this.tableData.datastwo.forEach(item => { | ||
300 | item.bsm = item.zdbsm; | ||
301 | }) | ||
302 | this.bdcdysz = this.tableData.datastwo | 297 | this.bdcdysz = this.tableData.datastwo |
303 | } | 298 | } |
304 | }) | 299 | }) | ... | ... |
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 | } | ... | ... |
... | @@ -104,7 +104,11 @@ | ... | @@ -104,7 +104,11 @@ |
104 | </el-table-column> | 104 | </el-table-column> |
105 | <el-table-column | 105 | <el-table-column |
106 | property="syqmj" | 106 | property="syqmj" |
107 | label="使用权面积"> | 107 | label="面积"> |
108 | </el-table-column> | ||
109 | <el-table-column | ||
110 | property="qlytmc" | ||
111 | label="用途"> | ||
108 | </el-table-column> | 112 | </el-table-column> |
109 | <el-table-column | 113 | <el-table-column |
110 | property="zl" | 114 | property="zl" |
... | @@ -283,8 +287,8 @@ | ... | @@ -283,8 +287,8 @@ |
283 | */ | 287 | */ |
284 | handleRowClick (row) { | 288 | handleRowClick (row) { |
285 | this.queryForm.bhqkbsm = row.bhqkbsm | 289 | this.queryForm.bhqkbsm = row.bhqkbsm |
286 | this.radioVal = row.bdcdyh | 290 | //this.radioVal = row.bdcdyh |
287 | row.bglx = '1' | 291 | //row.bglx = '1' |
288 | selectZdjbxxSplitMerge({ ...this.queryForm }).then((res) => { | 292 | selectZdjbxxSplitMerge({ ...this.queryForm }).then((res) => { |
289 | this.$endLoading(); | 293 | this.$endLoading(); |
290 | if (res.code === 200) { | 294 | if (res.code === 200) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-17 14:17:17 | 4 | * @LastEditTime: 2024-01-19 16:25:18 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -195,6 +195,7 @@ | ... | @@ -195,6 +195,7 @@ |
195 | }, | 195 | }, |
196 | handleChange () { | 196 | handleChange () { |
197 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) | 197 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) |
198 | arr[0].bsm = arr[0].zdbsm | ||
198 | this.bdcdysz = arr | 199 | this.bdcdysz = arr |
199 | }, | 200 | }, |
200 | /** | 201 | /** |
... | @@ -204,31 +205,12 @@ | ... | @@ -204,31 +205,12 @@ |
204 | */ | 205 | */ |
205 | handleRowClick (row) { | 206 | handleRowClick (row) { |
206 | // 如果状态是1,那就是单选 | 207 | // 如果状态是1,那就是单选 |
207 | // if (this.sqywInfo.sqywdylx == "1") { | ||
208 | // const bdcdysz = this.bdcdysz | ||
209 | // this.$refs.table.clearSelection() | ||
210 | // if (bdcdysz.length == 1) { | ||
211 | // bdcdysz.forEach(item => { | ||
212 | // // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | ||
213 | // if (item == row) { | ||
214 | // this.$refs.table.toggleRowSelection(row, false); | ||
215 | // } | ||
216 | // // 不然就让当前的一行勾选 | ||
217 | // else { | ||
218 | // this.$refs.table.toggleRowSelection(row, true); | ||
219 | // } | ||
220 | // }) | ||
221 | // } | ||
222 | // else { | ||
223 | // this.$refs.table.toggleRowSelection(row, true); | ||
224 | // } | ||
225 | // } else { | ||
226 | // this.$refs.table.toggleRowSelection(row); | ||
227 | // } | ||
228 | let refs = 'table'; | 208 | let refs = 'table'; |
229 | if (this.sqywInfo.sqywdylx == "1") { | 209 | if (this.sqywInfo.sqywdylx == "1") { |
210 | row.bsm = row.zdbsm | ||
230 | this.bdcdysz = [row] | 211 | this.bdcdysz = [row] |
231 | this.radioVal = row.bdcdyid | 212 | this.radioVal = row.bdcdyid |
213 | |||
232 | } else { | 214 | } else { |
233 | this.$refs[refs].toggleRowSelection(row) | 215 | this.$refs[refs].toggleRowSelection(row) |
234 | } | 216 | } | ... | ... |
src/views/ywbl/ywsq/components/tdjyq100.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-01-23 13:40:23 | ||
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="坐落" label-width="60px"> | ||
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="handleSearch">查询</el-button> | ||
39 | <el-button type="primary" @click="resetForm(true)">重置</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/tdjyq100.js"; | ||
66 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
67 | import { selectZdjbxx } 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 | tableData: { | ||
81 | total: 0, | ||
82 | columns: datas.columns(), | ||
83 | data: [], | ||
84 | }, | ||
85 | bdcdysz: [], | ||
86 | }; | ||
87 | }, | ||
88 | mounted () { | ||
89 | sendThis(this); | ||
90 | if (this.sqywInfo.sqywdylx == "1") { | ||
91 | this.tableData.columns = [{ | ||
92 | label: '选择', | ||
93 | width: '50px', | ||
94 | render: (h, scope) => { | ||
95 | return ( | ||
96 | <div class="orgColumn"> | ||
97 | <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}> | ||
98 |   | ||
99 | </el-radio> | ||
100 | </div> | ||
101 | ) | ||
102 | } | ||
103 | }].concat(datas.columns()) | ||
104 | } else { | ||
105 | this.tableData.columns = | ||
106 | [{ | ||
107 | type: 'selection', | ||
108 | label: '全选', | ||
109 | width: '50' | ||
110 | }].concat(datas.columns()) | ||
111 | } | ||
112 | }, | ||
113 | methods: { | ||
114 | /** | ||
115 | * @description: queryClick | ||
116 | * @author: renchao | ||
117 | */ | ||
118 | queryClick () { | ||
119 | this.$startLoading(); | ||
120 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
121 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
122 | this.$endLoading(); | ||
123 | if (res.code === 200) { | ||
124 | let { total, records } = res.result; | ||
125 | this.tableData.total = total; | ||
126 | this.tableData.data = records; | ||
127 | } | ||
128 | }); | ||
129 | }, | ||
130 | /** | ||
131 | * @description: submitForm | ||
132 | * @author: renchao | ||
133 | */ | ||
134 | submitForm () { | ||
135 | if (this.bdcdysz.length == 0) { | ||
136 | this.$message.error("请至少选择一条数据"); | ||
137 | return; | ||
138 | } | ||
139 | this.loading = true | ||
140 | startBusinessFlow({ | ||
141 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
142 | bdcdysz: this.bdcdysz, | ||
143 | }).then((res) => { | ||
144 | this.loading = false | ||
145 | if (res.code == 200) { | ||
146 | this.$message({ | ||
147 | showClose: true, | ||
148 | message: '发起申请成功', | ||
149 | type: 'success' | ||
150 | }) | ||
151 | if (!this.isJump) { | ||
152 | this.jump(res.result, this.djywbm) | ||
153 | } else { | ||
154 | store.dispatch('user/refreshPage', true); | ||
155 | } | ||
156 | this.$popupCacel() | ||
157 | } else { | ||
158 | if (res.result && res.result.length > 0) { | ||
159 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
160 | } else { | ||
161 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
162 | } | ||
163 | } | ||
164 | }).catch(() => { | ||
165 | this.loading = false | ||
166 | }) | ||
167 | }, | ||
168 | /** | ||
169 | * @description: handleSelectionChange | ||
170 | * @param {*} val | ||
171 | * @author: renchao | ||
172 | */ | ||
173 | handleSelectionChange (val) { | ||
174 | val.forEach((item, index) => { | ||
175 | item.bsm = item.zdbsm; | ||
176 | }); | ||
177 | if (this.sqywInfo.sqywdylx == "1") { | ||
178 | if (val.length > 1) { | ||
179 | this.bdcdysz = [...val[val.length - 1]]; | ||
180 | } else { | ||
181 | this.bdcdysz = val; | ||
182 | } | ||
183 | } else { | ||
184 | this.bdcdysz = val; | ||
185 | } | ||
186 | }, | ||
187 | handleChange () { | ||
188 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) | ||
189 | arr[0].bsm = arr[0].zdbsm | ||
190 | this.bdcdysz = arr | ||
191 | }, | ||
192 | /** | ||
193 | * @description: handleRowClick | ||
194 | * @param {*} row | ||
195 | * @author: renchao | ||
196 | */ | ||
197 | handleRowClick (row) { | ||
198 | // 如果状态是1,那就是单选 | ||
199 | let refs = 'table'; | ||
200 | if (this.sqywInfo.sqywdylx == "1") { | ||
201 | row.bsm = row.zdbsm | ||
202 | this.bdcdysz = [row] | ||
203 | this.radioVal = row.bdcdyid | ||
204 | } else { | ||
205 | this.$refs[refs].toggleRowSelection(row) | ||
206 | } | ||
207 | }, | ||
208 | /** | ||
209 | * @description: openBook | ||
210 | * @param {*} row | ||
211 | * @author: renchao | ||
212 | */ | ||
213 | openBook (row) { | ||
214 | var param = { | ||
215 | bdcdyid: row.bdcdyid, | ||
216 | qllx: row.qllx, | ||
217 | bdcdyh: row.bdcdyh, | ||
218 | bsmQlxx: row.bsmQlxx, | ||
219 | }; | ||
220 | this.$popup("登记簿详情", "registerBook/djbFrame", { | ||
221 | formData: param | ||
222 | }) | ||
223 | } | ||
224 | } | ||
225 | } | ||
226 | </script> | ||
227 | <style scoped lang="scss"> | ||
228 | @import "~@/styles/mixin.scss"; | ||
229 | @import "~@/styles/public.scss"; | ||
230 | </style> | ||
231 |
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', | ... | ... |
... | @@ -81,7 +81,7 @@ class data extends filter { | ... | @@ -81,7 +81,7 @@ class data extends filter { |
81 | }, | 81 | }, |
82 | { | 82 | { |
83 | prop: "qlmjmc", | 83 | prop: "qlmjmc", |
84 | width: '100', | 84 | width: 100, |
85 | label: "使用权面积", | 85 | label: "使用权面积", |
86 | }, | 86 | }, |
87 | { | 87 | { |
... | @@ -198,7 +198,12 @@ class datatwo extends filter { | ... | @@ -198,7 +198,12 @@ class datatwo extends filter { |
198 | { | 198 | { |
199 | prop: "qlmjmc", | 199 | prop: "qlmjmc", |
200 | width: 100, | 200 | width: 100, |
201 | label: "使用权面积", | 201 | label: "面积", |
202 | }, | ||
203 | { | ||
204 | prop: "qlytmc", | ||
205 | width: 100, | ||
206 | label: "用途", | ||
202 | }, | 207 | }, |
203 | { | 208 | { |
204 | prop: "zl", | 209 | prop: "zl", | ... | ... |
... | @@ -4,8 +4,8 @@ export function queueDjywmc (djywbm, djqxbm) { | ... | @@ -4,8 +4,8 @@ export function queueDjywmc (djywbm, djqxbm) { |
4 | if (djqxbm == "A0320099" || djqxbm == "A0330099") { | 4 | if (djqxbm == "A0320099" || djqxbm == "A0330099") { |
5 | return "selectJsydsyqSplitMerge"; | 5 | return "selectJsydsyqSplitMerge"; |
6 | } | 6 | } |
7 | // 房屋分割 | 7 | // 房屋分割A04200S1 |
8 | if (['A04300S1', 'A04200S1', 'A04300S2'].includes(djqxbm)) { | 8 | if (['A04300S1', 'A04200S2', 'A0830S1'].includes(djqxbm)) { |
9 | return "selectFwfgSplitMerge"; | 9 | return "selectFwfgSplitMerge"; |
10 | } | 10 | } |
11 | if (djqxbm == "A37100S2") { | 11 | if (djqxbm == "A37100S2") { |
... | @@ -65,13 +65,17 @@ export function queueDjywmc (djywbm, djqxbm) { | ... | @@ -65,13 +65,17 @@ export function queueDjywmc (djywbm, djqxbm) { |
65 | vm = "selectFwsyq"; | 65 | vm = "selectFwsyq"; |
66 | break; | 66 | break; |
67 | case "A23100"://农用地使用权(首次登记) | 67 | case "A23100"://农用地使用权(首次登记) |
68 | case "A09100"://土地经营权(首次登记) | ||
69 | vm = "nydsyq100"; | 68 | vm = "nydsyq100"; |
70 | break; | 69 | break; |
70 | case "A09100"://土地经营权(首次登记) | ||
71 | vm = "tdjyq100"; | ||
72 | break; | ||
71 | case "A23200": | 73 | case "A23200": |
72 | case "A23300": | 74 | case "A23300": |
73 | case "A23400": | 75 | case "A23400": |
74 | case "A09200": | 76 | case "A09200": // 土地承包经营权(转移登记) |
77 | vm = "tdjyq200"; | ||
78 | break; | ||
75 | case "A09300": | 79 | case "A09300": |
76 | case "A09400": | 80 | case "A09400": |
77 | vm = "nydsyq200"; | 81 | vm = "nydsyq200"; | ... | ... |
src/views/ywbl/ywsq/javascript/tdjyq100.js
0 → 100644
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-01-22 16:23:21 | ||
5 | */ | ||
6 | import filter from '@/utils/filter.js' | ||
7 | let vm = null | ||
8 | |||
9 | const sendThis = (_this) => { | ||
10 | vm = _this | ||
11 | } | ||
12 | class data extends filter { | ||
13 | constructor() { | ||
14 | super() | ||
15 | } | ||
16 | columns () { | ||
17 | return [ | ||
18 | { | ||
19 | label: '序号', | ||
20 | type: 'index', | ||
21 | width: '50', | ||
22 | render: (h, scope) => { | ||
23 | return ( | ||
24 | <div> | ||
25 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
26 | </div> | ||
27 | ) | ||
28 | } | ||
29 | }, | ||
30 | { | ||
31 | label: "状态", | ||
32 | render: (h, scope) => { | ||
33 | return ( | ||
34 | <div> | ||
35 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> | ||
36 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> | ||
37 | </div> | ||
38 | ) | ||
39 | } | ||
40 | }, | ||
41 | { | ||
42 | prop: "qllxmc", | ||
43 | label: "权利类型", | ||
44 | }, | ||
45 | { | ||
46 | prop: "zddm", | ||
47 | label: "宗地代码", | ||
48 | }, | ||
49 | { | ||
50 | prop: "bdcdyh", | ||
51 | label: "不动产单元号", | ||
52 | minWidth: '150' | ||
53 | }, | ||
54 | { | ||
55 | prop: "qlxzmc", | ||
56 | label: "权利性质", | ||
57 | }, | ||
58 | { | ||
59 | prop: "zdmj", | ||
60 | label: "面积(㎡)", | ||
61 | }, | ||
62 | { | ||
63 | prop: "qlsdfsmc", | ||
64 | label: "权利设定方式", | ||
65 | }, | ||
66 | { | ||
67 | prop: "showTdyt", | ||
68 | label: "土地用途", | ||
69 | }, | ||
70 | { | ||
71 | prop: "zl", | ||
72 | label: "坐落", | ||
73 | minWidth: '130' | ||
74 | }, | ||
75 | ] | ||
76 | } | ||
77 | |||
78 | |||
79 | } | ||
80 | let datas = new data() | ||
81 | export { | ||
82 | datas, | ||
83 | sendThis | ||
84 | } |
-
Please register or sign in to post a comment