style:注释增加
Showing
18 changed files
with
360 additions
and
162 deletions
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-16 13:36:55 | 4 | * @LastEditTime: 2023-05-16 15:56:15 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
9 | 9 | ||
10 | // 新增平台接口 | 10 | /** |
11 | * @description: 新增平台接口 | ||
12 | * @param {*} data | ||
13 | * @author: renchao | ||
14 | */ | ||
11 | export function addSysInterface (data) { | 15 | export function addSysInterface (data) { |
12 | return request({ | 16 | return request({ |
13 | url: SERVER.SERVERAPI + "/rest/system/ptjk/addSysInterface", | 17 | url: SERVER.SERVERAPI + "/rest/system/ptjk/addSysInterface", |
... | @@ -16,7 +20,11 @@ export function addSysInterface (data) { | ... | @@ -16,7 +20,11 @@ export function addSysInterface (data) { |
16 | }) | 20 | }) |
17 | } | 21 | } |
18 | 22 | ||
19 | // 编辑平台接口 | 23 | /** |
24 | * @description: 编辑平台接口 | ||
25 | * @param {*} data | ||
26 | * @author: renchao | ||
27 | */ | ||
20 | export function editSysInterface (data) { | 28 | export function editSysInterface (data) { |
21 | return request({ | 29 | return request({ |
22 | url: SERVER.SERVERAPI + "/rest/system/ptjk/editSysInterface", | 30 | url: SERVER.SERVERAPI + "/rest/system/ptjk/editSysInterface", |
... | @@ -24,7 +32,11 @@ export function editSysInterface (data) { | ... | @@ -24,7 +32,11 @@ export function editSysInterface (data) { |
24 | data | 32 | data |
25 | }) | 33 | }) |
26 | } | 34 | } |
27 | // 接口调取 | 35 | /** |
36 | * @description: 接口调取 | ||
37 | * @param {*} data | ||
38 | * @author: renchao | ||
39 | */ | ||
28 | export function interfaceRetrieve (data) { | 40 | export function interfaceRetrieve (data) { |
29 | return request({ | 41 | return request({ |
30 | url: SERVER.SERVERAPI + "/rest/system/ptjk/interfaceRetrieve", | 42 | url: SERVER.SERVERAPI + "/rest/system/ptjk/interfaceRetrieve", |
... | @@ -33,7 +45,11 @@ export function interfaceRetrieve (data) { | ... | @@ -33,7 +45,11 @@ export function interfaceRetrieve (data) { |
33 | }) | 45 | }) |
34 | } | 46 | } |
35 | 47 | ||
36 | // 获取平台接口列表 | 48 | /** |
49 | * @description: 获取平台接口列表 | ||
50 | * @param {*} data | ||
51 | * @author: renchao | ||
52 | */ | ||
37 | export function getSysInterfaceList (data) { | 53 | export function getSysInterfaceList (data) { |
38 | return request({ | 54 | return request({ |
39 | url: SERVER.SERVERAPI + "/rest/system/ptjk/getSysInterfaceList", | 55 | url: SERVER.SERVERAPI + "/rest/system/ptjk/getSysInterfaceList", | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-06 09:17:41 | 4 | * @LastEditTime: 2023-05-16 15:56:42 |
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')) |
8 | const url = SERVER.LPBSERVERAPI + '/rest/zhcx/lpcx/' | 8 | const url = SERVER.LPBSERVERAPI + '/rest/zhcx/lpcx/' |
9 | /* | 9 | // |
10 | 楼盘查询 | 10 | /** |
11 | */ | 11 | * @description:楼盘查询- 根据条件进行列表查询 |
12 | // 根据条件进行列表查询 | 12 | * @param {*} data |
13 | * @author: renchao | ||
14 | */ | ||
13 | export function getLpZrz (data) { | 15 | export function getLpZrz (data) { |
14 | return request({ | 16 | return request({ |
15 | url: 'service-lpb/rest/zhcx/lpcx/getLpZrz', | 17 | url: 'service-lpb/rest/zhcx/lpcx/getLpZrz', |
... | @@ -18,21 +20,33 @@ export function getLpZrz (data) { | ... | @@ -18,21 +20,33 @@ export function getLpZrz (data) { |
18 | }) | 20 | }) |
19 | } | 21 | } |
20 | 22 | ||
21 | // 获取楼盘表 | 23 | /** |
24 | * @description: 获取楼盘表 | ||
25 | * @param {*} zrzbsm | ||
26 | * @author: renchao | ||
27 | */ | ||
22 | export function getLpb (zrzbsm) { | 28 | export function getLpb (zrzbsm) { |
23 | return request({ | 29 | return request({ |
24 | url: url + 'getLpb?scyclx=1&zrzbsm=' + zrzbsm, | 30 | url: url + 'getLpb?scyclx=1&zrzbsm=' + zrzbsm, |
25 | method: 'get' | 31 | method: 'get' |
26 | }) | 32 | }) |
27 | } | 33 | } |
28 | // 获取楼盘表房屋用途,房屋性质右侧房屋用途统计数据 | 34 | /** |
35 | * @description: 获取楼盘表房屋用途,房屋性质右侧房屋用途统计数据 | ||
36 | * @param {*} zrzbsm | ||
37 | * @author: renchao | ||
38 | */ | ||
29 | export function getLpbFwytAndQlxz (zrzbsm) { | 39 | export function getLpbFwytAndQlxz (zrzbsm) { |
30 | return request({ | 40 | return request({ |
31 | url: url + 'getLpbFwytAndQlxz?scyclx=1&zrzbsm=' + zrzbsm, | 41 | url: url + 'getLpbFwytAndQlxz?scyclx=1&zrzbsm=' + zrzbsm, |
32 | method: 'get' | 42 | method: 'get' |
33 | }) | 43 | }) |
34 | } | 44 | } |
35 | // 获取楼盘表缺失项统计 | 45 | /** |
46 | * @description: 获取楼盘表缺失项统计 | ||
47 | * @param {*} zrzbsm | ||
48 | * @author: renchao | ||
49 | */ | ||
36 | export function getLpbQsxtj (zrzbsm) { | 50 | export function getLpbQsxtj (zrzbsm) { |
37 | return request({ | 51 | return request({ |
38 | url: url + 'getLpbQsxtj?scyclx=1&zrzbsm=' + zrzbsm, | 52 | url: url + 'getLpbQsxtj?scyclx=1&zrzbsm=' + zrzbsm, | ... | ... |
... | @@ -5,7 +5,11 @@ | ... | @@ -5,7 +5,11 @@ |
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')) |
8 | // 获取申请查询列表 | 8 | /** |
9 | * @description: 获取申请查询列表 | ||
10 | * @param {*} data | ||
11 | * @author: renchao | ||
12 | */ | ||
9 | export function getSqcxPage (data) { | 13 | export function getSqcxPage (data) { |
10 | return request({ | 14 | return request({ |
11 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getSqcxPage', | 15 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getSqcxPage', |
... | @@ -14,7 +18,11 @@ export function getSqcxPage (data) { | ... | @@ -14,7 +18,11 @@ export function getSqcxPage (data) { |
14 | }) | 18 | }) |
15 | } | 19 | } |
16 | 20 | ||
17 | // 新增申请查询家庭房产信息 | 21 | /** |
22 | * @description: 新增申请查询家庭房产信息 | ||
23 | * @param {*} data | ||
24 | * @author: renchao | ||
25 | */ | ||
18 | export function addJtfcCxjgXx (data) { | 26 | export function addJtfcCxjgXx (data) { |
19 | return request({ | 27 | return request({ |
20 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addJtfcCxjgXx', | 28 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addJtfcCxjgXx', |
... | @@ -23,7 +31,11 @@ export function addJtfcCxjgXx (data) { | ... | @@ -23,7 +31,11 @@ export function addJtfcCxjgXx (data) { |
23 | }) | 31 | }) |
24 | } | 32 | } |
25 | 33 | ||
26 | // 新增申请查询房屋明细信息 | 34 | /** |
35 | * @description: 新增申请查询房屋明细信息 | ||
36 | * @param {*} data | ||
37 | * @author: renchao | ||
38 | */ | ||
27 | export function addFwmxCxjgXx (data) { | 39 | export function addFwmxCxjgXx (data) { |
28 | return request({ | 40 | return request({ |
29 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addFwmxCxjgXx', | 41 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addFwmxCxjgXx', |
... | @@ -32,7 +44,11 @@ export function addFwmxCxjgXx (data) { | ... | @@ -32,7 +44,11 @@ export function addFwmxCxjgXx (data) { |
32 | }) | 44 | }) |
33 | } | 45 | } |
34 | 46 | ||
35 | // 获取申请查询记录详细信息 | 47 | /** |
48 | * @description: 获取申请查询记录详细信息 | ||
49 | * @param {*} params | ||
50 | * @author: renchao | ||
51 | */ | ||
36 | export function getJtfcInfo (params) { | 52 | export function getJtfcInfo (params) { |
37 | return request({ | 53 | return request({ |
38 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getJtfcInfo/', | 54 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getJtfcInfo/', |
... | @@ -54,7 +70,11 @@ export function getFwmxInfo (params) { | ... | @@ -54,7 +70,11 @@ export function getFwmxInfo (params) { |
54 | }) | 70 | }) |
55 | } | 71 | } |
56 | 72 | ||
57 | // 打印家庭房产 | 73 | /** |
74 | * @description: 打印家庭房产 | ||
75 | * @param {*} data | ||
76 | * @author: renchao | ||
77 | */ | ||
58 | export function printJtcfInfo (data) { | 78 | export function printJtcfInfo (data) { |
59 | return request({ | 79 | return request({ |
60 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/printJtcfInfo/', | 80 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/printJtcfInfo/', | ... | ... |
1 | /* | ||
2 | * @Description: 系统管理 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 16:02:32 | ||
5 | */ | ||
1 | 6 | ||
2 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
3 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
4 | 9 | ||
5 | // 上传单个文件 | 10 | /** |
11 | * @description: 上传单个文件 | ||
12 | * @param {*} data | ||
13 | * @author: renchao | ||
14 | */ | ||
6 | export function upload (data) { | 15 | export function upload (data) { |
7 | return request({ | 16 | return request({ |
8 | url: SERVER.SERVERAPI + '/rest/file/upload', | 17 | url: SERVER.SERVERAPI + '/rest/file/upload', |
... | @@ -11,10 +20,11 @@ export function upload (data) { | ... | @@ -11,10 +20,11 @@ export function upload (data) { |
11 | }) | 20 | }) |
12 | } | 21 | } |
13 | 22 | ||
14 | /* | 23 | /** |
15 | 系统管理 | 24 | * @description: 申请业务规则API-根据条件进行列表查询 |
16 | 申请业务规则API-根据条件进行列表查询 | 25 | * @param {*} data |
17 | */ | 26 | * @author: renchao |
27 | */ | ||
18 | export function getSysSqdjywBysearch (data) { | 28 | export function getSysSqdjywBysearch (data) { |
19 | return request({ | 29 | return request({ |
20 | url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getSysSqdjywBysearch', | 30 | url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getSysSqdjywBysearch', |
... | @@ -22,9 +32,12 @@ export function getSysSqdjywBysearch (data) { | ... | @@ -22,9 +32,12 @@ export function getSysSqdjywBysearch (data) { |
22 | data | 32 | data |
23 | }) | 33 | }) |
24 | } | 34 | } |
25 | /* | 35 | |
26 | 获取登记类型信息-申请业务规则 | 36 | /** |
27 | */ | 37 | * @description: 获取登记类型信息-申请业务规则 |
38 | * @param {*} id | ||
39 | * @author: renchao | ||
40 | */ | ||
28 | export function getDjlxInfo (id) { | 41 | export function getDjlxInfo (id) { |
29 | return request({ | 42 | return request({ |
30 | url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getDjlxInfo?parentid=' + id, | 43 | url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getDjlxInfo?parentid=' + id, |
... | @@ -32,9 +45,11 @@ export function getDjlxInfo (id) { | ... | @@ -32,9 +45,11 @@ export function getDjlxInfo (id) { |
32 | }) | 45 | }) |
33 | } | 46 | } |
34 | 47 | ||
35 | /* | 48 | /** |
36 | 获取登记类型信息-申请业务规则 | 49 | * @description: 获取登记类型信息-申请业务规则 |
37 | */ | 50 | * @param {*} id |
51 | * @author: renchao | ||
52 | */ | ||
38 | export function getQllxByBsmSqyw (id) { | 53 | export function getQllxByBsmSqyw (id) { |
39 | return request({ | 54 | return request({ |
40 | url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getQllxByBsmSqyw?bsmSqyw=' + id, | 55 | url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getQllxByBsmSqyw?bsmSqyw=' + id, |
... | @@ -51,9 +66,11 @@ export function getSqdjywDetail (bsmSqyw) { | ... | @@ -51,9 +66,11 @@ export function getSqdjywDetail (bsmSqyw) { |
51 | method: 'get' | 66 | method: 'get' |
52 | }) | 67 | }) |
53 | } | 68 | } |
54 | /* | 69 | /** |
55 | 保存登记业务信息-申请业务规则 | 70 | * @description: 保存登记业务信息-申请业务规则 |
56 | */ | 71 | * @param {*} data |
72 | * @author: renchao | ||
73 | */ | ||
57 | export function saveSqdjyw (data) { | 74 | export function saveSqdjyw (data) { |
58 | return request({ | 75 | return request({ |
59 | url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/saveSqdjyw', | 76 | url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/saveSqdjyw', |
... | @@ -62,9 +79,12 @@ export function saveSqdjyw (data) { | ... | @@ -62,9 +79,12 @@ export function saveSqdjyw (data) { |
62 | }) | 79 | }) |
63 | } | 80 | } |
64 | 81 | ||
65 | /* | 82 | |
66 | 其他及附记模板-列表详情 | 83 | /** |
67 | */ | 84 | * @description: 其他及附记模板-列表详情 |
85 | * @param {*} data | ||
86 | * @author: renchao | ||
87 | */ | ||
68 | export function sysSqywmbszSearch (data) { | 88 | export function sysSqywmbszSearch (data) { |
69 | return request({ | 89 | return request({ |
70 | url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/search', | 90 | url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/search', |
... | @@ -72,18 +92,23 @@ export function sysSqywmbszSearch (data) { | ... | @@ -72,18 +92,23 @@ export function sysSqywmbszSearch (data) { |
72 | data | 92 | data |
73 | }) | 93 | }) |
74 | } | 94 | } |
75 | /* | 95 | |
76 | 其他及附记模板-读取明细 | 96 | /** |
77 | */ | 97 | * @description: 其他及附记模板-读取明细 |
98 | * @param {*} id | ||
99 | * @author: renchao | ||
100 | */ | ||
78 | export function getSysSqywmbszDetailById (id) { | 101 | export function getSysSqywmbszDetailById (id) { |
79 | return request({ | 102 | return request({ |
80 | url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/getSysSqywmbszDetailById?id=' + id, | 103 | url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/getSysSqywmbszDetailById?id=' + id, |
81 | method: 'get' | 104 | method: 'get' |
82 | }) | 105 | }) |
83 | } | 106 | } |
84 | /* | 107 | /** |
85 | 其他及附记模板-修改申请业务模板设置 | 108 | * @description: 其他及附记模板-修改申请业务模板设置 |
86 | */ | 109 | * @param {*} data |
110 | * @author: renchao | ||
111 | */ | ||
87 | export function updateSysSqywmbsz (data) { | 112 | export function updateSysSqywmbsz (data) { |
88 | return request({ | 113 | return request({ |
89 | url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/updateSysSqywmbsz', | 114 | url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/updateSysSqywmbsz', |
... | @@ -92,8 +117,11 @@ export function updateSysSqywmbsz (data) { | ... | @@ -92,8 +117,11 @@ export function updateSysSqywmbsz (data) { |
92 | }) | 117 | }) |
93 | } | 118 | } |
94 | 119 | ||
95 | // 通知 | 120 | /** |
96 | // 新增系统通知 | 121 | * @description: 新增系统通知 |
122 | * @param {*} data | ||
123 | * @author: renchao | ||
124 | */ | ||
97 | export function addSysNotice (data) { | 125 | export function addSysNotice (data) { |
98 | return request({ | 126 | return request({ |
99 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/addSysNotice', | 127 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/addSysNotice', |
... | @@ -102,7 +130,11 @@ export function addSysNotice (data) { | ... | @@ -102,7 +130,11 @@ export function addSysNotice (data) { |
102 | }) | 130 | }) |
103 | } | 131 | } |
104 | 132 | ||
105 | //编辑系统通知 | 133 | /** |
134 | * @description: 编辑系统通知 | ||
135 | * @param {*} data | ||
136 | * @author: renchao | ||
137 | */ | ||
106 | export function updateSysNotice (data) { | 138 | export function updateSysNotice (data) { |
107 | return request({ | 139 | return request({ |
108 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/updateSysNotice', | 140 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/updateSysNotice', |
... | @@ -112,6 +144,11 @@ export function updateSysNotice (data) { | ... | @@ -112,6 +144,11 @@ export function updateSysNotice (data) { |
112 | } | 144 | } |
113 | 145 | ||
114 | // 获取通知列表 | 146 | // 获取通知列表 |
147 | /** | ||
148 | * @description: | ||
149 | * @param {*} data | ||
150 | * @author: renchao | ||
151 | */ | ||
115 | export function getSysNoticeList (data) { | 152 | export function getSysNoticeList (data) { |
116 | return request({ | 153 | return request({ |
117 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/getSysNoticeList', | 154 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/getSysNoticeList', |
... | @@ -120,7 +157,11 @@ export function getSysNoticeList (data) { | ... | @@ -120,7 +157,11 @@ export function getSysNoticeList (data) { |
120 | }) | 157 | }) |
121 | } | 158 | } |
122 | 159 | ||
123 | //获取法律法规列表 | 160 | /** |
161 | * @description: 获取法律法规列表 | ||
162 | * @param {*} data | ||
163 | * @author: renchao | ||
164 | */ | ||
124 | export function getSysPolicyList (data) { | 165 | export function getSysPolicyList (data) { |
125 | return request({ | 166 | return request({ |
126 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/getSysPolicyList', | 167 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/getSysPolicyList', |
... | @@ -129,7 +170,11 @@ export function getSysPolicyList (data) { | ... | @@ -129,7 +170,11 @@ export function getSysPolicyList (data) { |
129 | }) | 170 | }) |
130 | } | 171 | } |
131 | 172 | ||
132 | //删除系统通知 | 173 | /** |
174 | * @description: 删除系统通知 | ||
175 | * @param {*} params | ||
176 | * @author: renchao | ||
177 | */ | ||
133 | export function deleteSysNotice (params) { | 178 | export function deleteSysNotice (params) { |
134 | return request({ | 179 | return request({ |
135 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/deleteSysNotice', | 180 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/deleteSysNotice', |
... | @@ -138,7 +183,11 @@ export function deleteSysNotice (params) { | ... | @@ -138,7 +183,11 @@ export function deleteSysNotice (params) { |
138 | }) | 183 | }) |
139 | } | 184 | } |
140 | 185 | ||
141 | //发布通知 | 186 | /** |
187 | * @description: 发布通知 | ||
188 | * @param {*} params | ||
189 | * @author: renchao | ||
190 | */ | ||
142 | export function publishNotice (params) { | 191 | export function publishNotice (params) { |
143 | return request({ | 192 | return request({ |
144 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/publishNotice', | 193 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/publishNotice', |
... | @@ -147,7 +196,11 @@ export function publishNotice (params) { | ... | @@ -147,7 +196,11 @@ export function publishNotice (params) { |
147 | }) | 196 | }) |
148 | } | 197 | } |
149 | 198 | ||
150 | //取消发布通知 | 199 | /** |
200 | * @description: 取消发布通知 | ||
201 | * @param {*} params | ||
202 | * @author: renchao | ||
203 | */ | ||
151 | export function unPublishNotice (params) { | 204 | export function unPublishNotice (params) { |
152 | return request({ | 205 | return request({ |
153 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/unPublishNotice', | 206 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/unPublishNotice', |
... | @@ -156,7 +209,11 @@ export function unPublishNotice (params) { | ... | @@ -156,7 +209,11 @@ export function unPublishNotice (params) { |
156 | }) | 209 | }) |
157 | } | 210 | } |
158 | 211 | ||
159 | //设置已读状态 | 212 | /** |
213 | * @description: 设置已读状态 | ||
214 | * @param {*} params | ||
215 | * @author: renchao | ||
216 | */ | ||
160 | export function setReadStatus (params) { | 217 | export function setReadStatus (params) { |
161 | return request({ | 218 | return request({ |
162 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/setReadStatus', | 219 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/setReadStatus', |
... | @@ -165,7 +222,10 @@ export function setReadStatus (params) { | ... | @@ -165,7 +222,10 @@ export function setReadStatus (params) { |
165 | }) | 222 | }) |
166 | } | 223 | } |
167 | 224 | ||
168 | //一键设置已读 | 225 | /** |
226 | * @description: 一键设置已读 | ||
227 | * @author: renchao | ||
228 | */ | ||
169 | export function setAllRead () { | 229 | export function setAllRead () { |
170 | return request({ | 230 | return request({ |
171 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/setAllRead', | 231 | url: SERVER.SERVERAPI + '/rest/system/sysNotice/setAllRead', |
... | @@ -173,7 +233,11 @@ export function setAllRead () { | ... | @@ -173,7 +233,11 @@ export function setAllRead () { |
173 | }) | 233 | }) |
174 | } | 234 | } |
175 | 235 | ||
176 | //获取打印模板列表 | 236 | /** |
237 | * @description: 获取打印模板列表 | ||
238 | * @param {*} data | ||
239 | * @author: renchao | ||
240 | */ | ||
177 | export function selectPrintTemplateList (data) { | 241 | export function selectPrintTemplateList (data) { |
178 | return request({ | 242 | return request({ |
179 | url: SERVER.SERVERAPI + '/rest/system/print/selectPrintTemplateList', | 243 | url: SERVER.SERVERAPI + '/rest/system/print/selectPrintTemplateList', |
... | @@ -182,7 +246,11 @@ export function selectPrintTemplateList (data) { | ... | @@ -182,7 +246,11 @@ export function selectPrintTemplateList (data) { |
182 | }) | 246 | }) |
183 | } | 247 | } |
184 | 248 | ||
185 | //新增打印模板列表 | 249 | /** |
250 | * @description: 新增打印模板列表 | ||
251 | * @param {*} data | ||
252 | * @author: renchao | ||
253 | */ | ||
186 | export function addPrintTemplate (data) { | 254 | export function addPrintTemplate (data) { |
187 | return request({ | 255 | return request({ |
188 | url: SERVER.SERVERAPI + '/rest/system/print/addPrintTemplate', | 256 | url: SERVER.SERVERAPI + '/rest/system/print/addPrintTemplate', |
... | @@ -191,7 +259,11 @@ export function addPrintTemplate (data) { | ... | @@ -191,7 +259,11 @@ export function addPrintTemplate (data) { |
191 | }) | 259 | }) |
192 | } | 260 | } |
193 | 261 | ||
194 | //编辑打印模板列表 | 262 | /** |
263 | * @description: 编辑打印模板列表 | ||
264 | * @param {*} data | ||
265 | * @author: renchao | ||
266 | */ | ||
195 | export function editPrintTemplate (data) { | 267 | export function editPrintTemplate (data) { |
196 | return request({ | 268 | return request({ |
197 | url: SERVER.SERVERAPI + '/rest/system/print/editPrintTemplate', | 269 | url: SERVER.SERVERAPI + '/rest/system/print/editPrintTemplate', |
... | @@ -200,7 +272,11 @@ export function editPrintTemplate (data) { | ... | @@ -200,7 +272,11 @@ export function editPrintTemplate (data) { |
200 | }) | 272 | }) |
201 | } | 273 | } |
202 | 274 | ||
203 | //删除打印模板列表 | 275 | /** |
276 | * @description: 删除打印模板列表 | ||
277 | * @param {*} params | ||
278 | * @author: renchao | ||
279 | */ | ||
204 | export function delPrintTemplate (params) { | 280 | export function delPrintTemplate (params) { |
205 | return request({ | 281 | return request({ |
206 | url: SERVER.SERVERAPI + '/rest/system/print/delPrintTemplate', | 282 | url: SERVER.SERVERAPI + '/rest/system/print/delPrintTemplate', |
... | @@ -209,7 +285,11 @@ export function delPrintTemplate (params) { | ... | @@ -209,7 +285,11 @@ export function delPrintTemplate (params) { |
209 | }) | 285 | }) |
210 | } | 286 | } |
211 | 287 | ||
212 | //根据模板编号获取打印模板 | 288 | /** |
289 | * @description: 根据模板编号获取打印模板 | ||
290 | * @param {*} params | ||
291 | * @author: renchao | ||
292 | */ | ||
213 | export function getPrintTemplateByCode (params) { | 293 | export function getPrintTemplateByCode (params) { |
214 | return request({ | 294 | return request({ |
215 | url: SERVER.SERVERAPI + '/rest/system/print/getPrintTemplateByCode', | 295 | url: SERVER.SERVERAPI + '/rest/system/print/getPrintTemplateByCode', | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: 用户首页 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-16 13:50:12 | 4 | * @LastEditTime: 2023-05-16 16:06:51 |
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')) |
8 | // 用户首页 | 8 | /** |
9 | // 获取首页通知公告列表 | 9 | * @description: 获取首页通知公告列表 |
10 | * @author: renchao | ||
11 | */ | ||
10 | export function getHomeNoticeList () { | 12 | export function getHomeNoticeList () { |
11 | return request({ | 13 | return request({ |
12 | url: SERVER.SERVERAPI + '/rest/workBench/getHomeNoticeList', | 14 | url: SERVER.SERVERAPI + '/rest/workBench/getHomeNoticeList', |
... | @@ -25,7 +27,10 @@ export function getHomeTodoList () { | ... | @@ -25,7 +27,10 @@ export function getHomeTodoList () { |
25 | }) | 27 | }) |
26 | } | 28 | } |
27 | 29 | ||
28 | //获取首页已办事项 | 30 | /** |
31 | * @description: 获取首页已办事项 | ||
32 | * @author: renchao | ||
33 | */ | ||
29 | export function getHomeDoneList () { | 34 | export function getHomeDoneList () { |
30 | return request({ | 35 | return request({ |
31 | url: SERVER.SERVERAPI + '/rest/workBench/getHomeDoneList', | 36 | url: SERVER.SERVERAPI + '/rest/workBench/getHomeDoneList', |
... | @@ -33,7 +38,10 @@ export function getHomeDoneList () { | ... | @@ -33,7 +38,10 @@ export function getHomeDoneList () { |
33 | }) | 38 | }) |
34 | } | 39 | } |
35 | 40 | ||
36 | //获取首页常办项目 | 41 | /** |
42 | * @description: 获取首页常办项目 | ||
43 | * @author: renchao | ||
44 | */ | ||
37 | export function getHomeFrequentProjects () { | 45 | export function getHomeFrequentProjects () { |
38 | return request({ | 46 | return request({ |
39 | url: SERVER.SERVERAPI + '/rest/workBench/getHomeFrequentProjects', | 47 | url: SERVER.SERVERAPI + '/rest/workBench/getHomeFrequentProjects', |
... | @@ -41,7 +49,11 @@ export function getHomeFrequentProjects () { | ... | @@ -41,7 +49,11 @@ export function getHomeFrequentProjects () { |
41 | }) | 49 | }) |
42 | } | 50 | } |
43 | 51 | ||
44 | //保存常办项目 | 52 | /** |
53 | * @description: 保存常办项目 | ||
54 | * @param {*} data | ||
55 | * @author: renchao | ||
56 | */ | ||
45 | export function saveFrequentProjectsList (data) { | 57 | export function saveFrequentProjectsList (data) { |
46 | return request({ | 58 | return request({ |
47 | url: SERVER.SERVERAPI + '/rest/workBench/saveFrequentProjectsList', | 59 | url: SERVER.SERVERAPI + '/rest/workBench/saveFrequentProjectsList', |
... | @@ -51,7 +63,10 @@ export function saveFrequentProjectsList (data) { | ... | @@ -51,7 +63,10 @@ export function saveFrequentProjectsList (data) { |
51 | } | 63 | } |
52 | 64 | ||
53 | 65 | ||
54 | // 获取用户信息 | 66 | /** |
67 | * @description: 获取用户信息 | ||
68 | * @author: renchao | ||
69 | */ | ||
55 | export function getUserInfo () { | 70 | export function getUserInfo () { |
56 | return request({ | 71 | return request({ |
57 | url: SERVER.SERVERAPI + '/rest/user/getUserInfo', | 72 | url: SERVER.SERVERAPI + '/rest/user/getUserInfo', |
... | @@ -59,16 +74,21 @@ export function getUserInfo () { | ... | @@ -59,16 +74,21 @@ export function getUserInfo () { |
59 | }) | 74 | }) |
60 | } | 75 | } |
61 | 76 | ||
62 | // 获取菜单信息 | 77 | /** |
78 | * @description: 获取菜单信息 | ||
79 | * @author: renchao | ||
80 | */ | ||
63 | export function getMenuInfo () { | 81 | export function getMenuInfo () { |
64 | return request({ | 82 | return request({ |
65 | url: SERVER.SERVERAPI + '/rest/user/getUserAuthorizationMenus', | 83 | url: SERVER.SERVERAPI + '/rest/user/getUserAuthorizationMenus', |
66 | method: 'get', | 84 | method: 'get', |
67 | }) | 85 | }) |
68 | } | 86 | } |
69 | /* | 87 | |
70 | 获取全部字典数据 | 88 | /** |
71 | */ | 89 | * @description: 获取全部字典数据 |
90 | * @author: renchao | ||
91 | */ | ||
72 | export function getAllDict () { | 92 | export function getAllDict () { |
73 | return request({ | 93 | return request({ |
74 | url: SERVER.SERVERAPI + '/rest/sys/dict/getAllDict', | 94 | url: SERVER.SERVERAPI + '/rest/sys/dict/getAllDict', |
... | @@ -82,9 +102,12 @@ export function getQlxxDictList (data) { | ... | @@ -82,9 +102,12 @@ export function getQlxxDictList (data) { |
82 | data | 102 | data |
83 | }) | 103 | }) |
84 | } | 104 | } |
85 | /* | 105 | |
86 | 获取字典子级列表 | 106 | /** |
87 | */ | 107 | * @description: 获取字典子级列表 |
108 | * @param {*} bsmDict | ||
109 | * @author: renchao | ||
110 | */ | ||
88 | export function getChildDictList (bsmDict) { | 111 | export function getChildDictList (bsmDict) { |
89 | return request({ | 112 | return request({ |
90 | url: SERVER.SERVERAPI + '/rest/sys/dict/getChildDictList', | 113 | url: SERVER.SERVERAPI + '/rest/sys/dict/getChildDictList', |
... | @@ -94,9 +117,12 @@ export function getChildDictList (bsmDict) { | ... | @@ -94,9 +117,12 @@ export function getChildDictList (bsmDict) { |
94 | } | 117 | } |
95 | }) | 118 | }) |
96 | } | 119 | } |
97 | /* | 120 | |
98 | 编辑字典数据 | 121 | /** |
99 | */ | 122 | * @description: 编辑字典数据 |
123 | * @param {*} data | ||
124 | * @author: renchao | ||
125 | */ | ||
100 | export function editDictNode (data) { | 126 | export function editDictNode (data) { |
101 | return request({ | 127 | return request({ |
102 | url: SERVER.SERVERAPI + '/rest/sys/dict/editDictNode', | 128 | url: SERVER.SERVERAPI + '/rest/sys/dict/editDictNode', |
... | @@ -105,9 +131,11 @@ export function editDictNode (data) { | ... | @@ -105,9 +131,11 @@ export function editDictNode (data) { |
105 | }) | 131 | }) |
106 | } | 132 | } |
107 | 133 | ||
108 | /* | 134 | |
109 | 刷新字典缓存 | 135 | /** |
110 | */ | 136 | * @description: 刷新字典缓存 |
137 | * @author: renchao | ||
138 | */ | ||
111 | export function refreshDictCache () { | 139 | export function refreshDictCache () { |
112 | return request({ | 140 | return request({ |
113 | url: SERVER.SERVERAPI + '/rest/sys/dict/refreshDictCache', | 141 | url: SERVER.SERVERAPI + '/rest/sys/dict/refreshDictCache', | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 16:07:10 | ||
5 | */ | ||
1 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | /* | 8 | /** |
4 | 系统监控 -获取错误日志列表 | 9 | * @description: 系统监控 -获取错误日志列表 |
5 | */ | 10 | * @param {*} data |
11 | * @author: renchao | ||
12 | */ | ||
6 | export function getErrorLogList (data) { | 13 | export function getErrorLogList (data) { |
7 | return request({ | 14 | return request({ |
8 | url: SERVER.SERVERAPI + '/rest/xtjk/view/getErrorLogList', | 15 | url: SERVER.SERVERAPI + '/rest/xtjk/view/getErrorLogList', |
... | @@ -11,9 +18,12 @@ export function getErrorLogList (data) { | ... | @@ -11,9 +18,12 @@ export function getErrorLogList (data) { |
11 | }) | 18 | }) |
12 | } | 19 | } |
13 | 20 | ||
14 | /* | 21 | |
15 | 系统监控 -获取操作日志列表 | 22 | /** |
16 | */ | 23 | * @description: 系统监控 -获取操作日志列表 |
24 | * @param {*} data | ||
25 | * @author: renchao | ||
26 | */ | ||
17 | export function getOperationLogList (data) { | 27 | export function getOperationLogList (data) { |
18 | return request({ | 28 | return request({ |
19 | url: SERVER.SERVERAPI + '/rest/xtjk/view/getOperationLogList', | 29 | url: SERVER.SERVERAPI + '/rest/xtjk/view/getOperationLogList', |
... | @@ -22,9 +32,10 @@ export function getOperationLogList (data) { | ... | @@ -22,9 +32,10 @@ export function getOperationLogList (data) { |
22 | }) | 32 | }) |
23 | } | 33 | } |
24 | 34 | ||
25 | /* | 35 | /** |
26 | 系统监控 -主机监控 | 36 | * @description: 系统监控 -主机监控 |
27 | */ | 37 | * @author: renchao |
38 | */ | ||
28 | export function getServerInfo () { | 39 | export function getServerInfo () { |
29 | return request({ | 40 | return request({ |
30 | url: SERVER.SERVERAPI + '/rest/xtjk/view/getServerInfo', | 41 | url: SERVER.SERVERAPI + '/rest/xtjk/view/getServerInfo', | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 16:08:38 | ||
5 | */ | ||
1 | 6 | ||
2 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
3 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
4 | /* | 9 | |
5 | 业务办理-获取收藏业务集合 | 10 | /** |
6 | */ | 11 | * @description: 业务办理-获取收藏业务集合 |
12 | * @author: renchao | ||
13 | */ | ||
7 | export function getCollectBiz () { | 14 | export function getCollectBiz () { |
8 | return request({ | 15 | return request({ |
9 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getCollectBiz', | 16 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getCollectBiz', |
... | @@ -11,18 +18,22 @@ export function getCollectBiz () { | ... | @@ -11,18 +18,22 @@ export function getCollectBiz () { |
11 | }) | 18 | }) |
12 | } | 19 | } |
13 | 20 | ||
14 | /* | 21 | |
15 | 业务办理-获取左侧菜单 | 22 | /** |
16 | */ | 23 | * @description: 业务办理-获取左侧菜单 |
24 | * @author: renchao | ||
25 | */ | ||
17 | export function getleftMenu () { | 26 | export function getleftMenu () { |
18 | return request({ | 27 | return request({ |
19 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getleftMenu', | 28 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getleftMenu', |
20 | method: 'post' | 29 | method: 'post' |
21 | }) | 30 | }) |
22 | } | 31 | } |
23 | /* | 32 | /** |
24 | 业务办理-获取下个节点内容 | 33 | * @description: 业务办理-获取下个节点内容 |
25 | */ | 34 | * @param {*} bsmSqyw |
35 | * @author: renchao | ||
36 | */ | ||
26 | export function getNextNode (bsmSqyw) { | 37 | export function getNextNode (bsmSqyw) { |
27 | return request({ | 38 | return request({ |
28 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getNextNode?parentid=' + bsmSqyw, | 39 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getNextNode?parentid=' + bsmSqyw, |
... | @@ -30,9 +41,11 @@ export function getNextNode (bsmSqyw) { | ... | @@ -30,9 +41,11 @@ export function getNextNode (bsmSqyw) { |
30 | }) | 41 | }) |
31 | } | 42 | } |
32 | 43 | ||
33 | /* | 44 | /** |
34 | 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权、房屋所有权(首次登记) | 45 | * @description: 业务办理-选择单元-根据条件进行列表查询-国有建设用地使用权、房屋所有权(首次登记) |
35 | */ | 46 | * @param {*} data |
47 | * @author: renchao | ||
48 | */ | ||
36 | export function selectScBdcdy (data) { | 49 | export function selectScBdcdy (data) { |
37 | return request({ | 50 | return request({ |
38 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy', | 51 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectScBdcdy', |
... | @@ -53,7 +66,11 @@ export function selectScBdcdy (data) { | ... | @@ -53,7 +66,11 @@ export function selectScBdcdy (data) { |
53 | // }) | 66 | // }) |
54 | // } | 67 | // } |
55 | 68 | ||
56 | // 待办箱列表查询接口 | 69 | /** |
70 | * @description: 待办箱列表查询接口 | ||
71 | * @param {*} data | ||
72 | * @author: renchao | ||
73 | */ | ||
57 | export function searchTaskToDo (data) { | 74 | export function searchTaskToDo (data) { |
58 | return request({ | 75 | return request({ |
59 | url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskToDo', | 76 | url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskToDo', |
... | @@ -61,7 +78,11 @@ export function searchTaskToDo (data) { | ... | @@ -61,7 +78,11 @@ export function searchTaskToDo (data) { |
61 | data | 78 | data |
62 | }) | 79 | }) |
63 | } | 80 | } |
64 | // 待办箱/不动产单元删除接口 | 81 | /** |
82 | * @description: 待办箱/不动产单元删除接口 | ||
83 | * @param {*} data | ||
84 | * @author: renchao | ||
85 | */ | ||
65 | export function deleteFlow (data) { | 86 | export function deleteFlow (data) { |
66 | return request({ | 87 | return request({ |
67 | url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteFlow', | 88 | url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteFlow', |
... | @@ -69,9 +90,11 @@ export function deleteFlow (data) { | ... | @@ -69,9 +90,11 @@ export function deleteFlow (data) { |
69 | data | 90 | data |
70 | }) | 91 | }) |
71 | } | 92 | } |
72 | /* | 93 | /** |
73 | 业务办理-发起业务申请流程 | 94 | * @description: 业务办理-发起业务申请流程 |
74 | */ | 95 | * @param {*} data |
96 | * @author: renchao | ||
97 | */ | ||
75 | export function startBusinessFlow (data) { | 98 | export function startBusinessFlow (data) { |
76 | return request({ | 99 | return request({ |
77 | url: SERVER.SERVERAPI + '/rest/business/workFlow/startBusinessFlow', | 100 | url: SERVER.SERVERAPI + '/rest/business/workFlow/startBusinessFlow', |
... | @@ -79,9 +102,12 @@ export function startBusinessFlow (data) { | ... | @@ -79,9 +102,12 @@ export function startBusinessFlow (data) { |
79 | data | 102 | data |
80 | }) | 103 | }) |
81 | } | 104 | } |
82 | /* | 105 | |
83 | 已办箱列表查询接口 | 106 | /** |
84 | */ | 107 | * @description: 已办箱列表查询接口 |
108 | * @param {*} data | ||
109 | * @author: renchao | ||
110 | */ | ||
85 | export function searchTaskDone (data) { | 111 | export function searchTaskDone (data) { |
86 | return request({ | 112 | return request({ |
87 | url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskDone', | 113 | url: SERVER.SERVERAPI + '/rest/workBox/search/searchTaskDone', |
... | @@ -89,9 +115,11 @@ export function searchTaskDone (data) { | ... | @@ -89,9 +115,11 @@ export function searchTaskDone (data) { |
89 | data | 115 | data |
90 | }) | 116 | }) |
91 | } | 117 | } |
92 | /* | 118 | /** |
93 | 业务办理-选择权利信息-根据条件进行列表查询 | 119 | * @description: 业务办理-选择权利信息-根据条件进行列表查询 |
94 | */ | 120 | * @param {*} data |
121 | * @author: renchao | ||
122 | */ | ||
95 | export function selectQlxx (data) { | 123 | export function selectQlxx (data) { |
96 | return request({ | 124 | return request({ |
97 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectQlxx', | 125 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectQlxx', | ... | ... |
1 | /* | ||
2 | * @Description: 全局路由 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 14:09:37 | ||
5 | */ | ||
1 | import Vue from 'vue' | 6 | import Vue from 'vue' |
2 | import Router from 'vue-router' | 7 | import Router from 'vue-router' |
3 | 8 | ||
4 | Vue.use(Router) | 9 | Vue.use(Router) |
5 | /* Layout */ | ||
6 | import Layout from '@/layout' | 10 | import Layout from '@/layout' |
7 | |||
8 | /* Router Modules */ | 11 | /* Router Modules */ |
9 | // import componentsRouter from './modules/components' | 12 | // import componentsRouter from './modules/components' |
10 | 13 | ||
... | @@ -24,7 +27,6 @@ export const constantRoutes = [ | ... | @@ -24,7 +27,6 @@ export const constantRoutes = [ |
24 | ] | 27 | ] |
25 | }, | 28 | }, |
26 | // 业务流程框架 | 29 | // 业务流程框架 |
27 | // 业务流程框架 | ||
28 | { | 30 | { |
29 | path: '/workFrame', | 31 | path: '/workFrame', |
30 | component: () => import('@/views/workflow/workFrame.vue'), | 32 | component: () => import('@/views/workflow/workFrame.vue'), | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 14:10:49 | ||
5 | */ | ||
1 | module.exports = { | 6 | module.exports = { |
2 | title: '爬山虎不动产登记平台', | ||
3 | /** | 7 | /** |
4 | * @type {boolean} true | false | 8 | * @type {boolean} true | false |
5 | * @description Whether show the settings right-panel | 9 | * @description Whether show the settings right-panel | ... | ... |
1 | /* | ||
2 | * @Description: 动态路由 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 14:08:42 | ||
5 | */ | ||
6 | |||
1 | import Layout from '@/layout' | 7 | import Layout from '@/layout' |
8 | /** | ||
9 | * @description: | ||
10 | * @param {*} routers | ||
11 | * @author: renchao | ||
12 | */ | ||
2 | export default function filterAsyncRouter (routers) { | 13 | export default function filterAsyncRouter (routers) { |
3 | routers.forEach(item => { | 14 | routers.forEach(item => { |
4 | if (!item.children) { | 15 | if (!item.children) { | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-16 09:17:28 | 4 | * @LastEditTime: 2023-05-16 14:07:58 |
5 | */ | ||
6 | /** | ||
7 | * 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 | ||
8 | */ | 5 | */ |
9 | import axios from 'axios' | 6 | import axios from 'axios' |
10 | import { Message } from 'element-ui' | 7 | import { Message } from 'element-ui' | ... | ... |
1 | /* | ||
2 | * @Description: 定义全局loading | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 14:08:10 | ||
5 | */ | ||
6 | |||
1 | import Loading from '@/components/Loading/index.js'; | 7 | import Loading from '@/components/Loading/index.js'; |
2 | // 定义 loading | 8 | // 定义 loading |
3 | let loading | 9 | let loading |
... | @@ -11,7 +17,6 @@ function startLoading (loadingText = '正在加载中...') { | ... | @@ -11,7 +17,6 @@ function startLoading (loadingText = '正在加载中...') { |
11 | target: document.querySelector('.loadingtext') | 17 | target: document.querySelector('.loadingtext') |
12 | }) | 18 | }) |
13 | } | 19 | } |
14 | |||
15 | // loading结束 方法 | 20 | // loading结束 方法 |
16 | function endLoading () { | 21 | function endLoading () { |
17 | loading.close() | 22 | loading.close() | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class="clmlmx-box"> | 2 | <div class="clmlmx-box"> |
3 | <div class="title">申请材料目录</div> | 3 | <div class="title">申请材料目录</div> |
4 | <lb-table :column="column" :key="key" :heightNum="150" :pagination="false" :data="formData.data"> | 4 | <lb-table :column="column" :key="key" :heightNumSetting="true" :pagination="false" :data="formData.data"> |
5 | </lb-table> | 5 | </lb-table> |
6 | <div class="text-center"> | 6 | <div class="text-center"> |
7 | <el-button @click="$popupCacel">取消</el-button> | 7 | <el-button @click="$popupCacel">取消</el-button> |
... | @@ -9,7 +9,7 @@ | ... | @@ -9,7 +9,7 @@ |
9 | </div> | 9 | </div> |
10 | </template> | 10 | </template> |
11 | <script> | 11 | <script> |
12 | import { mapGetters } from "vuex"; | 12 | import store from '@/store/index.js' |
13 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; | 13 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; |
14 | export default { | 14 | export default { |
15 | props: { | 15 | props: { |
... | @@ -25,41 +25,13 @@ | ... | @@ -25,41 +25,13 @@ |
25 | column: [ | 25 | column: [ |
26 | { | 26 | { |
27 | width: "50", | 27 | width: "50", |
28 | renderHeader: (h, scope) => { | ||
29 | return ( | ||
30 | <div> | ||
31 | { | ||
32 | '' | ||
33 | } | ||
34 | </div> | ||
35 | ) | ||
36 | }, | ||
37 | render: (h, scope) => { | ||
38 | return ( | ||
39 | <div> | ||
40 | { | ||
41 | this.$route.query.viewtype || scope.row.sfxjcl == '0' ? <span>{ }</span> : | ||
42 | <i class="el-icon-minus pointer" | ||
43 | onClick={() => { | ||
44 | this.handleDelete(scope.$index, scope.row); | ||
45 | }} | ||
46 | ></i> | ||
47 | } | ||
48 | </div> | ||
49 | ) | ||
50 | } | ||
51 | }, | ||
52 | { | ||
53 | width: "50", | ||
54 | label: '序号', | 28 | label: '序号', |
55 | render: (h, scope) => { | 29 | type: 'index' |
56 | return <span>{scope.$index + 1}</span> | ||
57 | } | ||
58 | }, | 30 | }, |
59 | { | 31 | { |
60 | prop: "isrequired", | 32 | prop: "isrequired", |
61 | label: "是否必选", | 33 | label: "是否必选", |
62 | width: "50", | 34 | width: "80", |
63 | render: (h, scope) => { | 35 | render: (h, scope) => { |
64 | if (scope.row.sfxjcl === "1") { | 36 | if (scope.row.sfxjcl === "1") { |
65 | return ( | 37 | return ( |
... | @@ -120,7 +92,7 @@ | ... | @@ -120,7 +92,7 @@ |
120 | }, | 92 | }, |
121 | { | 93 | { |
122 | label: "扫描页数", | 94 | label: "扫描页数", |
123 | width: "50", | 95 | width: "80", |
124 | render: (h, scope) => { | 96 | render: (h, scope) => { |
125 | if (scope.row.children && scope.row.children.length > 0) { | 97 | if (scope.row.children && scope.row.children.length > 0) { |
126 | return ( | 98 | return ( |
... | @@ -170,8 +142,8 @@ | ... | @@ -170,8 +142,8 @@ |
170 | tableData: [] | 142 | tableData: [] |
171 | } | 143 | } |
172 | }, | 144 | }, |
173 | computed: { | 145 | created () { |
174 | ...mapGetters(["dictData"]) | 146 | console.log(this.formData.data, 'formData'); |
175 | }, | 147 | }, |
176 | methods: { | 148 | methods: { |
177 | // 材料目录明细初始化 | 149 | // 材料目录明细初始化 |
... | @@ -234,7 +206,6 @@ | ... | @@ -234,7 +206,6 @@ |
234 | message: '下移成功', | 206 | message: '下移成功', |
235 | type: 'success' | 207 | type: 'success' |
236 | }) | 208 | }) |
237 | this.$parent.setTableData(this.data) | ||
238 | } | 209 | } |
239 | } else { | 210 | } else { |
240 | this.$message.error(res.message); | 211 | this.$message.error(res.message); |
... | @@ -257,7 +228,7 @@ | ... | @@ -257,7 +228,7 @@ |
257 | message: "删除成功", | 228 | message: "删除成功", |
258 | type: "success", | 229 | type: "success", |
259 | }) | 230 | }) |
260 | this.$parent.setTableData(this.data) | 231 | // this.$parent.setTableData(this.data) |
261 | } | 232 | } |
262 | } | 233 | } |
263 | }) | 234 | }) |
... | @@ -270,7 +241,7 @@ | ... | @@ -270,7 +241,7 @@ |
270 | }, | 241 | }, |
271 | // 字典 | 242 | // 字典 |
272 | dicStatus (val, code) { | 243 | dicStatus (val, code) { |
273 | let data = this.$store.getters.dictData[code], | 244 | let data = store.getters.dictData[code], |
274 | name = "暂无"; | 245 | name = "暂无"; |
275 | if (data) { | 246 | if (data) { |
276 | data.map((item) => { | 247 | data.map((item) => { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-04 10:29:45 | 4 | * @LastEditTime: 2023-05-16 15:55:45 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -51,12 +51,12 @@ | ... | @@ -51,12 +51,12 @@ |
51 | ysxlh: '', | 51 | ysxlh: '', |
52 | zsh: '', | 52 | zsh: '', |
53 | qlr: '', | 53 | qlr: '', |
54 | bsmSldy: '', | 54 | bsmSldy: '' |
55 | }, | 55 | }, |
56 | tableData: { | 56 | tableData: { |
57 | total: 0, | 57 | total: 0, |
58 | columns: datas.columns().fzgrid, | 58 | columns: datas.columns().fzgrid, |
59 | data: [], | 59 | data: [] |
60 | }, | 60 | }, |
61 | dialogVisible: false | 61 | dialogVisible: false |
62 | } | 62 | } |
... | @@ -66,12 +66,12 @@ | ... | @@ -66,12 +66,12 @@ |
66 | this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; | 66 | this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; |
67 | getCertificateList(this.ruleForm).then(res => { | 67 | getCertificateList(this.ruleForm).then(res => { |
68 | if (res.code === 200) { | 68 | if (res.code === 200) { |
69 | this.tableData.data = res.result; | 69 | this.tableData.data = res.result ? res.result : [] |
70 | } | 70 | } |
71 | }) | 71 | }) |
72 | }, | 72 | }, |
73 | zslqClick () { | 73 | zslqClick () { |
74 | this.$popupDialog("不动产权证领取", "workflow/components/dialog/zslq", {}, '80%', true); | 74 | this.$popupDialog("不动产权证领取", "workflow/components/dialog/zslq", {}, '80%', true) |
75 | } | 75 | } |
76 | } | 76 | } |
77 | } | 77 | } | ... | ... |
... | @@ -201,6 +201,7 @@ | ... | @@ -201,6 +201,7 @@ |
201 | Init(formdata).then((res) => { | 201 | Init(formdata).then((res) => { |
202 | this.$nextTick(() => { | 202 | this.$nextTick(() => { |
203 | that.ruleForm = res.result; | 203 | that.ruleForm = res.result; |
204 | console.log(that.ruleForm, 'that.ruleFormthat.ruleFormthat.ruleForm'); | ||
204 | that.$endLoading(); | 205 | that.$endLoading(); |
205 | that.isShow = true; | 206 | that.isShow = true; |
206 | this.czrOptions = this.ruleForm.qlrList; | 207 | this.czrOptions = this.ruleForm.qlrList; | ... | ... |
-
Please register or sign in to post a comment