Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
24 changed files
with
466 additions
and
141 deletions
1 | /* | 1 | /* |
2 | * @Description: 互联共享数据 | 2 | * @Description: 互联共享数据 |
3 | * @Autor: | 3 | * @Autor: |
4 | * @LastEditTime: 2023-09-06 09:47:59 | 4 | * @LastEditTime: 2024-01-23 15:37:47 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import request from "@/utils/request"; | 7 | import request from "@/utils/request"; |
... | @@ -16,7 +16,7 @@ let SERVER = window.config | ... | @@ -16,7 +16,7 @@ let SERVER = window.config |
16 | */ | 16 | */ |
17 | export function sfhc(data) { | 17 | export function sfhc(data) { |
18 | return request({ | 18 | return request({ |
19 | url: SERVER.SERVERAPI + "/v1/gab/sfhc", | 19 | url: SERVER.SERVERAPI + "/rest/bj/sfhc", |
20 | method: "post", | 20 | method: "post", |
21 | data, | 21 | data, |
22 | }); | 22 | }); |
... | @@ -28,7 +28,7 @@ export function sfhc(data) { | ... | @@ -28,7 +28,7 @@ export function sfhc(data) { |
28 | */ | 28 | */ |
29 | export function hy(data) { | 29 | export function hy(data) { |
30 | return request({ | 30 | return request({ |
31 | url: SERVER.SERVERAPI + "/v1/mzb/hy", | 31 | url: SERVER.SERVERAPI + "/rest/bj/hy", |
32 | method: "post", | 32 | method: "post", |
33 | data, | 33 | data, |
34 | }); | 34 | }); |
... | @@ -40,7 +40,7 @@ export function hy(data) { | ... | @@ -40,7 +40,7 @@ export function hy(data) { |
40 | */ | 40 | */ |
41 | export function jrxkz(data) { | 41 | export function jrxkz(data) { |
42 | return request({ | 42 | return request({ |
43 | url: SERVER.SERVERAPI + "/v1/ybj/jrxkz", | 43 | url: SERVER.SERVERAPI + "/rest/bj/jrxkz", |
44 | method: "post", | 44 | method: "post", |
45 | data, | 45 | data, |
46 | }); | 46 | }); |
... | @@ -52,7 +52,7 @@ export function jrxkz(data) { | ... | @@ -52,7 +52,7 @@ export function jrxkz(data) { |
52 | */ | 52 | */ |
53 | export function qyjbxx(data) { | 53 | export function qyjbxx(data) { |
54 | return request({ | 54 | return request({ |
55 | url: SERVER.SERVERAPI + "/v1/scjg/qyjbxx", | 55 | url: SERVER.SERVERAPI + "/rest/scjg/qyjbxx", |
56 | method: "post", | 56 | method: "post", |
57 | data, | 57 | data, |
58 | }); | 58 | }); |
... | @@ -64,7 +64,7 @@ export function qyjbxx(data) { | ... | @@ -64,7 +64,7 @@ export function qyjbxx(data) { |
64 | */ | 64 | */ |
65 | export function qyjbxxyz(data) { | 65 | export function qyjbxxyz(data) { |
66 | return request({ | 66 | return request({ |
67 | url: SERVER.SERVERAPI + "/v1/scjg/qyjbxxyz", | 67 | url: SERVER.SERVERAPI + "/rest/scjg/qyjbxxyz", |
68 | method: "post", | 68 | method: "post", |
69 | data, | 69 | data, |
70 | }); | 70 | }); |
... | @@ -76,7 +76,7 @@ export function qyjbxxyz(data) { | ... | @@ -76,7 +76,7 @@ export function qyjbxxyz(data) { |
76 | */ | 76 | */ |
77 | export function dm(data) { | 77 | export function dm(data) { |
78 | return request({ | 78 | return request({ |
79 | url: SERVER.SERVERAPI + "/v1/mzb/dm", | 79 | url: SERVER.SERVERAPI + "/rest/bj/dm", |
80 | method: "post", | 80 | method: "post", |
81 | data, | 81 | data, |
82 | }); | 82 | }); |
... | @@ -88,7 +88,7 @@ export function dm(data) { | ... | @@ -88,7 +88,7 @@ export function dm(data) { |
88 | */ | 88 | */ |
89 | export function gtgshjbxx(data) { | 89 | export function gtgshjbxx(data) { |
90 | return request({ | 90 | return request({ |
91 | url: SERVER.SERVERAPI + "/v1/sczj/gtgshjbxx", | 91 | url: SERVER.SERVERAPI + "/rest/scjg/gtgshjbxx", |
92 | method: "post", | 92 | method: "post", |
93 | data, | 93 | data, |
94 | }); | 94 | }); |
... | @@ -100,7 +100,7 @@ export function gtgshjbxx(data) { | ... | @@ -100,7 +100,7 @@ export function gtgshjbxx(data) { |
100 | */ | 100 | */ |
101 | export function gtgshjbxxyz(data) { | 101 | export function gtgshjbxxyz(data) { |
102 | return request({ | 102 | return request({ |
103 | url: SERVER.SERVERAPI + "/v1/sczj/gtgshjbxxyz", | 103 | url: SERVER.SERVERAPI + "/rest/scjg/gtgshjbxxyz", |
104 | method: "post", | 104 | method: "post", |
105 | data, | 105 | data, |
106 | }); | 106 | }); |
... | @@ -112,7 +112,7 @@ export function gtgshjbxxyz(data) { | ... | @@ -112,7 +112,7 @@ export function gtgshjbxxyz(data) { |
112 | */ | 112 | */ |
113 | export function xydm(data) { | 113 | export function xydm(data) { |
114 | return request({ | 114 | return request({ |
115 | url: SERVER.SERVERAPI + "/v1/zbb/xydm", | 115 | url: SERVER.SERVERAPI + "/rest/bj/xydm", |
116 | method: "post", | 116 | method: "post", |
117 | data, | 117 | data, |
118 | }); | 118 | }); |
... | @@ -124,7 +124,7 @@ export function xydm(data) { | ... | @@ -124,7 +124,7 @@ export function xydm(data) { |
124 | */ | 124 | */ |
125 | export function jgxxcx(data) { | 125 | export function jgxxcx(data) { |
126 | return request({ | 126 | return request({ |
127 | url: SERVER.SERVERAPI + "/v1/mzb/xydm", | 127 | url: SERVER.SERVERAPI + "/rest/bj/mzbxydm", |
128 | method: "post", | 128 | method: "post", |
129 | data, | 129 | data, |
130 | }); | 130 | }); |
... | @@ -136,7 +136,7 @@ export function jgxxcx(data) { | ... | @@ -136,7 +136,7 @@ export function jgxxcx(data) { |
136 | */ | 136 | */ |
137 | export function bdcdj(data) { | 137 | export function bdcdj(data) { |
138 | return request({ | 138 | return request({ |
139 | url: SERVER.SERVERAPI + "/v1/mzt/bdcdj", | 139 | url: SERVER.SERVERAPI + "/rest/mzsf/mzt/bdcdj", |
140 | method: "post", | 140 | method: "post", |
141 | data, | 141 | data, |
142 | }); | 142 | }); |
... | @@ -148,7 +148,7 @@ export function bdcdj(data) { | ... | @@ -148,7 +148,7 @@ export function bdcdj(data) { |
148 | */ | 148 | */ |
149 | export function dzyyzz(data) { | 149 | export function dzyyzz(data) { |
150 | return request({ | 150 | return request({ |
151 | url: SERVER.SERVERAPI + "/v1/sczj/dzyyzz", | 151 | url: SERVER.SERVERAPI + "/rest/scjg/dzyyzz", |
152 | method: "post", | 152 | method: "post", |
153 | data, | 153 | data, |
154 | }); | 154 | }); |
... | @@ -158,11 +158,11 @@ export function dzyyzz(data) { | ... | @@ -158,11 +158,11 @@ export function dzyyzz(data) { |
158 | * @param {*} data | 158 | * @param {*} data |
159 | * @author: | 159 | * @author: |
160 | */ | 160 | */ |
161 | export function gzsxx(data) { | 161 | export function gzsxx(params) { |
162 | return request({ | 162 | return request({ |
163 | url: SERVER.SERVERAPI + "/v1/sft/gzsxx", | 163 | url: SERVER.SERVERAPI + "/rest/mzsf/sft/gzsxx", |
164 | method: "post", | 164 | method: "get", |
165 | data, | 165 | params, |
166 | }); | 166 | }); |
167 | } | 167 | } |
168 | /** | 168 | /** |
... | @@ -172,7 +172,7 @@ export function gzsxx(data) { | ... | @@ -172,7 +172,7 @@ export function gzsxx(data) { |
172 | */ | 172 | */ |
173 | export function pjws(data) { | 173 | export function pjws(data) { |
174 | return request({ | 174 | return request({ |
175 | url: SERVER.SERVERAPI + "/v1/zgf/pjws", | 175 | url: SERVER.SERVERAPI + "/rest/bj/pjws", |
176 | method: "post", | 176 | method: "post", |
177 | data, | 177 | data, |
178 | }); | 178 | }); |
... | @@ -184,9 +184,8 @@ export function pjws(data) { | ... | @@ -184,9 +184,8 @@ export function pjws(data) { |
184 | */ | 184 | */ |
185 | export function pjwsDetail(data) { | 185 | export function pjwsDetail(data) { |
186 | return request({ | 186 | return request({ |
187 | url: SERVER.SERVERAPI + "/v1/zgf/pjwsDetail", | 187 | url: SERVER.SERVERAPI + "/rest/bj/pjwsDetail", |
188 | method: "post", | 188 | method: "post", |
189 | data, | 189 | data, |
190 | }); | 190 | }); |
191 | } | 191 | } |
192 | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:30:58 | 4 | * @LastEditTime: 2024-01-23 10:59:37 |
5 | */ | 5 | */ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
... | @@ -11,7 +11,7 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap | ... | @@ -11,7 +11,7 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap |
11 | * @param data | 11 | * @param data |
12 | * @author ssq 2023年5月26日14点29分 | 12 | * @author ssq 2023年5月26日14点29分 |
13 | */ | 13 | */ |
14 | export function BatchInit(data) { | 14 | export function BatchInit (data) { |
15 | let apiUrl = ""; | 15 | let apiUrl = ""; |
16 | switch (data.get("djlx")) { | 16 | switch (data.get("djlx")) { |
17 | case "100": | 17 | case "100": | ... | ... |
src/api/workflow/tdcbjyq.js
0 → 100644
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-01-23 14:10:30 | ||
5 | */ | ||
6 | import request from '@/utils/request' | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
8 | |||
9 | /** | ||
10 | * @description: 初始化 | ||
11 | * @param {*} data | ||
12 | * @author: renchao | ||
13 | */ | ||
14 | export function Init (data) { | ||
15 | let apiUrl = ""; | ||
16 | switch (data.get("djlx")) { | ||
17 | case "100": | ||
18 | apiUrl = "/system/tdcbjyq/fristInit"; | ||
19 | break; | ||
20 | case "200": | ||
21 | apiUrl = "/system/tdcbjyq/transferInit"; | ||
22 | break; | ||
23 | case "300": | ||
24 | apiUrl = "/system/tdcbjyq/changeInit"; | ||
25 | break; | ||
26 | case "400": | ||
27 | apiUrl = "/system/tdcbjyq/logoutInit"; | ||
28 | break; | ||
29 | case "500": | ||
30 | apiUrl = "/system/tdcbjyq/riviseInit"; | ||
31 | break; | ||
32 | case "901": | ||
33 | apiUrl = "/system/tdcbjyq/renewalInit"; | ||
34 | break; | ||
35 | case "902": | ||
36 | apiUrl = "/system/tdcbjyq/replaceInit"; | ||
37 | break; | ||
38 | } | ||
39 | return request({ | ||
40 | url: SERVER.SERVERAPI + apiUrl, | ||
41 | method: 'post', | ||
42 | data | ||
43 | }) | ||
44 | } | ||
45 | /** | ||
46 | * @description: 受理信息保存 | ||
47 | * @param {*} data | ||
48 | * @author: renchao | ||
49 | */ | ||
50 | export function saveData (data) { | ||
51 | return request({ | ||
52 | url: SERVER.SERVERAPI + '/system/tdcbjyq/saveData', | ||
53 | method: 'post', | ||
54 | data | ||
55 | }) | ||
56 | } |
1 | /* | 1 | /* |
2 | * @Description: 业务申请 | 2 | * @Description: 业务申请 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-14 09:30:08 | 4 | * @LastEditTime: 2024-01-23 13:17:00 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
... | @@ -84,6 +84,19 @@ export function selectNydsyqQlxx (data) { | ... | @@ -84,6 +84,19 @@ export function selectNydsyqQlxx (data) { |
84 | }) | 84 | }) |
85 | } | 85 | } |
86 | 86 | ||
87 | /** | ||
88 | * @description: 业务办理-查询土地承包经营权-根据条件进行列表查询 | ||
89 | * @param {*} data | ||
90 | * @author: renchao | ||
91 | */ | ||
92 | export function selectTdcbjyq (data) { | ||
93 | return request({ | ||
94 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectTdcbjyq', | ||
95 | method: 'post', | ||
96 | data | ||
97 | }) | ||
98 | } | ||
99 | |||
87 | 100 | ||
88 | /** | 101 | /** |
89 | * @description: 业务办理-选择单元-查询宗地基本信息 | 102 | * @description: 业务办理-选择单元-查询宗地基本信息 | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | /* | 2 | /* |
3 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 | 3 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 |
4 | * @Autor: renchao | 4 | * @Autor: renchao |
5 | * @LastEditTime: 2023-09-20 14:20:39 | 5 | * @LastEditTime: 2024-01-22 17:02:42 |
6 | */ | 6 | */ |
7 | import axios from 'axios' | 7 | import axios from 'axios' |
8 | import Router from '@/router' | 8 | import Router from '@/router' |
... | @@ -18,7 +18,7 @@ const service = axios.create({ | ... | @@ -18,7 +18,7 @@ const service = axios.create({ |
18 | : window._config.baseUrl + "/", | 18 | : window._config.baseUrl + "/", |
19 | withCredentials: true, //是否允许跨域 | 19 | withCredentials: true, //是否允许跨域 |
20 | headers: { | 20 | headers: { |
21 | 'Content-Type': 'application/json; charset=utf-8' | 21 | 'Content-Type': 'application/json' |
22 | }, | 22 | }, |
23 | timeout: 15000 | 23 | timeout: 15000 |
24 | }) | 24 | }) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-14 15:43:23 | 4 | * @LastEditTime: 2024-01-23 10:37:15 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="content"> | 7 | <div class="content"> |
... | @@ -94,9 +94,18 @@ | ... | @@ -94,9 +94,18 @@ |
94 | }; | 94 | }; |
95 | }, | 95 | }, |
96 | props: ["formData"], | 96 | props: ["formData"], |
97 | mounted () { | 97 | // mounted () { |
98 | // this.loadData(this.formData.bdcdyh); | ||
99 | // }, | ||
100 | watch: { | ||
101 | 'formData.bdcdyh': { | ||
102 | handler (newName, oldName) { | ||
98 | this.loadData(this.formData.bdcdyh); | 103 | this.loadData(this.formData.bdcdyh); |
99 | }, | 104 | }, |
105 | immediate: true, | ||
106 | deep: true | ||
107 | } | ||
108 | }, | ||
100 | methods: { | 109 | methods: { |
101 | /** | 110 | /** |
102 | * @description: getBdcdyh | 111 | * @description: getBdcdyh | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Author: yangwei | 2 | * @Author: yangwei |
3 | * @Date: 2023-09-06 09:00:34 | 3 | * @Date: 2023-09-06 09:00:34 |
4 | * @LastEditors: yangwei | 4 | * @LastEditors: vers |
5 | * @LastEditTime: 2023-09-07 11:11:32 | 5 | * @LastEditTime: 2024-01-23 15:36:59 |
6 | * @FilePath: \bdcdj-web\src\views\sjgx\gbmhlgxsjgx\components\gzsxxcx.vue | 6 | * @FilePath: \bdcdj-web\src\views\sjgx\gbmhlgxsjgx\components\gzsxxcx.vue |
7 | * @Description: | 7 | * @Description: |
8 | * | 8 | * |
... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
19 | label-width="80px" | 19 | label-width="80px" |
20 | > | 20 | > |
21 | <el-row> | 21 | <el-row> |
22 | <el-col :span="9"> | 22 | <!-- <el-col :span="9"> |
23 | <el-form-item label="业务号"> | 23 | <el-form-item label="业务号"> |
24 | <el-input | 24 | <el-input |
25 | placeholder="业务号" | 25 | placeholder="业务号" |
... | @@ -29,12 +29,12 @@ | ... | @@ -29,12 +29,12 @@ |
29 | > | 29 | > |
30 | </el-input> | 30 | </el-input> |
31 | </el-form-item> | 31 | </el-form-item> |
32 | </el-col> | 32 | </el-col> --> |
33 | <el-col :span="9"> | 33 | <el-col :span="9"> |
34 | <el-form-item label="证件号码"> | 34 | <el-form-item label="证件号码"> |
35 | <el-input | 35 | <el-input |
36 | placeholder="证件号码" | 36 | placeholder="证件号码" |
37 | v-model="queryForm.certCode" | 37 | v-model="queryForm.zjhm" |
38 | clearable | 38 | clearable |
39 | class="width100" | 39 | class="width100" |
40 | > | 40 | > |
... | @@ -74,7 +74,8 @@ | ... | @@ -74,7 +74,8 @@ |
74 | </el-table-column> | 74 | </el-table-column> |
75 | <el-table-column prop="notary_name" label="公证员" width="120"> | 75 | <el-table-column prop="notary_name" label="公证员" width="120"> |
76 | </el-table-column> | 76 | </el-table-column> |
77 | <el-table-column prop="accept_date" label="公证日期" width="120"> </el-table-column> | 77 | <el-table-column prop="accept_date" label="公证日期" width="120"> |
78 | </el-table-column> | ||
78 | <el-table-column prop="fwbh" label="房屋编号" width="120"> | 79 | <el-table-column prop="fwbh" label="房屋编号" width="120"> |
79 | </el-table-column> | 80 | </el-table-column> |
80 | <el-table-column prop="mj" label="面积" width="120"> | 81 | <el-table-column prop="mj" label="面积" width="120"> | ... | ... |
... | @@ -677,18 +677,18 @@ | ... | @@ -677,18 +677,18 @@ |
677 | arr.push(currentLine); | 677 | arr.push(currentLine); |
678 | if (i > 0) { | 678 | if (i > 0) { |
679 | arr.forEach((line, index) => { | 679 | arr.forEach((line, index) => { |
680 | context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 22)); // 调整行高 | 680 | context.fillText(line, 770, 605 + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高 |
681 | }) | 681 | }) |
682 | } else { | 682 | } else { |
683 | arr.forEach((line, index) => { | 683 | arr.forEach((line, index) => { |
684 | context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 22)); // 调整行高 | 684 | context.fillText(line, 770, 605 + (24 * (i - 1)) + (index * 17)); // 调整行高 |
685 | }) | 685 | }) |
686 | } | 686 | } |
687 | } else { | 687 | } else { |
688 | if (i > 0) { | 688 | if (i > 0) { |
689 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (24 * (i - 1))); | 689 | context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + 6 * num + (25 * (i - 1))); |
690 | } else { | 690 | } else { |
691 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (24 * (i - 1))); | 691 | context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + (25 * (i - 1))); |
692 | } | 692 | } |
693 | } | 693 | } |
694 | } | 694 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-18 11:25:39 | 4 | * @LastEditTime: 2024-01-23 11:07:58 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> |
... | @@ -606,18 +606,18 @@ | ... | @@ -606,18 +606,18 @@ |
606 | arr.push(currentLine); | 606 | arr.push(currentLine); |
607 | if (i > 0) { | 607 | if (i > 0) { |
608 | arr.forEach((line, index) => { | 608 | arr.forEach((line, index) => { |
609 | context.fillText(line, 770, 610 + (25 * (i - 1)) + 5 * num + (index * 22)); // 调整行高 | 609 | context.fillText(line, 770, 605 + (24 * (i - 1)) + 5 * num + (index * 17)); // 调整行高 |
610 | }) | 610 | }) |
611 | } else { | 611 | } else { |
612 | arr.forEach((line, index) => { | 612 | arr.forEach((line, index) => { |
613 | context.fillText(line, 770, 610 + (25 * (i - 1)) + (index * 22)); // 调整行高 | 613 | context.fillText(line, 770, 605 + (24 * (i - 1)) + (index * 17)); // 调整行高 |
614 | }) | 614 | }) |
615 | } | 615 | } |
616 | } else { | 616 | } else { |
617 | if (i > 0) { | 617 | if (i > 0) { |
618 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + 5 * num + (24 * (i - 1))); | 618 | context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + 6 * num + (25 * (i - 1))); |
619 | } else { | 619 | } else { |
620 | context.fillText(lines1[i] ? lines1[i] : '', 770, 610 + (24 * (i - 1))); | 620 | context.fillText(lines1[i] ? lines1[i] : '', 770, 616 + (25 * (i - 1))); |
621 | } | 621 | } |
622 | } | 622 | } |
623 | } | 623 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 14:56:43 | 4 | * @LastEditTime: 2024-01-23 14:07:58 |
5 | */ | 5 | */ |
6 | /** | 6 | /** |
7 | * @description: 流程环节操作按钮 | 7 | * @description: 流程环节操作按钮 |
... | @@ -21,6 +21,10 @@ export function getForm (tabName) { | ... | @@ -21,6 +21,10 @@ export function getForm (tabName) { |
21 | case "jsydsyqslxx300": | 21 | case "jsydsyqslxx300": |
22 | form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue"); | 22 | form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue"); |
23 | break; | 23 | break; |
24 | //土地承包经营权 | ||
25 | case "tdcbjyqslxx100": | ||
26 | form = require("@/views/ywbl/slsqxx/tdcbjyq/slxx.vue"); | ||
27 | break; | ||
24 | //国有建设用地使用权/房屋所有权 | 28 | //国有建设用地使用权/房屋所有权 |
25 | case "fwsyqdzslxx": | 29 | case "fwsyqdzslxx": |
26 | form = require("@/views/ywbl/slsqxx/fdcq1/slxx.vue"); | 30 | form = require("@/views/ywbl/slsqxx/fdcq1/slxx.vue"); | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-12-19 10:02:03 | 4 | * @LastEditTime: 2024-01-23 09:57:51 |
5 | */ | 5 | */ |
6 | import Vue from 'vue' | 6 | import Vue from 'vue' |
7 | import { getPrintTemplateByCode } from "@/api/print"; | 7 | import { getPrintTemplateByCode } from "@/api/print"; |
... | @@ -173,6 +173,7 @@ export default { | ... | @@ -173,6 +173,7 @@ export default { |
173 | case "B-TXDW": | 173 | case "B-TXDW": |
174 | getZdInfo(this.currentSelectProps.bdcdyid).then(res => { | 174 | getZdInfo(this.currentSelectProps.bdcdyid).then(res => { |
175 | this.bsmZd = res?.result[0]?.bsmZd | 175 | this.bsmZd = res?.result[0]?.bsmZd |
176 | console.log(this.bsmZd); | ||
176 | this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '85%', true) | 177 | this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '85%', true) |
177 | }) | 178 | }) |
178 | break; | 179 | break; | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 11:00:07 | 4 | * @LastEditTime: 2024-01-23 10:23:02 |
5 | */ | 5 | */ |
6 | import { getForm } from "../flowform"; | 6 | import { getForm } from "../flowform"; |
7 | import { getHomeNoticeList } from "@/api/home.js" | 7 | import { getHomeNoticeList } from "@/api/home.js" | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 14:57:22 | 4 | * @LastEditTime: 2024-01-23 10:25:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -245,7 +245,13 @@ | ... | @@ -245,7 +245,13 @@ |
245 | if (res.code === 200) { | 245 | if (res.code === 200) { |
246 | //获取单元对应的所有表单信息 | 246 | //获取单元对应的所有表单信息 |
247 | this.tabList = res.result; | 247 | this.tabList = res.result; |
248 | var indexTab = 0 | ||
248 | //默认加载第一个表单信息 | 249 | //默认加载第一个表单信息 |
250 | res.result.forEach((item, index) => { | ||
251 | if (item.defaultForm) { | ||
252 | indexTab = index | ||
253 | } | ||
254 | }) | ||
249 | let arr = res.result.filter((item) => item.defaultForm); | 255 | let arr = res.result.filter((item) => item.defaultForm); |
250 | if (arr.length > 0) { | 256 | if (arr.length > 0) { |
251 | this.tabName = arr[0].value; | 257 | this.tabName = arr[0].value; |
... | @@ -255,8 +261,8 @@ | ... | @@ -255,8 +261,8 @@ |
255 | if (sessionStorage.getItem('activeName') == this.tabName) { | 261 | if (sessionStorage.getItem('activeName') == this.tabName) { |
256 | this.fresh++; | 262 | this.fresh++; |
257 | } | 263 | } |
258 | this.ableOperation = this.tabList[0].ableOperation; | 264 | this.ableOperation = this.tabList[indexTab].ableOperation; |
259 | this.currentSelectTab = this.tabList[0]; | 265 | this.currentSelectTab = this.tabList[indexTab]; |
260 | //批量操作无分屏按钮 | 266 | //批量操作无分屏按钮 |
261 | if (index != null) { | 267 | if (index != null) { |
262 | //处理分屏材料信息 | 268 | //处理分屏材料信息 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 11:04:51 | 4 | * @LastEditTime: 2024-01-23 10:21:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -129,15 +129,21 @@ | ... | @@ -129,15 +129,21 @@ |
129 | if (res.code === 200) { | 129 | if (res.code === 200) { |
130 | //获取单元对应的所有表单信息 | 130 | //获取单元对应的所有表单信息 |
131 | this.tabList = res.result; | 131 | this.tabList = res.result; |
132 | var indexTab = 0 | ||
132 | //默认加载第一个表单信息 | 133 | //默认加载第一个表单信息 |
134 | res.result.forEach((item, index) => { | ||
135 | if (item.defaultForm) { | ||
136 | indexTab = index | ||
137 | } | ||
138 | }) | ||
133 | if (res.result.length > 0) { | 139 | if (res.result.length > 0) { |
134 | that.tabName = res.result[0].value; | 140 | that.tabName = res.result[0].value; |
135 | } | 141 | } |
136 | if (sessionStorage.getItem('activeName') == this.tabName) { | 142 | if (sessionStorage.getItem('activeName') == this.tabName) { |
137 | that.fresh++; | 143 | that.fresh++; |
138 | } | 144 | } |
139 | this.ableOperation = this.tabList[0].ableOperation | 145 | this.ableOperation = this.tabList[indexTab].ableOperation |
140 | this.currentSelectTab = this.tabList[0]; | 146 | this.currentSelectTab = this.tabList[indexTab]; |
141 | //批量操作无分屏按钮 | 147 | //批量操作无分屏按钮 |
142 | if (index != null) { | 148 | if (index != null) { |
143 | //处理分屏材料信息 | 149 | //处理分屏材料信息 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 14:08:17 | 4 | * @LastEditTime: 2024-01-23 09:44:44 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox :isButton="false" :isFullscreen="false" width="50%" @closeDialog="closeDialog" v-model="myValue" | 7 | <dialogBox :isButton="false" :isFullscreen="false" width="50%" @closeDialog="closeDialog" v-model="myValue" |
8 | title="高级搜索"> | 8 | title="高级搜索"> |
9 | <el-form :model="ruleForm" ref="ruleForm" label-width="100px"> | 9 | <el-form :model="ruleForm" ref="ruleForm" label-width="100px"> |
10 | <el-row> | 10 | <el-row> |
11 | <el-col :span="8"> | 11 | <!-- <el-col :span="8"> |
12 | <el-form-item label="申请业务名称" prop="sqywmc"> | 12 | <el-form-item label="申请业务名称" prop="sqywmc"> |
13 | <el-input v-model="ruleForm.sqywmc" placeholder="请输入申请业务名称"></el-input> | 13 | <el-input v-model="ruleForm.sqywmc" placeholder="请输入申请业务名称"></el-input> |
14 | </el-form-item> | 14 | </el-form-item> |
15 | </el-col> | 15 | </el-col> --> |
16 | <el-col :span="8"> | 16 | <el-col :span="8"> |
17 | <el-form-item label="权利人" prop="qlrmc"> | 17 | <el-form-item label="权利人" prop="qlrmc"> |
18 | <el-input v-model="ruleForm.qlrmc" placeholder="请输入权利人"></el-input> | 18 | <el-input v-model="ruleForm.qlrmc" placeholder="请输入权利人"></el-input> |
... | @@ -23,8 +23,11 @@ | ... | @@ -23,8 +23,11 @@ |
23 | <el-input v-model="ruleForm.ywrmc" placeholder="请输入义务人"></el-input> | 23 | <el-input v-model="ruleForm.ywrmc" placeholder="请输入义务人"></el-input> |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> |
26 | <el-col :span="8" class="btnColRight"> | ||
27 | <el-button type="primary" icon="el-icon-search" @click="submitForm('ruleForm')">查询</el-button> | ||
28 | </el-col> | ||
26 | </el-row> | 29 | </el-row> |
27 | <el-row> | 30 | <!-- <el-row> |
28 | <el-col :span="8"> | 31 | <el-col :span="8"> |
29 | <el-form-item label="受理时间" prop="slsj"> | 32 | <el-form-item label="受理时间" prop="slsj"> |
30 | <el-date-picker v-model="ruleForm.slsj" value-format="yyyy-MM-dd" class="width100" type="date" | 33 | <el-date-picker v-model="ruleForm.slsj" value-format="yyyy-MM-dd" class="width100" type="date" |
... | @@ -32,11 +35,11 @@ | ... | @@ -32,11 +35,11 @@ |
32 | </el-date-picker> | 35 | </el-date-picker> |
33 | </el-form-item> | 36 | </el-form-item> |
34 | </el-col> | 37 | </el-col> |
35 | </el-row> | 38 | </el-row> --> |
36 | <el-row class="search-btn"> | 39 | <el-row class="search-btn"> |
37 | <el-button type="text" @click.native="closeDialog">收起搜索</el-button> | 40 | <!-- <el-button type="text" @click.native="closeDialog">收起搜索</el-button> --> |
38 | <el-button type="primary" icon="el-icon-search" @click="submitForm('ruleForm')">查询</el-button> | 41 | <!-- <el-button type="primary" icon="el-icon-search" @click="submitForm('ruleForm')">查询</el-button> --> |
39 | <el-button icon="el-icon-refresh-left" @click="resetForm('ruleForm')">重置</el-button> | 42 | <!-- <el-button icon="el-icon-refresh-left" @click="resetForm('ruleForm')">重置</el-button> --> |
40 | </el-row> | 43 | </el-row> |
41 | </el-form> | 44 | </el-form> |
42 | </dialogBox> | 45 | </dialogBox> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-24 17:35:49 | 4 | * @LastEditTime: 2024-01-23 15:14:11 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -215,7 +215,7 @@ | ... | @@ -215,7 +215,7 @@ |
215 | :key="key" | 215 | :key="key" |
216 | :gyfs="ruleForm.sldy.gyfs" /> | 216 | :gyfs="ruleForm.sldy.gyfs" /> |
217 | 217 | ||
218 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | 218 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0 && ruleForm.qlxx.djlx==200"> |
219 | <div class="slxx_title title-block"> | 219 | <div class="slxx_title title-block"> |
220 | 义务人信息 | 220 | 义务人信息 |
221 | <div class="triangle"></div> | 221 | <div class="triangle"></div> | ... | ... |
src/views/ywbl/slsqxx/tdcbjyq/slxx.vue
0 → 100644
This diff is collapsed.
Click to expand it.
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-16 14:08:55 | 4 | * @LastEditTime: 2024-01-23 13:45:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -33,7 +33,7 @@ | ... | @@ -33,7 +33,7 @@ |
33 | <!-- 表格 --> | 33 | <!-- 表格 --> |
34 | <div class="from-clues-content loadingtext"> | 34 | <div class="from-clues-content loadingtext"> |
35 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | 35 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" |
36 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" | 36 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
37 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" | 37 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
38 | :data="tableData.data"> | 38 | :data="tableData.data"> |
39 | </lb-table> | 39 | </lb-table> |
... | @@ -62,6 +62,7 @@ | ... | @@ -62,6 +62,7 @@ |
62 | }, | 62 | }, |
63 | data () { | 63 | data () { |
64 | return { | 64 | return { |
65 | radioVal: '', | ||
65 | loading: false, | 66 | loading: false, |
66 | queryForm: defaultParameters.defaultParameters(), | 67 | queryForm: defaultParameters.defaultParameters(), |
67 | qllxs: [], | 68 | qllxs: [], |
... | @@ -75,6 +76,28 @@ | ... | @@ -75,6 +76,28 @@ |
75 | }, | 76 | }, |
76 | mounted () { | 77 | mounted () { |
77 | sendThis(this); | 78 | sendThis(this); |
79 | if (this.sqywInfo.sqywdylx == "1") { | ||
80 | this.tableData.columns = [{ | ||
81 | label: '选择', | ||
82 | width: '50px', | ||
83 | render: (h, scope) => { | ||
84 | return ( | ||
85 | <div class="orgColumn"> | ||
86 | <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}> | ||
87 |   | ||
88 | </el-radio> | ||
89 | </div> | ||
90 | ) | ||
91 | } | ||
92 | }].concat(datas.columns()) | ||
93 | } else { | ||
94 | this.tableData.columns = | ||
95 | [{ | ||
96 | type: 'selection', | ||
97 | label: '全选', | ||
98 | width: '50' | ||
99 | }].concat(datas.columns()) | ||
100 | } | ||
78 | }, | 101 | }, |
79 | methods: { | 102 | methods: { |
80 | /** | 103 | /** |
... | @@ -158,21 +181,10 @@ | ... | @@ -158,21 +181,10 @@ |
158 | formData: param | 181 | formData: param |
159 | }) | 182 | }) |
160 | }, | 183 | }, |
161 | /** | 184 | handleChange () { |
162 | * @description: select | 185 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) |
163 | * @param {*} selection | 186 | arr[0].bsm = arr[0].zdbsm |
164 | * @param {*} row | 187 | this.bdcdysz = arr |
165 | * @author: renchao | ||
166 | */ | ||
167 | select (selection, row) { | ||
168 | if (this.sqywInfo.sqywdylx == "1") { | ||
169 | // 清除 所有勾选项 | ||
170 | this.$refs.table.clearSelection() | ||
171 | // 当表格数据都没有被勾选的时候 就返回 | ||
172 | // 主要用于将当前勾选的表格状态清除 | ||
173 | if (selection.length == 0) return | ||
174 | this.$refs.table.toggleRowSelection(row, true); | ||
175 | } | ||
176 | }, | 188 | }, |
177 | /** | 189 | /** |
178 | * @description: handleRowClick | 190 | * @description: handleRowClick |
... | @@ -181,28 +193,15 @@ | ... | @@ -181,28 +193,15 @@ |
181 | */ | 193 | */ |
182 | handleRowClick (row) { | 194 | handleRowClick (row) { |
183 | // 如果状态是1,那就是单选 | 195 | // 如果状态是1,那就是单选 |
196 | let refs = 'table'; | ||
184 | if (this.sqywInfo.sqywdylx == "1") { | 197 | if (this.sqywInfo.sqywdylx == "1") { |
185 | const bdcdysz = this.bdcdysz | 198 | row.bsm = row.zdbsm |
186 | this.$refs.table.clearSelection() | 199 | this.bdcdysz = [row] |
187 | if (bdcdysz.length == 1) { | 200 | this.radioVal = row.bdcdyid |
188 | bdcdysz.forEach(item => { | ||
189 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | ||
190 | if (item == row) { | ||
191 | this.$refs.table.toggleRowSelection(row, false); | ||
192 | } | ||
193 | // 不然就让当前的一行勾选 | ||
194 | else { | ||
195 | this.$refs.table.toggleRowSelection(row, true); | ||
196 | } | ||
197 | }) | ||
198 | } | ||
199 | else { | ||
200 | this.$refs.table.toggleRowSelection(row, true); | ||
201 | } | ||
202 | } else { | 201 | } else { |
203 | this.$refs.table.toggleRowSelection(row); | 202 | this.$refs[refs].toggleRowSelection(row) |
203 | } | ||
204 | } | 204 | } |
205 | }, | ||
206 | } | 205 | } |
207 | } | 206 | } |
208 | </script> | 207 | </script> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-17 14:18:01 | 4 | * @LastEditTime: 2024-01-23 13:47:01 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -53,7 +53,7 @@ | ... | @@ -53,7 +53,7 @@ |
53 | <!-- 表格 --> | 53 | <!-- 表格 --> |
54 | <div class="from-clues-content loadingtext"> | 54 | <div class="from-clues-content loadingtext"> |
55 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | 55 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" |
56 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" | 56 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
57 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" | 57 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
58 | :data="tableData.data"> | 58 | :data="tableData.data"> |
59 | </lb-table> | 59 | </lb-table> |
... | @@ -82,6 +82,7 @@ | ... | @@ -82,6 +82,7 @@ |
82 | }, | 82 | }, |
83 | data () { | 83 | data () { |
84 | return { | 84 | return { |
85 | radioVal: '', | ||
85 | loading: false, | 86 | loading: false, |
86 | queryForm: defaultParameters.defaultParameters(), | 87 | queryForm: defaultParameters.defaultParameters(), |
87 | tableData: { | 88 | tableData: { |
... | @@ -94,6 +95,28 @@ | ... | @@ -94,6 +95,28 @@ |
94 | }, | 95 | }, |
95 | mounted () { | 96 | mounted () { |
96 | sendThis(this); | 97 | sendThis(this); |
98 | if (this.sqywInfo.sqywdylx == "1") { | ||
99 | this.tableData.columns = [{ | ||
100 | label: '选择', | ||
101 | width: '50px', | ||
102 | render: (h, scope) => { | ||
103 | return ( | ||
104 | <div class="orgColumn"> | ||
105 | <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}> | ||
106 |   | ||
107 | </el-radio> | ||
108 | </div> | ||
109 | ) | ||
110 | } | ||
111 | }].concat(datas.columns()) | ||
112 | } else { | ||
113 | this.tableData.columns = | ||
114 | [{ | ||
115 | type: 'selection', | ||
116 | label: '全选', | ||
117 | width: '50' | ||
118 | }].concat(datas.columns()) | ||
119 | } | ||
97 | }, | 120 | }, |
98 | methods: { | 121 | methods: { |
99 | /** | 122 | /** |
... | @@ -182,21 +205,10 @@ | ... | @@ -182,21 +205,10 @@ |
182 | formData: param | 205 | formData: param |
183 | }) | 206 | }) |
184 | }, | 207 | }, |
185 | /** | 208 | handleChange () { |
186 | * @description: select | 209 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) |
187 | * @param {*} selection | 210 | arr[0].bsm = arr[0].zdbsm |
188 | * @param {*} row | 211 | this.bdcdysz = arr |
189 | * @author: renchao | ||
190 | */ | ||
191 | select (selection, row) { | ||
192 | if (this.sqywInfo.sqywdylx == "1") { | ||
193 | // 清除 所有勾选项 | ||
194 | this.$refs.table.clearSelection() | ||
195 | // 当表格数据都没有被勾选的时候 就返回 | ||
196 | // 主要用于将当前勾选的表格状态清除 | ||
197 | if (selection.length == 0) return | ||
198 | this.$refs.table.toggleRowSelection(row, true); | ||
199 | } | ||
200 | }, | 212 | }, |
201 | /** | 213 | /** |
202 | * @description: handleRowClick | 214 | * @description: handleRowClick |
... | @@ -205,26 +217,13 @@ | ... | @@ -205,26 +217,13 @@ |
205 | */ | 217 | */ |
206 | handleRowClick (row) { | 218 | handleRowClick (row) { |
207 | // 如果状态是1,那就是单选 | 219 | // 如果状态是1,那就是单选 |
220 | let refs = 'table'; | ||
208 | if (this.sqywInfo.sqywdylx == "1") { | 221 | if (this.sqywInfo.sqywdylx == "1") { |
209 | const bdcdysz = this.bdcdysz | 222 | row.bsm = row.zdbsm |
210 | this.$refs.table.clearSelection() | 223 | this.bdcdysz = [row] |
211 | if (bdcdysz.length == 1) { | 224 | this.radioVal = row.bdcdyid |
212 | bdcdysz.forEach(item => { | ||
213 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | ||
214 | if (item == row) { | ||
215 | this.$refs.table.toggleRowSelection(row, false); | ||
216 | } | ||
217 | // 不然就让当前的一行勾选 | ||
218 | else { | ||
219 | this.$refs.table.toggleRowSelection(row, true); | ||
220 | } | ||
221 | }) | ||
222 | } | ||
223 | else { | ||
224 | this.$refs.table.toggleRowSelection(row, true); | ||
225 | } | ||
226 | } else { | 225 | } else { |
227 | this.$refs.table.toggleRowSelection(row); | 226 | this.$refs[refs].toggleRowSelection(row) |
228 | } | 227 | } |
229 | } | 228 | } |
230 | } | 229 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-22 16:24:56 | 4 | * @LastEditTime: 2024-01-23 13:40:23 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -198,6 +198,7 @@ | ... | @@ -198,6 +198,7 @@ |
198 | // 如果状态是1,那就是单选 | 198 | // 如果状态是1,那就是单选 |
199 | let refs = 'table'; | 199 | let refs = 'table'; |
200 | if (this.sqywInfo.sqywdylx == "1") { | 200 | if (this.sqywInfo.sqywdylx == "1") { |
201 | row.bsm = row.zdbsm | ||
201 | this.bdcdysz = [row] | 202 | this.bdcdysz = [row] |
202 | this.radioVal = row.bdcdyid | 203 | this.radioVal = row.bdcdyid |
203 | } else { | 204 | } else { | ... | ... |
src/views/ywbl/ywsq/components/tdjyq200.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-01-23 13:44:44 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="from-clues"> | ||
8 | <!-- 表单部分 --> | ||
9 | <div class="from-clues-header"> | ||
10 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
11 | <el-row> | ||
12 | <el-col :span="6"> | ||
13 | <el-form-item label="不动产单元号"> | ||
14 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> | ||
15 | </el-input> | ||
16 | </el-form-item> | ||
17 | </el-col> | ||
18 | <el-col :span="6"> | ||
19 | <el-form-item label="坐落"> | ||
20 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> | ||
21 | </el-input> | ||
22 | </el-form-item> | ||
23 | </el-col> | ||
24 | <el-col :span="6"> | ||
25 | <el-form-item label="权利人"> | ||
26 | <el-input placeholder="请输入权利人" v-model.trim="queryForm.qlr" clearable class="width100"> | ||
27 | </el-input> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | <el-col :span="6"> | ||
31 | <el-form-item label="证件号"> | ||
32 | <el-input placeholder="请输入证件号" v-model.trim="queryForm.zjh" clearable class="width100"> | ||
33 | </el-input> | ||
34 | </el-form-item> | ||
35 | </el-col> | ||
36 | <el-col :span="24" class="btnColRight"> | ||
37 | <el-form-item> | ||
38 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
39 | <el-button type="primary" @click="handleSearch">查询</el-button> | ||
40 | </el-form-item> | ||
41 | </el-col> | ||
42 | </el-row> | ||
43 | </el-form> | ||
44 | </div> | ||
45 | <!-- 表格 --> | ||
46 | <div class="from-clues-content loadingtext"> | ||
47 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | ||
48 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" | ||
49 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" | ||
50 | :data="tableData.data"> | ||
51 | </lb-table> | ||
52 | </div> | ||
53 | <div class="submit_button"> | ||
54 | <el-button @click="$popupCacel">取消</el-button> | ||
55 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> | ||
56 | </div> | ||
57 | </div> | ||
58 | </template> | ||
59 | <script> | ||
60 | //首次登记 | ||
61 | import store from '@/store/index.js' | ||
62 | import ywsqTable from "@/utils/mixin/ywsqTable"; | ||
63 | import jump from "../components/mixin/jump"; | ||
64 | import { ywPopupDialog } from "@/utils/popup.js"; | ||
65 | import { datas, sendThis } from "../javascript/selectJsydsyq.js"; | ||
66 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
67 | import { selectTdcbjyq } from "@/api/ywsq.js"; | ||
68 | import { startBusinessFlow } from "@/api/workFlow.js"; | ||
69 | export default { | ||
70 | mixins: [ywsqTable, jump], | ||
71 | props: { | ||
72 | isJump: { type: Boolean, default: false }, | ||
73 | sqywInfo: { type: Object, default: () => { } }, | ||
74 | }, | ||
75 | data () { | ||
76 | return { | ||
77 | radioVal: '', | ||
78 | loading: false, | ||
79 | queryForm: defaultParameters.defaultParameters(), | ||
80 | qllxs: [], | ||
81 | tableData: { | ||
82 | total: 0, | ||
83 | columns: datas.columns(), | ||
84 | data: [], | ||
85 | }, | ||
86 | bdcdysz: [] | ||
87 | }; | ||
88 | }, | ||
89 | mounted () { | ||
90 | sendThis(this); | ||
91 | if (this.sqywInfo.sqywdylx == "1") { | ||
92 | this.tableData.columns = [{ | ||
93 | label: '选择', | ||
94 | width: '50px', | ||
95 | render: (h, scope) => { | ||
96 | return ( | ||
97 | <div class="orgColumn"> | ||
98 | <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}> | ||
99 |   | ||
100 | </el-radio> | ||
101 | </div> | ||
102 | ) | ||
103 | } | ||
104 | }].concat(datas.columns()) | ||
105 | } else { | ||
106 | this.tableData.columns = | ||
107 | [{ | ||
108 | type: 'selection', | ||
109 | label: '全选', | ||
110 | width: '50' | ||
111 | }].concat(datas.columns()) | ||
112 | } | ||
113 | }, | ||
114 | methods: { | ||
115 | /** | ||
116 | * @description: queryClick | ||
117 | * @author: renchao | ||
118 | */ | ||
119 | queryClick () { | ||
120 | this.$startLoading(); | ||
121 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
122 | selectTdcbjyq({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
123 | this.$endLoading(); | ||
124 | if (res.code === 200) { | ||
125 | let { total, records } = res.result; | ||
126 | this.tableData.total = total; | ||
127 | this.tableData.data = records; | ||
128 | } | ||
129 | }) | ||
130 | }, | ||
131 | /** | ||
132 | * @description: submitForm | ||
133 | * @author: renchao | ||
134 | */ | ||
135 | submitForm () { | ||
136 | if (this.bdcdysz.length == 0) { | ||
137 | this.$message.error("请至少选择一条数据"); | ||
138 | return; | ||
139 | } | ||
140 | this.loading = true | ||
141 | startBusinessFlow({ | ||
142 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
143 | bdcdysz: this.bdcdysz, | ||
144 | }).then((res) => { | ||
145 | this.loading = false | ||
146 | if (res.code == 200) { | ||
147 | this.$message({ | ||
148 | showClose: true, | ||
149 | message: '发起申请成功', | ||
150 | type: 'success' | ||
151 | }) | ||
152 | if (!this.isJump) { | ||
153 | this.jump(res.result) | ||
154 | } else { | ||
155 | store.dispatch('user/refreshPage', true); | ||
156 | } | ||
157 | this.$popupCacel() | ||
158 | } else { | ||
159 | if (res.result && res.result.length > 0) { | ||
160 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
161 | } else { | ||
162 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
163 | } | ||
164 | } | ||
165 | }).catch(() => { | ||
166 | this.loading = false | ||
167 | }) | ||
168 | }, | ||
169 | /** | ||
170 | * @description: handleSelectionChange | ||
171 | * @param {*} val | ||
172 | * @author: renchao | ||
173 | */ | ||
174 | handleSelectionChange (val) { | ||
175 | val.forEach((item, index) => { | ||
176 | item.bsm = item.zdbsm; | ||
177 | }); | ||
178 | if (this.sqywInfo.sqywdylx == "1") { | ||
179 | if (val.length > 1) { | ||
180 | this.bdcdysz = [...val[val.length - 1]]; | ||
181 | } else { | ||
182 | this.bdcdysz = val; | ||
183 | } | ||
184 | } else { | ||
185 | this.bdcdysz = val; | ||
186 | } | ||
187 | }, | ||
188 | /** | ||
189 | * @description: openBook | ||
190 | * @param {*} row | ||
191 | * @author: renchao | ||
192 | */ | ||
193 | openBook (row) { | ||
194 | var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx }; | ||
195 | this.$popup('登记簿详情', 'registerBook/djbFrame', { | ||
196 | formData: param | ||
197 | }) | ||
198 | }, | ||
199 | handleChange () { | ||
200 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) | ||
201 | arr[0].bsm = arr[0].zdbsm | ||
202 | this.bdcdysz = arr | ||
203 | }, | ||
204 | /** | ||
205 | * @description: handleRowClick | ||
206 | * @param {*} row | ||
207 | * @author: renchao | ||
208 | */ | ||
209 | handleRowClick (row) { | ||
210 | // 如果状态是1,那就是单选 | ||
211 | let refs = 'table'; | ||
212 | if (this.sqywInfo.sqywdylx == "1") { | ||
213 | row.bsm = row.zdbsm | ||
214 | this.bdcdysz = [row] | ||
215 | this.radioVal = row.bdcdyid | ||
216 | } else { | ||
217 | this.$refs[refs].toggleRowSelection(row) | ||
218 | } | ||
219 | } | ||
220 | } | ||
221 | } | ||
222 | </script> | ||
223 | <style scoped lang="scss"> | ||
224 | @import "~@/styles/mixin.scss"; | ||
225 | @import "~@/styles/public.scss"; | ||
226 | </style> |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-17 09:44:35 | 4 | * @LastEditTime: 2024-01-23 13:43:12 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -15,11 +15,11 @@ class data extends filter { | ... | @@ -15,11 +15,11 @@ class data extends filter { |
15 | } | 15 | } |
16 | columns () { | 16 | columns () { |
17 | return [ | 17 | return [ |
18 | { | 18 | // { |
19 | type: 'selection', | 19 | // type: 'selection', |
20 | label: '全选', | 20 | // label: '全选', |
21 | selectable: this.selected | 21 | // selectable: this.selected |
22 | }, | 22 | // }, |
23 | { | 23 | { |
24 | label: '序号', | 24 | label: '序号', |
25 | type: 'index', | 25 | type: 'index', | ... | ... |
... | @@ -73,7 +73,9 @@ export function queueDjywmc (djywbm, djqxbm) { | ... | @@ -73,7 +73,9 @@ export function queueDjywmc (djywbm, djqxbm) { |
73 | case "A23200": | 73 | case "A23200": |
74 | case "A23300": | 74 | case "A23300": |
75 | case "A23400": | 75 | case "A23400": |
76 | case "A09200": | 76 | case "A09200": // 土地承包经营权(转移登记) |
77 | vm = "tdjyq200"; | ||
78 | break; | ||
77 | case "A09300": | 79 | case "A09300": |
78 | case "A09400": | 80 | case "A09400": |
79 | vm = "nydsyq200"; | 81 | vm = "nydsyq200"; | ... | ... |
-
Please register or sign in to post a comment