Merge branch 'dev'
Showing
278 changed files
with
2060 additions
and
668 deletions
... | @@ -40,5 +40,8 @@ import { popupDialog,popupCacel} from "@/utils/popup.js"; | ... | @@ -40,5 +40,8 @@ import { popupDialog,popupCacel} from "@/utils/popup.js"; |
40 | popupDialog(title, "xxxx", data); | 40 | popupDialog(title, "xxxx", data); |
41 | popupCacel() 可以关闭弹框 | 41 | popupCacel() 可以关闭弹框 |
42 | 42 | ||
43 | <!-- 高拍仪类型 --> | ||
44 | <!-- lt:良田 jy:捷宇 --> | ||
45 | |||
43 | 46 | ||
44 | 47 | ... | ... |
... | @@ -17,6 +17,7 @@ | ... | @@ -17,6 +17,7 @@ |
17 | "bpmn-js-token-simulation": "^0.10.0", | 17 | "bpmn-js-token-simulation": "^0.10.0", |
18 | "core-js": "^3.6.5", | 18 | "core-js": "^3.6.5", |
19 | "diagram-js": "^6.8.2", | 19 | "diagram-js": "^6.8.2", |
20 | "echarts": "^5.4.3", | ||
20 | "js-cookie": "2.2.0", | 21 | "js-cookie": "2.2.0", |
21 | "lodash": "^4.17.21", | 22 | "lodash": "^4.17.21", |
22 | "mxdraw": "^0.1.157", | 23 | "mxdraw": "^0.1.157", |
... | @@ -26,6 +27,7 @@ | ... | @@ -26,6 +27,7 @@ |
26 | "print-js": "^1.6.0", | 27 | "print-js": "^1.6.0", |
27 | "qrcode": "^1.5.3", | 28 | "qrcode": "^1.5.3", |
28 | "sortablejs": "^1.15.0", | 29 | "sortablejs": "^1.15.0", |
30 | "tiff.js": "^1.0.0", | ||
29 | "vue": "2.6.10", | 31 | "vue": "2.6.10", |
30 | "vue-json-editor": "^1.4.3", | 32 | "vue-json-editor": "^1.4.3", |
31 | "vue-print-nb": "^1.7.5", | 33 | "vue-print-nb": "^1.7.5", |
... | @@ -33,7 +35,9 @@ | ... | @@ -33,7 +35,9 @@ |
33 | "vue-router": "3.0.2", | 35 | "vue-router": "3.0.2", |
34 | "vue-seamless-scroll": "^1.1.23", | 36 | "vue-seamless-scroll": "^1.1.23", |
35 | "vuex": "3.1.0", | 37 | "vuex": "3.1.0", |
36 | "x2js": "^3.4.4" | 38 | "x2js": "^3.4.4", |
39 | "xlsx": "^0.17.5", | ||
40 | "xlsx-style": "^0.8.13" | ||
37 | }, | 41 | }, |
38 | "devDependencies": { | 42 | "devDependencies": { |
39 | "@vue/cli-plugin-babel": "4.4.4", | 43 | "@vue/cli-plugin-babel": "4.4.4", | ... | ... |
1 | { | 1 | { |
2 | "TITLE": "不动产登记系统", | 2 | "TITLE": "不动产登记系统", |
3 | "SERVERAPI": "/bdcdj", | 3 | "SERVERAPI": "/bdcdj", |
4 | "IDCARDURL": "http://127.0.0.1:33088/function=get_idcard&readnew=0" | 4 | "IDCARDURL": "http://127.0.0.1:33088/function=get_idcard&readnew=0", |
5 | "adapter": "dysqs-630222", | ||
6 | "gaopaiyi": "jy" | ||
5 | } | 7 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: 不动产权证 | 2 | * @Description: 不动产权证 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-13 16:06:55 | 4 | * @LastEditTime: 2023-11-15 13:32:46 |
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')) |
... | @@ -160,3 +160,16 @@ export function getBdcqzQlr (bsmBdcqz) { | ... | @@ -160,3 +160,16 @@ export function getBdcqzQlr (bsmBdcqz) { |
160 | } | 160 | } |
161 | }) | 161 | }) |
162 | } | 162 | } |
163 | |||
164 | /** | ||
165 | * @description: 修改 | ||
166 | * @param {*} data | ||
167 | * @author: renchao | ||
168 | */ | ||
169 | export function editBdcqz (data) { | ||
170 | return request({ | ||
171 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/editBdcqz', | ||
172 | method: 'post', | ||
173 | data | ||
174 | }) | ||
175 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: 材料信息 | 2 | * @Description: 材料信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-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')) | ... | ... |
... | @@ -23,7 +23,7 @@ export function getDjbfm (data) { | ... | @@ -23,7 +23,7 @@ export function getDjbfm (data) { |
23 | * @param {*} params | 23 | * @param {*} params |
24 | * @author: renchao | 24 | * @author: renchao |
25 | */ | 25 | */ |
26 | export function getQllxByBdcdyid (params) { | 26 | export function getQllxByBdcdyid (params) { |
27 | return request({ | 27 | return request({ |
28 | url: SERVER.SERVERAPI + '/rest/djbDetail/getQllxByBdcdyid', | 28 | url: SERVER.SERVERAPI + '/rest/djbDetail/getQllxByBdcdyid', |
29 | method: 'get', | 29 | method: 'get', |
... | @@ -81,7 +81,18 @@ export function getBdcqljqtsx (data) { | ... | @@ -81,7 +81,18 @@ export function getBdcqljqtsx (data) { |
81 | params: data | 81 | params: data |
82 | }) | 82 | }) |
83 | } | 83 | } |
84 | 84 | /** | |
85 | * @description: 获取不动产权利及其他事项Bdcdyh | ||
86 | * @param {*} data | ||
87 | * @author: renchao | ||
88 | */ | ||
89 | export function getBdcqljqtsxBdcdyh (data) { | ||
90 | return request({ | ||
91 | url: SERVER.SERVERAPI + '/rest/djbDetail/getBdcqljqtsxBdcdyh', | ||
92 | method: 'get', | ||
93 | params: data | ||
94 | }) | ||
95 | } | ||
85 | /** | 96 | /** |
86 | * @description: 获取土地所有权 | 97 | * @description: 获取土地所有权 |
87 | * @param {*} data | 98 | * @param {*} data |
... | @@ -109,6 +120,19 @@ export function getJsydsyqList (data) { | ... | @@ -109,6 +120,19 @@ export function getJsydsyqList (data) { |
109 | } | 120 | } |
110 | 121 | ||
111 | /** | 122 | /** |
123 | * @description: 获取土地承包经营权 | ||
124 | * @param {*} data | ||
125 | * @author: renchao | ||
126 | */ | ||
127 | export function getTdcbjyqList (data) { | ||
128 | return request({ | ||
129 | url: SERVER.SERVERAPI + '/rest/djbDetail/getTdcbjyqList', | ||
130 | method: 'post', | ||
131 | data | ||
132 | }) | ||
133 | } | ||
134 | |||
135 | /** | ||
112 | * @description: 获取房屋独幢信息集合 | 136 | * @description: 获取房屋独幢信息集合 |
113 | * @param {*} data | 137 | * @param {*} data |
114 | * @author: renchao | 138 | * @author: renchao |
... | @@ -224,7 +248,7 @@ export function getNydsyqList (data) { | ... | @@ -224,7 +248,7 @@ export function getNydsyqList (data) { |
224 | * @author: renchao | 248 | * @author: renchao |
225 | */ | 249 | */ |
226 | 250 | ||
227 | export function getDjbQlxxDiff (data) { | 251 | export function getDjbQlxxDiff (data) { |
228 | return request({ | 252 | return request({ |
229 | url: SERVER.SERVERAPI + '/rest/djbDetail/getDjbQlxxDiff?bsmQlxx=' + data, | 253 | url: SERVER.SERVERAPI + '/rest/djbDetail/getDjbQlxxDiff?bsmQlxx=' + data, |
230 | method: 'post', | 254 | method: 'post', |
... | @@ -236,7 +260,7 @@ export function getNydsyqList (data) { | ... | @@ -236,7 +260,7 @@ export function getNydsyqList (data) { |
236 | * @param {*} data | 260 | * @param {*} data |
237 | * @author: renchao | 261 | * @author: renchao |
238 | */ | 262 | */ |
239 | export function getLqList (data) { | 263 | export function getLqList (data) { |
240 | return request({ | 264 | return request({ |
241 | url: SERVER.SERVERAPI + '/rest/djbDetail/getLqList', | 265 | url: SERVER.SERVERAPI + '/rest/djbDetail/getLqList', |
242 | method: 'post', | 266 | method: 'post', | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: 模板管理 | 2 | * @Description: 模板管理 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-16 16:02:32 | 4 | * @LastEditTime: 2024-02-23 10:45:18 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | /* | ||
8 | * 不动产登记受理凭证(首环节)getPrintAcceptance | ||
9 | * 不动产登记补充材料通知书 getPrintSupplementalMaterials | ||
10 | * 不动产登记补充材料接收凭证 getPrintReceiveSupplementalMaterials | ||
11 | * 不予登记告知书 getPrintRejectForms | ||
12 | * 不动产登记申请材料退回通知书 getPrintSendBackMaterials | ||
13 | * 不动产更正登记通知书(依职权更正首环节)getPrintRiviseForms | ||
14 | */ | ||
7 | import request from '@/utils/request' | 15 | import request from '@/utils/request' |
8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 16 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
9 | 17 | ||
... | @@ -71,3 +79,87 @@ export function getPrintTemplateByCode (params) { | ... | @@ -71,3 +79,87 @@ export function getPrintTemplateByCode (params) { |
71 | params: params | 79 | params: params |
72 | }) | 80 | }) |
73 | } | 81 | } |
82 | |||
83 | /** | ||
84 | * @description: 获取受理凭证 | ||
85 | * @param {*} params | ||
86 | * @author: renchao | ||
87 | */ | ||
88 | export function getPrintAcceptance (bsmSldy) { | ||
89 | return request({ | ||
90 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintAcceptance', | ||
91 | method: 'get', | ||
92 | params: { | ||
93 | bsmSldy: bsmSldy | ||
94 | } | ||
95 | }) | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * @description: 获取补充材料通知书 | ||
100 | * @param {*} bsmSldy | ||
101 | * @author: renchao | ||
102 | */ | ||
103 | export function getPrintSupplementalMaterials (bsmSldy, data) { | ||
104 | return request({ | ||
105 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintSupplementalMaterials/' + bsmSldy, | ||
106 | method: 'post', | ||
107 | data | ||
108 | }) | ||
109 | } | ||
110 | /** | ||
111 | * @description: 获取不予登记告知书 | ||
112 | * @param {*} bsmSldy | ||
113 | * @author: renchao | ||
114 | */ | ||
115 | export function getPrintRejectForms (bsmSldy) { | ||
116 | return request({ | ||
117 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintRejectForms', | ||
118 | method: 'get', | ||
119 | params: { | ||
120 | bsmSldy: bsmSldy | ||
121 | } | ||
122 | }) | ||
123 | } | ||
124 | /** | ||
125 | * @description: 获取更正登记通知书 | ||
126 | * @param {*} bsmSldy | ||
127 | * @author: renchao | ||
128 | */ | ||
129 | export function getPrintRiviseForms (bsmSldy) { | ||
130 | return request({ | ||
131 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintRiviseForms', | ||
132 | method: 'get', | ||
133 | params: { | ||
134 | bsmSldy: bsmSldy | ||
135 | } | ||
136 | }) | ||
137 | } | ||
138 | /** | ||
139 | * @description: 获取申请材料退回通知书 | ||
140 | * @param {*} bsmSldy | ||
141 | * @author: renchao | ||
142 | */ | ||
143 | export function getPrintSendBackMaterials (bsmSldy) { | ||
144 | return request({ | ||
145 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintSendBackMaterials', | ||
146 | method: 'get', | ||
147 | params: { | ||
148 | bsmSldy: bsmSldy | ||
149 | } | ||
150 | }) | ||
151 | } | ||
152 | /** | ||
153 | * @description: 获取补充材料接收凭证 | ||
154 | * @param {*} bsmSldy | ||
155 | * @author: renchao | ||
156 | */ | ||
157 | export function getPrintReceiveSupplementalMaterials (bsmSldy) { | ||
158 | return request({ | ||
159 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintReceiveSupplementalMaterials', | ||
160 | method: 'get', | ||
161 | params: { | ||
162 | bsmSldy: bsmSldy | ||
163 | } | ||
164 | }) | ||
165 | } | ... | ... |
src/api/sfxx.js
0 → 100644
1 | /* | ||
2 | * @Description: sfxx | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-12-26 16:06:35 | ||
5 | */ | ||
6 | import request from '@/utils/request'; | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
8 | |||
9 | |||
10 | export function getSfmxList (businessBsm) { | ||
11 | return request({ | ||
12 | url: SERVER.SERVERAPI + '/rest/sys/sf/getSfmxList', | ||
13 | method: 'get', | ||
14 | params: { | ||
15 | businessBsm: businessBsm | ||
16 | } | ||
17 | }) | ||
18 | } | ||
19 | |||
20 | export function saveSfmx (data) { | ||
21 | return request({ | ||
22 | url: SERVER.SERVERAPI + '/rest/sys/sf/saveSfmx', | ||
23 | method: 'post', | ||
24 | data | ||
25 | }) | ||
26 | } | ||
27 | |||
28 | export function deleteSfmx (bsmSf) { | ||
29 | return request({ | ||
30 | url: SERVER.SERVERAPI + '/rest/sys/sf/deleteSfmx', | ||
31 | method: 'get', | ||
32 | params: { | ||
33 | bsmSf: bsmSf | ||
34 | } | ||
35 | }) | ||
36 | } | ||
37 | |||
38 | export function getDlxxByBsmSldy (bsmSldy) { | ||
39 | return request({ | ||
40 | url: SERVER.SERVERAPI + '/rest/ywbl/dlxx/getDlxxByBsmSldy', | ||
41 | method: 'get', | ||
42 | params: { | ||
43 | bsmSldy: bsmSldy | ||
44 | } | ||
45 | }) | ||
46 | } | ||
47 | |||
48 | export function saveOrUpdateDlxx (data) { | ||
49 | return request({ | ||
50 | url: SERVER.SERVERAPI + '/rest/ywbl/dlxx/saveOrUpdateDlxx', | ||
51 | method: 'post', | ||
52 | data | ||
53 | }) | ||
54 | } |
src/api/tjfx.js
0 → 100644
1 | /* | ||
2 | * @Description: 信息备案 | ||
3 | * @Autor: | ||
4 | * @LastEditTime: 2023-09-11 11:25:22 | ||
5 | */ | ||
6 | |||
7 | import request from '@/utils/request' | ||
8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
9 | |||
10 | /** | ||
11 | * @description: cstj | ||
12 | * @author: | ||
13 | * @param params | ||
14 | */ | ||
15 | export function cstj (params) { | ||
16 | return request({ | ||
17 | url: SERVER.SERVERAPI + '/rest/tjfx/xn/cstj?startAt='+params.startAt + '&endAt=' + params.endAt, | ||
18 | method: 'post' | ||
19 | }) | ||
20 | } | ||
21 | |||
22 | /** | ||
23 | * @description: exportCstj | ||
24 | * @author: | ||
25 | * @param params | ||
26 | */ | ||
27 | export function exportCstj (params) { | ||
28 | return request({ | ||
29 | url: SERVER.SERVERAPI + '/rest/tjfx/xn/exportCstj?startAt='+params.startAt + '&endAt=' + params.endAt, | ||
30 | method: 'post', | ||
31 | responseType: 'blob' | ||
32 | }) | ||
33 | } | ||
34 | |||
35 | /** | ||
36 | * @description: tjtj | ||
37 | * @author: | ||
38 | * @param data | ||
39 | */ | ||
40 | export function tjtj (data) { | ||
41 | return request({ | ||
42 | url: SERVER.SERVERAPI + '/rest/tjfx/xn/tjtj', | ||
43 | method: 'post', | ||
44 | data | ||
45 | }) | ||
46 | } | ||
47 | |||
48 | /** | ||
49 | * @description: exportTjtj | ||
50 | * @author: | ||
51 | * @param data | ||
52 | */ | ||
53 | export function exportTjtj (data) { | ||
54 | return request({ | ||
55 | url: SERVER.SERVERAPI + '/rest/tjfx/xn/exportTjtj', | ||
56 | method: 'post', | ||
57 | data, | ||
58 | responseType: 'blob' | ||
59 | }) | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * @description: getDjlxStatistic | ||
64 | * @author: | ||
65 | * @param data | ||
66 | */ | ||
67 | export function getDjlxStatistic (data) { | ||
68 | return request({ | ||
69 | url: SERVER.SERVERAPI + '/rest/tjfx/djqkfx/getDjlxStatistic', | ||
70 | method: 'post', | ||
71 | data | ||
72 | }) | ||
73 | } | ||
74 | |||
75 | /** | ||
76 | * @description: getPrintBdcqzStatistic | ||
77 | * @author: | ||
78 | * @param data | ||
79 | */ | ||
80 | export function getPrintBdcqzStatistic (data) { | ||
81 | return request({ | ||
82 | url: SERVER.SERVERAPI + '/rest/tjfx/djqkfx/getPrintBdcqzStatistic', | ||
83 | method: 'post', | ||
84 | data | ||
85 | }) | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * @description: getSlryStatistic | ||
90 | * @author: | ||
91 | * @param data | ||
92 | */ | ||
93 | export function getSlryStatistic (data) { | ||
94 | return request({ | ||
95 | url: SERVER.SERVERAPI + '/rest/tjfx/djqkfx/getSlryStatistic', | ||
96 | method: 'post', | ||
97 | data | ||
98 | }) | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * @description: getAcceptMonthStatistic | ||
103 | * @author: | ||
104 | * @param data | ||
105 | */ | ||
106 | export function getAcceptMonthStatistic (data) { | ||
107 | return request({ | ||
108 | url: SERVER.SERVERAPI + '/rest/tjfx/djqkfx/getAcceptMonthStatistic', | ||
109 | method: 'post', | ||
110 | data | ||
111 | }) | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * @description: getAcceptDayStatistic | ||
116 | * @author: | ||
117 | * @param data | ||
118 | */ | ||
119 | export function getAcceptDayStatistic (data) { | ||
120 | return request({ | ||
121 | url: SERVER.SERVERAPI + '/rest/tjfx/djqkfx/getAcceptDayStatistic', | ||
122 | method: 'post', | ||
123 | data | ||
124 | }) | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * @description: getAcceptAreaStatistic | ||
129 | * @author: | ||
130 | * @param data | ||
131 | */ | ||
132 | export function getAcceptAreaStatistic (data) { | ||
133 | return request({ | ||
134 | url: SERVER.SERVERAPI + '/rest/tjfx/djqkfx/getAcceptAreaStatistic', | ||
135 | method: 'post', | ||
136 | data | ||
137 | }) | ||
138 | } |
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-09-01 15:10:55 | 4 | * @LastEditTime: 2024-02-01 09:18:16 |
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')) |
... | @@ -58,6 +58,18 @@ export function sendBackTask (data) { | ... | @@ -58,6 +58,18 @@ export function sendBackTask (data) { |
58 | }) | 58 | }) |
59 | } | 59 | } |
60 | /** | 60 | /** |
61 | * @description: 再次添加受理单元信息 | ||
62 | * @param {*} data | ||
63 | * @author: renchao | ||
64 | */ | ||
65 | export function againAddSldy (data) { | ||
66 | return request({ | ||
67 | url: SERVER.SERVERAPI + '/rest/business/workFlow/againAddSldy', | ||
68 | method: 'post', | ||
69 | data | ||
70 | }) | ||
71 | } | ||
72 | /** | ||
61 | * @description: 获取左侧列表 | 73 | * @description: 获取左侧列表 |
62 | * @param {*} data | 74 | * @param {*} data |
63 | * @author: renchao | 75 | * @author: renchao | ... | ... |
... | @@ -12,28 +12,37 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap | ... | @@ -12,28 +12,37 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap |
12 | * @author: renchao | 12 | * @author: renchao |
13 | */ | 13 | */ |
14 | export function Init (data) { | 14 | export function Init (data) { |
15 | let apiUrl = "/rest/ywbl/dyaq/init"; | ||
16 | return request({ | ||
17 | url: SERVER.SERVERAPI + apiUrl, | ||
18 | method: 'post', | ||
19 | data | ||
20 | }) | ||
21 | } | ||
22 | |||
23 | export function batchInit (data) { | ||
15 | let apiUrl = ""; | 24 | let apiUrl = ""; |
16 | switch (data.get("djlx")) { | 25 | switch (data.get("djlx")) { |
17 | case "100": | 26 | case "100": |
18 | apiUrl = "/rest/ywbl/dyaq/fristInit"; | 27 | apiUrl = "/rest/ywbl/dyaq/fristBatchInit"; |
19 | break; | 28 | break; |
20 | case "200": | 29 | case "200": |
21 | apiUrl = "/rest/ywbl/dyaq/transferInit"; | 30 | apiUrl = "/rest/ywbl/dyaq/transferBatchInit"; |
22 | break; | 31 | break; |
23 | case "300": | 32 | case "300": |
24 | apiUrl = "/rest/ywbl/dyaq/changeInit"; | 33 | apiUrl = "/rest/ywbl/dyaq/changeBatchInit"; |
25 | break; | 34 | break; |
26 | case "400": | 35 | case "400": |
27 | apiUrl = "/rest/ywbl/dyaq/logoutInit"; | 36 | apiUrl = "/rest/ywbl/dyaq/logoutBatchInit"; |
28 | break; | 37 | break; |
29 | case "500": | 38 | case "500": |
30 | apiUrl = "/rest/ywbl/dyaq/riviseInit"; | 39 | apiUrl = "/rest/ywbl/dyaq/riviseBatchInit"; |
31 | break; | 40 | break; |
32 | case "901": | 41 | case "901": |
33 | apiUrl = "/rest/ywbl/dyaq/renewalInit"; | 42 | apiUrl = "/rest/ywbl/dyaq/renewalBatchInit"; |
34 | break; | 43 | break; |
35 | case "902": | 44 | case "902": |
36 | apiUrl = "/rest/ywbl/dyaq/replaceInit"; | 45 | apiUrl = "/rest/ywbl/dyaq/replaceBatchInit"; |
37 | break; | 46 | break; |
38 | } | 47 | } |
39 | return request({ | 48 | return request({ |
... | @@ -56,3 +65,20 @@ export function saveData (data, djlx) { | ... | @@ -56,3 +65,20 @@ export function saveData (data, djlx) { |
56 | data | 65 | data |
57 | }) | 66 | }) |
58 | } | 67 | } |
68 | |||
69 | /** | ||
70 | * @description: 批量保存 | ||
71 | * @param {*} data | ||
72 | * @author: renchao | ||
73 | */ | ||
74 | export function saveBatchData (data, djlx) { | ||
75 | let apiUrl = "/rest/ywbl/dyaq/saveBatchData"; | ||
76 | if (djlx == "400") { | ||
77 | apiUrl = "/rest/ywbl/dyaq/saveLogoutBatchData"; | ||
78 | } | ||
79 | return request({ | ||
80 | url: SERVER.SERVERAPI + apiUrl, | ||
81 | method: 'post', | ||
82 | data | ||
83 | }) | ||
84 | } | ... | ... |
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 | } |
... | @@ -12,8 +12,12 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap | ... | @@ -12,8 +12,12 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap |
12 | * @author: renchao | 12 | * @author: renchao |
13 | */ | 13 | */ |
14 | export function Init (data) { | 14 | export function Init (data) { |
15 | let apiUrl = "/rest/ywbl/zjgcdy/init"; | ||
16 | if (data.get("djlx") == "400") { | ||
17 | apiUrl = "/rest/ywbl/zjgcdy/logoutInit"; | ||
18 | } | ||
15 | return request({ | 19 | return request({ |
16 | url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/init", | 20 | url: SERVER.SERVERAPI + apiUrl, |
17 | method: 'post', | 21 | method: 'post', |
18 | data | 22 | data |
19 | }) | 23 | }) |
... | @@ -77,8 +81,12 @@ export function saveData (data, djlx) { | ... | @@ -77,8 +81,12 @@ export function saveData (data, djlx) { |
77 | * @author: renchao | 81 | * @author: renchao |
78 | */ | 82 | */ |
79 | export function saveBatchData (data, djlx) { | 83 | export function saveBatchData (data, djlx) { |
84 | let apiUrl = "/rest/ywbl/zjgcdy/saveBatchData"; | ||
85 | if (djlx == "400") { | ||
86 | apiUrl = "/rest/ywbl/zjgcdy/saveLogoutBatchData"; | ||
87 | } | ||
80 | return request({ | 88 | return request({ |
81 | url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/saveBatchData", | 89 | url: SERVER.SERVERAPI + apiUrl, |
82 | method: 'post', | 90 | method: 'post', |
83 | data | 91 | data |
84 | }) | 92 | }) | ... | ... |
src/api/ycsl.js
0 → 100644
1 | /* | ||
2 | * @Description: 信息备案 | ||
3 | * @Autor: | ||
4 | * @LastEditTime: 2023-09-11 11:25:22 | ||
5 | */ | ||
6 | |||
7 | import request from '@/utils/request' | ||
8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
9 | |||
10 | /** | ||
11 | * @description: 添加银行 | ||
12 | * @author: | ||
13 | * @param params | ||
14 | */ | ||
15 | export function queryBj (params) { | ||
16 | return request({ | ||
17 | url: SERVER.SERVERAPI + '/rest/wwsq/queryBj', | ||
18 | method: 'get', | ||
19 | params | ||
20 | }) | ||
21 | } | ||
22 | |||
23 | /** | ||
24 | * @description: getSqr | ||
25 | * @author: | ||
26 | * @param ywh | ||
27 | */ | ||
28 | export function getSqr (ywh) { | ||
29 | return request({ | ||
30 | url: SERVER.SERVERAPI + '/rest/wwsq/getSqr', | ||
31 | method: 'get', | ||
32 | params: { | ||
33 | ywh: ywh | ||
34 | } | ||
35 | }) | ||
36 | } | ||
37 | |||
38 | /** | ||
39 | * @description: getSqr | ||
40 | * @author: | ||
41 | * @param ywh | ||
42 | */ | ||
43 | export function getBdcqk (ywh) { | ||
44 | return request({ | ||
45 | url: SERVER.SERVERAPI + '/rest/wwsq/getBdcqk', | ||
46 | method: 'get', | ||
47 | params: { | ||
48 | ywh: ywh | ||
49 | } | ||
50 | }) | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * @description: getSqr | ||
55 | * @author: | ||
56 | * @param ywh | ||
57 | */ | ||
58 | export function getTreeNodeList (ywh) { | ||
59 | return request({ | ||
60 | url: SERVER.SERVERAPI + '/rest/fjcl/getTreeNodeList', | ||
61 | method: 'get', | ||
62 | params: { | ||
63 | ywh: ywh | ||
64 | } | ||
65 | }) | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * @description: getSqr | ||
70 | * @author: | ||
71 | * @param datumId | ||
72 | */ | ||
73 | export function getFjnrById (datumId) { | ||
74 | return request({ | ||
75 | url: SERVER.SERVERAPI + '/rest/fjcl/getFjnrById', | ||
76 | method: 'get', | ||
77 | params: { | ||
78 | datumId: datumId | ||
79 | } | ||
80 | }) | ||
81 | } |
1 | /* | 1 | /* |
2 | * @Description: 业务申请 | 2 | * @Description: 业务申请 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 14:52:03 | 4 | * @LastEditTime: 2024-01-31 14:50:36 |
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: 业务办理-选择单元-查询宗地基本信息 |
... | @@ -109,6 +122,19 @@ export function selectZdjbxxSplitMergeLast (data) { | ... | @@ -109,6 +122,19 @@ export function selectZdjbxxSplitMergeLast (data) { |
109 | }) | 122 | }) |
110 | } | 123 | } |
111 | 124 | ||
125 | /** | ||
126 | * @description: 土地变化情况 | ||
127 | * @param {*} data | ||
128 | * @author: renchao | ||
129 | */ | ||
130 | export function selectZdjbxxSplitMerge (data) { | ||
131 | return request({ | ||
132 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxxSplitMerge', | ||
133 | method: 'post', | ||
134 | data | ||
135 | }) | ||
136 | } | ||
137 | |||
112 | /* | 138 | /* |
113 | 业务办理-选择单元-查询自然幢信息 | 139 | 业务办理-选择单元-查询自然幢信息 |
114 | */ | 140 | */ |
... | @@ -194,6 +220,35 @@ export function selectFwsyq (data) { | ... | @@ -194,6 +220,35 @@ export function selectFwsyq (data) { |
194 | data | 220 | data |
195 | }) | 221 | }) |
196 | } | 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 | |||
197 | /** | 252 | /** |
198 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 | 253 | * 业务办理-预告登记-选择权利信息-根据条件进行列表查询 |
199 | * @param data | 254 | * @param data |
... | @@ -235,9 +290,9 @@ export function selectYgdy (data) { | ... | @@ -235,9 +290,9 @@ export function selectYgdy (data) { |
235 | * @param data | 290 | * @param data |
236 | * @returns {*} | 291 | * @returns {*} |
237 | */ | 292 | */ |
238 | export function selectHQjdc (data) { | 293 | export function selectHListQjdc (data) { |
239 | return request({ | 294 | return request({ |
240 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectHQjdc', | 295 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectHListQjdc', |
241 | method: 'post', | 296 | method: 'post', |
242 | data | 297 | data |
243 | }) | 298 | }) | ... | ... |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | 10 | ||
11 | <template> | 11 | <template> |
12 | <div :class="['lb-table', customClass]"> | 12 | <div :class="['lb-table', customClass]"> |
13 | <el-table v-if="!heightNumSetting" class="table-fixed" :row-style="{ height: '50px' }" ref="elTable" :border='border' | 13 | <el-table v-if="!heightNumSetting" class="table-fixed" :row-style="{ height: rowStyleHeight+'px' }" ref="elTable" :border='border' |
14 | :row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs" | 14 | :row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs" |
15 | :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%" | 15 | :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%" |
16 | :span-method="this.merge ? this.mergeMethod : this.spanMethod"> | 16 | :span-method="this.merge ? this.mergeMethod : this.spanMethod"> |
... | @@ -24,7 +24,7 @@ | ... | @@ -24,7 +24,7 @@ |
24 | </lb-column> | 24 | </lb-column> |
25 | </el-table> | 25 | </el-table> |
26 | 26 | ||
27 | <el-table v-else ref="elTable" class="table-fixed heightNumSetting" :row-style="{ height: '50px' }" | 27 | <el-table v-else ref="elTable" class="table-fixed heightNumSetting" :row-style="{ height: rowStyleHeight+'px' }" |
28 | :border='border' :row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs" | 28 | :border='border' :row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs" |
29 | :max-height="maxHeight" :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%" | 29 | :max-height="maxHeight" :height="tableHeight" v-on="$listeners" :data="data" style="width: 100%" |
30 | :span-method="this.merge ? this.mergeMethod : this.spanMethod"> | 30 | :span-method="this.merge ? this.mergeMethod : this.spanMethod"> |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | 40 | ||
41 | <br> | 41 | <br> |
42 | <el-pagination class="lb-table-pagination" v-if="pagination" v-bind="$attrs" v-on="$listeners" background | 42 | <el-pagination class="lb-table-pagination" v-if="pagination" v-bind="$attrs" v-on="$listeners" background |
43 | layout="total, prev, pager, next" @current-change="paginationCurrentChange" | 43 | layout="total, sizes, prev, pager, next" @current-change="paginationCurrentChange" @size-change="handleSizeChange" |
44 | :style="{ 'margin-top': paginationTop, 'text-align': paginationAlign }"> | 44 | :style="{ 'margin-top': paginationTop, 'text-align': paginationAlign }"> |
45 | </el-pagination> | 45 | </el-pagination> |
46 | </div> | 46 | </div> |
... | @@ -65,6 +65,10 @@ | ... | @@ -65,6 +65,10 @@ |
65 | type: Boolean, | 65 | type: Boolean, |
66 | default: true, | 66 | default: true, |
67 | }, | 67 | }, |
68 | rowStyleHeight: { | ||
69 | type: Number, | ||
70 | default: 45, | ||
71 | }, | ||
68 | showHeader: { | 72 | showHeader: { |
69 | type: Boolean, | 73 | type: Boolean, |
70 | default: true, | 74 | default: true, |
... | @@ -302,6 +306,9 @@ | ... | @@ -302,6 +306,9 @@ |
302 | paginationCurrentChange (val) { | 306 | paginationCurrentChange (val) { |
303 | this.$emit('p-current-change', val) | 307 | this.$emit('p-current-change', val) |
304 | }, | 308 | }, |
309 | handleSizeChange (val) { | ||
310 | this.$emit('size-change', val) | ||
311 | }, | ||
305 | /** | 312 | /** |
306 | * @description: getMergeArr | 313 | * @description: getMergeArr |
307 | * @param {*} tableData | 314 | * @param {*} tableData | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-25 16:10:08 | 4 | * @LastEditTime: 2023-11-09 16:47:44 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <transition name="fade"> | 7 | <transition name="fade"> |
... | @@ -41,6 +41,10 @@ | ... | @@ -41,6 +41,10 @@ |
41 | secondAnimationTime: '', // 状态二动画效果 | 41 | secondAnimationTime: '', // 状态二动画效果 |
42 | }; | 42 | }; |
43 | }, | 43 | }, |
44 | mounted () { | ||
45 | this.Listener(); | ||
46 | this.getData() | ||
47 | }, | ||
44 | watch: { | 48 | watch: { |
45 | noticeList: { | 49 | noticeList: { |
46 | handler (newName, oldName) { | 50 | handler (newName, oldName) { |
... | @@ -48,7 +52,7 @@ | ... | @@ -48,7 +52,7 @@ |
48 | this.Listener(); | 52 | this.Listener(); |
49 | setTimeout(res => { | 53 | setTimeout(res => { |
50 | that.getData(); | 54 | that.getData(); |
51 | }, 100); | 55 | }, 300); |
52 | }, | 56 | }, |
53 | deep: true | 57 | deep: true |
54 | } | 58 | } | ... | ... |
... | @@ -165,7 +165,7 @@ | ... | @@ -165,7 +165,7 @@ |
165 | padding: 20px; | 165 | padding: 20px; |
166 | width: 100%; | 166 | width: 100%; |
167 | min-height: 30%; | 167 | min-height: 30%; |
168 | max-height: 90vh; | 168 | max-height: 92vh; |
169 | // overflow-y: scroll; | 169 | // overflow-y: scroll; |
170 | box-sizing: border-box; | 170 | box-sizing: border-box; |
171 | } | 171 | } | ... | ... |
src/components/collapse/index.js
0 → 100644
1 | <template> | ||
2 | <div class="el-collapse-item" | ||
3 | :class="{'is-active': isActive, 'is-disabled': disabled }"> | ||
4 | <div | ||
5 | role="tab" | ||
6 | :aria-expanded="isActive" | ||
7 | :aria-controls="`el-collapse-content-${id}`" | ||
8 | :aria-describedby="`el-collapse-content-${id}`"> | ||
9 | <div | ||
10 | class="el-collapse-item__header" | ||
11 | @click="handleHeaderClick" | ||
12 | role="button" | ||
13 | :id="`el-collapse-head-${id}`" | ||
14 | :tabindex="disabled ? undefined : 0" | ||
15 | @keyup.space.enter.stop="handleEnterClick" | ||
16 | :class="{ | ||
17 | 'focusing': focusing, | ||
18 | 'is-active': isActive | ||
19 | }" | ||
20 | @focus="handleFocus" | ||
21 | @blur="focusing = false"> | ||
22 | <slot name="title">{{title}}</slot> | ||
23 | <i | ||
24 | class="el-collapse-item__arrow el-icon-arrow-right" | ||
25 | :class="{'is-active': isActive}"> | ||
26 | </i> | ||
27 | </div> | ||
28 | </div> | ||
29 | <el-collapse-transition> | ||
30 | <div | ||
31 | class="el-collapse-item__wrap" | ||
32 | v-show="isActive" | ||
33 | role="tabpanel" | ||
34 | :aria-hidden="!isActive" | ||
35 | :aria-labelledby="`el-collapse-head-${id}`" | ||
36 | :id="`el-collapse-content-${id}`"> | ||
37 | <div class="el-collapse-item__content"> | ||
38 | <slot></slot> | ||
39 | </div> | ||
40 | </div> | ||
41 | </el-collapse-transition> | ||
42 | </div> | ||
43 | </template> | ||
44 | <script> | ||
45 | import ElCollapseTransition from 'element-ui/src/transitions/collapse-transition'; | ||
46 | import Emitter from 'element-ui/src/mixins/emitter'; | ||
47 | import { generateId } from 'element-ui/src/utils/util'; | ||
48 | |||
49 | export default { | ||
50 | name: 'ElCollapseItem', | ||
51 | |||
52 | componentName: 'ElCollapseItem', | ||
53 | |||
54 | mixins: [Emitter], | ||
55 | |||
56 | components: { ElCollapseTransition }, | ||
57 | |||
58 | data () { | ||
59 | return { | ||
60 | contentWrapStyle: { | ||
61 | height: 'auto', | ||
62 | display: 'block' | ||
63 | }, | ||
64 | contentHeight: 0, | ||
65 | focusing: false, | ||
66 | isClick: false, | ||
67 | id: generateId() | ||
68 | }; | ||
69 | }, | ||
70 | |||
71 | inject: ['collapse'], | ||
72 | |||
73 | props: { | ||
74 | title: String, | ||
75 | name: { | ||
76 | type: [String, Number], | ||
77 | default () { | ||
78 | return this._uid; | ||
79 | } | ||
80 | }, | ||
81 | disabled: Boolean | ||
82 | }, | ||
83 | |||
84 | computed: { | ||
85 | isActive () { | ||
86 | return this.collapse.activeNames.indexOf(this.name) > -1; | ||
87 | } | ||
88 | }, | ||
89 | |||
90 | methods: { | ||
91 | handleFocus () { | ||
92 | setTimeout(() => { | ||
93 | if (!this.isClick) { | ||
94 | this.focusing = true; | ||
95 | } else { | ||
96 | this.isClick = false; | ||
97 | } | ||
98 | }, 50); | ||
99 | }, | ||
100 | handleHeaderClick () { | ||
101 | if (this.disabled) return; | ||
102 | this.dispatch('ElCollapse', 'item-click', this); | ||
103 | this.focusing = false; | ||
104 | this.isClick = true; | ||
105 | }, | ||
106 | handleEnterClick () { | ||
107 | this.dispatch('ElCollapse', 'item-click', this); | ||
108 | } | ||
109 | } | ||
110 | }; | ||
111 | </script> |
src/components/collapse/src/collapse.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-11-08 14:36:44 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="el-collapse" role="tablist" aria-multiselectable="true"> | ||
8 | <slot></slot> | ||
9 | </div> | ||
10 | </template> | ||
11 | <script> | ||
12 | export default { | ||
13 | name: 'ElCollapse', | ||
14 | |||
15 | componentName: 'ElCollapse', | ||
16 | |||
17 | props: { | ||
18 | accordion: Boolean, | ||
19 | value: { | ||
20 | type: [Array, String, Number], | ||
21 | default () { | ||
22 | return []; | ||
23 | } | ||
24 | } | ||
25 | }, | ||
26 | |||
27 | data () { | ||
28 | return { | ||
29 | activeNames: [].concat(this.value) | ||
30 | }; | ||
31 | }, | ||
32 | |||
33 | provide () { | ||
34 | return { | ||
35 | collapse: this | ||
36 | }; | ||
37 | }, | ||
38 | |||
39 | watch: { | ||
40 | value (value) { | ||
41 | this.activeNames = [].concat(value); | ||
42 | } | ||
43 | }, | ||
44 | |||
45 | methods: { | ||
46 | setActiveNames (activeNames) { | ||
47 | activeNames = [].concat(activeNames); | ||
48 | let value = this.accordion ? activeNames[0] : activeNames; | ||
49 | this.activeNames = activeNames; | ||
50 | this.$emit('input', value); | ||
51 | this.$emit('change', value); | ||
52 | }, | ||
53 | handleItemClick (item) { | ||
54 | if (this.accordion) { | ||
55 | this.setActiveNames( | ||
56 | (this.activeNames[0] || this.activeNames[0] === 0) && | ||
57 | this.activeNames[0] === item.name | ||
58 | ? '' : item.name | ||
59 | ); | ||
60 | } else { | ||
61 | let activeNames = this.activeNames.slice(0); | ||
62 | let index = activeNames.indexOf(item.name); | ||
63 | |||
64 | if (index > -1) { | ||
65 | activeNames.splice(index, 1); | ||
66 | } else { | ||
67 | activeNames.push(item.name); | ||
68 | } | ||
69 | this.setActiveNames(activeNames); | ||
70 | } | ||
71 | } | ||
72 | }, | ||
73 | |||
74 | created () { | ||
75 | this.$on('item-click', this.handleItemClick); | ||
76 | } | ||
77 | }; | ||
78 | </script> |
... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
4 | * @Author: sakuya | 4 | * @Author: sakuya |
5 | * @Date: 2021年6月10日10:04:07 | 5 | * @Date: 2021年6月10日10:04:07 |
6 | * @LastEditors: Please set LastEditors | 6 | * @LastEditors: Please set LastEditors |
7 | * @LastEditTime: 2023-07-28 09:49:26 | 7 | * @LastEditTime: 2023-11-07 09:23:12 |
8 | --> | 8 | --> |
9 | 9 | ||
10 | <template> | 10 | <template> |
... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
12 | :collapse-tags-tooltip="collapseTagsTooltip" :filterable="filterable" :placeholder="placeholder" :disabled="disabled" | 12 | :collapse-tags-tooltip="collapseTagsTooltip" :filterable="filterable" :placeholder="placeholder" :disabled="disabled" |
13 | @remove-tag="removeTag" @visible-change="visibleChange" @clear="clear"> | 13 | @remove-tag="removeTag" @visible-change="visibleChange" @clear="clear"> |
14 | <template #empty> | 14 | <template #empty> |
15 | <div class="sc-table-select__table" :style="{width: tableWidth+'px'}" v-loading="loading"> | 15 | <div class="sc-table-select__table" :style="{width: '100%'}" v-loading="loading"> |
16 | <div class="sc-table-select__header"> | 16 | <div class="sc-table-select__header"> |
17 | <slot name="header" :form="formData" :submit="formSubmit"></slot> | 17 | <slot name="header" :form="formData" :submit="formSubmit"></slot> |
18 | </div> | 18 | </div> | ... | ... |
src/image/duijie.png
0 → 100644
415 KB
src/image/icons/svg/GLGXSJ.svg
0 → 100644
1 | <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1706835381250" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4224" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M320 480m32 0l320 0q32 0 32 32l0 0q0 32-32 32l-320 0q-32 0-32-32l0 0q0-32 32-32Z" p-id="4225" fill="#ffffff"></path><path d="M768 320H576a32 32 0 0 0 0 64h192a128 128 0 0 1 0 256H576a32 32 0 1 0 0 64h192a192 192 0 0 0 0-384zM448 640H256a128 128 0 0 1 0-256h192a32 32 0 0 0 0-64H256a192 192 0 0 0 0 384h192a32 32 0 1 0 0-64z" p-id="4226" fill="#ffffff"></path></svg> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/image/icons/svg/ZSXG.svg
0 → 100644
1 | <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1700016852243" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1613" id="mx_n_1700016852243" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M877.216 491.808M769.472 960 192.224 960C139.168 960 96 916.832 96 863.776L96 222.368c0-53.056 43.168-96.224 96.224-96.224l448.992 0c17.728 0 32.064 14.368 32.064 32.064 0 17.696-14.336 32.064-32.064 32.064L192.224 190.272c-17.664 0-32.064 14.4-32.064 32.064l0 641.408c0 17.696 14.4 32.064 32.064 32.064l577.28 0c17.696 0 32.064-14.368 32.064-32.064L801.568 350.656c0-17.696 14.336-32.064 32.064-32.064 17.728 0 32.064 14.368 32.064 32.064l0 513.12C865.696 916.832 822.528 960 769.472 960L769.472 960zM581.056 446.88c-8.224 0-16.416-3.136-22.656-9.408-12.544-12.544-12.544-32.8 0-45.344l318.72-318.72c12.544-12.544 32.8-12.544 45.344 0 12.544 12.544 12.544 32.8 0 45.344l-318.72 318.72C597.504 443.744 589.28 446.88 581.056 446.88L581.056 446.88zM448.768 446.88 256.352 446.88c-17.696 0-32.064-14.368-32.064-32.064 0-17.696 14.368-32.064 32.064-32.064l192.416 0c17.696 0 32.064 14.368 32.064 32.064C480.832 432.512 466.464 446.88 448.768 446.88L448.768 446.88zM641.216 639.296 256.352 639.296c-17.696 0-32.064-14.336-32.064-32.064 0-17.728 14.368-32.064 32.064-32.064l384.832 0c17.728 0 32.064 14.336 32.064 32.064C673.28 624.96 658.944 639.296 641.216 639.296L641.216 639.296zM641.216 639.296" fill="#ffffff" p-id="1614"></path></svg> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/image/pj.jpg
0 → 100644
393 KB
src/image/user.png
0 → 100644
1.08 KB
... | @@ -4,11 +4,11 @@ | ... | @@ -4,11 +4,11 @@ |
4 | <div class="logo"> | 4 | <div class="logo"> |
5 | <img v-if="logo" :src="logo" class="header-logo"> | 5 | <img v-if="logo" :src="logo" class="header-logo"> |
6 | </div> | 6 | </div> |
7 | <div class="backdrop"> | 7 | <!-- <div class="backdrop"> |
8 | <theme style="float: right;height: 26px;width: 26px;margin-top: 26px;" @change="themeChange" /> | 8 | <theme style="float: right;height: 26px;width: 26px;margin-top: 26px;" @change="themeChange" /> |
9 | </div> | 9 | </div> --> |
10 | <div class="right-menu"> | 10 | <div class="right-menu"> |
11 | <svg-icon class="function" icon-class='function' /> | 11 | <!-- <svg-icon class="function" icon-class='function' /> --> |
12 | <div class="avatar-wrapper"> | 12 | <div class="avatar-wrapper"> |
13 | <span style="padding-right:10px">{{ name }}</span> | 13 | <span style="padding-right:10px">{{ name }}</span> |
14 | <img :src="avatar + '?imageView2/1/w/80/h/80'" class="user-avatar" /> | 14 | <img :src="avatar + '?imageView2/1/w/80/h/80'" class="user-avatar" /> |
... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
25 | import { mapGetters } from 'vuex' | 25 | import { mapGetters } from 'vuex' |
26 | import NoticeBar from '@/components/NoticeBar/index' | 26 | import NoticeBar from '@/components/NoticeBar/index' |
27 | import { getHomeNoticeList } from "@/api/home" | 27 | import { getHomeNoticeList } from "@/api/home" |
28 | import {setToken} from "@/utils/util"; | 28 | import { setToken } from "@/utils/util"; |
29 | export default { | 29 | export default { |
30 | components: { | 30 | components: { |
31 | NoticeBar | 31 | NoticeBar |
... | @@ -76,7 +76,7 @@ | ... | @@ -76,7 +76,7 @@ |
76 | axios.post(window._config.services.management + "/management/logout").then(() => { | 76 | axios.post(window._config.services.management + "/management/logout").then(() => { |
77 | setToken(undefined) | 77 | setToken(undefined) |
78 | sessionStorage.removeItem('token') | 78 | sessionStorage.removeItem('token') |
79 | localStorage.setItem('dj-location',window.location.href) | 79 | localStorage.setItem('dj-location', window.location.href) |
80 | window.location.href = window._config.casBaseURL + '/logout?service=' + encodeURIComponent(window.location.href); | 80 | window.location.href = window._config.casBaseURL + '/logout?service=' + encodeURIComponent(window.location.href); |
81 | }) | 81 | }) |
82 | }, | 82 | }, | ... | ... |
... | @@ -126,6 +126,13 @@ export const asyncRoutes = [ | ... | @@ -126,6 +126,13 @@ 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 | }, { | ||
130 | path: 'ycsl', | ||
131 | id: '24', | ||
132 | parentId: '2', | ||
133 | component: () => import('@/views/ywbl/ycsl/ycsl.vue'), | ||
134 | name: 'ycsl', | ||
135 | meta: { title: '一窗受理' } | ||
129 | }, | 136 | }, |
130 | ] | 137 | ] |
131 | }, | 138 | }, |
... | @@ -294,16 +301,22 @@ export const asyncRoutes = [ | ... | @@ -294,16 +301,22 @@ export const asyncRoutes = [ |
294 | name: 'tjfx', | 301 | name: 'tjfx', |
295 | children: [ | 302 | children: [ |
296 | { | 303 | { |
297 | path: 'ywltj', | 304 | path: 'bdcdjtjfx', |
298 | component: () => import('@/views/tjfx/ywltj/index.vue'), | 305 | component: () => import('@/views/tjfx/bdcdjtjfx/index.vue'), |
299 | name: 'qyxxba', | 306 | name: 'bdcdjtjfx', |
300 | meta: { title: '业务量统计' } | 307 | meta: { title: '不动产登记统计分析' } |
308 | }, | ||
309 | { | ||
310 | path: 'tjltj', | ||
311 | component: () => import('@/views/tjfx/tjltj/index.vue'), | ||
312 | name: 'tjltj', | ||
313 | meta: { title: '退件率统计' } | ||
301 | }, | 314 | }, |
302 | { | 315 | { |
303 | path: 'gzltj', | 316 | path: 'cstj', |
304 | component: () => import('@/views/tjfx/gzltj/index.vue'), | 317 | component: () => import('@/views/tjfx/cstj/index.vue'), |
305 | name: 'gzltj', | 318 | name: 'cstj', |
306 | meta: { title: '工作量统计' } | 319 | meta: { title: '超时统计' } |
307 | } | 320 | } |
308 | ] | 321 | ] |
309 | }, | 322 | }, | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-28 15:49:38 | 4 | * @LastEditTime: 2024-02-01 08:53:08 |
5 | */ | 5 | */ |
6 | const getters = { | 6 | const getters = { |
7 | sidebar: state => state.app.sidebar, | 7 | sidebar: state => state.app.sidebar, |
... | @@ -22,6 +22,8 @@ const getters = { | ... | @@ -22,6 +22,8 @@ const getters = { |
22 | // workflow | 22 | // workflow |
23 | isRefresh: state => state.user.isRefresh, | 23 | isRefresh: state => state.user.isRefresh, |
24 | workFresh: state => state.user.workFresh, | 24 | workFresh: state => state.user.workFresh, |
25 | // 左侧菜单刷新 | ||
26 | menuRefresh: state => state.user.menuRefresh, | ||
25 | yjsqOptions: state => state.workflow.yjsqOptions, | 27 | yjsqOptions: state => state.workflow.yjsqOptions, |
26 | dqhj: state => state.getdqhj.dqhj | 28 | dqhj: state => state.getdqhj.dqhj |
27 | } | 29 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-28 16:33:19 | 4 | * @LastEditTime: 2024-02-01 08:52:00 |
5 | */ | 5 | */ |
6 | import { getUserInfo } from '@/api/user' | 6 | import { getUserInfo } from '@/api/user' |
7 | const state = { | 7 | const state = { |
8 | name: '', | 8 | name: '', |
9 | userInfo:{}, | 9 | userInfo: {}, |
10 | avatar: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', | 10 | avatar: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', |
11 | isRefresh: false, | 11 | isRefresh: false, |
12 | // 业务流程刷新 | 12 | // 业务流程刷新 |
13 | workFresh: false | 13 | workFresh: false, |
14 | // 左侧菜单刷新 | ||
15 | menuRefresh: false | ||
14 | } | 16 | } |
15 | const mutations = { | 17 | const mutations = { |
16 | SET_NAME: (state, data) => { | 18 | SET_NAME: (state, data) => { |
... | @@ -23,7 +25,10 @@ const mutations = { | ... | @@ -23,7 +25,10 @@ const mutations = { |
23 | }, | 25 | }, |
24 | SETWORKFRESH: (state, data) => { | 26 | SETWORKFRESH: (state, data) => { |
25 | state.workFresh = data | 27 | state.workFresh = data |
26 | } | 28 | }, |
29 | SETMENUREFRESH: (state, data) => { | ||
30 | state.menuRefresh = data | ||
31 | }, | ||
27 | } | 32 | } |
28 | 33 | ||
29 | const actions = { | 34 | const actions = { |
... | @@ -39,7 +44,10 @@ const actions = { | ... | @@ -39,7 +44,10 @@ const actions = { |
39 | }, | 44 | }, |
40 | reWorkFresh ({ commit }, data) { | 45 | reWorkFresh ({ commit }, data) { |
41 | commit('SETWORKFRESH', data) | 46 | commit('SETWORKFRESH', data) |
42 | } | 47 | }, |
48 | reMenuRefresh ({ commit }, data) { | ||
49 | commit('SETMENUREFRESH', data) | ||
50 | }, | ||
43 | } | 51 | } |
44 | export default { | 52 | export default { |
45 | namespaced: true, | 53 | namespaced: true, | ... | ... |
... | @@ -10,6 +10,9 @@ | ... | @@ -10,6 +10,9 @@ |
10 | line-height: 16px; | 10 | line-height: 16px; |
11 | } | 11 | } |
12 | 12 | ||
13 | |||
14 | |||
15 | |||
13 | .vue-treeselect--disabled .vue-treeselect__control { | 16 | .vue-treeselect--disabled .vue-treeselect__control { |
14 | background-color: #F5F7FA !important; | 17 | background-color: #F5F7FA !important; |
15 | } | 18 | } |
... | @@ -18,6 +21,12 @@ | ... | @@ -18,6 +21,12 @@ |
18 | color: #909399 !important; | 21 | color: #909399 !important; |
19 | } | 22 | } |
20 | 23 | ||
24 | .vue-treeselect__option { | ||
25 | /* 添加你的自定义样式 */ | ||
26 | font-size: 14px; | ||
27 | color: #606266; | ||
28 | } | ||
29 | |||
21 | //input | 30 | //input |
22 | .el-input__inner { | 31 | .el-input__inner { |
23 | padding: 0 7px !important; | 32 | padding: 0 7px !important; |
... | @@ -192,7 +201,7 @@ | ... | @@ -192,7 +201,7 @@ |
192 | 201 | ||
193 | // 表格样式 | 202 | // 表格样式 |
194 | .el-table th { | 203 | .el-table th { |
195 | height: 48px !important; | 204 | height: 45px; |
196 | font-size: 14px; | 205 | font-size: 14px; |
197 | color: #4A4A4A; | 206 | color: #4A4A4A; |
198 | } | 207 | } |
... | @@ -265,3 +274,9 @@ | ... | @@ -265,3 +274,9 @@ |
265 | bottom: 0; | 274 | bottom: 0; |
266 | border-bottom: 1px solid #1890ff; | 275 | border-bottom: 1px solid #1890ff; |
267 | } | 276 | } |
277 | |||
278 | |||
279 | // 整体配置 | ||
280 | .el-form-item--mini.el-form-item { | ||
281 | margin-bottom: 10px; | ||
282 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -20,6 +20,7 @@ | ... | @@ -20,6 +20,7 @@ |
20 | flex-wrap: wrap; | 20 | flex-wrap: wrap; |
21 | justify-content: flex-start; | 21 | justify-content: flex-start; |
22 | min-height: 30px; | 22 | min-height: 30px; |
23 | margin-bottom: 10px !important; | ||
23 | 24 | ||
24 | span { | 25 | span { |
25 | display: flex; | 26 | display: flex; |
... | @@ -78,6 +79,10 @@ | ... | @@ -78,6 +79,10 @@ |
78 | } | 79 | } |
79 | } | 80 | } |
80 | 81 | ||
82 | .from-clues-header { | ||
83 | padding-bottom: 0 !important; | ||
84 | } | ||
85 | |||
81 | //*****end*通用表单查询条件,列表样式******// | 86 | //*****end*通用表单查询条件,列表样式******// |
82 | /deep/.el-range-separator { | 87 | /deep/.el-range-separator { |
83 | line-height: 28px !important; | 88 | line-height: 28px !important; |
... | @@ -96,7 +101,7 @@ | ... | @@ -96,7 +101,7 @@ |
96 | border-bottom: 1px solid $borderColor; | 101 | border-bottom: 1px solid $borderColor; |
97 | padding-left: 10px; | 102 | padding-left: 10px; |
98 | padding-bottom: 5px; | 103 | padding-bottom: 5px; |
99 | margin-bottom: 10px; | 104 | margin-bottom: 5px; |
100 | margin-top: 5px; | 105 | margin-top: 5px; |
101 | font-size: 16px; | 106 | font-size: 16px; |
102 | font-weight: 500; | 107 | font-weight: 500; | ... | ... |
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | } | 18 | } |
19 | 19 | ||
20 | /deep/.el-form-item { | 20 | /deep/.el-form-item { |
21 | margin-bottom: 8px; | 21 | margin-bottom: 3px; |
22 | } | 22 | } |
23 | 23 | ||
24 | .marginBot0 { | 24 | .marginBot0 { |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | border-bottom: 1px solid $borderColor; | 47 | border-bottom: 1px solid $borderColor; |
48 | padding-left: 10px; | 48 | padding-left: 10px; |
49 | padding-bottom: 5px; | 49 | padding-bottom: 5px; |
50 | margin-bottom: 10px; | 50 | margin-bottom: 5px; |
51 | margin-top: 5px; | 51 | margin-top: 5px; |
52 | font-size: 16px; | 52 | font-size: 16px; |
53 | font-weight: 500; | 53 | font-weight: 500; |
... | @@ -74,7 +74,6 @@ | ... | @@ -74,7 +74,6 @@ |
74 | text-align: center; | 74 | text-align: center; |
75 | padding-top: 10px; | 75 | padding-top: 10px; |
76 | height: 36px; | 76 | height: 36px; |
77 | background-color: #ffffff; | ||
78 | padding: 5px 0; | 77 | padding: 5px 0; |
79 | } | 78 | } |
80 | 79 | ||
... | @@ -93,7 +92,9 @@ | ... | @@ -93,7 +92,9 @@ |
93 | /deep/.el-form-item__label { | 92 | /deep/.el-form-item__label { |
94 | padding-bottom: 0px; | 93 | padding-bottom: 0px; |
95 | } | 94 | } |
96 | 95 | /deep/.el-form-item__error { | |
96 | display: none; | ||
97 | } | ||
97 | // 控制表单是否只读 | 98 | // 控制表单是否只读 |
98 | .readonly { | 99 | .readonly { |
99 | /deep/.el-form-item__content { | 100 | /deep/.el-form-item__content { | ... | ... |
1 | .tableDivCss { | 1 | .tableDivCss { |
2 | width: 100%; | 2 | width: 100%; |
3 | height: 100%; | 3 | height: 95%; |
4 | background-color: #f5f5f5; | 4 | background-color: #f5f5f5; |
5 | padding: 5px; | 5 | padding: 5px; |
6 | overflow-y: scroll; | 6 | overflow-y: scroll; |
7 | box-sizing: border-box; | ||
7 | } | 8 | } |
8 | 9 | ||
9 | .tableCss { | 10 | .tableCss { | ... | ... |
... | @@ -58,6 +58,65 @@ export default class filter { | ... | @@ -58,6 +58,65 @@ export default class filter { |
58 | return name | 58 | return name |
59 | } | 59 | } |
60 | } | 60 | } |
61 | |||
62 | /** | ||
63 | * @description: blzt | ||
64 | * @param {*} val | ||
65 | * @author: | ||
66 | */ | ||
67 | blzt (val) { | ||
68 | if (val === 0) { | ||
69 | return "未提交" | ||
70 | } else if (val === 1) { | ||
71 | return "已提交" | ||
72 | } else if (val === 2) { | ||
73 | return "办理中" | ||
74 | } else if (val === 3) { | ||
75 | return "已办结" | ||
76 | } else if (val === 4) { | ||
77 | return "已终止" | ||
78 | } else if (val === 5) { | ||
79 | return "已退回" | ||
80 | } else if (val === 8) { | ||
81 | return "已登簿" | ||
82 | } | ||
83 | } | ||
84 | |||
85 | /** | ||
86 | * @description: ywlx | ||
87 | * @param {*} val | ||
88 | * @author: | ||
89 | */ | ||
90 | ywlx (val) { | ||
91 | if (val === "1") { | ||
92 | return "预售商品房买卖预告登记" | ||
93 | } else if (val === "2") { | ||
94 | return "预售商品房抵押权预告登记" | ||
95 | } else if (val === "3") { | ||
96 | return "商品房初始登记" | ||
97 | } else if (val === "4") { | ||
98 | return "不动产抵押登记" | ||
99 | } else if (val === "5") { | ||
100 | return "预购商品房预告登记/预购商品房抵押登记" | ||
101 | } else if (val === "6") { | ||
102 | return "预售商品房预告登记转房屋所有权登记/预售商品房抵押登记转抵押权登记" | ||
103 | } else if (val === "7") { | ||
104 | return "查封登记" | ||
105 | } else if (val === "8") { | ||
106 | return "解封登记" | ||
107 | } else if (val === "9") { | ||
108 | return "商品房转移登记" | ||
109 | } else if (val === "10") { | ||
110 | return "存量房转移登记" | ||
111 | } else if (val === "23") { | ||
112 | return "续封登记" | ||
113 | } else if (val === "41") { | ||
114 | return "独幢宅基地首次登记" | ||
115 | } else if (val === "42") { | ||
116 | return "多幢宅基地首次登记" | ||
117 | } | ||
118 | } | ||
119 | |||
61 | /** | 120 | /** |
62 | * @description: filterHtml | 121 | * @description: filterHtml |
63 | * @param {*} content | 122 | * @param {*} content | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-30 09:01:21 | 4 | * @LastEditTime: 2023-11-14 13:28:47 |
5 | */ | 5 | */ |
6 | import { mapGetters } from 'vuex' | 6 | import { mapGetters } from 'vuex' |
7 | import { defaultParameters } from "../../views/ywbl/ywsq/javascript/publicDefaultPar"; | 7 | import { defaultParameters } from "../../views/ywbl/ywsq/javascript/publicDefaultPar"; |
... | @@ -29,7 +29,6 @@ export default { | ... | @@ -29,7 +29,6 @@ export default { |
29 | */ | 29 | */ |
30 | handkeyCode (e) { | 30 | handkeyCode (e) { |
31 | if (e.keyCode === 13) { | 31 | if (e.keyCode === 13) { |
32 | console.log("安"); | ||
33 | this.handleSearch() | 32 | this.handleSearch() |
34 | } | 33 | } |
35 | }, | 34 | }, | ... | ... |
src/utils/mixin/ywsqTable.js
0 → 100644
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-11-22 13:42:26 | ||
5 | */ | ||
6 | import { mapGetters } from 'vuex' | ||
7 | import { defaultParameters } from "../../views/ywbl/ywsq/javascript/publicDefaultPar"; | ||
8 | export default { | ||
9 | data () { | ||
10 | return { | ||
11 | pageData: { | ||
12 | currentPage: 1, | ||
13 | pageSize: 10 | ||
14 | } | ||
15 | } | ||
16 | }, | ||
17 | computed: { | ||
18 | ...mapGetters(['dictData']), | ||
19 | }, | ||
20 | mounted () { | ||
21 | window.addEventListener('keydown', this.handkeyCode, true)//开启监听键盘按下事件 | ||
22 | this.handleSearch() | ||
23 | }, | ||
24 | methods: { | ||
25 | /** | ||
26 | * @description: handkeyCode | ||
27 | * @param {*} e | ||
28 | * @author: renchao | ||
29 | */ | ||
30 | handkeyCode (e) { | ||
31 | if (e.keyCode === 13) { | ||
32 | this.handleSearch() | ||
33 | } | ||
34 | }, | ||
35 | /** | ||
36 | * @description: handleSearch | ||
37 | * @author: renchao | ||
38 | */ | ||
39 | handleSearch () { | ||
40 | this.pageData.currentPage = 1 | ||
41 | if (this.fetchData) { | ||
42 | this.fetchData() | ||
43 | } | ||
44 | if (this.queryClick) { | ||
45 | this.queryClick() | ||
46 | } | ||
47 | }, | ||
48 | /** | ||
49 | * @description: handleSizeChange | ||
50 | * @param {*} val | ||
51 | * @author: renchao | ||
52 | */ | ||
53 | handleSizeChange (val) { | ||
54 | this.pageData.currentPage = 1 | ||
55 | this.pageData.pageSize = val | ||
56 | this.queryClick() | ||
57 | }, | ||
58 | /** | ||
59 | * @description: handleCurrentChange | ||
60 | * @param {*} val | ||
61 | * @author: renchao | ||
62 | */ | ||
63 | handleCurrentChange (val) { | ||
64 | this.pageData.currentPage = val | ||
65 | if (this.queryClick) { | ||
66 | this.queryClick() | ||
67 | } | ||
68 | }, | ||
69 | /** | ||
70 | * @description: handleDel | ||
71 | * @author: renchao | ||
72 | */ | ||
73 | handleDel () { | ||
74 | let deleteAfterPage = Math.ceil((this.tableData.total - 1) / this.pageData.pageSize) | ||
75 | let currentPage = this.pageData.currentPage > deleteAfterPage ? deleteAfterPage : this.pageData.currentPage | ||
76 | this.pageData.currentPage = currentPage < 1 ? 1 : currentPage | ||
77 | }, | ||
78 | /** | ||
79 | * @description: resetForm | ||
80 | * @param {*} isYwbl | ||
81 | * @author: renchao | ||
82 | */ | ||
83 | resetForm (isYwbl) { | ||
84 | if (isYwbl) { | ||
85 | this.queryForm = defaultParameters.defaultParameters(); | ||
86 | this.pageData.currentPage = 1; | ||
87 | this.queryClick() | ||
88 | } | ||
89 | } | ||
90 | } | ||
91 | } |
... | @@ -66,7 +66,6 @@ export function judgeSort (arr) { | ... | @@ -66,7 +66,6 @@ export function judgeSort (arr) { |
66 | } | 66 | } |
67 | return arr | 67 | return arr |
68 | } | 68 | } |
69 | // 上下移动 | ||
70 | /** | 69 | /** |
71 | * @description: 上下移动 | 70 | * @description: 上下移动 |
72 | * @param {*} bsmDict | 71 | * @param {*} bsmDict |
... | @@ -98,7 +97,6 @@ export function realMove (bsmDict, operate, data) { | ... | @@ -98,7 +97,6 @@ export function realMove (bsmDict, operate, data) { |
98 | } | 97 | } |
99 | data = judgeSort(changeSort(data, bsmDict)); | 98 | data = judgeSort(changeSort(data, bsmDict)); |
100 | } | 99 | } |
101 | // 获取所有父节点 | ||
102 | /** | 100 | /** |
103 | * @description: 获取所有父节点 | 101 | * @description: 获取所有父节点 |
104 | * @param {*} treeData | 102 | * @param {*} treeData |
... | @@ -161,9 +159,38 @@ export function down (index, data) { | ... | @@ -161,9 +159,38 @@ export function down (index, data) { |
161 | * @author: renchao | 159 | * @author: renchao |
162 | */ | 160 | */ |
163 | export function getIdCardInfo (level) { | 161 | export function getIdCardInfo (level) { |
162 | var webSocket = new WebSocket('ws://localhost:1818'); | ||
163 | |||
164 | function start () { | ||
165 | return new Promise((resolve, reject) => { | ||
166 | webSocket.onopen = function (event) { | ||
167 | webSocket.send('ReadCard(1001,d:\\)'); | ||
168 | } | ||
169 | webSocket.onerror = function (error) { | ||
170 | console.error('WebSocket发生错误:', error); | ||
171 | } | ||
172 | |||
173 | webSocket.onclose = function (event) { | ||
174 | if (event.wasClean) { | ||
175 | console.log(`WebSocket连接已关闭,代码: ${event.code}, 原因: ${event.reason}`); | ||
176 | } else { | ||
177 | console.error('WebSocket连接断开'); // 例如,服务器断电导致连接中断 | ||
178 | } | ||
179 | } | ||
180 | webSocket.onmessage = function (event) { | ||
181 | if (event.data.indexOf('BeginReadCard') >= 0) { | ||
182 | // 处理数据并返回结果 | ||
183 | const processedData = event.data.replace('BeginReadCard', '').replace('EndReadCard', ''); | ||
184 | // 返回处理后的数据 | ||
185 | resolve(processedData); | ||
186 | } | ||
187 | } | ||
188 | }) | ||
189 | } | ||
164 | const resultMap = { | 190 | const resultMap = { |
165 | A: '设备', | 191 | jy: start(), |
166 | default: axios.post(Vue.prototype.BASE_API.IDCARDURL), | 192 | lt: axios.post(Vue.prototype.BASE_API.IDCARDURL), |
193 | default: axios.post(Vue.prototype.BASE_API.IDCARDURL) | ||
167 | } | 194 | } |
168 | return resultMap[level] || resultMap.default | 195 | return resultMap[level] || resultMap.default |
169 | } | 196 | } | ... | ... |
... | @@ -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 | }) | ... | ... |
src/utils/sqs/adapter.js
0 → 100644
1 | /* | ||
2 | * @Description: 申请书 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-11-20 15:42:45 | ||
5 | */ | ||
6 | import Vue from 'vue' | ||
7 | // 创建不同的适配器策略 | ||
8 | const strategies = { | ||
9 | dysqs: function (data) { | ||
10 | return data.name; | ||
11 | }, | ||
12 | default: function (data) { | ||
13 | return data; | ||
14 | } | ||
15 | }; | ||
16 | |||
17 | // 创建适配器函数,并使用策略模式进行数据处理 | ||
18 | export default function adapter (data) { | ||
19 | const type = Vue.prototype.BASE_API.adapter; | ||
20 | const selectedStrategy = strategies[type] || strategies['default']; | ||
21 | |||
22 | return selectedStrategy(data); | ||
23 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -4,7 +4,7 @@ import cookies from './util.cookies' | ... | @@ -4,7 +4,7 @@ import cookies from './util.cookies' |
4 | * @param {*} paraName | 4 | * @param {*} paraName |
5 | * @author: renchao | 5 | * @author: renchao |
6 | */ | 6 | */ |
7 | export function getUrlParam (paraName) { | 7 | export function getUrlParam(paraName) { |
8 | let url = document.location.toString(); | 8 | let url = document.location.toString(); |
9 | let arrObj = url.split('?'); | 9 | let arrObj = url.split('?'); |
10 | 10 | ||
... | @@ -31,7 +31,7 @@ export function getUrlParam (paraName) { | ... | @@ -31,7 +31,7 @@ export function getUrlParam (paraName) { |
31 | * @param {*} token | 31 | * @param {*} token |
32 | * @author: renchao | 32 | * @author: renchao |
33 | */ | 33 | */ |
34 | export function setToken (token) { | 34 | export function setToken(token) { |
35 | if (token === undefined) { | 35 | if (token === undefined) { |
36 | if (process.env.NODE_ENV === 'development') { | 36 | if (process.env.NODE_ENV === 'development') { |
37 | sessionStorage.removeItem('token') | 37 | sessionStorage.removeItem('token') |
... | @@ -50,7 +50,7 @@ export function setToken (token) { | ... | @@ -50,7 +50,7 @@ export function setToken (token) { |
50 | * @description: getToken | 50 | * @description: getToken |
51 | * @author: renchao | 51 | * @author: renchao |
52 | */ | 52 | */ |
53 | export function getToken () { | 53 | export function getToken() { |
54 | if (process.env.NODE_ENV === 'development') { | 54 | if (process.env.NODE_ENV === 'development') { |
55 | return sessionStorage.getItem('token') | 55 | return sessionStorage.getItem('token') |
56 | } | 56 | } |
... | @@ -63,7 +63,7 @@ export function getToken () { | ... | @@ -63,7 +63,7 @@ export function getToken () { |
63 | * @param {*} type | 63 | * @param {*} type |
64 | * @author: renchao | 64 | * @author: renchao |
65 | */ | 65 | */ |
66 | export function getNewDate (type = 1) { | 66 | export function getNewDate(type = 1) { |
67 | const now = new Date(); | 67 | const now = new Date(); |
68 | const year = now.getFullYear(); | 68 | const year = now.getFullYear(); |
69 | const month = String(now.getMonth() + 1).padStart(2, '0'); | 69 | const month = String(now.getMonth() + 1).padStart(2, '0'); |
... | @@ -78,7 +78,7 @@ export function getNewDate (type = 1) { | ... | @@ -78,7 +78,7 @@ export function getNewDate (type = 1) { |
78 | } | 78 | } |
79 | } | 79 | } |
80 | 80 | ||
81 | export function getNewDatesh () { | 81 | export function getNewDatesh() { |
82 | const now = new Date(); | 82 | const now = new Date(); |
83 | const year = now.getFullYear(); | 83 | const year = now.getFullYear(); |
84 | const month = String(now.getMonth() + 1).padStart(2, '0'); | 84 | const month = String(now.getMonth() + 1).padStart(2, '0'); |
... | @@ -88,3 +88,31 @@ export function getNewDatesh () { | ... | @@ -88,3 +88,31 @@ export function getNewDatesh () { |
88 | const seconds = String(now.getSeconds()).padStart(2, '0'); | 88 | const seconds = String(now.getSeconds()).padStart(2, '0'); |
89 | return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}` | 89 | return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}` |
90 | } | 90 | } |
91 | |||
92 | // 近一个月时间 | ||
93 | export function getdatamonth() { | ||
94 | var tempDate = new Date(); | ||
95 | var year = tempDate.getFullYear(); | ||
96 | var month = tempDate.getMonth(); | ||
97 | var arr = [] | ||
98 | arr.push( | ||
99 | formatDate(new Date(year, month, 1)), | ||
100 | formatDate(tempDate) | ||
101 | ); | ||
102 | return arr | ||
103 | } | ||
104 | // 格式化日期 | ||
105 | export function formatDate(date) { | ||
106 | var year = date.getFullYear(); | ||
107 | var month = changeNum(date.getMonth() + 1); | ||
108 | var day = changeNum(date.getDate()); | ||
109 | return `${year}-${month}-${day}`; | ||
110 | } | ||
111 | // 数字转换 | ||
112 | export function changeNum(num) { | ||
113 | if (num >= 10) { | ||
114 | return num; | ||
115 | } else { | ||
116 | return "0" + num; | ||
117 | } | ||
118 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-31 14:39:57 | 4 | * @LastEditTime: 2023-12-14 16:42:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="rlPopup"> | 7 | <div class="rlPopup"> |
... | @@ -12,7 +12,8 @@ | ... | @@ -12,7 +12,8 @@ |
12 | <i class="el-icon-arrow-right"></i> | 12 | <i class="el-icon-arrow-right"></i> |
13 | </div> | 13 | </div> |
14 | <div class="img-list-wrap" v-Loading="loading"> | 14 | <div class="img-list-wrap" v-Loading="loading"> |
15 | <img src="http://127.0.0.1:38088/video=stream&camidx=0" v-if="isScan" alt="高拍仪"> | 15 | <img id="photo" src="" v-if="isScan && this.BASE_API.gaopaiyi=='jy'" alt="高拍仪捷宇"> |
16 | <img src="http://127.0.0.1:38088/video=stream&camidx=0" v-else-if="isScan && this.BASE_API.gaopaiyi=='lt'" alt="高拍仪良田"> | ||
16 | <div v-for="(img, i) in previewImg.imgList" :key="i" v-else> | 17 | <div v-for="(img, i) in previewImg.imgList" :key="i" v-else> |
17 | <photo-zoom :url="img.fjurl" :bigWidth="165" v-if="i === previewImg.index" :scale="2" | 18 | <photo-zoom :url="img.fjurl" :bigWidth="165" v-if="i === previewImg.index" :scale="2" |
18 | overlayStyle="width: 100%;height:100%"> | 19 | overlayStyle="width: 100%;height:100%"> |
... | @@ -89,6 +90,7 @@ | ... | @@ -89,6 +90,7 @@ |
89 | showViewer: false, | 90 | showViewer: false, |
90 | initialIndex: 0, | 91 | initialIndex: 0, |
91 | allLi: [], | 92 | allLi: [], |
93 | webSocket: null | ||
92 | } | 94 | } |
93 | }, | 95 | }, |
94 | watch: { | 96 | watch: { |
... | @@ -125,6 +127,7 @@ | ... | @@ -125,6 +127,7 @@ |
125 | * @author: renchao | 127 | * @author: renchao |
126 | */ | 128 | */ |
127 | handleOpenScan () { | 129 | handleOpenScan () { |
130 | let that = this | ||
128 | this.isScan = !this.isScan | 131 | this.isScan = !this.isScan |
129 | if (this.isScan) { | 132 | if (this.isScan) { |
130 | this.loading = true | 133 | this.loading = true |
... | @@ -139,6 +142,38 @@ | ... | @@ -139,6 +142,38 @@ |
139 | } else { | 142 | } else { |
140 | this.scanTitle = '打开高拍仪' | 143 | this.scanTitle = '打开高拍仪' |
141 | } | 144 | } |
145 | if (this.BASE_API.gaopaiyi == 'jy') { | ||
146 | let webSocket = new WebSocket('ws://localhost:1818'); | ||
147 | this.webSocket = webSocket | ||
148 | webSocket.onopen = function (event) { | ||
149 | webSocket.send('bStartPlay') | ||
150 | webSocket.send('vSetPreviewRect(1600,1200)') | ||
151 | }; | ||
152 | webSocket.onmessage = function (event) { | ||
153 | let begin_data = "data:image/jpeg;base64,"; | ||
154 | document.getElementById('photo').src = begin_data + event.data; | ||
155 | if (event.data.indexOf('BeginsGetBase64') >= 0) { | ||
156 | let blob = that.dataURLtoBlob('data:image/png;base64,' + event.data.replace('BeginsGetBase64', '').replace('EndsGetBase64', '')); | ||
157 | let file = that.blobToFile(blob); | ||
158 | var formData = new FormData(); | ||
159 | formData.append('file', file) | ||
160 | formData.append("bsmSj", that.previewImg.bsmSj); | ||
161 | formData.append("bsmSlsq", that.previewImg.bsmSlsq); | ||
162 | if (that.previewImg.imgList.length > 0) { | ||
163 | formData.append("ssBsmClmx", that.previewImg.imgList[that.previewImg.index].bsmClmx); | ||
164 | } | ||
165 | uploadSjClmx(formData).then((res) => { | ||
166 | if (res.code == 200) { | ||
167 | that.$emit('updateList', { children: res.result, bsmSj: that.previewImg.bsmSj }) | ||
168 | that.$message({ | ||
169 | message: '上传成功!', | ||
170 | type: 'success' | ||
171 | }) | ||
172 | } | ||
173 | }) | ||
174 | } | ||
175 | } | ||
176 | } | ||
142 | }, | 177 | }, |
143 | // 左右移动 | 178 | // 左右移动 |
144 | handleMove (direction) { | 179 | handleMove (direction) { |
... | @@ -164,8 +199,7 @@ | ... | @@ -164,8 +199,7 @@ |
164 | * @description: 拍照 | 199 | * @description: 拍照 |
165 | * @author: renchao | 200 | * @author: renchao |
166 | */ | 201 | */ |
167 | handleViewScan () { | 202 | dataURLtoBlob (base64String) { |
168 | function dataURLtoBlob (base64String) { | ||
169 | const arr = base64String.split(','); | 203 | const arr = base64String.split(','); |
170 | if (arr.length !== 2) { | 204 | if (arr.length !== 2) { |
171 | throw new Error('Invalid Base64 format'); | 205 | throw new Error('Invalid Base64 format'); |
... | @@ -181,15 +215,20 @@ | ... | @@ -181,15 +215,20 @@ |
181 | u8arr[i] = bstr.charCodeAt(i); | 215 | u8arr[i] = bstr.charCodeAt(i); |
182 | } | 216 | } |
183 | return new Blob([u8arr], { type: mime }); | 217 | return new Blob([u8arr], { type: mime }); |
184 | } | 218 | }, |
185 | function blobToFile (blob) { | 219 | blobToFile (blob) { |
186 | let name = getUuid(8) + '.jpg' | 220 | let name = getUuid(8) + '.jpg' |
187 | const file = new File([blob], name); | 221 | const file = new File([blob], name); |
188 | return file; | 222 | return file; |
223 | }, | ||
224 | handleViewScan () { | ||
225 | if (this.BASE_API.gaopaiyi == 'jy') { | ||
226 | this.webSocket.send('sGetBase64'); | ||
227 | return | ||
189 | } | 228 | } |
190 | getAltimeterInfo().then(res => { | 229 | getAltimeterInfo().then(res => { |
191 | let blob = dataURLtoBlob('data:image/png;base64,' + res.data.photoBase64); | 230 | let blob = this.dataURLtoBlob('data:image/png;base64,' + res.data.photoBase64); |
192 | let file = blobToFile(blob); | 231 | let file = this.blobToFile(blob); |
193 | var formData = new FormData(); | 232 | var formData = new FormData(); |
194 | formData.append('file', file) | 233 | formData.append('file', file) |
195 | formData.append("bsmSj", this.previewImg.bsmSj); | 234 | formData.append("bsmSj", this.previewImg.bsmSj); |
... | @@ -329,6 +368,7 @@ | ... | @@ -329,6 +368,7 @@ |
329 | deleteClmx(bsmClmx).then(res => { | 368 | deleteClmx(bsmClmx).then(res => { |
330 | if (res.code == 200) { | 369 | if (res.code == 200) { |
331 | that.$emit('updateList', { children: this.previewImg.imgList, bsmSj: bsmSj }) | 370 | that.$emit('updateList', { children: this.previewImg.imgList, bsmSj: bsmSj }) |
371 | that.initialIndex = that.previewImg.index | ||
332 | that.$message({ | 372 | that.$message({ |
333 | message: '删除成功!', | 373 | message: '删除成功!', |
334 | type: 'success' | 374 | type: 'success' |
... | @@ -361,7 +401,7 @@ | ... | @@ -361,7 +401,7 @@ |
361 | height: 66px; | 401 | height: 66px; |
362 | line-height: 75px; | 402 | line-height: 75px; |
363 | color: #fff; | 403 | color: #fff; |
364 | background-color: rgb(239, 239, 239); | 404 | background-color: #ccc; |
365 | border-radius: 50%; | 405 | border-radius: 50%; |
366 | cursor: pointer; | 406 | cursor: pointer; |
367 | text-align: center; | 407 | text-align: center; |
... | @@ -397,7 +437,8 @@ | ... | @@ -397,7 +437,8 @@ |
397 | display: block; | 437 | display: block; |
398 | object-fit: scale-down; | 438 | object-fit: scale-down; |
399 | transition: all 0.3s; | 439 | transition: all 0.3s; |
400 | max-width: 100%; | 440 | width: 100%; |
441 | height: 100%; | ||
401 | } | 442 | } |
402 | } | 443 | } |
403 | 444 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-01 08:55:44 | 4 | * @LastEditTime: 2023-12-15 14:42:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="rlPopup"> | 7 | <div class="rlPopup"> |
... | @@ -12,7 +12,8 @@ | ... | @@ -12,7 +12,8 @@ |
12 | <i class="el-icon-arrow-right"></i> | 12 | <i class="el-icon-arrow-right"></i> |
13 | </div> | 13 | </div> |
14 | <div class="img-list-wrap" v-Loading="loading"> | 14 | <div class="img-list-wrap" v-Loading="loading"> |
15 | <img src="http://127.0.0.1:38088/video=stream&camidx=0" v-if="isScan" alt="高拍仪"> | 15 | <img id="photo" src="" v-show="isScan && this.BASE_API.gaopaiyi=='jy'" alt="高拍仪捷宇"> |
16 | <img src="http://127.0.0.1:38088/video=stream&camidx=0" v-if="isScan && this.BASE_API.gaopaiyi=='lt'" alt="高拍仪"> | ||
16 | <div v-for="(img, i) in previewImg.imgList" :key="i" v-else> | 17 | <div v-for="(img, i) in previewImg.imgList" :key="i" v-else> |
17 | <photo-zoom :url="img.fjurl" :bigWidth="165" v-if="i === previewImg.index" :scale="2" | 18 | <photo-zoom :url="img.fjurl" :bigWidth="165" v-if="i === previewImg.index" :scale="2" |
18 | overlayStyle="width: 100%;height:100%"> | 19 | overlayStyle="width: 100%;height:100%"> |
... | @@ -89,6 +90,7 @@ | ... | @@ -89,6 +90,7 @@ |
89 | showViewer: false, | 90 | showViewer: false, |
90 | initialIndex: 0, | 91 | initialIndex: 0, |
91 | allLi: [], | 92 | allLi: [], |
93 | webSocket: null | ||
92 | } | 94 | } |
93 | }, | 95 | }, |
94 | watch: { | 96 | watch: { |
... | @@ -125,6 +127,7 @@ | ... | @@ -125,6 +127,7 @@ |
125 | * @author: renchao | 127 | * @author: renchao |
126 | */ | 128 | */ |
127 | handleOpenScan () { | 129 | handleOpenScan () { |
130 | let that = this | ||
128 | this.isScan = !this.isScan | 131 | this.isScan = !this.isScan |
129 | if (this.isScan) { | 132 | if (this.isScan) { |
130 | this.loading = true | 133 | this.loading = true |
... | @@ -139,6 +142,37 @@ | ... | @@ -139,6 +142,37 @@ |
139 | } else { | 142 | } else { |
140 | this.scanTitle = '打开高拍仪' | 143 | this.scanTitle = '打开高拍仪' |
141 | } | 144 | } |
145 | if (this.BASE_API.gaopaiyi == 'jy') { | ||
146 | let webSocket = new WebSocket('ws://localhost:1818'); | ||
147 | this.webSocket = webSocket | ||
148 | webSocket.onopen = function (event) { | ||
149 | webSocket.send('bStartPlay') | ||
150 | webSocket.send('vSetPreviewRect(1600,1200)') | ||
151 | } | ||
152 | webSocket.onmessage = function (event) { | ||
153 | let begin_data = "data:image/jpeg;base64,"; | ||
154 | document.getElementById('photo').src = begin_data + event.data; | ||
155 | if (event.data.indexOf('BeginsGetBase64') >= 0) { | ||
156 | let blob = that.dataURLtoBlob('data:image/png;base64,' + event.data.replace('BeginsGetBase64', '').replace('EndsGetBase64', '')); | ||
157 | let file = that.blobToFile(blob); | ||
158 | var formData = new FormData(); | ||
159 | formData.append('file', file) | ||
160 | formData.append("bsmSj", that.previewImg.bsmSj); | ||
161 | if (that.previewImg.imgList.length > 0) { | ||
162 | formData.append("index", that.previewImg.imgList[that.previewImg.index].sxh); | ||
163 | } | ||
164 | uploadSjClmx(formData).then((res) => { | ||
165 | if (res.code == 200) { | ||
166 | that.$emit('updateList', { children: res.result, bsmSj: that.previewImg.bsmSj }) | ||
167 | that.$message({ | ||
168 | message: '上传成功!', | ||
169 | type: 'success' | ||
170 | }) | ||
171 | } | ||
172 | }) | ||
173 | } | ||
174 | } | ||
175 | } | ||
142 | }, | 176 | }, |
143 | // 左右移动 | 177 | // 左右移动 |
144 | handleMove (direction) { | 178 | handleMove (direction) { |
... | @@ -164,8 +198,7 @@ | ... | @@ -164,8 +198,7 @@ |
164 | * @description: 拍照 | 198 | * @description: 拍照 |
165 | * @author: renchao | 199 | * @author: renchao |
166 | */ | 200 | */ |
167 | handleViewScan () { | 201 | dataURLtoBlob (base64String) { |
168 | function dataURLtoBlob (base64String) { | ||
169 | const arr = base64String.split(','); | 202 | const arr = base64String.split(','); |
170 | if (arr.length !== 2) { | 203 | if (arr.length !== 2) { |
171 | throw new Error('Invalid Base64 format'); | 204 | throw new Error('Invalid Base64 format'); |
... | @@ -181,11 +214,16 @@ | ... | @@ -181,11 +214,16 @@ |
181 | u8arr[i] = bstr.charCodeAt(i); | 214 | u8arr[i] = bstr.charCodeAt(i); |
182 | } | 215 | } |
183 | return new Blob([u8arr], { type: mime }); | 216 | return new Blob([u8arr], { type: mime }); |
184 | } | 217 | }, |
185 | function blobToFile (blob) { | 218 | blobToFile (blob) { |
186 | let name = getUuid(8) + '.jpg' | 219 | let name = getUuid(8) + '.jpg' |
187 | const file = new File([blob], name); | 220 | const file = new File([blob], name); |
188 | return file; | 221 | return file; |
222 | }, | ||
223 | handleViewScan () { | ||
224 | if (this.BASE_API.gaopaiyi == 'jy') { | ||
225 | this.webSocket.send('sGetBase64'); | ||
226 | return | ||
189 | } | 227 | } |
190 | getAltimeterInfo().then(res => { | 228 | getAltimeterInfo().then(res => { |
191 | let blob = dataURLtoBlob('data:image/png;base64,' + res.data.photoBase64); | 229 | let blob = dataURLtoBlob('data:image/png;base64,' + res.data.photoBase64); |
... | @@ -328,6 +366,7 @@ | ... | @@ -328,6 +366,7 @@ |
328 | deleteClmx(bsmClmx).then(res => { | 366 | deleteClmx(bsmClmx).then(res => { |
329 | if (res.code == 200) { | 367 | if (res.code == 200) { |
330 | that.$emit('updateList', { children: this.previewImg.imgList, bsmSj: bsmSj }) | 368 | that.$emit('updateList', { children: this.previewImg.imgList, bsmSj: bsmSj }) |
369 | that.initialIndex = that.previewImg.index | ||
331 | that.$message({ | 370 | that.$message({ |
332 | message: '删除成功!', | 371 | message: '删除成功!', |
333 | type: 'success' | 372 | type: 'success' |
... | @@ -360,7 +399,7 @@ | ... | @@ -360,7 +399,7 @@ |
360 | height: 66px; | 399 | height: 66px; |
361 | line-height: 75px; | 400 | line-height: 75px; |
362 | color: #fff; | 401 | color: #fff; |
363 | background-color: rgb(239, 239, 239); | 402 | background-color: #ccc; |
364 | border-radius: 50%; | 403 | border-radius: 50%; |
365 | cursor: pointer; | 404 | cursor: pointer; |
366 | text-align: center; | 405 | text-align: center; |
... | @@ -396,7 +435,8 @@ | ... | @@ -396,7 +435,8 @@ |
396 | display: block; | 435 | display: block; |
397 | object-fit: scale-down; | 436 | object-fit: scale-down; |
398 | transition: all 0.3s; | 437 | transition: all 0.3s; |
399 | max-width: 100%; | 438 | width: 100%; |
439 | height: 100%; | ||
400 | } | 440 | } |
401 | } | 441 | } |
402 | 442 | ... | ... |
... | @@ -46,6 +46,7 @@ | ... | @@ -46,6 +46,7 @@ |
46 | </div> | 46 | </div> |
47 | <image-preview | 47 | <image-preview |
48 | ref="imageRef" | 48 | ref="imageRef" |
49 | :key="imgKey" | ||
49 | v-if="tableData.length > 0" | 50 | v-if="tableData.length > 0" |
50 | :previewImg="previewImg" | 51 | :previewImg="previewImg" |
51 | @updateList="updateList" | 52 | @updateList="updateList" |
... | @@ -75,6 +76,7 @@ | ... | @@ -75,6 +76,7 @@ |
75 | }, | 76 | }, |
76 | data () { | 77 | data () { |
77 | return { | 78 | return { |
79 | imgKey: 0, | ||
78 | isDialog: false, | 80 | isDialog: false, |
79 | iclass: "", | 81 | iclass: "", |
80 | // 材料目录选中 | 82 | // 材料目录选中 |
... | @@ -284,6 +286,7 @@ | ... | @@ -284,6 +286,7 @@ |
284 | if (this.$refs.imageRef) { | 286 | if (this.$refs.imageRef) { |
285 | this.$refs.imageRef.initialIndex = 0 | 287 | this.$refs.imageRef.initialIndex = 0 |
286 | } | 288 | } |
289 | this.imgKey++ | ||
287 | }, | 290 | }, |
288 | /** | 291 | /** |
289 | * @description: 小图片点击 | 292 | * @description: 小图片点击 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-17 13:18:17 | 4 | * @LastEditTime: 2023-12-29 10:00:31 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
... | @@ -31,23 +31,13 @@ | ... | @@ -31,23 +31,13 @@ |
31 | </el-form-item> | 31 | </el-form-item> |
32 | <el-row> | 32 | <el-row> |
33 | <el-col :span="8"> | 33 | <el-col :span="8"> |
34 | <el-form-item label="权利人类型" prop="qlrlx"> | 34 | <el-form-item label="头像"> |
35 | <el-select | 35 | <el-image style="width:102px;height:126px" :src="ruleForm.avatar || avatar" fit="contain" /> |
36 | clearable | ||
37 | v-model="ruleForm.qlrlx" | ||
38 | class="width100" | ||
39 | :disabled="!showButton" | ||
40 | placeholder="请选择"> | ||
41 | <el-option | ||
42 | v-for="item in dictData['A36']" | ||
43 | :key="item.dcode" | ||
44 | :label="item.dname" | ||
45 | :value="item.dcode"> | ||
46 | </el-option> | ||
47 | </el-select> | ||
48 | </el-form-item> | 36 | </el-form-item> |
49 | </el-col> | 37 | </el-col> |
50 | <el-col :span="8"> | 38 | <el-col :span="16"> |
39 | <el-row> | ||
40 | <el-col :span="12"> | ||
51 | <el-form-item label="姓名/名称" prop="qlrmc"> | 41 | <el-form-item label="姓名/名称" prop="qlrmc"> |
52 | <el-input | 42 | <el-input |
53 | v-model="ruleForm.qlrmc" | 43 | v-model="ruleForm.qlrmc" |
... | @@ -55,7 +45,7 @@ | ... | @@ -55,7 +45,7 @@ |
55 | :disabled="!showButton"></el-input> | 45 | :disabled="!showButton"></el-input> |
56 | </el-form-item> | 46 | </el-form-item> |
57 | </el-col> | 47 | </el-col> |
58 | <el-col :span="8"> | 48 | <el-col :span="12"> |
59 | <el-form-item label="证件种类" prop="zjzl"> | 49 | <el-form-item label="证件种类" prop="zjzl"> |
60 | <el-select | 50 | <el-select |
61 | clearable | 51 | clearable |
... | @@ -75,7 +65,7 @@ | ... | @@ -75,7 +65,7 @@ |
75 | </el-col> | 65 | </el-col> |
76 | </el-row> | 66 | </el-row> |
77 | <el-row> | 67 | <el-row> |
78 | <el-col :span="8"> | 68 | <el-col :span="12"> |
79 | <el-form-item label="证件号" prop="zjh"> | 69 | <el-form-item label="证件号" prop="zjh"> |
80 | <el-input | 70 | <el-input |
81 | v-model="ruleForm.zjh" | 71 | v-model="ruleForm.zjh" |
... | @@ -84,7 +74,26 @@ | ... | @@ -84,7 +74,26 @@ |
84 | oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> | 74 | oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> |
85 | </el-form-item> | 75 | </el-form-item> |
86 | </el-col> | 76 | </el-col> |
87 | <el-col :span="8"> | 77 | <el-col :span="12"> |
78 | <el-form-item label="性别"> | ||
79 | <el-select | ||
80 | clearable | ||
81 | v-model="ruleForm.xb" | ||
82 | :disabled="!showButton" | ||
83 | class="width100" | ||
84 | placeholder="请选择"> | ||
85 | <el-option | ||
86 | v-for="item in dictData['A43']" | ||
87 | :key="item.dcode" | ||
88 | :label="item.dname" | ||
89 | :value="item.dcode"> | ||
90 | </el-option> | ||
91 | </el-select> | ||
92 | </el-form-item> | ||
93 | </el-col> | ||
94 | </el-row> | ||
95 | <el-row> | ||
96 | <el-col :span="12"> | ||
88 | <el-form-item label="联系电话" prop="dh"> | 97 | <el-form-item label="联系电话" prop="dh"> |
89 | <el-input | 98 | <el-input |
90 | v-model="ruleForm.dh" | 99 | v-model="ruleForm.dh" |
... | @@ -93,16 +102,28 @@ | ... | @@ -93,16 +102,28 @@ |
93 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> | 102 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
94 | </el-form-item> | 103 | </el-form-item> |
95 | </el-col> | 104 | </el-col> |
105 | <el-col :span="12"> | ||
106 | <el-form-item label="国家/地区" prop="gj"> | ||
107 | <el-input | ||
108 | v-model="ruleForm.gj" | ||
109 | maxlength="3" | ||
110 | :disabled="!showButton"></el-input> | ||
111 | </el-form-item> | ||
112 | </el-col> | ||
113 | </el-row> | ||
114 | </el-col> | ||
115 | </el-row> | ||
116 | <el-row> | ||
96 | <el-col :span="8"> | 117 | <el-col :span="8"> |
97 | <el-form-item label="性别"> | 118 | <el-form-item label="权利人类型" prop="qlrlx"> |
98 | <el-select | 119 | <el-select |
99 | clearable | 120 | clearable |
100 | v-model="ruleForm.xb" | 121 | v-model="ruleForm.qlrlx" |
101 | :disabled="!showButton" | ||
102 | class="width100" | 122 | class="width100" |
123 | :disabled="!showButton" | ||
103 | placeholder="请选择"> | 124 | placeholder="请选择"> |
104 | <el-option | 125 | <el-option |
105 | v-for="item in dictData['A43']" | 126 | v-for="item in dictData['A36']" |
106 | :key="item.dcode" | 127 | :key="item.dcode" |
107 | :label="item.dname" | 128 | :label="item.dname" |
108 | :value="item.dcode"> | 129 | :value="item.dcode"> |
... | @@ -110,8 +131,6 @@ | ... | @@ -110,8 +131,6 @@ |
110 | </el-select> | 131 | </el-select> |
111 | </el-form-item> | 132 | </el-form-item> |
112 | </el-col> | 133 | </el-col> |
113 | </el-row> | ||
114 | <el-row> | ||
115 | <el-col :span="8"> | 134 | <el-col :span="8"> |
116 | <el-form-item label="权利比例"> | 135 | <el-form-item label="权利比例"> |
117 | <el-input | 136 | <el-input |
... | @@ -128,14 +147,6 @@ | ... | @@ -128,14 +147,6 @@ |
128 | :disabled="!showButton"></el-input> | 147 | :disabled="!showButton"></el-input> |
129 | </el-form-item> | 148 | </el-form-item> |
130 | </el-col> | 149 | </el-col> |
131 | <el-col :span="8"> | ||
132 | <el-form-item label="国家/地区" prop="gj"> | ||
133 | <el-input | ||
134 | v-model="ruleForm.gj" | ||
135 | maxlength="3" | ||
136 | :disabled="!showButton"></el-input> | ||
137 | </el-form-item> | ||
138 | </el-col> | ||
139 | </el-row> | 150 | </el-row> |
140 | <el-row> | 151 | <el-row> |
141 | <el-col :span="8"> | 152 | <el-col :span="8"> |
... | @@ -273,7 +284,7 @@ | ... | @@ -273,7 +284,7 @@ |
273 | </el-col> | 284 | </el-col> |
274 | </el-row> | 285 | </el-row> |
275 | </el-form> | 286 | </el-form> |
276 | <el-table :data="tableDataQy.data" border v-Loading="loading" :height="426.8"> | 287 | <el-table :data="tableDataQy.data" border v-Loading="loading" :height="483"> |
277 | <el-table-column label="序号" type="index" width="50" align="center"> | 288 | <el-table-column label="序号" type="index" width="50" align="center"> |
278 | <template slot-scope="scope"> | 289 | <template slot-scope="scope"> |
279 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} | 290 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} |
... | @@ -312,7 +323,7 @@ | ... | @@ -312,7 +323,7 @@ |
312 | </el-col> | 323 | </el-col> |
313 | </el-row> | 324 | </el-row> |
314 | </el-form> | 325 | </el-form> |
315 | <el-table :data="tableDataYh.data" border v-Loading="loading" :height="426.8"> | 326 | <el-table :data="tableDataYh.data" border v-Loading="loading" :height="483"> |
316 | <el-table-column label="序号" type="index" width="50" align="center"> | 327 | <el-table-column label="序号" type="index" width="50" align="center"> |
317 | <template slot-scope="scope"> | 328 | <template slot-scope="scope"> |
318 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} | 329 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} |
... | @@ -353,6 +364,7 @@ | ... | @@ -353,6 +364,7 @@ |
353 | }, | 364 | }, |
354 | data () { | 365 | data () { |
355 | return { | 366 | return { |
367 | avatar: require('../../../../image/user.png'), | ||
356 | isShow: false, | 368 | isShow: false, |
357 | isBz: false, | 369 | isBz: false, |
358 | activeName: '1', | 370 | activeName: '1', |
... | @@ -380,6 +392,7 @@ | ... | @@ -380,6 +392,7 @@ |
380 | gzdw: "", | 392 | gzdw: "", |
381 | hjszss: "", | 393 | hjszss: "", |
382 | qlrlx: "", | 394 | qlrlx: "", |
395 | avatar: "", | ||
383 | qlrmc: "", | 396 | qlrmc: "", |
384 | qlrtz: "", | 397 | qlrtz: "", |
385 | sfczr: "", | 398 | sfczr: "", |
... | @@ -433,7 +446,7 @@ | ... | @@ -433,7 +446,7 @@ |
433 | }, | 446 | }, |
434 | details: { | 447 | details: { |
435 | handler: function (val, oldVal) { | 448 | handler: function (val, oldVal) { |
436 | this.ruleForm = val; | 449 | this.ruleForm = _.cloneDeep(val) |
437 | }, | 450 | }, |
438 | deep: true | 451 | deep: true |
439 | } | 452 | } |
... | @@ -591,25 +604,71 @@ | ... | @@ -591,25 +604,71 @@ |
591 | * @author: renchao | 604 | * @author: renchao |
592 | */ | 605 | */ |
593 | readClick () { | 606 | readClick () { |
594 | getIdCardInfo().then(res => { | 607 | function getObjectByValue (arrayOfObjects, value) { |
608 | var name = '' | ||
609 | arrayOfObjects.forEach(item => { | ||
610 | if (item.dname.includes(value)) name = item.dcode | ||
611 | }) | ||
612 | return name | ||
613 | } | ||
614 | getIdCardInfo(this.BASE_API.gaopaiyi).then(res => { | ||
615 | if (this.BASE_API.gaopaiyi == 'jy') { | ||
616 | const { | ||
617 | Name, | ||
618 | IdNo, | ||
619 | Sex, | ||
620 | Address, | ||
621 | Agencvy, | ||
622 | PhotoB64 | ||
623 | } = JSON.parse(res) | ||
624 | if (Name) { | ||
625 | this.ruleForm.qlrmc = Name; | ||
626 | this.ruleForm.zjzl = '1'; | ||
627 | this.ruleForm.zjh = IdNo; | ||
628 | this.ruleForm.xb = getObjectByValue(this.dictData['A43'], Sex); | ||
629 | this.ruleForm.dz = Address; | ||
630 | this.ruleForm.fzjg = Agencvy; | ||
631 | this.ruleForm.avatar = 'data:image/png;base64,' + PhotoB64 | ||
632 | this.$message({ | ||
633 | message: '读取成功!', | ||
634 | type: 'success' | ||
635 | }) | ||
636 | } else { | ||
637 | this.$message({ | ||
638 | message: '请放置身份证', | ||
639 | type: 'warning' | ||
640 | }) | ||
641 | } | ||
642 | } else { | ||
595 | if (res.data.code == 0) { | 643 | if (res.data.code == 0) { |
596 | let data = res.data.IDCardInfo | 644 | let data = res.data.IDCardInfo; |
597 | this.ruleForm.qlrmc = data.name | 645 | const { |
598 | this.ruleForm.zjzl = '1' | 646 | name, |
599 | this.ruleForm.zjh = data.cardID | 647 | cardID: zjh, |
600 | this.ruleForm.xb = data.sexCode | 648 | sexCode: xb, |
601 | this.ruleForm.dz = data.address | 649 | address: dz, |
602 | this.ruleForm.fzjg = data.issueOrgan | 650 | issueOrgan: fzjg, |
651 | photoBase64 | ||
652 | } = data | ||
653 | this.ruleForm.qlrmc = name; | ||
654 | this.ruleForm.zjzl = '1'; | ||
655 | this.ruleForm.zjh = zjh; | ||
656 | this.ruleForm.xb = xb | ||
657 | this.ruleForm.dz = dz; | ||
658 | this.ruleForm.fzjg = fzjg; | ||
659 | this.ruleForm.avatar = 'data:image/png;base64,' + photoBase64 | ||
603 | this.$message({ | 660 | this.$message({ |
604 | message: '读取成功!', | 661 | message: '读取成功!', |
605 | type: 'success' | 662 | type: 'success' |
606 | }) | 663 | }) |
664 | |||
607 | } else { | 665 | } else { |
608 | this.$message({ | 666 | this.$message({ |
609 | message: res.data.message, | 667 | message: res.data.message, |
610 | type: 'warning' | 668 | type: 'warning' |
611 | }) | 669 | }) |
612 | } | 670 | } |
671 | } | ||
613 | }) | 672 | }) |
614 | }, | 673 | }, |
615 | /** | 674 | /** | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-17 13:20:04 | 4 | * @LastEditTime: 2023-12-29 10:04:52 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
... | @@ -31,29 +31,19 @@ | ... | @@ -31,29 +31,19 @@ |
31 | </el-form-item> | 31 | </el-form-item> |
32 | <el-row> | 32 | <el-row> |
33 | <el-col :span="8"> | 33 | <el-col :span="8"> |
34 | <el-form-item label="义务人类型" prop="ywrlx"> | 34 | <el-form-item label="头像"> |
35 | <el-select | 35 | <el-image style="width:102px;height:126px" :src="ruleForm.avatar || avatar" fit="contain" /> |
36 | clearable | ||
37 | v-model="ruleForm.ywrlx" | ||
38 | class="width100" | ||
39 | :disabled="!showButton" | ||
40 | placeholder="请选择"> | ||
41 | <el-option | ||
42 | v-for="item in dictData['A36']" | ||
43 | :key="item.dcode" | ||
44 | :label="item.dname" | ||
45 | :value="item.dcode"> | ||
46 | </el-option> | ||
47 | </el-select> | ||
48 | </el-form-item> | 36 | </el-form-item> |
49 | </el-col> | 37 | </el-col> |
50 | <el-col :span="8"> | 38 | <el-col :span="16"> |
39 | <el-row> | ||
40 | <el-col :span="12"> | ||
51 | <el-form-item label="姓名/名称" prop="ywrmc"> | 41 | <el-form-item label="姓名/名称" prop="ywrmc"> |
52 | <el-input v-model="ruleForm.ywrmc" maxlegth="15" | 42 | <el-input v-model="ruleForm.ywrmc" maxlegth="15" |
53 | :disabled="!showButton"></el-input> | 43 | :disabled="!showButton"></el-input> |
54 | </el-form-item> | 44 | </el-form-item> |
55 | </el-col> | 45 | </el-col> |
56 | <el-col :span="8"> | 46 | <el-col :span="12"> |
57 | <el-form-item label="证件种类" prop="zjzl"> | 47 | <el-form-item label="证件种类" prop="zjzl"> |
58 | <el-select | 48 | <el-select |
59 | clearable | 49 | clearable |
... | @@ -72,7 +62,7 @@ | ... | @@ -72,7 +62,7 @@ |
72 | </el-col> | 62 | </el-col> |
73 | </el-row> | 63 | </el-row> |
74 | <el-row> | 64 | <el-row> |
75 | <el-col :span="8"> | 65 | <el-col :span="12"> |
76 | <el-form-item label="证件号" prop="zjh"> | 66 | <el-form-item label="证件号" prop="zjh"> |
77 | <el-input | 67 | <el-input |
78 | v-model="ruleForm.zjh" | 68 | v-model="ruleForm.zjh" |
... | @@ -81,7 +71,26 @@ | ... | @@ -81,7 +71,26 @@ |
81 | oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> | 71 | oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> |
82 | </el-form-item> | 72 | </el-form-item> |
83 | </el-col> | 73 | </el-col> |
84 | <el-col :span="8"> | 74 | <el-col :span="12"> |
75 | <el-form-item label="性别" prop="xb"> | ||
76 | <el-select | ||
77 | clearable | ||
78 | v-model="ruleForm.xb" | ||
79 | :disabled="!showButton" | ||
80 | class="width100" | ||
81 | placeholder="请选择"> | ||
82 | <el-option | ||
83 | v-for="item in dictData['A43']" | ||
84 | :key="item.dcode" | ||
85 | :label="item.dname" | ||
86 | :value="item.dcode"> | ||
87 | </el-option> | ||
88 | </el-select> | ||
89 | </el-form-item> | ||
90 | </el-col> | ||
91 | </el-row> | ||
92 | <el-row> | ||
93 | <el-col :span="12"> | ||
85 | <el-form-item label="联系电话" prop="dh"> | 94 | <el-form-item label="联系电话" prop="dh"> |
86 | <el-input | 95 | <el-input |
87 | v-model="ruleForm.dh" | 96 | v-model="ruleForm.dh" |
... | @@ -90,16 +99,29 @@ | ... | @@ -90,16 +99,29 @@ |
90 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> | 99 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
91 | </el-form-item> | 100 | </el-form-item> |
92 | </el-col> | 101 | </el-col> |
102 | <el-col :span="12"> | ||
103 | <el-form-item label="国家/地区" prop="gj"> | ||
104 | <el-input | ||
105 | v-model="ruleForm.gj" | ||
106 | maxlength="3" | ||
107 | :disabled="!showButton"></el-input> | ||
108 | </el-form-item> | ||
109 | </el-col> | ||
110 | </el-row> | ||
111 | </el-col> | ||
112 | </el-row> | ||
113 | |||
114 | <el-row> | ||
93 | <el-col :span="8"> | 115 | <el-col :span="8"> |
94 | <el-form-item label="性别" prop="xb"> | 116 | <el-form-item label="义务人类型" prop="ywrlx"> |
95 | <el-select | 117 | <el-select |
96 | clearable | 118 | clearable |
97 | v-model="ruleForm.xb" | 119 | v-model="ruleForm.ywrlx" |
98 | :disabled="!showButton" | ||
99 | class="width100" | 120 | class="width100" |
121 | :disabled="!showButton" | ||
100 | placeholder="请选择"> | 122 | placeholder="请选择"> |
101 | <el-option | 123 | <el-option |
102 | v-for="item in dictData['A43']" | 124 | v-for="item in dictData['A36']" |
103 | :key="item.dcode" | 125 | :key="item.dcode" |
104 | :label="item.dname" | 126 | :label="item.dname" |
105 | :value="item.dcode"> | 127 | :value="item.dcode"> |
... | @@ -107,8 +129,6 @@ | ... | @@ -107,8 +129,6 @@ |
107 | </el-select> | 129 | </el-select> |
108 | </el-form-item> | 130 | </el-form-item> |
109 | </el-col> | 131 | </el-col> |
110 | </el-row> | ||
111 | <el-row> | ||
112 | <el-col :span="8"> | 132 | <el-col :span="8"> |
113 | <el-form-item label="权利比例" prop="qlbl"> | 133 | <el-form-item label="权利比例" prop="qlbl"> |
114 | <el-input | 134 | <el-input |
... | @@ -125,14 +145,6 @@ | ... | @@ -125,14 +145,6 @@ |
125 | :disabled="!showButton"></el-input> | 145 | :disabled="!showButton"></el-input> |
126 | </el-form-item> | 146 | </el-form-item> |
127 | </el-col> | 147 | </el-col> |
128 | <el-col :span="8"> | ||
129 | <el-form-item label="国家/地区" prop="gj"> | ||
130 | <el-input | ||
131 | v-model="ruleForm.gj" | ||
132 | maxlength="3" | ||
133 | :disabled="!showButton"></el-input> | ||
134 | </el-form-item> | ||
135 | </el-col> | ||
136 | </el-row> | 148 | </el-row> |
137 | <el-row> | 149 | <el-row> |
138 | <el-col :span="8"> | 150 | <el-col :span="8"> |
... | @@ -271,7 +283,7 @@ | ... | @@ -271,7 +283,7 @@ |
271 | </el-col> | 283 | </el-col> |
272 | </el-row> | 284 | </el-row> |
273 | </el-form> | 285 | </el-form> |
274 | <el-table :data="tableDataQy.data" border v-Loading="loading" :height="426.8"> | 286 | <el-table :data="tableDataQy.data" border v-Loading="loading" :height="483"> |
275 | <el-table-column label="序号" type="index" width="50" align="center"> | 287 | <el-table-column label="序号" type="index" width="50" align="center"> |
276 | <template slot-scope="scope"> | 288 | <template slot-scope="scope"> |
277 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} | 289 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} |
... | @@ -310,7 +322,7 @@ | ... | @@ -310,7 +322,7 @@ |
310 | </el-col> | 322 | </el-col> |
311 | </el-row> | 323 | </el-row> |
312 | </el-form> | 324 | </el-form> |
313 | <el-table :data="tableDataYh.data" border v-Loading="loading" :height="426.8"> | 325 | <el-table :data="tableDataYh.data" border v-Loading="loading" :height="483"> |
314 | <el-table-column label="序号" type="index" width="50" align="center"> | 326 | <el-table-column label="序号" type="index" width="50" align="center"> |
315 | <template slot-scope="scope"> | 327 | <template slot-scope="scope"> |
316 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} | 328 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} |
... | @@ -351,6 +363,7 @@ | ... | @@ -351,6 +363,7 @@ |
351 | }, | 363 | }, |
352 | data () { | 364 | data () { |
353 | return { | 365 | return { |
366 | avatar: require('../../../../image/user.png'), | ||
354 | isShow: false, | 367 | isShow: false, |
355 | isBz: false, | 368 | isBz: false, |
356 | activeName: '1', | 369 | activeName: '1', |
... | @@ -372,6 +385,7 @@ | ... | @@ -372,6 +385,7 @@ |
372 | dzyj: "", | 385 | dzyj: "", |
373 | qlbl: "", | 386 | qlbl: "", |
374 | gzdw: "", | 387 | gzdw: "", |
388 | avatar: "", | ||
375 | dljg: "", | 389 | dljg: "", |
376 | dlrxm: "", | 390 | dlrxm: "", |
377 | dlrzjlx: "", | 391 | dlrzjlx: "", |
... | @@ -420,7 +434,7 @@ | ... | @@ -420,7 +434,7 @@ |
420 | }, | 434 | }, |
421 | details: { | 435 | details: { |
422 | handler: function (val, oldVal) { | 436 | handler: function (val, oldVal) { |
423 | this.ruleForm = val; | 437 | this.ruleForm = _.cloneDeep(val) |
424 | }, | 438 | }, |
425 | deep: true | 439 | deep: true |
426 | } | 440 | } |
... | @@ -580,7 +594,42 @@ | ... | @@ -580,7 +594,42 @@ |
580 | * @author: renchao | 594 | * @author: renchao |
581 | */ | 595 | */ |
582 | readClick () { | 596 | readClick () { |
583 | getIdCardInfo().then(res => { | 597 | function getObjectByValue (arrayOfObjects, value) { |
598 | var name = '' | ||
599 | arrayOfObjects.forEach(item => { | ||
600 | if (item.dname.includes(value)) name = item.dcode | ||
601 | }) | ||
602 | return name | ||
603 | } | ||
604 | getIdCardInfo(this.BASE_API.gaopaiyi).then(res => { | ||
605 | if (this.BASE_API.gaopaiyi == 'jy') { | ||
606 | const { | ||
607 | Name, | ||
608 | IdNo, | ||
609 | Sex, | ||
610 | Address, | ||
611 | Agencvy, | ||
612 | PhotoB64 | ||
613 | } = JSON.parse(res) | ||
614 | if (Name) { | ||
615 | this.ruleForm.ywrmc = Name; | ||
616 | this.ruleForm.zjzl = '1'; | ||
617 | this.ruleForm.zjh = IdNo; | ||
618 | this.ruleForm.xb = getObjectByValue(this.dictData['A43'], Sex); | ||
619 | this.ruleForm.txdz = Address; | ||
620 | this.ruleForm.fzjg = Agencvy; | ||
621 | this.ruleForm.avatar = 'data:image/png;base64,' + PhotoB64 | ||
622 | this.$message({ | ||
623 | message: '读取成功!', | ||
624 | type: 'success' | ||
625 | }) | ||
626 | } else { | ||
627 | this.$message({ | ||
628 | message: '请放置身份证', | ||
629 | type: 'warning' | ||
630 | }) | ||
631 | } | ||
632 | } else { | ||
584 | if (res.data.code == 0) { | 633 | if (res.data.code == 0) { |
585 | let data = res.data.IDCardInfo | 634 | let data = res.data.IDCardInfo |
586 | this.ruleForm.ywrmc = data.name | 635 | this.ruleForm.ywrmc = data.name |
... | @@ -589,6 +638,7 @@ | ... | @@ -589,6 +638,7 @@ |
589 | this.ruleForm.xb = data.sexCode | 638 | this.ruleForm.xb = data.sexCode |
590 | this.ruleForm.txdz = data.address | 639 | this.ruleForm.txdz = data.address |
591 | this.ruleForm.fzjg = data.issueOrgan | 640 | this.ruleForm.fzjg = data.issueOrgan |
641 | this.ruleForm.avatar = 'data:image/png;base64,' + data.photoBase64 | ||
592 | this.$message({ | 642 | this.$message({ |
593 | message: '读取成功!', | 643 | message: '读取成功!', |
594 | type: 'success' | 644 | type: 'success' |
... | @@ -599,6 +649,7 @@ | ... | @@ -599,6 +649,7 @@ |
599 | type: 'warning' | 649 | type: 'warning' |
600 | }) | 650 | }) |
601 | } | 651 | } |
652 | } | ||
602 | }) | 653 | }) |
603 | }, | 654 | }, |
604 | /** | 655 | /** | ... | ... |
1 | <!-- | ||
2 | * @Description: 功能:流程图 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-17 10:40:57 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class='flowChart'> | ||
8 | <img :src="formData" alt=""> | ||
9 | </div> | ||
10 | </template> | ||
11 | <script> | ||
12 | |||
13 | export default { | ||
14 | props: { | ||
15 | formData: { | ||
16 | type: String, | ||
17 | default: '' | ||
18 | } | ||
19 | } | ||
20 | } | ||
21 | </script> | ||
22 | <style scoped lang="scss"> | ||
23 | @import "~@/styles/mixin.scss"; | ||
24 | |||
25 | .flowChart { | ||
26 | margin: 20px 0; | ||
27 | } | ||
28 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-28 15:15:37 | 4 | * @LastEditTime: 2024-01-18 15:03:56 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | :pagination="false" | 10 | :pagination="false" |
11 | :key="key" | 11 | :key="key" |
12 | :heightNumSetting="true" | 12 | :heightNumSetting="true" |
13 | :minHeight="150" | 13 | :minHeight="0" |
14 | :data="tableDataList"> | 14 | :data="tableDataList"> |
15 | </lb-table> | 15 | </lb-table> |
16 | <addQlr | 16 | <addQlr |
... | @@ -178,21 +178,15 @@ | ... | @@ -178,21 +178,15 @@ |
178 | let that = this; | 178 | let that = this; |
179 | this.$nextTick(() => { | 179 | this.$nextTick(() => { |
180 | if (val.length == 0 || !val) { | 180 | if (val.length == 0 || !val) { |
181 | that.tableDataList = _.cloneDeep([ | 181 | that.tableDataList = _.cloneDeep([]) |
182 | // { | ||
183 | // qlrmc: "", | ||
184 | // dlrzjlx: "", | ||
185 | // dlrzjh: "", | ||
186 | // fr: "", | ||
187 | // }, | ||
188 | ]); | ||
189 | } else { | 182 | } else { |
190 | that.tableDataList = _.cloneDeep(val); | 183 | that.tableDataList = _.cloneDeep(val) |
184 | that.key++ | ||
191 | } | 185 | } |
192 | }); | 186 | }) |
193 | }, | 187 | }, |
194 | immediate: true, | 188 | immediate: true, |
195 | deep: true, | 189 | deep: true |
196 | }, | 190 | }, |
197 | gyfs: { | 191 | gyfs: { |
198 | handler (newVal, oldValue) { | 192 | handler (newVal, oldValue) { |
... | @@ -200,6 +194,7 @@ | ... | @@ -200,6 +194,7 @@ |
200 | if (newVal == 0) { | 194 | if (newVal == 0) { |
201 | this.column = _.cloneDeep(dataList); | 195 | this.column = _.cloneDeep(dataList); |
202 | this.tableDataList = _.cloneDeep(this.tableData); | 196 | this.tableDataList = _.cloneDeep(this.tableData); |
197 | this.key++ | ||
203 | } else if (newVal == "1" || newVal == "3") { | 198 | } else if (newVal == "1" || newVal == "3") { |
204 | this.column = dataList; | 199 | this.column = dataList; |
205 | } else { | 200 | } else { |
... | @@ -211,8 +206,8 @@ | ... | @@ -211,8 +206,8 @@ |
211 | } | 206 | } |
212 | }, | 207 | }, |
213 | immediate: true, | 208 | immediate: true, |
214 | deep: true, | 209 | deep: true |
215 | }, | 210 | } |
216 | }, | 211 | }, |
217 | methods: { | 212 | methods: { |
218 | /** | 213 | /** |
... | @@ -254,13 +249,49 @@ | ... | @@ -254,13 +249,49 @@ |
254 | deleClick (index, row) { | 249 | deleClick (index, row) { |
255 | this.tableDataList.splice(index, 1); | 250 | this.tableDataList.splice(index, 1); |
256 | this.$emit("upDateQlrxxList", this.tableDataList); | 251 | this.$emit("upDateQlrxxList", this.tableDataList); |
252 | this.key++ | ||
257 | }, | 253 | }, |
258 | /** | 254 | /** |
259 | * @description: 身份证读取 | 255 | * @description: 身份证读取 |
260 | * @author: renchao | 256 | * @author: renchao |
261 | */ | 257 | */ |
262 | readClick (row) { | 258 | readClick (row) { |
263 | getIdCardInfo().then(res => { | 259 | function getObjectByValue (arrayOfObjects, value) { |
260 | var name = '' | ||
261 | arrayOfObjects.forEach(item => { | ||
262 | if (item.dname.includes(value)) name = item.dcode | ||
263 | }) | ||
264 | return name | ||
265 | } | ||
266 | getIdCardInfo(this.BASE_API.gaopaiyi).then(res => { | ||
267 | if (this.BASE_API.gaopaiyi == 'jy') { | ||
268 | const { | ||
269 | Name, | ||
270 | IdNo, | ||
271 | Sex, | ||
272 | Address, | ||
273 | Agencvy, | ||
274 | PhotoB64 | ||
275 | } = JSON.parse(res) | ||
276 | if (Name) { | ||
277 | row.qlrmc = Name; | ||
278 | row.zjzl = '1'; | ||
279 | row.zjh = IdNo; | ||
280 | row.xb = getObjectByValue(this.dictData['A43'], Sex); | ||
281 | row.dz = Address; | ||
282 | row.fzjg = Agencvy; | ||
283 | row.avatar = 'data:image/png;base64,' + PhotoB64 | ||
284 | this.$message({ | ||
285 | message: '读取成功!', | ||
286 | type: 'success' | ||
287 | }) | ||
288 | } else { | ||
289 | this.$message({ | ||
290 | message: '请放置身份证', | ||
291 | type: 'warning' | ||
292 | }) | ||
293 | } | ||
294 | } else { | ||
264 | if (res.data.code == 0) { | 295 | if (res.data.code == 0) { |
265 | let data = res.data.IDCardInfo | 296 | let data = res.data.IDCardInfo |
266 | row.qlrmc = data.name | 297 | row.qlrmc = data.name |
... | @@ -269,6 +300,7 @@ | ... | @@ -269,6 +300,7 @@ |
269 | row.xb = data.sexCode | 300 | row.xb = data.sexCode |
270 | row.dz = data.address | 301 | row.dz = data.address |
271 | row.fzjg = data.issueOrgan | 302 | row.fzjg = data.issueOrgan |
303 | row.avatar = 'data:image/png;base64,' + data.photoBase64 | ||
272 | this.$message({ | 304 | this.$message({ |
273 | message: '读取成功!', | 305 | message: '读取成功!', |
274 | type: 'success' | 306 | type: 'success' |
... | @@ -279,6 +311,8 @@ | ... | @@ -279,6 +311,8 @@ |
279 | type: 'warning' | 311 | type: 'warning' |
280 | }) | 312 | }) |
281 | } | 313 | } |
314 | } | ||
315 | this.$emit('upDateQlrxxList', this.tableDataList) | ||
282 | }) | 316 | }) |
283 | }, | 317 | }, |
284 | /** | 318 | /** | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-28 15:15:21 | 4 | * @LastEditTime: 2024-01-18 14:22:11 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | :pagination="false" | 10 | :pagination="false" |
11 | :key="key" | 11 | :key="key" |
12 | :heightNumSetting="true" | 12 | :heightNumSetting="true" |
13 | :minHeight="150" | 13 | :minHeight="0" |
14 | :data="tableDataList"> | 14 | :data="tableDataList"> |
15 | </lb-table> | 15 | </lb-table> |
16 | <addYwr | 16 | <addYwr |
... | @@ -178,27 +178,20 @@ | ... | @@ -178,27 +178,20 @@ |
178 | let that = this; | 178 | let that = this; |
179 | this.$nextTick(() => { | 179 | this.$nextTick(() => { |
180 | if (val.length == 0 || !val) { | 180 | if (val.length == 0 || !val) { |
181 | that.tableDataList = _.cloneDeep([ | 181 | that.tableDataList = _.cloneDeep([]) |
182 | // { | ||
183 | // ywrmc: "", | ||
184 | // dlrzjlx: "", | ||
185 | // dlrzjh: "", | ||
186 | // fr: "", | ||
187 | // }, | ||
188 | ]); | ||
189 | } else { | 182 | } else { |
190 | that.tableDataList = _.cloneDeep(val); | 183 | that.tableDataList = _.cloneDeep(val) |
184 | that.key++ | ||
191 | } | 185 | } |
192 | }); | 186 | }) |
193 | }, | 187 | }, |
194 | immediate: true, | 188 | immediate: true, |
195 | deep: true, | 189 | deep: true |
196 | }, | 190 | }, |
197 | gyfs: { | 191 | gyfs: { |
198 | handler (newVal, oldValue) { | 192 | handler (newVal, oldValue) { |
199 | let dataList = _.cloneDeep(this.InformationTable); | 193 | let dataList = _.cloneDeep(this.InformationTable); |
200 | if (newVal == 0) { | 194 | if (newVal == 0) { |
201 | // this.column = _.cloneDeep(dataList).slice(1, dataList.length) | ||
202 | this.column = _.cloneDeep(dataList); | 195 | this.column = _.cloneDeep(dataList); |
203 | } else if (newVal == "1" || newVal == "3") { | 196 | } else if (newVal == "1" || newVal == "3") { |
204 | this.column = dataList; | 197 | this.column = dataList; |
... | @@ -254,6 +247,7 @@ | ... | @@ -254,6 +247,7 @@ |
254 | deleClick (index, row) { | 247 | deleClick (index, row) { |
255 | this.tableDataList.splice(index, 1); | 248 | this.tableDataList.splice(index, 1); |
256 | this.$emit("upDateQlrxxList", this.tableDataList); | 249 | this.$emit("upDateQlrxxList", this.tableDataList); |
250 | this.key++ | ||
257 | }, | 251 | }, |
258 | 252 | ||
259 | /** | 253 | /** |
... | @@ -261,7 +255,42 @@ | ... | @@ -261,7 +255,42 @@ |
261 | * @author: renchao | 255 | * @author: renchao |
262 | */ | 256 | */ |
263 | readClick (row) { | 257 | readClick (row) { |
264 | getIdCardInfo().then(res => { | 258 | function getObjectByValue (arrayOfObjects, value) { |
259 | var name = '' | ||
260 | arrayOfObjects.forEach(item => { | ||
261 | if (item.dname.includes(value)) name = item.dcode | ||
262 | }) | ||
263 | return name | ||
264 | } | ||
265 | getIdCardInfo(this.BASE_API.gaopaiyi).then(res => { | ||
266 | if (this.BASE_API.gaopaiyi == 'jy') { | ||
267 | const { | ||
268 | Name, | ||
269 | IdNo, | ||
270 | Sex, | ||
271 | Address, | ||
272 | Agencvy, | ||
273 | PhotoB64 | ||
274 | } = JSON.parse(res) | ||
275 | if (Name) { | ||
276 | row.ywrmc = Name; | ||
277 | row.zjzl = '1'; | ||
278 | row.zjh = IdNo; | ||
279 | row.xb = getObjectByValue(this.dictData['A43'], Sex); | ||
280 | row.txdz = Address; | ||
281 | row.fzjg = Agencvy; | ||
282 | row.avatar = 'data:image/png;base64,' + PhotoB64 | ||
283 | this.$message({ | ||
284 | message: '读取成功!', | ||
285 | type: 'success' | ||
286 | }) | ||
287 | } else { | ||
288 | this.$message({ | ||
289 | message: '请放置身份证', | ||
290 | type: 'warning' | ||
291 | }) | ||
292 | } | ||
293 | } else { | ||
265 | if (res.data.code == 0) { | 294 | if (res.data.code == 0) { |
266 | let data = res.data.IDCardInfo | 295 | let data = res.data.IDCardInfo |
267 | row.ywrmc = data.name | 296 | row.ywrmc = data.name |
... | @@ -270,6 +299,7 @@ | ... | @@ -270,6 +299,7 @@ |
270 | row.xb = data.sexCode | 299 | row.xb = data.sexCode |
271 | row.txdz = data.address | 300 | row.txdz = data.address |
272 | row.fzjg = data.issueOrgan | 301 | row.fzjg = data.issueOrgan |
302 | row.avatar = 'data:image/png;base64,' + data.photoBase64 | ||
273 | this.$message({ | 303 | this.$message({ |
274 | message: '读取成功!', | 304 | message: '读取成功!', |
275 | type: 'success' | 305 | type: 'success' |
... | @@ -280,6 +310,8 @@ | ... | @@ -280,6 +310,8 @@ |
280 | type: 'warning' | 310 | type: 'warning' |
281 | }) | 311 | }) |
282 | } | 312 | } |
313 | } | ||
314 | this.$emit("upDateQlrxxList", this.tableDataList) | ||
283 | }) | 315 | }) |
284 | }, | 316 | }, |
285 | 317 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-19 16:23:02 | 4 | * @LastEditTime: 2024-01-19 16:48:37 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -41,8 +41,6 @@ | ... | @@ -41,8 +41,6 @@ |
41 | import { popupCacel } from "@/utils/popup.js"; | 41 | import { popupCacel } from "@/utils/popup.js"; |
42 | import { mapGetters } from "vuex"; | 42 | import { mapGetters } from "vuex"; |
43 | export default { | 43 | export default { |
44 | computed: { | ||
45 | }, | ||
46 | props: { | 44 | props: { |
47 | formData: { | 45 | formData: { |
48 | type: Object, | 46 | type: Object, |
... | @@ -56,15 +54,6 @@ | ... | @@ -56,15 +54,6 @@ |
56 | shyj: "", | 54 | shyj: "", |
57 | }; | 55 | }; |
58 | }, | 56 | }, |
59 | // watch: { | ||
60 | // yjsqOptions: { | ||
61 | // handler (val) { | ||
62 | // this.add(val.opinion); | ||
63 | // }, | ||
64 | // deep: true, | ||
65 | // immediate: true, | ||
66 | // }, | ||
67 | // }, | ||
68 | methods: { | 57 | methods: { |
69 | /** | 58 | /** |
70 | * @description: submitForm | 59 | * @description: submitForm |
... | @@ -80,6 +69,7 @@ | ... | @@ -80,6 +69,7 @@ |
80 | }) | 69 | }) |
81 | }, | 70 | }, |
82 | submitForm () { | 71 | submitForm () { |
72 | let that = this | ||
83 | this.queryForm = { | 73 | this.queryForm = { |
84 | bsmSlsq: this.formData.bsmSlsq, | 74 | bsmSlsq: this.formData.bsmSlsq, |
85 | shyj: this.shyj, | 75 | shyj: this.shyj, |
... | @@ -87,35 +77,25 @@ | ... | @@ -87,35 +77,25 @@ |
87 | }; | 77 | }; |
88 | completeTask(this.queryForm).then((res) => { | 78 | completeTask(this.queryForm).then((res) => { |
89 | if (res.code === 200) { | 79 | if (res.code === 200) { |
90 | this.$message.success("转件成功"); | ||
91 | // setTimeout(() => { | ||
92 | // window.opener = null; | ||
93 | // window.open("about:blank", "_self"); | ||
94 | // window.close(); | ||
95 | // this.$emit("input", false); | ||
96 | // }, 1000); | ||
97 | popupCacel(); | 80 | popupCacel(); |
81 | that.$message.success("转件成功"); | ||
98 | setTimeout(() => { | 82 | setTimeout(() => { |
99 | // window.opener.location.reload(); //刷新父窗口 | 83 | window.close(); |
84 | that.$emit("input", false); | ||
100 | if (window.opener && window.opener.getBpageList) { | 85 | if (window.opener && window.opener.getBpageList) { |
101 | window.opener.getBpageList(); | 86 | window.opener.getBpageList(); |
102 | } else { | 87 | } else { |
103 | window.opener.frames[0].getBpageList(); | 88 | window.opener.frames[0].getBpageList(); |
104 | } | 89 | } |
105 | window.close(); | 90 | }, 360); |
106 | this.$emit("input", false); | ||
107 | }, 1000); | ||
108 | } else { | 91 | } else { |
109 | this.$message.error(res.message); | 92 | this.$message.error(res.message); |
110 | } | 93 | } |
94 | }).catch((error) => { | ||
95 | // 可以添加适当的错误处理 | ||
96 | this.$message.error("提交任务失败"); | ||
111 | }); | 97 | }); |
112 | }, | 98 | }, |
113 | // add (val) { | ||
114 | // if (val != "") { | ||
115 | // this.shyj; | ||
116 | // } | ||
117 | // }, | ||
118 | |||
119 | /** | 99 | /** |
120 | * @description: closeDialog | 100 | * @description: closeDialog |
121 | * @author: renchao | 101 | * @author: renchao | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | :show-message="false" | 4 | :show-message="false" |
5 | * @LastEditTime: 2023-11-03 14:46:48 | 5 | * @LastEditTime: 2023-11-13 16:37:21 |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
... | @@ -49,7 +49,6 @@ | ... | @@ -49,7 +49,6 @@ |
49 | :rules="rules.ztQlxxrules"> | 49 | :rules="rules.ztQlxxrules"> |
50 | <select-table | 50 | <select-table |
51 | v-model="ruleForm.ztQlxx" | 51 | v-model="ruleForm.ztQlxx" |
52 | :table-width="730" | ||
53 | :tableData="ztQlxxList" | 52 | :tableData="ztQlxxList" |
54 | :props="props" | 53 | :props="props" |
55 | @change="ztQlxxchange"> | 54 | @change="ztQlxxchange"> |
... | @@ -138,7 +137,6 @@ | ... | @@ -138,7 +137,6 @@ |
138 | v-if="ruleForm.qlxx.djlx == '300'"> | 137 | v-if="ruleForm.qlxx.djlx == '300'"> |
139 | <select-table | 138 | <select-table |
140 | v-model="ruleForm.ssQlxx" | 139 | v-model="ruleForm.ssQlxx" |
141 | :table-width="730" | ||
142 | :tableData="ssQlxxList" | 140 | :tableData="ssQlxxList" |
143 | :props="props" | 141 | :props="props" |
144 | @change="ssQlxxchange"> | 142 | @change="ssQlxxchange"> |
... | @@ -186,8 +184,9 @@ | ... | @@ -186,8 +184,9 @@ |
186 | </el-form-item> | 184 | </el-form-item> |
187 | </el-col> | 185 | </el-col> |
188 | <el-col :span="8"> | 186 | <el-col :span="8"> |
189 | <el-form-item label="是否被续封:" | 187 | <el-form-item |
190 | prop="cfdj.sfbxf" | 188 | label="是否被续封:" |
189 | prop="qlxx.djlx" | ||
191 | :rules="rules.sfbxfrules"> | 190 | :rules="rules.sfbxfrules"> |
192 | <el-radio-group v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | 191 | <el-radio-group v-model="ruleForm.qlxx.djlx" @change="djlxchange"> |
193 | <el-radio label="300">是</el-radio> | 192 | <el-radio label="300">是</el-radio> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-03 14:54:52 | 4 | * @LastEditTime: 2023-11-13 14:32:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -49,7 +49,6 @@ | ... | @@ -49,7 +49,6 @@ |
49 | :rules="rules.ztQlxxrules"> | 49 | :rules="rules.ztQlxxrules"> |
50 | <select-table | 50 | <select-table |
51 | v-model="ruleForm.ztQlxx" | 51 | v-model="ruleForm.ztQlxx" |
52 | table-width="100%" | ||
53 | :tableData="ztQlxxList" | 52 | :tableData="ztQlxxList" |
54 | :props="props" | 53 | :props="props" |
55 | @change="ztQlxxchange"> | 54 | @change="ztQlxxchange"> |
... | @@ -132,7 +131,6 @@ | ... | @@ -132,7 +131,6 @@ |
132 | :rules="rules.ssQlxxrules"> | 131 | :rules="rules.ssQlxxrules"> |
133 | <select-table | 132 | <select-table |
134 | v-model="ruleForm.ssQlxx" | 133 | v-model="ruleForm.ssQlxx" |
135 | :table-width="730" | ||
136 | :tableData="ssQlxxList" | 134 | :tableData="ssQlxxList" |
137 | :props="props" | 135 | :props="props" |
138 | @change="ssQlxxchange"> | 136 | @change="ssQlxxchange"> |
... | @@ -411,10 +409,10 @@ | ... | @@ -411,10 +409,10 @@ |
411 | :rules="rules.zxsjrules"> | 409 | :rules="rules.zxsjrules"> |
412 | <el-date-picker | 410 | <el-date-picker |
413 | v-model="ruleForm.qlxx.zxsj" | 411 | v-model="ruleForm.qlxx.zxsj" |
414 | type="date" | 412 | type="datetime" |
415 | placeholder="选择日期" | 413 | placeholder="选择日期" |
416 | value-format="yyyy-MM-dd HH:mm:ss" | 414 | value-format="yyyy-MM-dd HH:mm:ss" |
417 | format="yyyy-MM-dd"> | 415 | format="yyyy-MM-dd HH:mm:ss"> |
418 | </el-date-picker> | 416 | </el-date-picker> |
419 | </el-form-item> | 417 | </el-form-item> |
420 | </el-col> | 418 | </el-col> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-26 13:26:40 | 4 | * @LastEditTime: 2023-11-07 09:25:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -43,11 +43,11 @@ | ... | @@ -43,11 +43,11 @@ |
43 | <div class="count"> | 43 | <div class="count"> |
44 | <el-form-item | 44 | <el-form-item |
45 | label="地役权不动产情况" | 45 | label="地役权不动产情况" |
46 | style="display:flex" | ||
46 | prop="ztQlxx.bdcqzh" | 47 | prop="ztQlxx.bdcqzh" |
47 | :rules="rules.ztQlxxrules"> | 48 | :rules="rules.ztQlxxrules"> |
48 | <select-table | 49 | <select-table |
49 | v-model="ruleForm.ztQlxx" | 50 | v-model="ruleForm.ztQlxx" |
50 | :table-width="730" | ||
51 | :tableData="ztQlxxList" | 51 | :tableData="ztQlxxList" |
52 | :props="props" | 52 | :props="props" |
53 | @change="ztQlxxchange"> | 53 | @change="ztQlxxchange"> |
... | @@ -130,7 +130,6 @@ | ... | @@ -130,7 +130,6 @@ |
130 | :rules="rules.ssQlxxrules"> | 130 | :rules="rules.ssQlxxrules"> |
131 | <select-table | 131 | <select-table |
132 | v-model="ruleForm.ssQlxx" | 132 | v-model="ruleForm.ssQlxx" |
133 | :table-width="730" | ||
134 | :tableData="ssQlxxList" | 133 | :tableData="ssQlxxList" |
135 | :props="props" | 134 | :props="props" |
136 | @change="ssQlxxchange"> | 135 | @change="ssQlxxchange"> | ... | ... |
... | @@ -48,7 +48,6 @@ | ... | @@ -48,7 +48,6 @@ |
48 | :rules="rules.ssQlxxrules"> | 48 | :rules="rules.ssQlxxrules"> |
49 | <select-table | 49 | <select-table |
50 | v-model="ruleForm.ssQlxx" | 50 | v-model="ruleForm.ssQlxx" |
51 | :table-width="730" | ||
52 | :tableData="ssQlxxList" | 51 | :tableData="ssQlxxList" |
53 | :props="props" | 52 | :props="props" |
54 | @change="ssQlxxchange"> | 53 | @change="ssQlxxchange"> | ... | ... |
... | @@ -45,7 +45,6 @@ | ... | @@ -45,7 +45,6 @@ |
45 | :rules="rules.ssQlxxrules"> | 45 | :rules="rules.ssQlxxrules"> |
46 | <select-table | 46 | <select-table |
47 | v-model="ruleForm.ssQlxx" | 47 | v-model="ruleForm.ssQlxx" |
48 | :table-width="730" | ||
49 | :tableData="ssQlxxList" | 48 | :tableData="ssQlxxList" |
50 | :props="props" | 49 | :props="props" |
51 | @change="ssQlxxchange"> | 50 | @change="ssQlxxchange"> | ... | ... |
... | @@ -47,7 +47,6 @@ | ... | @@ -47,7 +47,6 @@ |
47 | :rules="rules.ssQlxxrules"> | 47 | :rules="rules.ssQlxxrules"> |
48 | <select-table | 48 | <select-table |
49 | v-model="ruleForm.ssQlxx" | 49 | v-model="ruleForm.ssQlxx" |
50 | :table-width="730" | ||
51 | :tableData="ssQlxxList" | 50 | :tableData="ssQlxxList" |
52 | :props="props" | 51 | :props="props" |
53 | @change="ssQlxxchange"> | 52 | @change="ssQlxxchange"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-03 14:48:37 | 4 | * @LastEditTime: 2024-01-18 14:06:53 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -44,10 +44,10 @@ | ... | @@ -44,10 +44,10 @@ |
44 | <el-form-item | 44 | <el-form-item |
45 | label="上手权利信息:" | 45 | label="上手权利信息:" |
46 | prop="ssQlxx.bdcqzh" | 46 | prop="ssQlxx.bdcqzh" |
47 | style="display:flex" | ||
47 | :rules="rules.ssQlxxrules"> | 48 | :rules="rules.ssQlxxrules"> |
48 | <select-table | 49 | <select-table |
49 | v-model="ruleForm.ssQlxx" | 50 | v-model="ruleForm.ssQlxx" |
50 | :table-width="730" | ||
51 | :tableData="ssQlxxList" | 51 | :tableData="ssQlxxList" |
52 | :props="props" | 52 | :props="props" |
53 | @change="ssQlxxchange"> | 53 | @change="ssQlxxchange"> |
... | @@ -724,10 +724,6 @@ | ... | @@ -724,10 +724,6 @@ |
724 | width: 100%; | 724 | width: 100%; |
725 | } | 725 | } |
726 | 726 | ||
727 | /deep/.el-form-item { | ||
728 | margin-bottom: 8px; | ||
729 | } | ||
730 | |||
731 | .marginBot0 { | 727 | .marginBot0 { |
732 | margin-bottom: 0 !important; | 728 | margin-bottom: 0 !important; |
733 | } | 729 | } |
... | @@ -749,17 +745,6 @@ | ... | @@ -749,17 +745,6 @@ |
749 | height: 50px; | 745 | height: 50px; |
750 | } | 746 | } |
751 | 747 | ||
752 | .slxx_title { | ||
753 | border-bottom: 1px solid $borderColor; | ||
754 | padding-left: 10px; | ||
755 | padding-bottom: 5px; | ||
756 | margin-bottom: 10px; | ||
757 | margin-top: 5px; | ||
758 | font-size: 16px; | ||
759 | font-weight: 500; | ||
760 | color: #4a4a4a; | ||
761 | } | ||
762 | |||
763 | .btn { | 748 | .btn { |
764 | text-align: center; | 749 | text-align: center; |
765 | padding-top: 10px; | 750 | padding-top: 10px; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-02 13:27:43 | 4 | * @LastEditTime: 2023-11-07 09:26:12 |
5 | :show-message="false" | 5 | :show-message="false" |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
... | @@ -45,11 +45,11 @@ | ... | @@ -45,11 +45,11 @@ |
45 | <div class="count"> | 45 | <div class="count"> |
46 | <el-form-item | 46 | <el-form-item |
47 | label="预告买卖登记" | 47 | label="预告买卖登记" |
48 | style="display:flex" | ||
48 | prop="ztQlxx.bdcqzh" | 49 | prop="ztQlxx.bdcqzh" |
49 | :rules="rules.ztQlxxrules"> | 50 | :rules="rules.ztQlxxrules"> |
50 | <select-table | 51 | <select-table |
51 | v-model="ruleForm.ztQlxx" | 52 | v-model="ruleForm.ztQlxx" |
52 | table-width="100%" | ||
53 | :tableData="ztQlxxList" | 53 | :tableData="ztQlxxList" |
54 | :props="props" | 54 | :props="props" |
55 | @change="ztQlxxchange"> | 55 | @change="ztQlxxchange"> |
... | @@ -127,10 +127,10 @@ | ... | @@ -127,10 +127,10 @@ |
127 | <el-form-item | 127 | <el-form-item |
128 | label="上手权利信息:" | 128 | label="上手权利信息:" |
129 | prop="ssQlxx.bdcqzh" | 129 | prop="ssQlxx.bdcqzh" |
130 | |||
130 | :rules="rules.ssQlxxrules"> | 131 | :rules="rules.ssQlxxrules"> |
131 | <select-table | 132 | <select-table |
132 | v-model="ruleForm.ssQlxx" | 133 | v-model="ruleForm.ssQlxx" |
133 | table-width="100%" | ||
134 | :tableData="ssQlxxList" | 134 | :tableData="ssQlxxList" |
135 | :props="props" | 135 | :props="props" |
136 | @change="ssQlxxchange"> | 136 | @change="ssQlxxchange"> | ... | ... |
... | @@ -45,11 +45,11 @@ | ... | @@ -45,11 +45,11 @@ |
45 | <div class="count" v-if="ssqlxxshow"> | 45 | <div class="count" v-if="ssqlxxshow"> |
46 | <el-form-item | 46 | <el-form-item |
47 | label="上手权利信息:" | 47 | label="上手权利信息:" |
48 | style="display:flex" | ||
48 | prop="ssQlxx.bdcqzh" | 49 | prop="ssQlxx.bdcqzh" |
49 | :rules="rules.ssQlxxrules"> | 50 | :rules="rules.ssQlxxrules"> |
50 | <select-table | 51 | <select-table |
51 | v-model="ruleForm.ssQlxx" | 52 | v-model="ruleForm.ssQlxx" |
52 | :table-width="730" | ||
53 | :tableData="ssQlxxList" | 53 | :tableData="ssQlxxList" |
54 | :props="props" | 54 | :props="props" |
55 | @change="ssQlxxchange"> | 55 | @change="ssQlxxchange"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-08 09:35:26 | 4 | * @LastEditTime: 2023-11-07 09:26:20 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -44,11 +44,11 @@ | ... | @@ -44,11 +44,11 @@ |
44 | <div class="count"> | 44 | <div class="count"> |
45 | <el-form-item | 45 | <el-form-item |
46 | label="抵押不动产信息:" | 46 | label="抵押不动产信息:" |
47 | style="display:flex" | ||
47 | prop="ztQlxx.bdcqzh" | 48 | prop="ztQlxx.bdcqzh" |
48 | :rules="rules.ztQlxxrules"> | 49 | :rules="rules.ztQlxxrules"> |
49 | <select-table | 50 | <select-table |
50 | v-model="ruleForm.ztQlxx" | 51 | v-model="ruleForm.ztQlxx" |
51 | :table-width="550" | ||
52 | :tableData="ztQlxxList" | 52 | :tableData="ztQlxxList" |
53 | :props="props" | 53 | :props="props" |
54 | @change="ztQlxxchange"> | 54 | @change="ztQlxxchange"> |
... | @@ -125,11 +125,11 @@ | ... | @@ -125,11 +125,11 @@ |
125 | <div class="count" v-if="ssqlxxshow"> | 125 | <div class="count" v-if="ssqlxxshow"> |
126 | <el-form-item | 126 | <el-form-item |
127 | label="上手权利信息:" | 127 | label="上手权利信息:" |
128 | style="display:flex" | ||
128 | prop="ssQlxx.bdcqzh" | 129 | prop="ssQlxx.bdcqzh" |
129 | :rules="rules.ssQlxxrules"> | 130 | :rules="rules.ssQlxxrules"> |
130 | <select-table | 131 | <select-table |
131 | v-model="ruleForm.ssQlxx" | 132 | v-model="ruleForm.ssQlxx" |
132 | :table-width="550" | ||
133 | :tableData="ssQlxxList" | 133 | :tableData="ssQlxxList" |
134 | :props="props" | 134 | :props="props" |
135 | @change="ssQlxxchange"> | 135 | @change="ssQlxxchange"> | ... | ... |
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"); |
... | @@ -52,7 +53,7 @@ export function getForm (tabName) { | ... | @@ -52,7 +53,7 @@ export function getForm (tabName) { |
52 | break; | 53 | break; |
53 | //森林林木使用权 | 54 | //森林林木使用权 |
54 | case "sllmslxx": | 55 | case "sllmslxx": |
55 | form = require("@/views/ywbl/slsqxx/sllmslxx"); | 56 | form = require("@/views/workflow/main/slsqxx/sllmslxx"); |
56 | break; | 57 | break; |
57 | case "slxxjsydsyq": | 58 | case "slxxjsydsyq": |
58 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/jsydsyq.vue"); | 59 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/jsydsyq.vue"); | ... | ... |
1 | /* | 1 | /* |
2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 | 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-26 14:25:23 | 4 | * @LastEditTime: 2024-01-31 17:09:45 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; | 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; |
... | @@ -85,15 +85,12 @@ export default { | ... | @@ -85,15 +85,12 @@ export default { |
85 | let that = this; | 85 | let that = this; |
86 | switch (item.value) { | 86 | switch (item.value) { |
87 | case "B0": | 87 | case "B0": |
88 | // this.openDialog() | 88 | this.openDialog() |
89 | this.$alert('此功能正在开发', '提示', { | ||
90 | confirmButtonText: '确定', | ||
91 | }) | ||
92 | break; | 89 | break; |
93 | case "B1": | 90 | case "B1": |
94 | getWorkFlowImage(this.bsmSlsq, this.bestepid ? this.bestepid : '').then(res => { | 91 | getWorkFlowImage(this.bsmSlsq, this.bestepid ? this.bestepid : '').then(res => { |
95 | let { result } = res | 92 | let { result } = res |
96 | this.$popupDialog("流程图", "workflow/components/processViewer", { | 93 | this.$popupDialog("流程图", "workflow/top/processViewer/index", { |
97 | xml: result.xml, | 94 | xml: result.xml, |
98 | finishedInfo: { | 95 | finishedInfo: { |
99 | finishedTaskSet: result.finishedActivityIds, | 96 | finishedTaskSet: result.finishedActivityIds, |
... | @@ -142,27 +139,9 @@ export default { | ... | @@ -142,27 +139,9 @@ export default { |
142 | } | 139 | } |
143 | break; | 140 | break; |
144 | case "B6": | 141 | case "B6": |
145 | //根据编号获取对应信息 | 142 | this.$popupDialog("打印申请书", "workflow/components/dialog/sqs", |
146 | getPrintTemplateByCode({ tmpno: 'dysqs' }).then(res => { | 143 | { bsmSldy: this.currentSelectProps.bsmSldy }, '30%', true |
147 | if (res.code == 200) { | 144 | ) |
148 | getPrintApplicationForm(this.currentSelectProps.bsmSldy).then(infoRes => { | ||
149 | if (infoRes.code == 200) { | ||
150 | //打开模板设计 | ||
151 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | ||
152 | LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); //装载模板 | ||
153 | //todo 调取后端接口获取数据 循环set | ||
154 | for (let key in infoRes.result) { | ||
155 | LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]); | ||
156 | } | ||
157 | LODOP.PREVIEW(); | ||
158 | } else { | ||
159 | this.$message.error(infoRes.message) | ||
160 | } | ||
161 | }) | ||
162 | } else { | ||
163 | this.$message.error(res.message) | ||
164 | } | ||
165 | }) | ||
166 | break; | 145 | break; |
167 | case "B7": | 146 | case "B7": |
168 | this.$popupDialog("证书领取", "workflow/components/dialog/zslq", | 147 | this.$popupDialog("证书领取", "workflow/components/dialog/zslq", |
... | @@ -176,7 +155,7 @@ export default { | ... | @@ -176,7 +155,7 @@ export default { |
176 | }, '90%', true) | 155 | }, '90%', true) |
177 | break; | 156 | break; |
178 | case "back": //退回按钮 | 157 | case "back": //退回按钮 |
179 | this.$popupDialog("退回", "workflow/components/th", { | 158 | this.$popupDialog("退回", "workflow/top/back/index", { |
180 | bsmSlsq: this.bsmSlsq, | 159 | bsmSlsq: this.bsmSlsq, |
181 | bestepid: this.bestepid ? this.bestepid : '' | 160 | bestepid: this.bestepid ? this.bestepid : '' |
182 | }, '800px', true) | 161 | }, '800px', true) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-10 09:07:29 | 4 | * @LastEditTime: 2024-02-01 09:28:19 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -286,6 +286,16 @@ | ... | @@ -286,6 +286,16 @@ |
286 | .catch((res) => { | 286 | .catch((res) => { |
287 | console.log("错", res) | 287 | console.log("错", res) |
288 | }) | 288 | }) |
289 | }, | ||
290 | openDialog () { | ||
291 | let data = JSON.parse(localStorage.getItem('ywbl')) | ||
292 | let title = '' | ||
293 | if (data?.sqywmc) { | ||
294 | title = "申请业务:" + data?.sqywmc | ||
295 | } else { | ||
296 | title = "申请业务:" + data?.djywmc | ||
297 | } | ||
298 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': { ...data, bsmSlsq: this.bsmSlsq, isworkFrame: true } }, "90%", true) | ||
289 | } | 299 | } |
290 | } | 300 | } |
291 | } | 301 | } | ... | ... |
... | @@ -14,6 +14,12 @@ | ... | @@ -14,6 +14,12 @@ |
14 | align-items: center; | 14 | align-items: center; |
15 | } | 15 | } |
16 | 16 | ||
17 | .homeItem { | ||
18 | /deep/.el-card__body { | ||
19 | height: 83%; | ||
20 | } | ||
21 | } | ||
22 | |||
17 | .workbench { | 23 | .workbench { |
18 | flex-wrap: wrap; | 24 | flex-wrap: wrap; |
19 | height: 100%; | 25 | height: 100%; |
... | @@ -21,11 +27,12 @@ | ... | @@ -21,11 +27,12 @@ |
21 | 27 | ||
22 | li { | 28 | li { |
23 | width: 32.5%; | 29 | width: 32.5%; |
24 | height: 90px; | 30 | height: calc(50% - 5px); |
25 | @include flex-center; | 31 | @include flex-center; |
26 | flex-direction: column; | 32 | flex-direction: column; |
27 | color: #fff; | 33 | color: #fff; |
28 | font-size: 14px; | 34 | font-size: 14px; |
35 | margin-bottom: 0; | ||
29 | 36 | ||
30 | i { | 37 | i { |
31 | color: #fff; | 38 | color: #fff; |
... | @@ -55,10 +62,10 @@ | ... | @@ -55,10 +62,10 @@ |
55 | } | 62 | } |
56 | 63 | ||
57 | .home-left { | 64 | .home-left { |
58 | width: 70%; | 65 | width: 100%; |
59 | padding-right: 3px; | 66 | padding-right: 3px; |
60 | height: 100%; | ||
61 | font-size: 14px; | 67 | font-size: 14px; |
68 | min-height: 625px; | ||
62 | 69 | ||
63 | .list-title { | 70 | .list-title { |
64 | overflow: hidden; | 71 | overflow: hidden; |
... | @@ -81,7 +88,8 @@ | ... | @@ -81,7 +88,8 @@ |
81 | 88 | ||
82 | .box-mountNode { | 89 | .box-mountNode { |
83 | flex: 1; | 90 | flex: 1; |
84 | height: calc(100% - 490px); | 91 | // height: calc(100% - 490px); |
92 | min-height: 130px; | ||
85 | } | 93 | } |
86 | 94 | ||
87 | .home-right { | 95 | .home-right { |
... | @@ -89,6 +97,7 @@ | ... | @@ -89,6 +97,7 @@ |
89 | width: 30%; | 97 | width: 30%; |
90 | display: flex; | 98 | display: flex; |
91 | flex-direction: column; | 99 | flex-direction: column; |
100 | min-height: 620px; | ||
92 | 101 | ||
93 | .list-title { | 102 | .list-title { |
94 | overflow: hidden; | 103 | overflow: hidden; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-12 09:23:03 | 4 | * @LastEditTime: 2024-02-01 10:04:32 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="home"> | 7 | <div class="home"> |
8 | <div class="home-left"> | 8 | <div class="home-left"> |
9 | <el-row :gutter="8"> | 9 | <el-row :gutter="8" class="height50"> |
10 | <el-col :span="12"> | 10 | <el-col :span="12" class="height100"> |
11 | <el-card shadow="hover" :body-style="{ padding: '0' }" style="height:260px"> | 11 | <el-card shadow="hover" :body-style="{ padding: '0' }" class="height100 homeItem"> |
12 | <div slot="header" class="flexst"> | 12 | <div slot="header" class="flexst"> |
13 | <h5 class="title">常办项目</h5> | 13 | <h5 class="title">常办项目</h5> |
14 | <el-button type="primary" @click="setFrequencyProject">配置常办</el-button> | 14 | <el-button type="primary" @click="setFrequencyProject">配置常办</el-button> |
15 | </div> | 15 | </div> |
16 | <ul class="workbench flexst"> | 16 | <ul class="workbench flexst" style="margin:5px"> |
17 | <li v-for="(item, index) in projectList" @click="handleProject(item)" class="pointer" :key="index" | 17 | <li v-for="(item, index) in projectList" @click="handleProject(item)" class="pointer" :key="index" |
18 | :style="{ backgroundColor: newsListColor[index] }"> | 18 | :style="{ backgroundColor: newsListColor[index] }"> |
19 | <i class="el-icon-s-claim"></i> | 19 | <i class="el-icon-s-claim"></i> |
... | @@ -22,13 +22,13 @@ | ... | @@ -22,13 +22,13 @@ |
22 | </ul> | 22 | </ul> |
23 | </el-card> | 23 | </el-card> |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="12"> | 25 | <el-col :span="12" class="height100"> |
26 | <el-card shadow="hover" style="height:260px"> | 26 | <el-card shadow="hover" class="height100"> |
27 | <div slot="header" class="flexst"> | 27 | <div slot="header" class="flexst"> |
28 | <h5 class="title">系统通知</h5> | 28 | <h5 class="title">系统通知</h5> |
29 | <el-popover placement="right" width="50" trigger="hover"> | 29 | <el-popover placement="right" width="50" trigger="hover"> |
30 | <ul class="pointer"> | 30 | <ul class="pointer"> |
31 | <li @click="$store.dispatch('tagsView/addView', moreNotice)">查看更多</li> | 31 | <li @click="handleMore('xxtz')">查看更多</li> |
32 | </ul> | 32 | </ul> |
33 | <i class="el-icon-s-unfold pointer" slot="reference"></i> | 33 | <i class="el-icon-s-unfold pointer" slot="reference"></i> |
34 | </el-popover> | 34 | </el-popover> |
... | @@ -44,12 +44,17 @@ | ... | @@ -44,12 +44,17 @@ |
44 | </el-card> | 44 | </el-card> |
45 | </el-col> | 45 | </el-col> |
46 | </el-row> | 46 | </el-row> |
47 | <el-row :gutter="8" class="marginTop10"> | 47 | <el-row :gutter="8" class="marginTop10 height50"> |
48 | <el-col :span="12"> | 48 | <el-col :span="12" class="height100"> |
49 | <el-card shadow="hover" style="height:215px"> | 49 | <el-card shadow="hover" class="height100"> |
50 | <div slot="header" class="flexst"> | 50 | <div slot="header" class="flexst"> |
51 | <h5 class="title">待办事项</h5> | 51 | <h5 class="title">待办事项</h5> |
52 | <i class="el-icon-s-unfold pointer"></i> | 52 | <el-popover placement="right" width="50" trigger="hover"> |
53 | <ul class="pointer"> | ||
54 | <li @click="handleMore('dbsx')">查看更多</li> | ||
55 | </ul> | ||
56 | <i class="el-icon-s-unfold pointer" slot="reference"></i> | ||
57 | </el-popover> | ||
53 | </div> | 58 | </div> |
54 | <ul> | 59 | <ul> |
55 | <li v-for="(item, index) in todoList" :key="index" class="flexst"> | 60 | <li v-for="(item, index) in todoList" :key="index" class="flexst"> |
... | @@ -59,13 +64,13 @@ | ... | @@ -59,13 +64,13 @@ |
59 | </ul> | 64 | </ul> |
60 | </el-card> | 65 | </el-card> |
61 | </el-col> | 66 | </el-col> |
62 | <el-col :span="12"> | 67 | <el-col :span="12" class="height100"> |
63 | <el-card shadow="hover" style="height:215px"> | 68 | <el-card shadow="hover" class="height100"> |
64 | <div slot="header" class="flexst"> | 69 | <div slot="header" class="flexst"> |
65 | <h5 class="title">政策法规</h5> | 70 | <h5 class="title">政策法规</h5> |
66 | <el-popover placement="right" width="50" trigger="hover"> | 71 | <el-popover placement="right" width="50" trigger="hover"> |
67 | <ul class="pointer"> | 72 | <ul class="pointer"> |
68 | <li @click="$store.dispatch('tagsView/addView', moreNotice)">查看更多</li> | 73 | <li @click="handleMore('flfg')">查看更多</li> |
69 | </ul> | 74 | </ul> |
70 | <i class="el-icon-s-unfold pointer" slot="reference"></i> | 75 | <i class="el-icon-s-unfold pointer" slot="reference"></i> |
71 | </el-popover> | 76 | </el-popover> |
... | @@ -80,12 +85,12 @@ | ... | @@ -80,12 +85,12 @@ |
80 | </el-card> | 85 | </el-card> |
81 | </el-col> | 86 | </el-col> |
82 | </el-row> | 87 | </el-row> |
83 | <el-card shadow="hover" class="marginTop10 box-mountNode" id="mountNodeCon" | 88 | <!-- <el-card shadow="hover" class="marginTop10 box-mountNode" id="mountNodeCon" |
84 | :body-style="{ padding: '8px 6px 0 6px' }"> | 89 | :body-style="{ padding: '8px 6px 0 6px' }"> |
85 | <div id="mountNode"></div> | 90 | <div id="mountNode"></div> |
86 | </el-card> | 91 | </el-card> --> |
87 | </div> | 92 | </div> |
88 | <div class="home-right"> | 93 | <!-- <div class="home-right"> |
89 | <el-card shadow="hover"> | 94 | <el-card shadow="hover"> |
90 | <div slot="header" class="flexst"> | 95 | <div slot="header" class="flexst"> |
91 | <h5 class="title">用户登录时间</h5> | 96 | <h5 class="title">用户登录时间</h5> |
... | @@ -104,7 +109,7 @@ | ... | @@ -104,7 +109,7 @@ |
104 | </li> | 109 | </li> |
105 | </ul> | 110 | </ul> |
106 | </el-card> | 111 | </el-card> |
107 | </div> | 112 | </div> --> |
108 | <addDialog ref="addProject" v-model="projectDialog" :bindItem="projectList" /> | 113 | <addDialog ref="addProject" v-model="projectDialog" :bindItem="projectList" /> |
109 | </div> | 114 | </div> |
110 | </template> | 115 | </template> |
... | @@ -185,14 +190,22 @@ | ... | @@ -185,14 +190,22 @@ |
185 | } | 190 | } |
186 | }, | 191 | }, |
187 | mounted () { | 192 | mounted () { |
188 | this.buildChart();//构建图标 | 193 | // this.buildChart();//构建图标 |
189 | this.loginTimeChart() | 194 | // this.loginTimeChart() |
190 | this.queryTodoList();//获取待办列表 | 195 | this.queryTodoList();//获取待办列表 |
191 | this.queryDoneList();//获取已办列表 | 196 | this.queryDoneList();//获取已办列表 |
192 | this.queryNoticeList();//获取通知、法律法规列表 | 197 | this.queryNoticeList();//获取通知、法律法规列表 |
193 | this.queryProjectList();//获取常办项目列表 | 198 | this.queryProjectList();//获取常办项目列表 |
194 | }, | 199 | }, |
195 | methods: { | 200 | methods: { |
201 | handleMore (val) { | ||
202 | let obj = { | ||
203 | 'xxtz': '/system/xttz', | ||
204 | 'dbsx': '/ywbl/dbx', | ||
205 | 'flfg': '/system/flfg' | ||
206 | } | ||
207 | this.$router.push(obj[val]) | ||
208 | }, | ||
196 | /** | 209 | /** |
197 | * @description: handleProject | 210 | * @description: handleProject |
198 | * @param {*} item | 211 | * @param {*} item |
... | @@ -403,6 +416,12 @@ | ... | @@ -403,6 +416,12 @@ |
403 | } | 416 | } |
404 | </script> | 417 | </script> |
405 | <style scoped lang="scss"> | 418 | <style scoped lang="scss"> |
419 | .height50 { | ||
420 | height: calc(50% - 4px); | ||
421 | } | ||
422 | .height100 { | ||
423 | height: 100%; | ||
424 | } | ||
406 | @import "~@/styles/mixin.scss"; | 425 | @import "~@/styles/mixin.scss"; |
407 | @import "./index.scss"; | 426 | @import "./index.scss"; |
408 | /deep/.el-card__header { | 427 | /deep/.el-card__header { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 09:50:45 | 4 | * @LastEditTime: 2023-11-30 17:07:18 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div id="login"> | 7 | <div id="login"> |
... | @@ -260,7 +260,12 @@ | ... | @@ -260,7 +260,12 @@ |
260 | position: absolute; | 260 | position: absolute; |
261 | left: 50%; | 261 | left: 50%; |
262 | top: calc(50% + 10px); | 262 | top: calc(50% + 10px); |
263 | transform: translate(-50%, -50%); | 263 | margin: -225px 0 0 -468px; |
264 | } | ||
265 | @media screen and (max-width: 1440px) { | ||
266 | .login-content-wrap { | ||
267 | transform: scale(0.8); | ||
268 | } | ||
264 | } | 269 | } |
265 | .login-logo { | 270 | .login-logo { |
266 | height: 70px; | 271 | height: 70px; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Author: yangwei | 2 | * @Author: yangwei |
3 | * @Date: 2023-02-28 15:47:12 | 3 | * @Date: 2023-02-28 15:47:12 |
4 | * @LastEditors: yangwei | 4 | * @LastEditors: vers |
5 | * @LastEditTime: 2023-09-20 17:14:39 | 5 | * @LastEditTime: 2024-02-05 16:06:30 |
6 | * @FilePath: \bdcdj-web\src\views\lpb\lpbContent\ch.vue | 6 | * @FilePath: \bdcdj-web\src\views\lpb\lpbContent\ch.vue |
7 | * @Description: | 7 | * @Description: |
8 | * | 8 | * |
... | @@ -16,14 +16,16 @@ | ... | @@ -16,14 +16,16 @@ |
16 | border="1" | 16 | border="1" |
17 | cellspacing="0" | 17 | cellspacing="0" |
18 | cellpadding="0" | 18 | cellpadding="0" |
19 | v-show="ch.length"> | 19 | v-show="ch.length" |
20 | > | ||
20 | <tr v-for="(cs, csIndex) in ch" :key="csIndex"> | 21 | <tr v-for="(cs, csIndex) in ch" :key="csIndex"> |
21 | <!-- 显示层数 --> | 22 | <!-- 显示层数 --> |
22 | <td | 23 | <td |
23 | class="floor" | 24 | class="floor" |
24 | ref="cBsm" | 25 | ref="cBsm" |
25 | @contextmenu.prevent="openMenu($event, cs, 'c')" | 26 | @contextmenu.prevent="openMenu($event, cs, 'c')" |
26 | @click="handleClickC($event, cs)"> | 27 | @click="handleClickC($event, cs)" |
28 | > | ||
27 | {{ cs.sjc }}层 | 29 | {{ cs.sjc }}层 |
28 | </td> | 30 | </td> |
29 | <!-- 显示户 --> | 31 | <!-- 显示户 --> |
... | @@ -35,15 +37,22 @@ | ... | @@ -35,15 +37,22 @@ |
35 | :data-qszt="hs.qszt" | 37 | :data-qszt="hs.qszt" |
36 | ref="hBsm" | 38 | ref="hBsm" |
37 | :key="hsIndex" | 39 | :key="hsIndex" |
38 | :style="{'border-color': borderColor}" | 40 | :style="{ 'border-color': borderColor }" |
39 | :class="hs.select ? 'tdSelect' : ''" | 41 | :class="hs.select ? 'tdSelect' : ''" |
40 | @click="handleClickH($event.target, hs.bsm, hs)" | 42 | @click="handleClickH($event.target, hs.bsm, hs)" |
41 | @dblclick="dbclick(hs.bsm)" | 43 | @dblclick="dbclick(hs.bsm)" |
42 | @contextmenu.prevent="openMenu($event, hs, 'h')"> | 44 | @contextmenu.prevent="openMenu($event, hs, 'h')" |
45 | > | ||
43 | {{ hs.shbw }} | 46 | {{ hs.shbw }} |
44 | <span @click.stop="" class="hqszt lin" v-show="hs.qszt == '0'">临</span> | 47 | <span @click.stop="" class="hqszt lin" v-show="hs.qszt == '0'" |
45 | <span @click.stop="" class="hqszt zheng" v-show="hs.qszt == '1'">正</span> | 48 | >临</span |
46 | <span @click.stop="" class="hqszt xian" v-show="hs.qszt == '2'">现</span> | 49 | > |
50 | <span @click.stop="" class="hqszt zheng" v-show="hs.qszt == '1'" | ||
51 | >正</span | ||
52 | > | ||
53 | <span @click.stop="" class="hqszt xian" v-show="hs.qszt == '2'" | ||
54 | >现</span | ||
55 | > | ||
47 | <ul @click.stop="hDyztClick($event, hs.bsm, hs)" class="dyzt"> | 56 | <ul @click.stop="hDyztClick($event, hs.bsm, hs)" class="dyzt"> |
48 | <li style="background-color: #6edee1" v-show="hs.qqzt == '1'"> | 57 | <li style="background-color: #6edee1" v-show="hs.qqzt == '1'"> |
49 | 确 | 58 | 确 |
... | @@ -71,14 +80,16 @@ | ... | @@ -71,14 +80,16 @@ |
71 | </template> | 80 | </template> |
72 | 81 | ||
73 | <script> | 82 | <script> |
83 | import { set } from "nprogress"; | ||
84 | |||
74 | export default { | 85 | export default { |
75 | name: "BdcdjWebCh", | 86 | name: "BdcdjWebCh", |
76 | inject: { | 87 | inject: { |
77 | openMenu:{value:'openMenu',default:null}, | 88 | openMenu: { value: "openMenu", default: null }, |
78 | selectAll:{value:'selectAll',default:null}, | 89 | selectAll: { value: "selectAll", default: null }, |
79 | changeChoosedObj:{value:'changeChoosedObj',default:null}, | 90 | changeChoosedObj: { value: "changeChoosedObj", default: null }, |
80 | clearChangeChoosedObj:{value:'clearChangeChoosedObj',default:null}, | 91 | clearChangeChoosedObj: { value: "clearChangeChoosedObj", default: null }, |
81 | getBsmList:{value:'getBsmList',default:null} | 92 | getBsmList: { value: "getBsmList", default: null }, |
82 | }, | 93 | }, |
83 | props: { | 94 | props: { |
84 | ch: { | 95 | ch: { |
... | @@ -87,10 +98,10 @@ export default { | ... | @@ -87,10 +98,10 @@ export default { |
87 | return []; | 98 | return []; |
88 | }, | 99 | }, |
89 | }, | 100 | }, |
90 | onlyShow:{ | 101 | onlyShow: { |
91 | type: Boolean, | 102 | type: Boolean, |
92 | default: true, | 103 | default: true, |
93 | } | 104 | }, |
94 | }, | 105 | }, |
95 | data() { | 106 | data() { |
96 | return { | 107 | return { |
... | @@ -101,26 +112,27 @@ export default { | ... | @@ -101,26 +112,27 @@ export default { |
101 | //区分单双击事件的定时器 | 112 | //区分单双击事件的定时器 |
102 | time: null, | 113 | time: null, |
103 | // 边框颜色 | 114 | // 边框颜色 |
104 | borderColor:'rgb(230, 230, 230)', | 115 | borderColor: "rgb(230, 230, 230)", |
105 | // 申请单元列表数据 | 116 | // 申请单元列表数据 |
106 | unitIdList:[], | 117 | unitIdList: [], |
107 | // 组件标识 | 118 | // 组件标识 |
108 | compFlag:Math.random() | 119 | compFlag: Math.random(), |
109 | }; | 120 | }; |
110 | }, | 121 | }, |
111 | mounted() { | 122 | mounted() { |
112 | // 根据申请单元列表数据处理选中户 | 123 | // 根据申请单元列表数据处理选中户 |
113 | console.log("window.unitData",window.unitData); | 124 | console.log("window.unitData", window.unitData); |
114 | if(window.unitData && window.unitData.length){ | 125 | if (window.unitData && window.unitData.length) { |
115 | window.unitData.forEach(e => { | 126 | window.unitData.forEach((e) => { |
116 | this.unitIdList.push(e.bdcdyid) | 127 | this.unitIdList.push(e.bdcdyid); |
117 | }) | 128 | }); |
129 | console.log(this.unitIdList, "this.unitIdList"); | ||
118 | this.ch.forEach((c) => { | 130 | this.ch.forEach((c) => { |
119 | c.hs.forEach((h) => { | 131 | c.hs.forEach((h) => { |
120 | if (h.dyhbsm.indexOf(this.unitIdList) > -1) { | 132 | if (this.unitIdList.indexOf(h.dyhbsm) > -1) { |
121 | h.select = true; | 133 | h.select = true; |
122 | // 使用hbsmList时,需要去重 | 134 | // 使用hbsmList时,需要去重 |
123 | this.hbsmList.push(h.bsm) | 135 | this.hbsmList.push(h.bsm); |
124 | } | 136 | } |
125 | }); | 137 | }); |
126 | }); | 138 | }); |
... | @@ -144,7 +156,7 @@ export default { | ... | @@ -144,7 +156,7 @@ export default { |
144 | e.target.className += " tdSelect"; | 156 | e.target.className += " tdSelect"; |
145 | h.select = true; | 157 | h.select = true; |
146 | // 使用hbsmList时,需要去重 | 158 | // 使用hbsmList时,需要去重 |
147 | this.hbsmList.push(h.bsm) | 159 | this.hbsmList.push(h.bsm); |
148 | }); | 160 | }); |
149 | } else { | 161 | } else { |
150 | //选中→未选中 | 162 | //选中→未选中 |
... | @@ -217,83 +229,86 @@ export default { | ... | @@ -217,83 +229,86 @@ export default { |
217 | * @param {*} flag | 229 | * @param {*} flag |
218 | * @author: renchao | 230 | * @author: renchao |
219 | */ | 231 | */ |
220 | zdySelectAll(val,flag) { | 232 | zdySelectAll(val, flag) { |
221 | // 手动点击全部取消选中 | 233 | // 手动点击全部取消选中 |
222 | !flag && this.clearChangeChoosedObj() | 234 | !flag && this.clearChangeChoosedObj(); |
223 | this.ch.forEach((c) => { | 235 | this.ch.forEach((c) => { |
224 | c.hs.forEach((h) => { | 236 | c.hs.forEach((h) => { |
225 | if (val) { | 237 | if (val) { |
226 | h.select = true; | 238 | h.select = true; |
227 | // 使用hbsmList时,需要去重 | 239 | // 使用hbsmList时,需要去重 |
228 | this.hbsmList.push(h.bsm) | 240 | this.hbsmList.push(h.bsm); |
229 | } else { | 241 | } else { |
230 | h.select = false; | 242 | h.select = false; |
231 | this.borderColor = 'rgb(230, 230, 230)' | 243 | this.borderColor = "rgb(230, 230, 230)"; |
232 | this.hbsmList = [] | 244 | this.hbsmList = []; |
233 | } | 245 | } |
234 | }); | 246 | }); |
235 | }); | 247 | }); |
236 | this.$refs.hBsm && this.$refs.hBsm.forEach((item) => { | 248 | this.$refs.hBsm && |
249 | this.$refs.hBsm.forEach((item) => { | ||
237 | // item.style.borderColor = this.borderColor | 250 | // item.style.borderColor = this.borderColor |
238 | item.style.backgroundColor = '#fff'; | 251 | item.style.backgroundColor = "#fff"; |
239 | // item.style.border = `1px solid ${this.borderColor}` | 252 | // item.style.border = `1px solid ${this.borderColor}` |
240 | }); | 253 | }); |
241 | }, | 254 | }, |
242 | //清除选中 | 255 | //清除选中 |
243 | clearChoosed(){ | 256 | clearChoosed() { |
244 | //清除选中户 | 257 | //清除选中户 |
245 | this.zdySelectAll(false) | 258 | this.zdySelectAll(false); |
246 | //清除选中层 | 259 | //清除选中层 |
247 | this.cbsmList = []; | 260 | this.cbsmList = []; |
248 | this.$refs.cBsm && this.$refs.cBsm.forEach((item)=>{ | 261 | this.$refs.cBsm && |
249 | item.className = 'floor' | 262 | this.$refs.cBsm.forEach((item) => { |
250 | }) | 263 | item.className = "floor"; |
264 | }); | ||
251 | }, | 265 | }, |
252 | }, | 266 | }, |
253 | watch: { | 267 | watch: { |
254 | selectAll: { | 268 | selectAll: { |
255 | handler(val) { | 269 | handler(val) { |
256 | this.zdySelectAll(val.selectAll); | 270 | this.zdySelectAll(val.selectAll); |
257 | val.cancelChoosed && this.clearChoosed() | 271 | val.cancelChoosed && this.clearChoosed(); |
258 | }, | 272 | }, |
259 | immediate: true, | 273 | immediate: true, |
260 | deep: true, | 274 | deep: true, |
261 | }, | 275 | }, |
262 | hbsmList(val){ | 276 | hbsmList(val) { |
263 | let list = [] | 277 | let list = []; |
264 | val.length && val.forEach((i)=>{ | 278 | val.length && |
279 | val.forEach((i) => { | ||
265 | this.ch.forEach((c) => { | 280 | this.ch.forEach((c) => { |
266 | c.hs.forEach((h) => { | 281 | c.hs.forEach((h) => { |
267 | if (i == h.bsm) { | 282 | if (i == h.bsm) { |
268 | list.push( | 283 | list.push({ |
269 | { | 284 | bdcdyh: h.bdcdyh, |
270 | bdcdyh:h.bdcdyh, | 285 | bsm: h.bsm, |
271 | bsm:h.bsm, | 286 | dyhbsm: h.dyhbsm, |
272 | dyhbsm:h.dyhbsm, | 287 | bdcdyid: h.dyhbsm, |
273 | bdcdyid:h.dyhbsm, | 288 | zl: h.zl, |
274 | bdcdylx:'7', | 289 | bdcdylx: "7", |
275 | flag:this.compFlag | 290 | flag: this.compFlag, |
276 | } | 291 | }); |
277 | ) | ||
278 | } | 292 | } |
279 | }); | 293 | }); |
280 | }); | 294 | }); |
281 | }) | 295 | }); |
282 | this.getBsmList(list,this.compFlag) | 296 | this.getBsmList(list, this.compFlag); |
283 | }, | 297 | }, |
284 | changeChoosedObj: { | 298 | changeChoosedObj: { |
285 | handler(val) { | 299 | handler(val) { |
286 | this.borderColor = 'rgb(230, 230, 230)'; | 300 | this.borderColor = "rgb(230, 230, 230)"; |
287 | if (val.bsms.length) { | 301 | if (val.bsms.length) { |
288 | //清除选中户 | 302 | //清除选中户 |
289 | this.zdySelectAll(false,true) | 303 | this.zdySelectAll(false, true); |
290 | this.$refs.hBsm.forEach((item) => { | 304 | this.$refs.hBsm.forEach((item) => { |
291 | val.bsms.forEach((i,ind) => { | 305 | val.bsms.forEach((i, ind) => { |
292 | if (item.dataset.bsm == i) { | 306 | if (item.dataset.bsm == i) { |
293 | if (ind == 0) { | 307 | if (ind == 0) { |
294 | //定位到第一个户所在位置 | 308 | //定位到第一个户所在位置 |
295 | window.lpbContent.$refs.lpbContent.scrollTop = item.offsetTop; | 309 | window.lpbContent.$refs.lpbContent.scrollTop = item.offsetTop; |
296 | window.lpbContent.$refs.lpbContent.scrollLeft = item.offsetLeft; | 310 | window.lpbContent.$refs.lpbContent.scrollLeft = |
311 | item.offsetLeft; | ||
297 | } | 312 | } |
298 | // item.style.border = '1px solid '+ val.color; | 313 | // item.style.border = '1px solid '+ val.color; |
299 | // 背景色高亮 | 314 | // 背景色高亮 |
... | @@ -305,12 +320,12 @@ export default { | ... | @@ -305,12 +320,12 @@ export default { |
305 | }, | 320 | }, |
306 | immediate: true, | 321 | immediate: true, |
307 | deep: true, | 322 | deep: true, |
308 | } | 323 | }, |
309 | }, | 324 | }, |
310 | }; | 325 | }; |
311 | </script> | 326 | </script> |
312 | <style lang="scss" scoped> | 327 | <style lang="scss" scoped> |
313 | .ch-wrap { | 328 | .ch-wrap { |
314 | display: flex; | 329 | display: flex; |
315 | flex-direction: column-reverse; | 330 | flex-direction: column-reverse; |
316 | .chTable { | 331 | .chTable { |
... | @@ -395,5 +410,5 @@ export default { | ... | @@ -395,5 +410,5 @@ export default { |
395 | } | 410 | } |
396 | } | 411 | } |
397 | } | 412 | } |
398 | } | 413 | } |
399 | </style> | 414 | </style> | ... | ... |
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | lpbData.xmmc | 18 | lpbData.xmmc |
19 | }}</el-checkbox> | 19 | }}</el-checkbox> |
20 | </p> | 20 | </p> |
21 | <el-button type="primary" class="save-btn" v-if="!onlyShow && showSave" @click="saveLpb">保存</el-button> | 21 | <el-button type="primary" class="save-btn" v-if="!onlyShow && showSave" @click="saveLpb">选择确认</el-button> |
22 | <el-button type="primary" class="save-btn" v-if="!onlyShow && !showSave" @click="submitForm" :loading="loading">发起申请</el-button> | 22 | <el-button type="primary" class="save-btn" v-if="!onlyShow && !showSave" @click="submitForm" :loading="loading">发起申请</el-button> |
23 | <!-- 右键菜单 --> | 23 | <!-- 右键菜单 --> |
24 | <ul | 24 | <ul |
... | @@ -36,7 +36,7 @@ import { getLpb } from "@/api/lpcx.js"; | ... | @@ -36,7 +36,7 @@ import { getLpb } from "@/api/lpcx.js"; |
36 | import chCpn from "./ch.vue"; | 36 | import chCpn from "./ch.vue"; |
37 | import zdyCpn from "./zdys.vue"; | 37 | import zdyCpn from "./zdys.vue"; |
38 | import ljzsCpn from "./ljzs.vue"; | 38 | import ljzsCpn from "./ljzs.vue"; |
39 | import { startBusinessFlow, choiceBdcdy } from "@/api/workFlow.js"; | 39 | import { startBusinessFlow, choiceBdcdy,againAddSldy } from "@/api/workFlow.js"; |
40 | import jump from "../../ywbl/ywsq/components/mixin/jump"; | 40 | import jump from "../../ywbl/ywsq/components/mixin/jump"; |
41 | import store from '@/store/index.js' | 41 | import store from '@/store/index.js' |
42 | import { ywPopupCacel } from "@/utils/popup.js"; | 42 | import { ywPopupCacel } from "@/utils/popup.js"; |
... | @@ -132,10 +132,45 @@ export default { | ... | @@ -132,10 +132,45 @@ export default { |
132 | * @author: renchao | 132 | * @author: renchao |
133 | */ | 133 | */ |
134 | saveLpb(){ | 134 | saveLpb(){ |
135 | if (this.bsmList.length == 0) { | ||
136 | this.$message.error("请至少选择一条数据"); | ||
137 | return; | ||
138 | } | ||
139 | this.loading = true; | ||
140 | againAddSldy({ | ||
141 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
142 | bsmSlsq: this.sqywInfo.bsmSlsq, | ||
143 | bdcdysz: this.bsmList, | ||
144 | sjlx: "houses" | ||
145 | }).then((res) => { | ||
146 | this.loading = false | ||
147 | if (res.code == 200) { | ||
148 | this.$message({ | ||
149 | showClose: true, | ||
150 | message: '添加成功', | ||
151 | type: 'success' | ||
152 | }) | ||
153 | if (!this.isJump) { | ||
154 | this.jump(res.result, this.sqywInfo.djywbm) | ||
155 | } else { | ||
156 | store.dispatch('user/refreshPage', true); | ||
157 | } | ||
158 | //this.close(); | ||
159 | this.$popupCacel(); | ||
160 | } else { | ||
161 | if (res.result && res.result.length > 0) { | ||
162 | this.$popup("申请错误明细", "components/ywdialog", { width:'36%', formData:{result: res.result} }) | ||
163 | } else { | ||
164 | this.$popup("申请错误明细", "components/ywdialog", { width:'36%', formData:{message: res.message} }) | ||
165 | } | ||
166 | } | ||
167 | }).catch(() => { | ||
168 | this.loading = false | ||
169 | }) | ||
135 | // todo 调用保存接口 传入参数待定 | 170 | // todo 调用保存接口 传入参数待定 |
136 | console.log(this.bsmList,'this.bsmList'); | 171 | //console.log(this.bsmList,'this.bsmList'); |
137 | // 保存成功后关闭弹框 | 172 | // 保存成功后关闭弹框 |
138 | this.$popupCacel() | 173 | //this.$popupCacel() |
139 | }, | 174 | }, |
140 | // 改变户选中状态 | 175 | // 改变户选中状态 |
141 | /** | 176 | /** | ... | ... |
... | @@ -70,7 +70,7 @@ | ... | @@ -70,7 +70,7 @@ |
70 | <style lang="scss" scoped> | 70 | <style lang="scss" scoped> |
71 | .djbfm { | 71 | .djbfm { |
72 | width: 100%; | 72 | width: 100%; |
73 | height: 80%; | 73 | height: 100%; |
74 | background: #fff; | 74 | background: #fff; |
75 | line-height: 45px; | 75 | line-height: 45px; |
76 | text-align: center; | 76 | text-align: center; | ... | ... |
... | @@ -219,10 +219,9 @@ | ... | @@ -219,10 +219,9 @@ |
219 | </script> | 219 | </script> |
220 | <style lang="scss" scoped> | 220 | <style lang="scss" scoped> |
221 | @import "~@/styles/tablecss.scss"; | 221 | @import "~@/styles/tablecss.scss"; |
222 | .tableDivCss{ | 222 | .tableDivCss { |
223 | width: 100%; | 223 | width: 100%; |
224 | height: 100%; | 224 | height: 100%; |
225 | background-color: rgb(255, 255, 255); | 225 | background-color: rgb(255, 255, 255); |
226 | |||
227 | } | 226 | } |
228 | </style> | 227 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 09:52:07 | 4 | * @LastEditTime: 2023-11-08 14:12:17 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="bdcqljqtsx"> | 7 | <div class="bdcqljqtsx"> |
8 | <el-button class="print" v-print="printObj">打印</el-button> | 8 | <el-button class="print" v-print="printObj">打印</el-button> |
9 | <div class="content" v-if="qlxxList.ztqlmc" id="box"> | 9 | <div class="content" v-if="qlxxList.ztqlmc" id="box"> |
10 | <div class="title">不动产权利及其他事项<br />登记信息</div> | 10 | <div class="title">不动产权利及其他事项<br />登记信息</div> |
11 | <div> | 11 | <div style="text-align:center"> |
12 | 不动产单元号: | 12 | 不动产单元号: |
13 | <div class="underline">{{ propsParam.bdcdyh }}</div> | 13 | <div class="underline">{{ propsParam.bdcdyh }}</div> |
14 | </div> | 14 | </div> |
15 | <br /><br /><br /> | 15 | <br /><br /><br /> |
16 | <div> | 16 | <div class="detail"> |
17 | <div class="underline">{{ qlxxList.ztqlmc }}</div> | 17 | <div class="underline">{{ qlxxList.ztqlmc }}</div> |
18 | 登记 共 | 18 | 登记 共 |
19 | <div class="underline">{{ qlxxList.ztql.total }}</div> | 19 | <div class="underline">{{ qlxxList.ztql.total }}</div> |
20 | 条 | 20 | 条 |
21 | </div> | 21 | </div> |
22 | <br /><br /> | 22 | <br /><br /> |
23 | <div> | 23 | <div class="detail"> |
24 | 抵押权登记 共 | 24 | 抵押权登记 共 |
25 | <div class="underline">{{ qlxxList.diyaq.total }}</div> | 25 | <div class="underline">{{ qlxxList.diyaq.total }}</div> |
26 | 条 | 26 | 条 |
27 | </div> | 27 | </div> |
28 | <br /> | 28 | <br /> |
29 | <div> | 29 | <div class="detail"> |
30 | 地役权登记 共 | 30 | 地役权登记 共 |
31 | <div class="underline">{{ qlxxList.diyiq.total }}</div> | 31 | <div class="underline">{{ qlxxList.diyiq.total }}</div> |
32 | 条 | 32 | 条 |
33 | </div> | 33 | </div> |
34 | <br /> | 34 | <br /> |
35 | <div> | 35 | <div class="detail"> |
36 | 预告登记 共 | 36 | 预告登记 共 |
37 | <div class="underline">{{ qlxxList.ygdj.total }}</div> | 37 | <div class="underline">{{ qlxxList.ygdj.total }}</div> |
38 | 条 | 38 | 条 |
39 | </div> | 39 | </div> |
40 | <br /> | 40 | <br /> |
41 | <div> | 41 | <div class="detail"> |
42 | 异议登记 共 | 42 | 异议登记 共 |
43 | <div class="underline">{{ qlxxList.yydj.total }}</div> | 43 | <div class="underline">{{ qlxxList.yydj.total }}</div> |
44 | 条 | 44 | 条 |
45 | </div> | 45 | </div> |
46 | <br /> | 46 | <br /> |
47 | <div> | 47 | <div class="detail"> |
48 | 查封登记 共 | 48 | 查封登记 共 |
49 | <div class="underline">{{ qlxxList.cfdj.total }}</div> | 49 | <div class="underline">{{ qlxxList.cfdj.total }}</div> |
50 | 条 | 50 | 条 |
... | @@ -83,6 +83,9 @@ | ... | @@ -83,6 +83,9 @@ |
83 | </script> | 83 | </script> |
84 | 84 | ||
85 | <style lang="scss" scoped> | 85 | <style lang="scss" scoped> |
86 | .detail { | ||
87 | margin-right: 19%; | ||
88 | } | ||
86 | .bdcqljqtsx { | 89 | .bdcqljqtsx { |
87 | width: 100%; | 90 | width: 100%; |
88 | height: 100%; | 91 | height: 100%; |
... | @@ -95,7 +98,6 @@ | ... | @@ -95,7 +98,6 @@ |
95 | left: 11px; | 98 | left: 11px; |
96 | top: 5px; | 99 | top: 5px; |
97 | } | 100 | } |
98 | |||
99 | } | 101 | } |
100 | .content { | 102 | .content { |
101 | width: 50%; | 103 | width: 50%; |
... | @@ -108,7 +110,6 @@ | ... | @@ -108,7 +110,6 @@ |
108 | font-size: 18px; | 110 | font-size: 18px; |
109 | line-height: 16px; | 111 | line-height: 16px; |
110 | 112 | ||
111 | |||
112 | .title { | 113 | .title { |
113 | font-size: 32px; | 114 | font-size: 32px; |
114 | text-align: center; | 115 | text-align: center; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-12 09:56:45 | 4 | * @LastEditTime: 2023-12-15 14:42:16 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="rlPopup"> | 7 | <div class="rlPopup"> |
... | @@ -12,8 +12,7 @@ | ... | @@ -12,8 +12,7 @@ |
12 | <i class="el-icon-arrow-right"></i> | 12 | <i class="el-icon-arrow-right"></i> |
13 | </div> | 13 | </div> |
14 | <div class="img-list-wrap" v-Loading="loading"> | 14 | <div class="img-list-wrap" v-Loading="loading"> |
15 | <img src="http://127.0.0.1:38088/video=stream&camidx=0" v-if="isScan" alt=""> | 15 | <div v-for="(img, i) in previewImg.imgList" :key="i"> |
16 | <div v-for="(img, i) in previewImg.imgList" :key="i" v-else> | ||
17 | <photo-zoom :url="img.fjurl" :bigWidth="165" v-if="i === previewImg.index" :scale="2" | 16 | <photo-zoom :url="img.fjurl" :bigWidth="165" v-if="i === previewImg.index" :scale="2" |
18 | overlayStyle="width: 100%;height:100%"> | 17 | overlayStyle="width: 100%;height:100%"> |
19 | </photo-zoom> | 18 | </photo-zoom> |
... | @@ -60,8 +59,6 @@ | ... | @@ -60,8 +59,6 @@ |
60 | loading: false, | 59 | loading: false, |
61 | key: 0, | 60 | key: 0, |
62 | isScan: false, | 61 | isScan: false, |
63 | // 打开高拍仪 | ||
64 | scanTitle: '打开高拍仪', | ||
65 | transform: { | 62 | transform: { |
66 | scale: 1, | 63 | scale: 1, |
67 | degree: 0 | 64 | degree: 0 |
... | @@ -165,7 +162,7 @@ | ... | @@ -165,7 +162,7 @@ |
165 | height: 66px; | 162 | height: 66px; |
166 | line-height: 75px; | 163 | line-height: 75px; |
167 | color: #fff; | 164 | color: #fff; |
168 | background-color: rgb(239, 239, 239); | 165 | background-color: #ccc; |
169 | border-radius: 50%; | 166 | border-radius: 50%; |
170 | cursor: pointer; | 167 | cursor: pointer; |
171 | text-align: center; | 168 | text-align: center; |
... | @@ -201,7 +198,8 @@ | ... | @@ -201,7 +198,8 @@ |
201 | display: block; | 198 | display: block; |
202 | object-fit: scale-down; | 199 | object-fit: scale-down; |
203 | transition: all 0.3s; | 200 | transition: all 0.3s; |
204 | max-width: 100%; | 201 | width: 100%; |
202 | height: 100%; | ||
205 | } | 203 | } |
206 | } | 204 | } |
207 | 205 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-09 10:18:46 | 4 | * @LastEditTime: 2024-01-29 14:27:07 |
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,6 +148,7 @@ | ... | @@ -148,6 +148,7 @@ |
148 | clmlInitList (type) { | 148 | clmlInitList (type) { |
149 | // 1:列表初始化 2:新增材料 | 149 | // 1:列表初始化 2:新增材料 |
150 | return new Promise((resolve) => { | 150 | return new Promise((resolve) => { |
151 | if (this.formData.sjlx == 2) { | ||
151 | repairInitClml(this.formData).then((res) => { | 152 | repairInitClml(this.formData).then((res) => { |
152 | if (res.code == 200) { | 153 | if (res.code == 200) { |
153 | resolve(res.code); | 154 | resolve(res.code); |
... | @@ -167,6 +168,31 @@ | ... | @@ -167,6 +168,31 @@ |
167 | this.$message.error(res.message); | 168 | this.$message.error(res.message); |
168 | } | 169 | } |
169 | }) | 170 | }) |
171 | } else { | ||
172 | var formdata = new FormData(); | ||
173 | formdata.append("bsmSlsq", this.formData.bsmSlsq ? this.formData.bsmSlsq : ''); | ||
174 | formdata.append("bsmSldy", this.formData.bsmSldy ? this.formData.bsmSldy : ''); | ||
175 | console.log(this.formData); | ||
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 | } | ||
170 | }) | 196 | }) |
171 | }, | 197 | }, |
172 | /** | 198 | /** |
... | @@ -279,13 +305,11 @@ | ... | @@ -279,13 +305,11 @@ |
279 | position: absolute; | 305 | position: absolute; |
280 | 306 | ||
281 | .menu-tree { | 307 | .menu-tree { |
282 | width: 20%; | 308 | width: 26%; |
283 | min-width: 160px; | 309 | min-width: 160px; |
284 | height: 100%; | 310 | height: 100%; |
285 | margin-right: 10px; | 311 | margin-right: 5px; |
286 | border-right: 1px dotted #d9d9d9; | 312 | border-right: 1px dotted #d9d9d9; |
287 | padding: 0 15px; | ||
288 | |||
289 | .item { | 313 | .item { |
290 | line-height: 30px; | 314 | line-height: 30px; |
291 | padding-top: 5px; | 315 | padding-top: 5px; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-02 13:39:28 | 4 | * @LastEditTime: 2024-01-30 16:53:30 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="tableBox"> | 7 | <div class="tableBox"> |
... | @@ -74,7 +74,7 @@ | ... | @@ -74,7 +74,7 @@ |
74 | <el-link v-if="['zxywh', 'ywh'].includes(item.prop)" | 74 | <el-link v-if="['zxywh', 'ywh'].includes(item.prop)" |
75 | @click="handleSelectYwh(row, row[item.prop])" | 75 | @click="handleSelectYwh(row, row[item.prop])" |
76 | type="primary">{{ row[item.prop] }}</el-link> | 76 | type="primary">{{ row[item.prop] }}</el-link> |
77 | <span v-if="!['qszt','ywh', 'zxywh' ].includes(item.prop)">{{ getLable(item.prop,row[item.prop]) }}</span> | 77 | <span v-if="!['qszt','ywh', 'zxywh'].includes(item.prop)">{{ getLable(item.prop,row[item.prop],row) }}</span> |
78 | </p> | 78 | </p> |
79 | 79 | ||
80 | <el-tooltip | 80 | <el-tooltip |
... | @@ -139,7 +139,7 @@ | ... | @@ -139,7 +139,7 @@ |
139 | }; | 139 | }; |
140 | }, | 140 | }, |
141 | methods: { | 141 | methods: { |
142 | getLable (prop, label) { | 142 | getLable (prop, label, row) { |
143 | const ztObj = { | 143 | const ztObj = { |
144 | 0: '否', | 144 | 0: '否', |
145 | 1: '是' | 145 | 1: '是' |
... | @@ -158,9 +158,25 @@ | ... | @@ -158,9 +158,25 @@ |
158 | }, | 158 | }, |
159 | default: (label) => label | 159 | default: (label) => label |
160 | }; | 160 | }; |
161 | |||
162 | const strategy = strategies[prop] || strategies.default; | 161 | const strategy = strategies[prop] || strategies.default; |
162 | if (['zgzqse', 'bdbzzqse'].includes(prop)) { | ||
163 | let title = strategy(label) ? strategy(label) : '' | ||
164 | if (strategy(label) && row.jedw == 2) { | ||
165 | title = title + '万元' | ||
166 | } else if (strategy(label) && row.jedw == 1) { | ||
167 | title = title + '元' | ||
168 | } | ||
169 | return title | ||
170 | } else if (prop == 'dymj' && row.mjdw) { | ||
171 | let arr = store.getters.dictData['A7'].filter(item => item.dcode === row.mjdw); | ||
172 | if (strategy(label)) { | ||
173 | return strategy(label) + arr[0].dname | ||
174 | } else { | ||
175 | return strategy(label) | ||
176 | } | ||
177 | } else { | ||
163 | return strategy(label); | 178 | return strategy(label); |
179 | } | ||
164 | }, | 180 | }, |
165 | openPrint () { | 181 | openPrint () { |
166 | this.render = true; | 182 | this.render = true; |
... | @@ -242,20 +258,25 @@ | ... | @@ -242,20 +258,25 @@ |
242 | }, | 258 | }, |
243 | // 选择业务号 | 259 | // 选择业务号 |
244 | handleSelectYwh (row, ywh) { | 260 | handleSelectYwh (row, ywh) { |
261 | let that = this | ||
245 | let sjlx = row.sjlx, | 262 | let sjlx = row.sjlx, |
246 | bsmQlxx = row.bsmQlxx | 263 | bsmQlxx = row.bsmQlxx |
247 | if (sjlx == '系统数据') { | 264 | if (['系统数据', '存量数据'].includes(sjlx)) { |
248 | getXtParamsByYwh(ywh).then(res => { | 265 | getXtParamsByYwh(ywh).then(res => { |
249 | let data = res.result | 266 | let data = res.result |
250 | const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness) | 267 | that.$popup('材料信息', 'registerBook/components/clxx/index', { |
251 | window.open(href, `urlname${new Date().getTime()}`) | 268 | width: '70%', |
269 | formData: { ...data, sjlx: 1, bsmSldy: row.bsmSldy } | ||
270 | }) | ||
271 | // const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness) | ||
272 | // window.open(href, `urlname${new Date().getTime()}`) | ||
252 | }) | 273 | }) |
253 | } else { | 274 | } else { |
254 | getBlParamsByYwh(ywh, bsmQlxx).then(res => { | 275 | getBlParamsByYwh(ywh, bsmQlxx).then(res => { |
255 | let data = res.result | 276 | let data = res.result |
256 | this.$popup('材料信息', 'registerBook/components/clxx/index', { | 277 | this.$popup('材料信息', 'registerBook/components/clxx/index', { |
257 | width: '60%', | 278 | width: '70%', |
258 | formData: data | 279 | formData: { ...data, sjlx: 2 } |
259 | }) | 280 | }) |
260 | }) | 281 | }) |
261 | } | 282 | } | ... | ... |
... | @@ -4,7 +4,7 @@ class data extends filter { | ... | @@ -4,7 +4,7 @@ class data extends filter { |
4 | constructor() { | 4 | constructor() { |
5 | super() | 5 | super() |
6 | } | 6 | } |
7 | columns() { | 7 | columns () { |
8 | return { | 8 | return { |
9 | //空列值个数 | 9 | //空列值个数 |
10 | emptycolNum: 3, | 10 | emptycolNum: 3, |
... | @@ -200,21 +200,13 @@ class data extends filter { | ... | @@ -200,21 +200,13 @@ class data extends filter { |
200 | label: "权利性质", | 200 | label: "权利性质", |
201 | }, | 201 | }, |
202 | { | 202 | { |
203 | prop: "ytmc", | 203 | prop: "qlytmc", |
204 | label: "土地用途", | 204 | label: "土地用途", |
205 | }, | 205 | }, |
206 | { | 206 | { |
207 | prop: "syqqzsj", | 207 | prop: "syqqzsj", |
208 | label: "使用权起止时间", | 208 | label: "使用权起止时间", |
209 | }, | 209 | }, |
210 | // { | ||
211 | // prop: "syqjssj", | ||
212 | // label: "使用权结束时间", | ||
213 | // }, | ||
214 | // { | ||
215 | // prop: "tdsyqx", | ||
216 | // label: "土地使用期限", | ||
217 | // }, | ||
218 | { | 210 | { |
219 | prop: "tdsyqx", | 211 | prop: "tdsyqx", |
220 | label: "土地使用期限", | 212 | label: "土地使用期限", |
... | @@ -242,7 +234,7 @@ class data extends filter { | ... | @@ -242,7 +234,7 @@ class data extends filter { |
242 | { | 234 | { |
243 | prop: "fj", | 235 | prop: "fj", |
244 | label: "附记", | 236 | label: "附记", |
245 | }, | 237 | } |
246 | ], | 238 | ], |
247 | FDCQ1: [ | 239 | FDCQ1: [ |
248 | { | 240 | { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-13 14:30:26 | 4 | * @LastEditTime: 2024-01-29 14:19:56 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="content"> | 7 | <div class="content"> |
... | @@ -11,20 +11,22 @@ | ... | @@ -11,20 +11,22 @@ |
11 | :data="treedata" | 11 | :data="treedata" |
12 | :props="defaultProps" | 12 | :props="defaultProps" |
13 | @node-click="handleNodeClick" | 13 | @node-click="handleNodeClick" |
14 | :highlight-current="highlight" | ||
14 | :default-expand-all="true" | 15 | :default-expand-all="true" |
15 | :expand-on-click-node="false" | 16 | :expand-on-click-node="false" |
16 | node-key="id" | 17 | node-key="id" |
17 | :default-checked-keys="[showTab]"> | 18 | :default-checked-keys="[showTab]"> |
18 | </el-tree> | 19 | </el-tree> |
19 | <el-collapse v-model="activeName" accordion> | 20 | <ElCollapse v-model="activeName" accordion> |
20 | <el-collapse-item | 21 | <ElCollapse-item |
21 | class="sfqqq" | 22 | class="sfqqq" |
22 | ref="sfq" | 23 | ref="sfq" |
23 | v-for="(item, index) in sfqdata" | 24 | v-for="(item, index) in sfqdata" |
24 | :key="index" | 25 | :key="index" |
25 | :name="index"> | 26 | :name="index"> |
26 | <template slot="title"> | 27 | <template slot="title"> |
27 | <span class="text" @click="tap(item, index)"> | 28 | <!-- nameSelect --> |
29 | <span class="text" :class="[titleActive == index ? 'curentSelect' : '']" @click="tap(item, index)"> | ||
28 | <span> {{ item.label }}</span> | 30 | <span> {{ item.label }}</span> |
29 | </span> | 31 | </span> |
30 | </template> | 32 | </template> |
... | @@ -41,8 +43,8 @@ | ... | @@ -41,8 +43,8 @@ |
41 | {{ item.zt }} | 43 | {{ item.zt }} |
42 | </span> | 44 | </span> |
43 | </p> | 45 | </p> |
44 | </el-collapse-item> | 46 | </ElCollapse-item> |
45 | </el-collapse> | 47 | </ElCollapse> |
46 | </div> | 48 | </div> |
47 | <div class="right"> | 49 | <div class="right"> |
48 | <component | 50 | <component |
... | @@ -54,11 +56,18 @@ | ... | @@ -54,11 +56,18 @@ |
54 | </template> | 56 | </template> |
55 | <script> | 57 | <script> |
56 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 58 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
59 | import ElCollapse from "@/components/collapse/index"; | ||
60 | import ElCollapseItem from "@/components/collapse/src/collapse-item.vue"; | ||
57 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; | 61 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; |
58 | export default { | 62 | export default { |
63 | comments: { | ||
64 | ElCollapse, ElCollapseItem | ||
65 | }, | ||
59 | data () { | 66 | data () { |
60 | return { | 67 | return { |
68 | highlight: true, | ||
61 | activeName: 0, | 69 | activeName: 0, |
70 | titleActive: "", | ||
62 | //接收参数 | 71 | //接收参数 |
63 | // propsParam: this.$attrs, | 72 | // propsParam: this.$attrs, |
64 | //左侧目录 | 73 | //左侧目录 |
... | @@ -85,9 +94,18 @@ | ... | @@ -85,9 +94,18 @@ |
85 | }; | 94 | }; |
86 | }, | 95 | }, |
87 | props: ["formData"], | 96 | props: ["formData"], |
88 | mounted () { | 97 | // mounted () { |
98 | // this.loadData(this.formData.bdcdyh); | ||
99 | // }, | ||
100 | watch: { | ||
101 | 'formData.bdcdyh': { | ||
102 | handler (newName, oldName) { | ||
89 | this.loadData(this.formData.bdcdyh); | 103 | this.loadData(this.formData.bdcdyh); |
90 | }, | 104 | }, |
105 | immediate: true, | ||
106 | deep: true | ||
107 | } | ||
108 | }, | ||
91 | methods: { | 109 | methods: { |
92 | /** | 110 | /** |
93 | * @description: getBdcdyh | 111 | * @description: getBdcdyh |
... | @@ -95,6 +113,7 @@ | ... | @@ -95,6 +113,7 @@ |
95 | * 点击不动产单元号事件 | 113 | * 点击不动产单元号事件 |
96 | */ | 114 | */ |
97 | getBdcdyh (val) { | 115 | getBdcdyh (val) { |
116 | this.highlight = false | ||
98 | this.addloadData(val); | 117 | this.addloadData(val); |
99 | }, | 118 | }, |
100 | /** | 119 | /** |
... | @@ -109,27 +128,36 @@ | ... | @@ -109,27 +128,36 @@ |
109 | if (res.code === 200) { | 128 | if (res.code === 200) { |
110 | if (this.sfqdata.some((item) => item.bdcdyid === val.bdcdyid)) { | 129 | if (this.sfqdata.some((item) => item.bdcdyid === val.bdcdyid)) { |
111 | let index = this.sfqdata.findIndex((item) => { | 130 | let index = this.sfqdata.findIndex((item) => { |
112 | return item.bdcdyid == val.bdcdyid; | 131 | return item.bdcdyid == val.bdcdyid |
113 | }); | 132 | }) |
114 | this.activeName = index; | 133 | this.activeName = index |
115 | |||
116 | // this.setstyle(index, 0, this.iskey); | ||
117 | } else { | 134 | } else { |
118 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); | 135 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)) |
119 | this.activeName = this.sfqdata.length - 1; | 136 | this.activeName = this.sfqdata.length - 1 |
120 | this.isActive = "" | ||
121 | // this.$nextTick(() => { | ||
122 | // this.setstyle(this.sfqdata.length - 1, 0, this.iskey); | ||
123 | // }) | ||
124 | } | 137 | } |
138 | |||
139 | this.$nextTick(function () { | ||
140 | this.defaultNode = getNode( | ||
141 | this.formData.qllx, | ||
142 | { linShi: 0, xianShi: 0, liShi: 0 }, | ||
143 | res.result.bdcdylx || "" | ||
144 | ); | ||
145 | this.sfqdata[0].children.forEach((item, index) => { | ||
146 | if (item.id == this.defaultNode.id) { | ||
147 | this.isActive = index | ||
148 | this.titleActive = -1 | ||
149 | this.loadComponent(item.form) | ||
125 | } | 150 | } |
126 | }); | 151 | }) |
152 | }) | ||
153 | } | ||
154 | }) | ||
127 | this.currentSelectProps = { | 155 | this.currentSelectProps = { |
128 | bdcdyid: val.bdcdyid, | 156 | bdcdyid: val.bdcdyid, |
129 | bdcdyh: val.bdcdyh, | 157 | bdcdyh: val.bdcdyh, |
130 | qllx: this.formData.qllx, | 158 | qllx: this.formData.qllx, |
131 | bsmQlxx: this.formData.bsmQlxx, | 159 | bsmQlxx: this.formData.bsmQlxx |
132 | }; | 160 | } |
133 | }, | 161 | }, |
134 | /** | 162 | /** |
135 | * @description: loadData | 163 | * @description: loadData |
... | @@ -155,10 +183,10 @@ | ... | @@ -155,10 +183,10 @@ |
155 | if (item.id == this.defaultNode.id) { | 183 | if (item.id == this.defaultNode.id) { |
156 | this.loadComponent(item.form); | 184 | this.loadComponent(item.form); |
157 | this.isActive = index; | 185 | this.isActive = index; |
186 | this.titleActive = -1 | ||
158 | } | 187 | } |
159 | }); | 188 | }) |
160 | // this.setstyle(0, 0, this.iskey); | 189 | }) |
161 | }); | ||
162 | } | 190 | } |
163 | }); | 191 | }); |
164 | this.currentSelectProps = { | 192 | this.currentSelectProps = { |
... | @@ -174,27 +202,11 @@ | ... | @@ -174,27 +202,11 @@ |
174 | * @author: renchao | 202 | * @author: renchao |
175 | */ | 203 | */ |
176 | handleNodeClick (data) { | 204 | handleNodeClick (data) { |
205 | this.highlight = true | ||
206 | this.titleActive = -1 | ||
207 | this.isActive = -1 | ||
177 | this.loadComponent(data.form); | 208 | this.loadComponent(data.form); |
178 | }, | 209 | }, |
179 | // setstyle(newindex, index, key) { | ||
180 | // if (key != undefined || this.keyy == index) { | ||
181 | // if (key != undefined) { | ||
182 | // this.keyy = key; | ||
183 | // } | ||
184 | // this.loadComponent( | ||
185 | // this.$refs.sfq[newindex].$children[this.keyy].$attrs.re.form | ||
186 | // ); | ||
187 | // let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el; | ||
188 | // dpme.style.backgroundColor = "#f5f5f5"; | ||
189 | // dpme.style.color = "#0079fe"; | ||
190 | // dpme.style.borderRight = "4px solid #0079fe"; | ||
191 | // } else { | ||
192 | // let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el; | ||
193 | // dpme.style.backgroundColor = "#ffffff"; | ||
194 | // dpme.style.color = "black"; | ||
195 | // dpme.style.border = "none"; | ||
196 | // } | ||
197 | // }, | ||
198 | /** | 210 | /** |
199 | * @description: addlist | 211 | * @description: addlist |
200 | * @param {*} data | 212 | * @param {*} data |
... | @@ -202,11 +214,19 @@ | ... | @@ -202,11 +214,19 @@ |
202 | * 新增列表功能 | 214 | * 新增列表功能 |
203 | */ | 215 | */ |
204 | tap (data, index) { | 216 | tap (data, index) { |
217 | this.activeName = index.toString() | ||
218 | this.isActive = -1 | ||
219 | this.titleActive = index | ||
205 | this.loadComponent(data.form); | 220 | this.loadComponent(data.form); |
221 | this.currentSelectProps.bdcdyid=data.bdcdyid; | ||
222 | this.currentSelectProps.bdcdyh=data.bdcdyh; | ||
223 | this.highlight = false | ||
206 | }, | 224 | }, |
207 | taplist (data, index) { | 225 | taplist (data, index) { |
208 | this.loadComponent(data.form); | 226 | this.loadComponent(data.form); |
209 | this.isActive = index; | 227 | this.isActive = index; |
228 | this.titleActive = -1; | ||
229 | this.highlight = false | ||
210 | }, | 230 | }, |
211 | /** | 231 | /** |
212 | * @description: loadComponent | 232 | * @description: loadComponent |
... | @@ -216,15 +236,39 @@ | ... | @@ -216,15 +236,39 @@ |
216 | loadComponent (form) { | 236 | loadComponent (form) { |
217 | this.componentTag = (r) => | 237 | this.componentTag = (r) => |
218 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 238 | require.ensure([], () => r(require("@/views/registerBook/" + form))); |
219 | }, | 239 | } |
220 | }, | 240 | } |
221 | }; | 241 | } |
222 | </script> | 242 | </script> |
223 | <style scoped lang="scss"> | 243 | <style scoped lang="scss"> |
224 | // /deep/.rollTable { | 244 | /deep/.el-collapse-item__header:hover { |
225 | // height: calc(100vh - 300px) !important; | 245 | background-color: #f5f7fa; |
226 | // } | 246 | } |
227 | 247 | /deep/.el-collapse-item__content { | |
248 | .unselected:hover { | ||
249 | background-color: #f5f7fa; | ||
250 | } | ||
251 | } | ||
252 | /deep/.el-collapse-item__header .el-collapse-item__arrow:hover { | ||
253 | transition: transform 0.3s; | ||
254 | transform: scale(1.3); | ||
255 | z-index: 1; | ||
256 | color: #0079fe; | ||
257 | font-weight: 700; | ||
258 | } | ||
259 | /deep/.el-tree--highlight-current | ||
260 | .el-tree-node.is-current | ||
261 | > .el-tree-node__content { | ||
262 | background-color: #f5f5f5; | ||
263 | color: #0079fe; | ||
264 | border-right: 4px solid #0079fe; | ||
265 | } | ||
266 | .curentSelect { | ||
267 | background-color: #f5f5f5; | ||
268 | color: #0079fe; | ||
269 | border-right: 4px solid #0079fe; | ||
270 | border-bottom: 1px solid #ffffff; | ||
271 | } | ||
228 | .content { | 272 | .content { |
229 | width: 100%; | 273 | width: 100%; |
230 | height: 100%; | 274 | height: 100%; |
... | @@ -242,8 +286,6 @@ | ... | @@ -242,8 +286,6 @@ |
242 | .right { | 286 | .right { |
243 | width: calc(100% - 256px); | 287 | width: calc(100% - 256px); |
244 | height: 704px; | 288 | height: 704px; |
245 | // overflow-y: scroll; | ||
246 | // overflow: auto; | ||
247 | background-color: #f5f5f5; | 289 | background-color: #f5f5f5; |
248 | border: 1px solid rgb(228, 228, 228); | 290 | border: 1px solid rgb(228, 228, 228); |
249 | } | 291 | } |
... | @@ -259,22 +301,10 @@ | ... | @@ -259,22 +301,10 @@ |
259 | height: 45px; | 301 | height: 45px; |
260 | } | 302 | } |
261 | 303 | ||
262 | /deep/ .el-tree-node:focus > .el-tree-node__content { | ||
263 | // background-color: #f5f5f5; | ||
264 | // color: #0079fe; | ||
265 | // border-right: 4px solid #0079fe; | ||
266 | } | ||
267 | |||
268 | /deep/.el-tree-node { | 304 | /deep/.el-tree-node { |
269 | white-space: pre-wrap; | 305 | white-space: pre-wrap; |
270 | } | 306 | } |
271 | 307 | ||
272 | /deep/ .is-current > .el-tree-node__content { | ||
273 | // background-color: #f5f5f5; | ||
274 | // color: #0079fe; | ||
275 | // border-right: 4px solid #0079fe; | ||
276 | } | ||
277 | |||
278 | /deep/.el-collapse-item__header { | 308 | /deep/.el-collapse-item__header { |
279 | width: 100%; | 309 | width: 100%; |
280 | cursor: pointer; | 310 | cursor: pointer; |
... | @@ -322,7 +352,10 @@ | ... | @@ -322,7 +352,10 @@ |
322 | align-items: center; | 352 | align-items: center; |
323 | } | 353 | } |
324 | } | 354 | } |
325 | 355 | .nameSelect { | |
356 | color: #000000; | ||
357 | font-weight: 700; | ||
358 | } | ||
326 | .select { | 359 | .select { |
327 | border: none; | 360 | border: none; |
328 | cursor: pointer; | 361 | cursor: pointer; | ... | ... |
1 | |||
1 | /* | 2 | /* |
2 | * @Description: | 3 | * @Description: |
3 | * @Autor: renchao | 4 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-15 10:52:40 | 5 | * @LastEditTime: 2024-01-25 13:37:19 |
5 | */ | 6 | */ |
6 | var qlxxPage = [ | 7 | var qlxxPage = [ |
7 | { qllx: "A01", id: "tdsyq", form: "tdsyq.vue", label: "集体土地所有权" }, | 8 | { qllx: "A01", id: "tdsyq", form: "tdsyq.vue", label: "集体土地所有权" }, |
... | @@ -12,7 +13,7 @@ var qlxxPage = [ | ... | @@ -12,7 +13,7 @@ var qlxxPage = [ |
12 | { qllx: "A06", id: "", form: "", label: "宅基地使用权/房屋所有权" }, | 13 | { qllx: "A06", id: "", form: "", label: "宅基地使用权/房屋所有权" }, |
13 | { qllx: "A07", id: "jsydsyq", form: "jsydsyq.vue", label: "集体建设用地使用权" }, | 14 | { qllx: "A07", id: "jsydsyq", form: "jsydsyq.vue", label: "集体建设用地使用权" }, |
14 | { qllx: "A08", id: "", form: "", label: "集体建设用地使用权/房屋所有权" }, | 15 | { qllx: "A08", id: "", form: "", label: "集体建设用地使用权/房屋所有权" }, |
15 | { qllx: "A09", id: "jsydsyq", form: "jsydsyq.vue", label: "土地承包经营权" }, | 16 | { qllx: "A09", id: "tdcbjyq", form: "tdcbjyq.vue", label: "土地承包经营权" }, |
16 | { qllx: "A11", id: "ldsyq", form: "ldsyq.vue", label: "林地使用权" }, | 17 | { qllx: "A11", id: "ldsyq", form: "ldsyq.vue", label: "林地使用权" }, |
17 | { qllx: "A12", id: "sllmsyq", form: "sllmsyq.vue", label: "林地使用权/森林、林木使用权" }, | 18 | { qllx: "A12", id: "sllmsyq", form: "sllmsyq.vue", label: "林地使用权/森林、林木使用权" }, |
18 | { qllx: "A13", id: "jsydsyq", form: "jsydsyq.vue", label: "草原使用权" }, | 19 | { qllx: "A13", id: "jsydsyq", form: "jsydsyq.vue", label: "草原使用权" }, |
... | @@ -57,7 +58,7 @@ export function loadTreeData (bdcdyh) { | ... | @@ -57,7 +58,7 @@ export function loadTreeData (bdcdyh) { |
57 | } | 58 | } |
58 | export function loadsfqData (qlxxData, bdcdyh, bdcdyid) { | 59 | export function loadsfqData (qlxxData, bdcdyh, bdcdyid) { |
59 | let treedata = { | 60 | let treedata = { |
60 | bdcdyid: bdcdyid, id: "bdcqljqtsx", form: "bdcqljqtsx.vue", label: "不动产权利及其他事项\n (" + bdcdyh.slice(19) + ")", children: [], | 61 | bdcdyh:bdcdyh,bdcdyid: bdcdyid, id: "bdcqljqtsx", form: "bdcqljqtsx.vue", label: "不动产权利及其他事项\n (" + bdcdyh.slice(19) + ")", children: [], |
61 | }; | 62 | }; |
62 | //主体权利 | 63 | //主体权利 |
63 | treedata.children.push(getNode(qlxxData.ztqllx, qlxxData.ztql, qlxxData.bdcdylx, bdcdyid)); | 64 | treedata.children.push(getNode(qlxxData.ztqllx, qlxxData.ztql, qlxxData.bdcdylx, bdcdyid)); |
... | @@ -89,12 +90,12 @@ export function getNode (qllx, qlxx, bdcdylx, bdcdyid) { | ... | @@ -89,12 +90,12 @@ export function getNode (qllx, qlxx, bdcdylx, bdcdyid) { |
89 | if (qlxxPage[i].qllx == qllx) { | 90 | if (qlxxPage[i].qllx == qllx) { |
90 | if (qllx == "A04" || qllx == "A06" || qllx == "A08") { | 91 | if (qllx == "A04" || qllx == "A06" || qllx == "A08") { |
91 | if (bdcdylx == "4") { | 92 | if (bdcdylx == "4") { |
92 | node = { bdcdyid: bdcdyid, id: "fdcq1", form: "fdcq1.vue", label: qlxxPage[i].label ,zt: "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi + ")" }; | 93 | node = { bdcdyid: bdcdyid, id: "fdcq1", form: "fdcq1.vue", label: qlxxPage[i].label, zt: "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi + ")" }; |
93 | } else { | 94 | } else { |
94 | node = { bdcdyid: bdcdyid, id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label ,zt: "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi + ")" }; | 95 | node = { bdcdyid: bdcdyid, id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label, zt: "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi + ")" }; |
95 | } | 96 | } |
96 | } else { | 97 | } else { |
97 | node = { bdcdyid: bdcdyid, id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label ,zt: "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi + ")" }; | 98 | node = { bdcdyid: bdcdyid, id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label, zt: "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi + ")" }; |
98 | } | 99 | } |
99 | break; | 100 | break; |
100 | } | 101 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-19 10:48:40 | 4 | * @LastEditTime: 2024-01-31 09:52:39 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="content loadingtext"> | 7 | <div class="content loadingtext"> |
... | @@ -55,10 +55,8 @@ | ... | @@ -55,10 +55,8 @@ |
55 | </div> | 55 | </div> |
56 | </template> | 56 | </template> |
57 | <script> | 57 | <script> |
58 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 58 | import { getBdcqljqtsx, getBdcqljqtsxBdcdyh } from "@/api/djbDetail.js"; |
59 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; | 59 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; |
60 | import { searchTaskToDo } from "@/api/workflow/search.js"; | ||
61 | import { leftMenu } from "@/api/workFlow.js"; | ||
62 | export default { | 60 | export default { |
63 | data () { | 61 | data () { |
64 | return { | 62 | return { |
... | @@ -91,73 +89,112 @@ | ... | @@ -91,73 +89,112 @@ |
91 | showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断 | 89 | showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断 |
92 | }; | 90 | }; |
93 | }, | 91 | }, |
94 | mounted () { | ||
95 | this.getdata(); | ||
96 | }, | ||
97 | methods: { | ||
98 | // 截取字符的方法 | ||
99 | /** | ||
100 | * @description: 截取字符的方法 | ||
101 | * @param {*} obj | ||
102 | * @author: renchao | ||
103 | */ | ||
104 | getCaption (obj) { | ||
105 | let index = obj.lastIndexOf("="); | ||
106 | obj = obj.substring(index + 1, obj.length); | ||
107 | return obj; | ||
108 | }, | ||
109 | // 通过不动产业务号获取参数 | ||
110 | /** | 92 | /** |
111 | * @description: 通过不动产业务号获取参数 | 93 | * @description: loadData |
112 | * @author: renchao | 94 | * @author: renchao |
113 | */ | 95 | */ |
114 | getdata () { | 96 | loadData(val) { |
115 | this.queryForm = { | 97 | getBdcqljqtsxBdcdyh({ |
116 | bdcdyh: this.getCaption(window.location.href), | 98 | bdcdyh: val, |
117 | currentPage: 1, | ||
118 | djlx: "", | ||
119 | pageSize: 10, | ||
120 | qllx: "", | ||
121 | ywh: "", | ||
122 | ywly: "", | ||
123 | }; | ||
124 | if (this.queryForm) { | ||
125 | this.$startLoading(); | ||
126 | searchTaskToDo({ | ||
127 | ...this.queryForm, | ||
128 | }).then((res) => { | 99 | }).then((res) => { |
129 | if (res.code === 200) { | 100 | if (res.code === 200) { |
130 | let { records } = res.result; | 101 | this.treedata = loadTreeData(val); |
131 | 102 | this.sfqdata.push(loadsfqData(res.result, val, res.result.bdcdyid)); | |
132 | this.loadBdcdylist(records[0].bsmSlsq, records[0].bestepid); | 103 | this.$nextTick(function () { |
133 | this.$endLoading(); | 104 | this.defaultNode = getNode( |
105 | res.result.ztqllx, | ||
106 | { linShi: 0, xianShi: 0, liShi: 0 }, | ||
107 | res.result.bdcdylx || "" | ||
108 | ); | ||
109 | this.sfqdata[0].children.forEach((item, index) => { | ||
110 | if (item.id == this.defaultNode.id) { | ||
111 | this.loadComponent(item.form); | ||
112 | this.isActive = index; | ||
134 | } | 113 | } |
135 | }); | 114 | }); |
115 | this.currentSelectProps = { | ||
116 | bdcdyid: res.result.bdcdyid, | ||
117 | bdcdyh: val, | ||
118 | qllx: res.result.qllx, | ||
119 | bsmQlxx: this.currentSelectProps.bsmQlxx, | ||
120 | }; | ||
121 | // this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点 | ||
122 | // this.loadComponent(this.defaultNode.form); | ||
123 | |||
124 | // this.setstyle(0, 0, this.iskey); | ||
125 | }); | ||
136 | } | 126 | } |
127 | }); | ||
137 | }, | 128 | }, |
138 | 129 | /* | |
139 | // 获取不动产信息 | 130 | 点击登记簿菜单 |
131 | */ | ||
140 | /** | 132 | /** |
141 | * @description: 获取不动产信息 | 133 | * @description: 点击登记簿菜单 |
142 | * @param {*} a | 134 | * @param {*} data |
143 | * @param {*} b | ||
144 | * @author: renchao | 135 | * @author: renchao |
145 | */ | 136 | */ |
146 | loadBdcdylist (a, b) { | 137 | handleNodeClick(data) { |
147 | var formdata = new FormData(); | 138 | this.loadComponent(data.form); |
148 | formdata.append("bsmSlsq", a); | ||
149 | formdata.append("bestepid", b); | ||
150 | leftMenu(formdata).then((res) => { | ||
151 | if (res.code === 200) { | ||
152 | if (res.result) { | ||
153 | this.currentSelectProps = res.result[0]; | ||
154 | this.loadData(this.currentSelectProps.bdcdyh); | ||
155 | } | ||
156 | } | ||
157 | }); | ||
158 | }, | 139 | }, |
159 | 140 | ||
160 | /** | 141 | /** |
142 | * @description: setstyle | ||
143 | * @param {*} data | ||
144 | * @author: renchao | ||
145 | * 设置样式和点击定位到当前功能 | ||
146 | */ | ||
147 | // setstyle (newindex, index, key) { | ||
148 | // if (key != undefined || this.keyy == index) { | ||
149 | // if (key != undefined) { | ||
150 | // this.keyy = key | ||
151 | // } | ||
152 | // this.loadComponent(this.$refs.sfq[newindex].$children[this.keyy].$attrs.re.form); | ||
153 | // let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el | ||
154 | // dpme.style.backgroundColor = "#f5f5f5"; | ||
155 | // dpme.style.color = "#0079fe"; | ||
156 | // dpme.style.borderRight = "4px solid #0079fe"; | ||
157 | // } else { | ||
158 | // let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el | ||
159 | // dpme.style.backgroundColor = "#ffffff"; | ||
160 | // dpme.style.color = "black"; | ||
161 | // dpme.style.border = "none"; | ||
162 | // } | ||
163 | // }, | ||
164 | /** | ||
165 | * @description: tap | ||
166 | * @param {*} data | ||
167 | * @author: renchao | ||
168 | * 新增列表功能 | ||
169 | */ | ||
170 | tap(data, index) { | ||
171 | this.loadComponent(data.form); | ||
172 | this.currentSelectProps.bdcdyid=data.bdcdyid | ||
173 | this.currentSelectProps.bdcdyh=data.bdcdyh | ||
174 | }, | ||
175 | /** | ||
176 | * @description: taplist | ||
177 | * @param {*} data | ||
178 | * @author: renchao | ||
179 | * 新增列表功能 | ||
180 | */ | ||
181 | taplist(data, index) { | ||
182 | this.loadComponent(data.form); | ||
183 | this.isActive = index; | ||
184 | }, | ||
185 | methods: { | ||
186 | // 截取字符的方法 | ||
187 | /** | ||
188 | * @description: 截取字符的方法 | ||
189 | * @param {*} obj | ||
190 | * @author: renchao | ||
191 | */ | ||
192 | getCaption (obj) { | ||
193 | let index = obj.lastIndexOf("="); | ||
194 | obj = obj.substring(index + 1, obj.length); | ||
195 | return obj; | ||
196 | }, | ||
197 | /** | ||
161 | * @description: getBdcdyh | 198 | * @description: getBdcdyh |
162 | * @author: miaofang | 199 | * @author: miaofang |
163 | * 点击不动产单元号事件 | 200 | * 点击不动产单元号事件 |
... | @@ -179,7 +216,7 @@ | ... | @@ -179,7 +216,7 @@ |
179 | let index = this.sfqdata.findIndex((item) => { | 216 | let index = this.sfqdata.findIndex((item) => { |
180 | return item.bdcdyid == val.bdcdyid; | 217 | return item.bdcdyid == val.bdcdyid; |
181 | }); | 218 | }); |
182 | this.activeName = index | 219 | this.activeName = index; |
183 | } else { | 220 | } else { |
184 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); | 221 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); |
185 | this.activeName = this.sfqdata.length - 1; | 222 | this.activeName = this.sfqdata.length - 1; |
... | @@ -198,18 +235,15 @@ | ... | @@ -198,18 +235,15 @@ |
198 | * @author: renchao | 235 | * @author: renchao |
199 | */ | 236 | */ |
200 | loadData (val) { | 237 | loadData (val) { |
201 | getBdcqljqtsx({ | 238 | getBdcqljqtsxBdcdyh({ |
202 | bdcdyid: this.currentSelectProps.bdcdyid, | ||
203 | bdcdyh: val, | 239 | bdcdyh: val, |
204 | }).then((res) => { | 240 | }).then((res) => { |
205 | if (res.code === 200) { | 241 | if (res.code === 200) { |
206 | this.treedata = loadTreeData(val); | 242 | this.treedata = loadTreeData(val); |
207 | this.sfqdata.push( | 243 | this.sfqdata.push(loadsfqData(res.result, val, res.result.bdcdyid)); |
208 | loadsfqData(res.result, val, this.currentSelectProps.bdcdyid) | ||
209 | ); | ||
210 | this.$nextTick(function () { | 244 | this.$nextTick(function () { |
211 | this.defaultNode = getNode( | 245 | this.defaultNode = getNode( |
212 | this.currentSelectProps.qllx, | 246 | res.result.ztqllx, |
213 | { linShi: 0, xianShi: 0, liShi: 0 }, | 247 | { linShi: 0, xianShi: 0, liShi: 0 }, |
214 | res.result.bdcdylx || "" | 248 | res.result.bdcdylx || "" |
215 | ); | 249 | ); |
... | @@ -218,32 +252,17 @@ | ... | @@ -218,32 +252,17 @@ |
218 | this.loadComponent(item.form); | 252 | this.loadComponent(item.form); |
219 | this.isActive = index; | 253 | this.isActive = index; |
220 | } | 254 | } |
221 | }) | ||
222 | // this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点 | ||
223 | // this.loadComponent(this.defaultNode.form); | ||
224 | |||
225 | // this.setstyle(0, 0, this.iskey); | ||
226 | |||
227 | // this.setstyle(0, 0, this.iskey); | ||
228 | }); | ||
229 | } | ||
230 | }); | 255 | }); |
231 | this.currentSelectProps = { | 256 | this.currentSelectProps = { |
232 | bdcdyid: this.currentSelectProps.bdcdyid, | 257 | bdcdyid: res.result.bdcdyid, |
233 | bdcdyh: this.currentSelectProps.bdcdyh, | 258 | bdcdyh: val, |
234 | qllx: this.currentSelectProps.qllx, | 259 | qllx: res.result.qllx, |
235 | bsmQlxx: this.currentSelectProps.bsmQlxx, | 260 | bsmQlxx: this.currentSelectProps.bsmQlxx, |
236 | }; | 261 | }; |
262 | }) | ||
263 | } | ||
264 | }) | ||
237 | }, | 265 | }, |
238 | /* | ||
239 | 点击登记簿菜单 | ||
240 | */ | ||
241 | handleNodeClick (data) { | ||
242 | this.loadComponent(data.form); | ||
243 | }, | ||
244 | /* | ||
245 | 点击登记簿菜单 | ||
246 | */ | ||
247 | /** | 266 | /** |
248 | * @description: 点击登记簿菜单 | 267 | * @description: 点击登记簿菜单 |
249 | * @param {*} data | 268 | * @param {*} data |
... | @@ -275,7 +294,7 @@ | ... | @@ -275,7 +294,7 @@ |
275 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 294 | require.ensure([], () => r(require("@/views/registerBook/" + form))); |
276 | } | 295 | } |
277 | } | 296 | } |
278 | }; | 297 | } |
279 | </script> | 298 | </script> |
280 | <style scoped lang="scss"> | 299 | <style scoped lang="scss"> |
281 | /deep/.rollTable { | 300 | /deep/.rollTable { |
... | @@ -315,8 +334,6 @@ | ... | @@ -315,8 +334,6 @@ |
315 | height: 45px; | 334 | height: 45px; |
316 | } | 335 | } |
317 | 336 | ||
318 | |||
319 | |||
320 | /deep/.el-tree-node { | 337 | /deep/.el-tree-node { |
321 | white-space: pre-wrap; | 338 | white-space: pre-wrap; |
322 | } | 339 | } |
... | @@ -341,6 +358,9 @@ | ... | @@ -341,6 +358,9 @@ |
341 | display: inline-block; | 358 | display: inline-block; |
342 | line-height: 15px; | 359 | line-height: 15px; |
343 | } | 360 | } |
361 | height: 45px; | ||
362 | border: 1px solid rgb(228, 228, 228); | ||
363 | border-right: 4px solid #f5f5f5; | ||
344 | } | 364 | } |
345 | height: 45px; | 365 | height: 45px; |
346 | display: inline-block; | 366 | display: inline-block; | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/registerBook/tdcbjyq.vue
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/tjfx/bdcdjtjfx/components/djlx.vue
0 → 100644
This diff is collapsed.
Click to expand it.
src/views/tjfx/bdcdjtjfx/components/qytj.vue
0 → 100644
This diff is collapsed.
Click to expand it.
src/views/tjfx/bdcdjtjfx/components/sjr.vue
0 → 100644
This diff is collapsed.
Click to expand it.
src/views/tjfx/bdcdjtjfx/components/sjri.vue
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/tjfx/bdcdjtjfx/components/zszl.vue
0 → 100644
This diff is collapsed.
Click to expand it.
src/views/tjfx/bdcdjtjfx/index.vue
0 → 100644
This diff is collapsed.
Click to expand it.
src/views/tjfx/cstj/index.vue
0 → 100644
This diff is collapsed.
Click to expand it.
src/views/tjfx/gzltj/index.vue
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
src/views/tjfx/tjltj/index.vue
0 → 100644
This diff is collapsed.
Click to expand it.
src/views/tjfx/ywltj/index.vue
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/workflow/components/dialog/sqs.vue
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/workflow/main/sfxx/xzsf.vue
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/workflow/components/qjhTable.vue
→
src/views/workflow/main/slsqxx/commonTable/qjhTable.vue
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/workflow/components/fdcqxmTable.vue
→
src/views/workflow/main/slsqxx/fdcq1/fdcqxmTable.vue
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/workflow/top/bccltzs/index.vue
0 → 100644
This diff is collapsed.
Click to expand it.
src/views/workflow/top/button.js
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/workflow/top/receipt/cfhzd.vue
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/workflow/top/zsxg/index.vue
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/ywbl/slsqxx/fwsyq/slxx.vue
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/ywbl/ycsl/components/addDialog.vue
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/ywbl/ycsl/components/detail.vue
0 → 100644
This diff is collapsed.
Click to expand it.
src/views/ywbl/ycsl/data.js
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/ywbl/ywsq/components/tdjyq100.vue
0 → 100644
This diff is collapsed.
Click to expand it.
src/views/ywbl/ywsq/components/tdjyq200.vue
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/ywbl/ywsq/javascript/tdjyq100.js
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment