Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
36 changed files
with
556 additions
and
294 deletions
1 | <!-- | ||
2 | * | ||
3 | * ┏┓ ┏┓+ + | ||
4 | * ┏┛┻━━━┛┻┓ + + | ||
5 | * ┃ ┃ | ||
6 | * ┃ ━ ┃ ++ + + + | ||
7 | * ████━████ ┃+ | ||
8 | * ┃ ┃ + | ||
9 | * ┃ ┻ ┃ | ||
10 | * ┃ ┃ + + | ||
11 | * ┗━┓ ┏━┛ | ||
12 | * ┃ ┃ | ||
13 | * ┃ ┃ + + + + | ||
14 | * ┃ ┃ | ||
15 | * ┃ ┃ + 神兽保佑 | ||
16 | * ┃ ┃ 代码无bug | ||
17 | * ┃ ┃ + | ||
18 | * ┃ ┗━━━┓ + + | ||
19 | * ┃ ┣┓ | ||
20 | * ┃ ┏┛ | ||
21 | * ┗┓┓┏━┳┓┏┛ + + + + | ||
22 | * ┃┫┫ ┃┫┫ | ||
23 | * ┗┻┛ ┗┻┛+ + + + | ||
24 | * | ||
25 | --> | ||
26 | |||
27 | |||
1 | # 安装依赖 | 28 | # 安装依赖 |
2 | npm install | 29 | npm install |
3 | # 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 | 30 | # 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-06 10:24:46 | 4 | * @LastEditTime: 2023-05-16 09:50:40 |
5 | --> | 5 | --> |
6 | <!DOCTYPE html> | 6 | <!DOCTYPE html> |
7 | <html> | 7 | <html> |
... | @@ -18,6 +18,8 @@ | ... | @@ -18,6 +18,8 @@ |
18 | </title> | 18 | </title> |
19 | </head> | 19 | </head> |
20 | <script> | 20 | <script> |
21 | window.baseUrl = location.origin || location.protocol + '//' + location.host | ||
22 | const authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6" | ||
21 | fetch('<%= BASE_URL %>config.json') | 23 | fetch('<%= BASE_URL %>config.json') |
22 | .then(response => response.json()) | 24 | .then(response => response.json()) |
23 | .then(config => { | 25 | .then(config => { |
... | @@ -29,9 +31,4 @@ | ... | @@ -29,9 +31,4 @@ |
29 | <div id="app"></div> | 31 | <div id="app"></div> |
30 | </body> | 32 | </body> |
31 | 33 | ||
32 | </html> | ||
33 | <script> | ||
34 | window.baseUrl = location.origin || location.protocol + '//' + location.host | ||
35 | window.timeout = 5000 | ||
36 | window.authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6" | ||
37 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
34 | </html> | ||
... | \ 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-04-20 09:40:17 | 4 | * @LastEditTime: 2023-05-16 14:04:18 |
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 | /** |
10 | * @description: 获取不动产权证列表 | ||
11 | * @param {*} params | ||
12 | * @author: renchao | ||
13 | */ | ||
10 | export function getBdcqzList (params) { | 14 | export function getBdcqzList (params) { |
11 | return request({ | 15 | return request({ |
12 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getBdcqzList', | 16 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getBdcqzList', |
... | @@ -14,7 +18,11 @@ export function getBdcqzList (params) { | ... | @@ -14,7 +18,11 @@ export function getBdcqzList (params) { |
14 | params: params | 18 | params: params |
15 | }) | 19 | }) |
16 | } | 20 | } |
17 | // 获取印刷序列号 | 21 | /** |
22 | * @description: 获取印刷序列号 | ||
23 | * @param {*} params | ||
24 | * @author: renchao | ||
25 | */ | ||
18 | export function readYsxlh (params) { | 26 | export function readYsxlh (params) { |
19 | return request({ | 27 | return request({ |
20 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/readYsxlh', | 28 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/readYsxlh', |
... | @@ -22,7 +30,11 @@ export function readYsxlh (params) { | ... | @@ -22,7 +30,11 @@ export function readYsxlh (params) { |
22 | params: params | 30 | params: params |
23 | }) | 31 | }) |
24 | } | 32 | } |
25 | // 缮证 | 33 | /** |
34 | * @description: 缮证 | ||
35 | * @param {*} data | ||
36 | * @author: renchao | ||
37 | */ | ||
26 | export function certificate (data) { | 38 | export function certificate (data) { |
27 | return request({ | 39 | return request({ |
28 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/certificate', | 40 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/certificate', |
... | @@ -30,7 +42,11 @@ export function certificate (data) { | ... | @@ -30,7 +42,11 @@ export function certificate (data) { |
30 | data | 42 | data |
31 | }) | 43 | }) |
32 | } | 44 | } |
33 | // 作废缮证信息 | 45 | /** |
46 | * @description: 作废缮证信息 | ||
47 | * @param {*} data | ||
48 | * @author: renchao | ||
49 | */ | ||
34 | export function invalidCertificate (data) { | 50 | export function invalidCertificate (data) { |
35 | return request({ | 51 | return request({ |
36 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/invalidCertificate', | 52 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/invalidCertificate', |
... | @@ -38,7 +54,11 @@ export function invalidCertificate (data) { | ... | @@ -38,7 +54,11 @@ export function invalidCertificate (data) { |
38 | data | 54 | data |
39 | }) | 55 | }) |
40 | } | 56 | } |
41 | //根据受理申请标识码获取所有缮证列表 | 57 | /** |
58 | * @description: 根据受理申请标识码获取所有缮证列表 | ||
59 | * @param {*} data | ||
60 | * @author: renchao | ||
61 | */ | ||
42 | export function getCertificateList (data) { | 62 | export function getCertificateList (data) { |
43 | return request({ | 63 | return request({ |
44 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getCertificateList', | 64 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getCertificateList', |
... | @@ -47,7 +67,11 @@ export function getCertificateList (data) { | ... | @@ -47,7 +67,11 @@ export function getCertificateList (data) { |
47 | }) | 67 | }) |
48 | } | 68 | } |
49 | 69 | ||
50 | //获取不动产权证对应缮证列表 | 70 | /** |
71 | * @description: 获取不动产权证对应缮证列表 | ||
72 | * @param {*} params | ||
73 | * @author: renchao | ||
74 | */ | ||
51 | export function getSzRecordList (params) { | 75 | export function getSzRecordList (params) { |
52 | return request({ | 76 | return request({ |
53 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSzRecordList', | 77 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSzRecordList', |
... | @@ -56,7 +80,11 @@ export function getSzRecordList (params) { | ... | @@ -56,7 +80,11 @@ export function getSzRecordList (params) { |
56 | }) | 80 | }) |
57 | } | 81 | } |
58 | 82 | ||
59 | //获取未领取的证书信息 | 83 | /** |
84 | * @description: 获取未领取的证书信息 | ||
85 | * @param {*} data | ||
86 | * @author: renchao | ||
87 | */ | ||
60 | export function getUnclaimedBdcqz (data) { | 88 | export function getUnclaimedBdcqz (data) { |
61 | return request({ | 89 | return request({ |
62 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getUnclaimedBdcqz', | 90 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getUnclaimedBdcqz', |
... | @@ -65,7 +93,11 @@ export function getUnclaimedBdcqz (data) { | ... | @@ -65,7 +93,11 @@ export function getUnclaimedBdcqz (data) { |
65 | }) | 93 | }) |
66 | } | 94 | } |
67 | 95 | ||
68 | // 发证 | 96 | /** |
97 | * @description: 发证 | ||
98 | * @param {*} data | ||
99 | * @author: renchao | ||
100 | */ | ||
69 | export function issueCertificate (data) { | 101 | export function issueCertificate (data) { |
70 | return request({ | 102 | return request({ |
71 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/issueCertificate', | 103 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/issueCertificate', |
... | @@ -73,7 +105,11 @@ export function issueCertificate (data) { | ... | @@ -73,7 +105,11 @@ export function issueCertificate (data) { |
73 | data | 105 | data |
74 | }) | 106 | }) |
75 | } | 107 | } |
76 | // 获取受理申请下全部不动产权证 | 108 | /** |
109 | * @description: 获取受理申请下全部不动产权证 | ||
110 | * @param {*} params | ||
111 | * @author: renchao | ||
112 | */ | ||
77 | export function getSlsqBdcqzList (params) { | 113 | export function getSlsqBdcqzList (params) { |
78 | return request({ | 114 | return request({ |
79 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSlsqBdcqzList', | 115 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSlsqBdcqzList', |
... | @@ -82,7 +118,11 @@ export function getSlsqBdcqzList (params) { | ... | @@ -82,7 +118,11 @@ export function getSlsqBdcqzList (params) { |
82 | }) | 118 | }) |
83 | } | 119 | } |
84 | 120 | ||
85 | // 证书预览 | 121 | /** |
122 | * @description: 证书预览 | ||
123 | * @param {*} data | ||
124 | * @author: renchao | ||
125 | */ | ||
86 | export function bdcqzPreview (data) { | 126 | export function bdcqzPreview (data) { |
87 | return request({ | 127 | return request({ |
88 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/bdcqzPreview', | 128 | url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/bdcqzPreview', | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-06 09:15:02 | 4 | * @LastEditTime: 2023-05-16 14:04: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 | 8 | ||
9 | // 材料目录明细初始化 | 9 | /** |
10 | * @description: 材料目录明细初始化 | ||
11 | * @param {*} data | ||
12 | * @author: renchao | ||
13 | */ | ||
10 | export function InitClml (data) { | 14 | export function InitClml (data) { |
11 | return request({ | 15 | return request({ |
12 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/InitClml', | 16 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/InitClml', |
... | @@ -15,7 +19,11 @@ export function InitClml (data) { | ... | @@ -15,7 +19,11 @@ export function InitClml (data) { |
15 | }) | 19 | }) |
16 | } | 20 | } |
17 | 21 | ||
18 | // 材料目录明细移动 | 22 | /** |
23 | * @description: 材料目录明细移动 | ||
24 | * @param {*} data | ||
25 | * @author: renchao | ||
26 | */ | ||
19 | export function moveClml (data) { | 27 | export function moveClml (data) { |
20 | return request({ | 28 | return request({ |
21 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/moveClml', | 29 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/moveClml', |
... | @@ -24,7 +32,11 @@ export function moveClml (data) { | ... | @@ -24,7 +32,11 @@ export function moveClml (data) { |
24 | }) | 32 | }) |
25 | } | 33 | } |
26 | 34 | ||
27 | // 材料目录明细保存 | 35 | /** |
36 | * @description: 材料目录明细保存 | ||
37 | * @param {*} data | ||
38 | * @author: renchao | ||
39 | */ | ||
28 | export function saveClml (data) { | 40 | export function saveClml (data) { |
29 | return request({ | 41 | return request({ |
30 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/saveClml', | 42 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/saveClml', |
... | @@ -33,7 +45,11 @@ export function saveClml (data) { | ... | @@ -33,7 +45,11 @@ export function saveClml (data) { |
33 | }) | 45 | }) |
34 | } | 46 | } |
35 | 47 | ||
36 | // 材料目录批量删除 | 48 | /** |
49 | * @description: 材料目录批量删除 | ||
50 | * @param {*} params | ||
51 | * @author: renchao | ||
52 | */ | ||
37 | export function deleteSjClml (params) { | 53 | export function deleteSjClml (params) { |
38 | return request({ | 54 | return request({ |
39 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/deleteSjClml', | 55 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/deleteSjClml', |
... | @@ -42,7 +58,11 @@ export function deleteSjClml (params) { | ... | @@ -42,7 +58,11 @@ export function deleteSjClml (params) { |
42 | }) | 58 | }) |
43 | } | 59 | } |
44 | 60 | ||
45 | // 上传单个文件 | 61 | /** |
62 | * @description: 上传单个文件 | ||
63 | * @param {*} data | ||
64 | * @author: renchao | ||
65 | */ | ||
46 | export function uploadSjClmx (data) { | 66 | export function uploadSjClmx (data) { |
47 | return request({ | 67 | return request({ |
48 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadSjClmx', | 68 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadSjClmx', |
... | @@ -51,7 +71,11 @@ export function uploadSjClmx (data) { | ... | @@ -51,7 +71,11 @@ export function uploadSjClmx (data) { |
51 | }) | 71 | }) |
52 | } | 72 | } |
53 | 73 | ||
54 | // 删除上传文件 | 74 | /** |
75 | * @description: 删除上传文件 | ||
76 | * @param {*} bsmClmx | ||
77 | * @author: renchao | ||
78 | */ | ||
55 | export function deleteClmx (bsmClmx) { | 79 | export function deleteClmx (bsmClmx) { |
56 | return request({ | 80 | return request({ |
57 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/deleteClmx?bsmClmx=' + bsmClmx, | 81 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/deleteClmx?bsmClmx=' + bsmClmx, |
... | @@ -59,7 +83,11 @@ export function deleteClmx (bsmClmx) { | ... | @@ -59,7 +83,11 @@ export function deleteClmx (bsmClmx) { |
59 | }) | 83 | }) |
60 | } | 84 | } |
61 | 85 | ||
62 | // 材料导入 | 86 | /** |
87 | * @description: 材料导入 | ||
88 | * @param {*} data | ||
89 | * @author: renchao | ||
90 | */ | ||
63 | export function uploadUndo (data) { | 91 | export function uploadUndo (data) { |
64 | return request({ | 92 | return request({ |
65 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadUndo', | 93 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadUndo', | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 13:36:44 | ||
5 | */ | ||
6 | |||
1 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
2 | export function uploadUrl () { | 8 | export function uploadUrl () { |
3 | return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload' | 9 | return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload' | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-06 09:17:56 | 4 | * @LastEditTime: 2023-05-16 14:01:26 |
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 completeTask (data) { | 13 | export function completeTask (data) { |
10 | return request({ | 14 | return request({ |
11 | url: SERVER.SERVERAPI + '/rest/business/workFlow/completeTask', | 15 | url: SERVER.SERVERAPI + '/rest/business/workFlow/completeTask', |
... | @@ -13,7 +17,11 @@ export function completeTask (data) { | ... | @@ -13,7 +17,11 @@ export function completeTask (data) { |
13 | data | 17 | data |
14 | }) | 18 | }) |
15 | } | 19 | } |
16 | // 回退表格数据 | 20 | /** |
21 | * @description: 回退表格数据 | ||
22 | * @param {*} params | ||
23 | * @author: renchao | ||
24 | */ | ||
17 | export function getTaskBackNode (params) { | 25 | export function getTaskBackNode (params) { |
18 | return request({ | 26 | return request({ |
19 | url: SERVER.SERVERAPI + '/rest/business/workFlow/getTaskBackNode', | 27 | url: SERVER.SERVERAPI + '/rest/business/workFlow/getTaskBackNode', |
... | @@ -21,7 +29,11 @@ export function getTaskBackNode (params) { | ... | @@ -21,7 +29,11 @@ export function getTaskBackNode (params) { |
21 | params: params | 29 | params: params |
22 | }) | 30 | }) |
23 | } | 31 | } |
24 | // 退回确认接口 | 32 | /** |
33 | * @description: 退回确认接口 | ||
34 | * @param {*} data | ||
35 | * @author: renchao | ||
36 | */ | ||
25 | export function sendBackTask (data) { | 37 | export function sendBackTask (data) { |
26 | return request({ | 38 | return request({ |
27 | url: SERVER.SERVERAPI + '/rest/business/workFlow/sendBackTask', | 39 | url: SERVER.SERVERAPI + '/rest/business/workFlow/sendBackTask', |
... | @@ -29,7 +41,11 @@ export function sendBackTask (data) { | ... | @@ -29,7 +41,11 @@ export function sendBackTask (data) { |
29 | data | 41 | data |
30 | }) | 42 | }) |
31 | } | 43 | } |
32 | // 获取左侧列表 | 44 | /** |
45 | * @description: 获取左侧列表 | ||
46 | * @param {*} data | ||
47 | * @author: renchao | ||
48 | */ | ||
33 | export function leftMenu (data) { | 49 | export function leftMenu (data) { |
34 | return request({ | 50 | return request({ |
35 | url: SERVER.SERVERAPI + '/rest/business/workFlow/leftMenu', | 51 | url: SERVER.SERVERAPI + '/rest/business/workFlow/leftMenu', |
... | @@ -38,7 +54,11 @@ export function leftMenu (data) { | ... | @@ -38,7 +54,11 @@ export function leftMenu (data) { |
38 | }) | 54 | }) |
39 | } | 55 | } |
40 | 56 | ||
41 | // 获取下一环节信息 | 57 | /** |
58 | * @description: 获取下一环节信息 | ||
59 | * @param {*} params | ||
60 | * @author: renchao | ||
61 | */ | ||
42 | export function getNextLinkInfo (params) { | 62 | export function getNextLinkInfo (params) { |
43 | return request({ | 63 | return request({ |
44 | url: SERVER.SERVERAPI + '/rest/business/workFlow/getNextLinkInfo', | 64 | url: SERVER.SERVERAPI + '/rest/business/workFlow/getNextLinkInfo', |
... | @@ -47,7 +67,11 @@ export function getNextLinkInfo (params) { | ... | @@ -47,7 +67,11 @@ export function getNextLinkInfo (params) { |
47 | }); | 67 | }); |
48 | } | 68 | } |
49 | 69 | ||
50 | //获取单元对应的环节表单信息 | 70 | /** |
71 | * @description: 获取单元对应的环节表单信息 | ||
72 | * @param {*} data | ||
73 | * @author: renchao | ||
74 | */ | ||
51 | export function getStepFormInfo (data) { | 75 | export function getStepFormInfo (data) { |
52 | return request({ | 76 | return request({ |
53 | url: SERVER.SERVERAPI + '/rest/business/workFlow/getStepFormInfo', | 77 | url: SERVER.SERVERAPI + '/rest/business/workFlow/getStepFormInfo', |
... | @@ -55,7 +79,11 @@ export function getStepFormInfo (data) { | ... | @@ -55,7 +79,11 @@ export function getStepFormInfo (data) { |
55 | data | 79 | data |
56 | }); | 80 | }); |
57 | } | 81 | } |
58 | // 环节扩展信息 | 82 | /** |
83 | * @description: 环节扩展信息 | ||
84 | * @param {*} data | ||
85 | * @author: renchao | ||
86 | */ | ||
59 | export function stepExpandInfo (data) { | 87 | export function stepExpandInfo (data) { |
60 | return request({ | 88 | return request({ |
61 | url: SERVER.SERVERAPI + '/rest/business/workFlow/stepExpandInfo', | 89 | url: SERVER.SERVERAPI + '/rest/business/workFlow/stepExpandInfo', |
... | @@ -64,7 +92,11 @@ export function stepExpandInfo (data) { | ... | @@ -64,7 +92,11 @@ export function stepExpandInfo (data) { |
64 | }) | 92 | }) |
65 | } | 93 | } |
66 | 94 | ||
67 | // 获取审批意见 | 95 | /** |
96 | * @description: 获取审批意见 | ||
97 | * @param {*} data | ||
98 | * @author: renchao | ||
99 | */ | ||
68 | export function getSpyjList (data) { | 100 | export function getSpyjList (data) { |
69 | return request({ | 101 | return request({ |
70 | url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getSpyjList', | 102 | url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getSpyjList', |
... | @@ -73,7 +105,11 @@ export function getSpyjList (data) { | ... | @@ -73,7 +105,11 @@ export function getSpyjList (data) { |
73 | }) | 105 | }) |
74 | } | 106 | } |
75 | 107 | ||
76 | // 保存审批意见 | 108 | /** |
109 | * @description: 保存审批意见 | ||
110 | * @param {*} data | ||
111 | * @author: renchao | ||
112 | */ | ||
77 | export function saveSpyj (data) { | 113 | export function saveSpyj (data) { |
78 | return request({ | 114 | return request({ |
79 | url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyj', | 115 | url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyj', |
... | @@ -81,7 +117,11 @@ export function saveSpyj (data) { | ... | @@ -81,7 +117,11 @@ export function saveSpyj (data) { |
81 | data | 117 | data |
82 | }) | 118 | }) |
83 | } | 119 | } |
84 | // 根据受理申请保存审批意见 | 120 | /** |
121 | * @description: 根据受理申请保存审批意见 | ||
122 | * @param {*} data | ||
123 | * @author: renchao | ||
124 | */ | ||
85 | export function saveSpyjBySlsq (data) { | 125 | export function saveSpyjBySlsq (data) { |
86 | return request({ | 126 | return request({ |
87 | url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyjBySlsq', | 127 | url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyjBySlsq', |
... | @@ -90,7 +130,11 @@ export function saveSpyjBySlsq (data) { | ... | @@ -90,7 +130,11 @@ export function saveSpyjBySlsq (data) { |
90 | }) | 130 | }) |
91 | } | 131 | } |
92 | 132 | ||
93 | // 获取用户常用意见 | 133 | /** |
134 | * @description: 获取用户常用意见 | ||
135 | * @param {*} data | ||
136 | * @author: renchao | ||
137 | */ | ||
94 | export function getUserCommonOpinion (data) { | 138 | export function getUserCommonOpinion (data) { |
95 | return request({ | 139 | return request({ |
96 | url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getUserCommonOpinion', | 140 | url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getUserCommonOpinion', |
... | @@ -99,7 +143,11 @@ export function getUserCommonOpinion (data) { | ... | @@ -99,7 +143,11 @@ export function getUserCommonOpinion (data) { |
99 | }) | 143 | }) |
100 | } | 144 | } |
101 | 145 | ||
102 | // 新增用户常用意见 | 146 | /** |
147 | * @description: 新增用户常用意见 | ||
148 | * @param {*} params | ||
149 | * @author: renchao | ||
150 | */ | ||
103 | export function addUserCommonOpinion (params) { | 151 | export function addUserCommonOpinion (params) { |
104 | return request({ | 152 | return request({ |
105 | url: SERVER.SERVERAPI + '/rest/ywbl/opinion/addUserCommonOpinion', | 153 | url: SERVER.SERVERAPI + '/rest/ywbl/opinion/addUserCommonOpinion', |
... | @@ -108,7 +156,11 @@ export function addUserCommonOpinion (params) { | ... | @@ -108,7 +156,11 @@ export function addUserCommonOpinion (params) { |
108 | }) | 156 | }) |
109 | } | 157 | } |
110 | 158 | ||
111 | //删除常用意见 | 159 | /** |
160 | * @description: 删除常用意见 | ||
161 | * @param {*} params | ||
162 | * @author: renchao | ||
163 | */ | ||
112 | export function delUserCommonOpinion (params) { | 164 | export function delUserCommonOpinion (params) { |
113 | return request({ | 165 | return request({ |
114 | url: SERVER.SERVERAPI + '/rest/ywbl/opinion/delUserCommonOpinion', | 166 | url: SERVER.SERVERAPI + '/rest/ywbl/opinion/delUserCommonOpinion', |
... | @@ -117,7 +169,11 @@ export function delUserCommonOpinion (params) { | ... | @@ -117,7 +169,11 @@ export function delUserCommonOpinion (params) { |
117 | }) | 169 | }) |
118 | } | 170 | } |
119 | 171 | ||
120 | // 登簿接口 | 172 | /** |
173 | * @description: 登簿接口 | ||
174 | * @param {*} data | ||
175 | * @author: renchao | ||
176 | */ | ||
121 | export function record (data) { | 177 | export function record (data) { |
122 | return request({ | 178 | return request({ |
123 | url: SERVER.SERVERAPI + '/rest/business/workFlow/record', | 179 | url: SERVER.SERVERAPI + '/rest/business/workFlow/record', |
... | @@ -135,7 +191,11 @@ export function stopTask (data) { | ... | @@ -135,7 +191,11 @@ export function stopTask (data) { |
135 | }) | 191 | }) |
136 | } | 192 | } |
137 | 193 | ||
138 | // 获取用户任务权限 | 194 | /** |
195 | * @description: 获取用户任务权限 | ||
196 | * @param {*} params | ||
197 | * @author: renchao | ||
198 | */ | ||
139 | export function judgeUserTaskPermission (params) { | 199 | export function judgeUserTaskPermission (params) { |
140 | return request({ | 200 | return request({ |
141 | url: SERVER.SERVERAPI + '/rest/business/workFlow/judgeUserTaskPermission', | 201 | url: SERVER.SERVERAPI + '/rest/business/workFlow/judgeUserTaskPermission', |
... | @@ -144,7 +204,11 @@ export function judgeUserTaskPermission (params) { | ... | @@ -144,7 +204,11 @@ export function judgeUserTaskPermission (params) { |
144 | }) | 204 | }) |
145 | } | 205 | } |
146 | 206 | ||
147 | // 获取申请书数据 | 207 | /** |
208 | * @description: 获取申请书数据 | ||
209 | * @param {*} data | ||
210 | * @author: renchao | ||
211 | */ | ||
148 | export function getPrintApplicationInfo (data) { | 212 | export function getPrintApplicationInfo (data) { |
149 | return request({ | 213 | return request({ |
150 | url: SERVER.SERVERAPI + '/rest/business/workFlow/getPrintApplicationInfo', | 214 | url: SERVER.SERVERAPI + '/rest/business/workFlow/getPrintApplicationInfo', | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 13:36:55 | ||
5 | */ | ||
6 | |||
1 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | 9 | ... | ... |
1 | /* | ||
2 | * @Description: 登记簿详情页 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 13:51:34 | ||
5 | */ | ||
6 | |||
1 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
2 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
3 | /* | 9 | /** |
4 | 登记簿详情页 | 10 | * @description: 获取登记封面 |
5 | */ | 11 | * @param {*} data |
6 | // 获取登记封面 | 12 | * @author: renchao |
13 | */ | ||
7 | export function getDjbfm (data) { | 14 | export function getDjbfm (data) { |
8 | return request({ | 15 | return request({ |
9 | url: SERVER.SERVERAPI + '/rest/djbDetail/getDjbFm', | 16 | url: SERVER.SERVERAPI + '/rest/djbDetail/getDjbFm', |
... | @@ -12,7 +19,11 @@ export function getDjbfm (data) { | ... | @@ -12,7 +19,11 @@ export function getDjbfm (data) { |
12 | }) | 19 | }) |
13 | } | 20 | } |
14 | 21 | ||
15 | // 获取登记目录 | 22 | /** |
23 | * @description: 获取登记目录 | ||
24 | * @param {*} data | ||
25 | * @author: renchao | ||
26 | */ | ||
16 | export function getBdcqldjmlByBdcdyid (data) { | 27 | export function getBdcqldjmlByBdcdyid (data) { |
17 | return request({ | 28 | return request({ |
18 | url: SERVER.SERVERAPI + '/rest/djbDetail/getBdcqldjmlByBdcdyid', | 29 | url: SERVER.SERVERAPI + '/rest/djbDetail/getBdcqldjmlByBdcdyid', | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 13:49:57 | ||
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 selectOtherH (data) { | 13 | export function selectOtherH (data) { |
7 | return request({ | 14 | return request({ |
8 | url: 'ywbl/ywsq/selectOtherH', | 15 | url: 'ywbl/ywsq/selectOtherH', |
... | @@ -10,9 +17,11 @@ export function selectOtherH (data) { | ... | @@ -10,9 +17,11 @@ export function selectOtherH (data) { |
10 | data | 17 | data |
11 | }) | 18 | }) |
12 | } | 19 | } |
13 | /* | 20 | /** |
14 | 业务办理-选择抵押权信息-根据条件进行列表查询 | 21 | * @description: 业务办理-选择抵押权信息-根据条件进行列表查询 |
15 | */ | 22 | * @param {*} data |
23 | * @author: renchao | ||
24 | */ | ||
16 | export function selectDiyaq (data) { | 25 | export function selectDiyaq (data) { |
17 | return request({ | 26 | return request({ |
18 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq', | 27 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq', | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 14:05:25 | ||
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 | // 获取申请查询列表 |
... | @@ -36,7 +41,11 @@ export function getJtfcInfo (params) { | ... | @@ -36,7 +41,11 @@ export function getJtfcInfo (params) { |
36 | }) | 41 | }) |
37 | } | 42 | } |
38 | 43 | ||
39 | // 获取房屋明细记录详细信息 | 44 | /** |
45 | * @description: 获取房屋明细记录详细信息 | ||
46 | * @param {*} params | ||
47 | * @author: renchao | ||
48 | */ | ||
40 | export function getFwmxInfo (params) { | 49 | export function getFwmxInfo (params) { |
41 | return request({ | 50 | return request({ |
42 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getFwmxInfo/', | 51 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getFwmxInfo/', | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 13:50:12 | ||
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 | // 用户首页 |
... | @@ -8,7 +13,10 @@ export function getHomeNoticeList () { | ... | @@ -8,7 +13,10 @@ export function getHomeNoticeList () { |
8 | method: 'get' | 13 | method: 'get' |
9 | }) | 14 | }) |
10 | } | 15 | } |
11 | 16 | /** | |
17 | * @description: | ||
18 | * @author: renchao | ||
19 | */ | ||
12 | // 获取首页待办事项 | 20 | // 获取首页待办事项 |
13 | export function getHomeTodoList () { | 21 | export function getHomeTodoList () { |
14 | return request({ | 22 | return request({ | ... | ... |
1 | /* | ||
2 | * @Description: 综合查询-登记簿查询 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 13:52:12 | ||
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 | /* | ||
4 | 综合查询 | ||
5 | */ | ||
6 | 8 | ||
7 | /* | 9 | |
8 | 登记簿查询 | 10 | /** |
9 | */ | 11 | * @description: 根据条件进行列表查询 |
10 | // 根据条件进行列表查询 | 12 | * @param {*} data |
13 | * @author: renchao | ||
14 | */ | ||
11 | export function getDjbBysearch (data) { | 15 | export function getDjbBysearch (data) { |
12 | return request({ | 16 | return request({ |
13 | url: SERVER.SERVERAPI + '/rest/zhcx/search/qlxx/getDjbBysearch', | 17 | url: SERVER.SERVERAPI + '/rest/zhcx/search/qlxx/getDjbBysearch', |
... | @@ -16,7 +20,11 @@ export function getDjbBysearch (data) { | ... | @@ -16,7 +20,11 @@ export function getDjbBysearch (data) { |
16 | }) | 20 | }) |
17 | } | 21 | } |
18 | 22 | ||
19 | // 获取登记封面 | 23 | /** |
24 | * @description: 获取登记封面 | ||
25 | * @param {*} qlbsm | ||
26 | * @author: renchao | ||
27 | */ | ||
20 | export function getDjbfm (qlbsm) { | 28 | export function getDjbfm (qlbsm) { |
21 | return request({ | 29 | return request({ |
22 | url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/djbfm/' + qlbsm, | 30 | url: SERVER.SERVERAPI + '/rest/zhcx/djbcx/djbfm/' + qlbsm, | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 13:53:53 | ||
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 {*} params |
11 | * @author: renchao | ||
12 | */ | ||
6 | export function getSysSerialSingle (params) { | 13 | export function getSysSerialSingle (params) { |
7 | return request({ | 14 | return request({ |
8 | url: SERVER.SERVERAPI + '/rest/system/sysSerial/getSysSerialSingle', | 15 | url: SERVER.SERVERAPI + '/rest/system/sysSerial/getSysSerialSingle', |
... | @@ -10,9 +17,11 @@ export function getSysSerialSingle (params) { | ... | @@ -10,9 +17,11 @@ export function getSysSerialSingle (params) { |
10 | params: params | 17 | params: params |
11 | }) | 18 | }) |
12 | } | 19 | } |
13 | /* | 20 | /** |
14 | 证书管理-证书入库列表 | 21 | * @description: 证书管理-证书入库列表 |
15 | */ | 22 | * @param {*} data |
23 | * @author: renchao | ||
24 | */ | ||
16 | export function getZsglrkList (data) { | 25 | export function getZsglrkList (data) { |
17 | return request({ | 26 | return request({ |
18 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglrkList', | 27 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglrkList', |
... | @@ -20,9 +29,11 @@ export function getZsglrkList (data) { | ... | @@ -20,9 +29,11 @@ export function getZsglrkList (data) { |
20 | data | 29 | data |
21 | }) | 30 | }) |
22 | } | 31 | } |
23 | /* | 32 | /** |
24 | 证书管理-新增证书入库 | 33 | * @description: 证书管理-新增证书入库 |
25 | */ | 34 | * @param {*} data |
35 | * @author: renchao | ||
36 | */ | ||
26 | export function zsrk (data) { | 37 | export function zsrk (data) { |
27 | return request({ | 38 | return request({ |
28 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/zsrk', | 39 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/zsrk', |
... | @@ -30,9 +41,11 @@ export function zsrk (data) { | ... | @@ -30,9 +41,11 @@ export function zsrk (data) { |
30 | data | 41 | data |
31 | }) | 42 | }) |
32 | } | 43 | } |
33 | /* | 44 | /** |
34 | 证书管理-删除证书入库 | 45 | * @description: 证书管理-删除证书入库 |
35 | */ | 46 | * @param {*} params |
47 | * @author: renchao | ||
48 | */ | ||
36 | export function removeZsgl (params) { | 49 | export function removeZsgl (params) { |
37 | return request({ | 50 | return request({ |
38 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/removeZsgl', | 51 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/removeZsgl', |
... | @@ -40,9 +53,11 @@ export function removeZsgl (params) { | ... | @@ -40,9 +53,11 @@ export function removeZsgl (params) { |
40 | params: params | 53 | params: params |
41 | }) | 54 | }) |
42 | } | 55 | } |
43 | /* | 56 | /** |
44 | 证书管理-审核证书入库 | 57 | * @description: 证书管理-审核证书入库 |
45 | */ | 58 | * @param {*} params |
59 | * @author: renchao | ||
60 | */ | ||
46 | export function verifyZsrk (params) { | 61 | export function verifyZsrk (params) { |
47 | return request({ | 62 | return request({ |
48 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/verifyZsrk', | 63 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/verifyZsrk', |
... | @@ -50,9 +65,11 @@ export function verifyZsrk (params) { | ... | @@ -50,9 +65,11 @@ export function verifyZsrk (params) { |
50 | params: params | 65 | params: params |
51 | }) | 66 | }) |
52 | } | 67 | } |
53 | /* | 68 | /** |
54 | 证书管理-证书分发列表 | 69 | * @description: 证书管理-证书分发列表 |
55 | */ | 70 | * @param {*} data |
71 | * @author: renchao | ||
72 | */ | ||
56 | export function getZsglffList (data) { | 73 | export function getZsglffList (data) { |
57 | return request({ | 74 | return request({ |
58 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglffList', | 75 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsglffList', |
... | @@ -60,18 +77,21 @@ export function getZsglffList (data) { | ... | @@ -60,18 +77,21 @@ export function getZsglffList (data) { |
60 | data | 77 | data |
61 | }) | 78 | }) |
62 | } | 79 | } |
63 | /* | 80 | /** |
64 | 证书管理-证书分发列表 | 81 | * @description: 证书管理-证书分发列表 |
65 | */ | 82 | * @author: renchao |
83 | */ | ||
66 | export function getZsStartNo () { | 84 | export function getZsStartNo () { |
67 | return request({ | 85 | return request({ |
68 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsStartNo', | 86 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsStartNo', |
69 | method: 'get' | 87 | method: 'get' |
70 | }) | 88 | }) |
71 | } | 89 | } |
72 | /* | 90 | /** |
73 | 证书管理-获取结束序列号 | 91 | * @description: 证书管理-获取结束序列号 |
74 | */ | 92 | * @param {*} params |
93 | * @author: renchao | ||
94 | */ | ||
75 | export function getZsEndNo (params) { | 95 | export function getZsEndNo (params) { |
76 | return request({ | 96 | return request({ |
77 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsEndNo', | 97 | url: SERVER.SERVERAPI + '/rest/sys/zsgl/getZsEndNo', | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-11 14:48:18 | 4 | * @LastEditTime: 2023-05-16 09:17:28 |
5 | */ | 5 | */ |
6 | /** | 6 | /** |
7 | * 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 | 7 | * 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 |
... | @@ -12,11 +12,13 @@ import { endLoadingSubCount } from './requestLoading' | ... | @@ -12,11 +12,13 @@ import { endLoadingSubCount } from './requestLoading' |
12 | 12 | ||
13 | // create an axios instance | 13 | // create an axios instance |
14 | const service = axios.create({ | 14 | const service = axios.create({ |
15 | baseURL: process.env.VUE_APP_BASE_API, | 15 | baseURL: |
16 | process.env.NODE_ENV == "development" | ||
17 | ? process.env.VUE_APP_BASE_API | ||
18 | : window.baseUrl + "/", | ||
16 | withCredentials: true, //是否允许跨域 | 19 | withCredentials: true, //是否允许跨域 |
17 | headers: { | 20 | headers: { |
18 | 'Content-Type': 'application/json; charset=utf-8', | 21 | 'Content-Type': 'application/json; charset=utf-8' |
19 | 'Authorization': 'bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6' | ||
20 | }, | 22 | }, |
21 | timeout: 15000 | 23 | timeout: 15000 |
22 | }) | 24 | }) |
... | @@ -24,14 +26,18 @@ const service = axios.create({ | ... | @@ -24,14 +26,18 @@ const service = axios.create({ |
24 | // request interceptor | 26 | // request interceptor |
25 | service.interceptors.request.use( | 27 | service.interceptors.request.use( |
26 | config => { | 28 | config => { |
27 | config.headers.Authorization = | 29 | // do something before request is sent |
28 | 'bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6' | 30 | if (process.env.NODE_ENV === "production") { |
29 | config.headers.Accept = 'application/json' | 31 | return config; |
30 | return config | 32 | } else { |
33 | config.headers.Authorization = authorization; | ||
34 | return config; | ||
35 | } | ||
31 | }, | 36 | }, |
32 | error => { | 37 | error => { |
33 | Message.error('请求超时!'); | 38 | // do something with request error |
34 | return Promise.reject(error) | 39 | console.log(error); // for debug |
40 | return Promise.reject(error); | ||
35 | } | 41 | } |
36 | ) | 42 | ) |
37 | 43 | ||
... | @@ -44,13 +50,6 @@ service.interceptors.response.use( | ... | @@ -44,13 +50,6 @@ service.interceptors.response.use( |
44 | * 如果请求不成功,就在拦截器这里统一处理(组件的代码就不用关注错误的情况了) | 50 | * 如果请求不成功,就在拦截器这里统一处理(组件的代码就不用关注错误的情况了) |
45 | */ | 51 | */ |
46 | if (response.status == 200) { | 52 | if (response.status == 200) { |
47 | // if (response.data.code == 500) { | ||
48 | // Message({ | ||
49 | // message: response.data.message, | ||
50 | // type: 'error', | ||
51 | // duration: 5 * 1000 | ||
52 | // }) | ||
53 | // } | ||
54 | return response.data; | 53 | return response.data; |
55 | } else { | 54 | } else { |
56 | handleErrorData(response.data); | 55 | handleErrorData(response.data); | ... | ... |
... | @@ -22,7 +22,8 @@ | ... | @@ -22,7 +22,8 @@ |
22 | accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> | 22 | accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> |
23 | <el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype">上传</el-button> | 23 | <el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype">上传</el-button> |
24 | </el-upload> | 24 | </el-upload> |
25 | <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" v-if="!this.$route.query.viewtype">删除</el-button> | 25 | <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" |
26 | v-if="!this.$route.query.viewtype && thumbnailImages.length>0">删除</el-button> | ||
26 | </div> | 27 | </div> |
27 | <ul> | 28 | <ul> |
28 | <li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active: previewImg.index === index }" | 29 | <li v-for="(img, index) in thumbnailImages" :key="index" :class="{ active: previewImg.index === index }" | ... | ... |
... | @@ -22,9 +22,12 @@ | ... | @@ -22,9 +22,12 @@ |
22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', |
23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', |
24 | ]"> | 24 | ]"> |
25 | <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' || row.qszt == '1')"> | 25 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> |
26 | 正在办理 | 26 | 正在办理 |
27 | </div> | 27 | </div> |
28 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | ||
29 | 有效 | ||
30 | </div> | ||
28 | <span v-if="item.prop == 'qszt'"> | 31 | <span v-if="item.prop == 'qszt'"> |
29 | {{ getQsztName(row[item.prop]) }} | 32 | {{ getQsztName(row[item.prop]) }} |
30 | </span> | 33 | </span> | ... | ... |
... | @@ -22,9 +22,12 @@ | ... | @@ -22,9 +22,12 @@ |
22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', |
23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', |
24 | ]"> | 24 | ]"> |
25 | <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' || row.qszt == '1')"> | 25 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> |
26 | 正在办理 | 26 | 正在办理 |
27 | </div> | 27 | </div> |
28 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | ||
29 | 有效 | ||
30 | </div> | ||
28 | <span v-if="item.prop == 'qszt'"> | 31 | <span v-if="item.prop == 'qszt'"> |
29 | {{ getQsztName(row[item.prop]) }} | 32 | {{ getQsztName(row[item.prop]) }} |
30 | </span> | 33 | </span> | ... | ... |
... | @@ -22,9 +22,12 @@ | ... | @@ -22,9 +22,12 @@ |
22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', |
23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', |
24 | ]"> | 24 | ]"> |
25 | <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' || row.qszt == '1')"> | 25 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> |
26 | 正在办理 | 26 | 正在办理 |
27 | </div> | 27 | </div> |
28 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | ||
29 | 有效 | ||
30 | </div> | ||
28 | <span v-if="item.prop == 'qszt'"> | 31 | <span v-if="item.prop == 'qszt'"> |
29 | {{ getQsztName(row[item.prop]) }} | 32 | {{ getQsztName(row[item.prop]) }} |
30 | </span> | 33 | </span> | ... | ... |
... | @@ -109,6 +109,16 @@ | ... | @@ -109,6 +109,16 @@ |
109 | 109 | ||
110 | .linshiIcon { | 110 | .linshiIcon { |
111 | position: relative; | 111 | position: relative; |
112 | |||
113 | .icon { | ||
114 | position: absolute; | ||
115 | top: 12px; | ||
116 | right: -5px; | ||
117 | transform: rotate(45deg); | ||
118 | color: #fff; | ||
119 | font-size: 12px; | ||
120 | z-index: 10; | ||
121 | } | ||
112 | } | 122 | } |
113 | 123 | ||
114 | .linshiIcon::after { | 124 | .linshiIcon::after { |
... | @@ -127,6 +137,16 @@ | ... | @@ -127,6 +137,16 @@ |
127 | 137 | ||
128 | .xianshiIcon { | 138 | .xianshiIcon { |
129 | position: relative; | 139 | position: relative; |
140 | |||
141 | .icon { | ||
142 | position: absolute; | ||
143 | top: 9px; | ||
144 | right: 5px; | ||
145 | transform: rotate(45deg); | ||
146 | color: #fff; | ||
147 | font-size: 12px; | ||
148 | z-index: 10; | ||
149 | } | ||
130 | } | 150 | } |
131 | 151 | ||
132 | .xianshiIcon::after { | 152 | .xianshiIcon::after { |
... | @@ -143,15 +163,7 @@ | ... | @@ -143,15 +163,7 @@ |
143 | transform: rotate(-90deg); | 163 | transform: rotate(-90deg); |
144 | } | 164 | } |
145 | 165 | ||
146 | .icon { | 166 | |
147 | position: absolute; | ||
148 | top: 12px; | ||
149 | right: -5px; | ||
150 | transform: rotate(45deg); | ||
151 | color: #fff; | ||
152 | font-size: 12px; | ||
153 | z-index: 10; | ||
154 | } | ||
155 | 167 | ||
156 | tr { | 168 | tr { |
157 | display: flex; | 169 | display: flex; | ... | ... |
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
6 | </tr> | 6 | </tr> |
7 | <tr> | 7 | <tr> |
8 | <td>单位</td> | 8 | <td>单位</td> |
9 | <td colspan="4">{{ zdjbxx.mjdw }}</td> | 9 | <td colspan="4">{{ zdjbxx.mjdw | dictionary('A7') }}</td> |
10 | </tr> | 10 | </tr> |
11 | <tr> | 11 | <tr> |
12 | <td>不动产类型</td> | 12 | <td>不动产类型</td> |
... | @@ -39,7 +39,7 @@ | ... | @@ -39,7 +39,7 @@ |
39 | </tr> | 39 | </tr> |
40 | <tr> | 40 | <tr> |
41 | <td>权利设定方式</td> | 41 | <td>权利设定方式</td> |
42 | <td>{{zdjbxx.qlsdfs | qlsdfs}}</td> | 42 | <td>{{zdjbxx.qlsdfs | dictionary('A10')}}</td> |
43 | <td>容积率</td> | 43 | <td>容积率</td> |
44 | <td>{{ zdjbxx.rjl }}</td> | 44 | <td>{{ zdjbxx.rjl }}</td> |
45 | </tr> | 45 | </tr> |
... | @@ -172,20 +172,19 @@ | ... | @@ -172,20 +172,19 @@ |
172 | zdbhqks: [], | 172 | zdbhqks: [], |
173 | propsParam: this.$attrs, | 173 | propsParam: this.$attrs, |
174 | showGroup: false, | 174 | showGroup: false, |
175 | bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"], | 175 | bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"] |
176 | }; | 176 | } |
177 | }, | 177 | }, |
178 | filters: { | 178 | filters: { |
179 | qlsdfs: function (value) { | 179 | dictionary: function (value, param) { |
180 | const foundItem = store.getters.dictData['A10'].find(item => item.dcode === String(value)); | 180 | const foundItem = store.getters.dictData[param].find(item => item.dcode === String(value)) |
181 | if (foundItem) { | 181 | if (foundItem) { |
182 | console.log(foundItem.dname, 'foundItem.dname'); | 182 | return foundItem.dname |
183 | return foundItem.dname; | ||
184 | } | 183 | } |
185 | } | 184 | } |
186 | }, | 185 | }, |
187 | created () { | 186 | created () { |
188 | this.loadData(); | 187 | this.loadData() |
189 | }, | 188 | }, |
190 | methods: { | 189 | methods: { |
191 | loadData () { | 190 | loadData () { |
... | @@ -197,12 +196,11 @@ | ... | @@ -197,12 +196,11 @@ |
197 | this.showGroup = true; | 196 | this.showGroup = true; |
198 | } | 197 | } |
199 | } | 198 | } |
200 | }); | 199 | }) |
201 | }, | 200 | } |
202 | }, | 201 | } |
203 | }; | 202 | } |
204 | </script> | 203 | </script> |
205 | |||
206 | <style lang="scss" scoped> | 204 | <style lang="scss" scoped> |
207 | @import "~@/styles/tablecss.scss"; | 205 | @import "~@/styles/tablecss.scss"; |
208 | </style> | 206 | </style> | ... | ... |
... | @@ -24,13 +24,13 @@ | ... | @@ -24,13 +24,13 @@ |
24 | </div> | 24 | </div> |
25 | </div> | 25 | </div> |
26 | <clxxAddDialog v-model="isDialog" /> | 26 | <clxxAddDialog v-model="isDialog" /> |
27 | <clxxDetailDialog v-model="detailDialog" :data="tableData" /> | 27 | <!-- <clxxDetailDialog v-model="detailDialog" :data="tableData" /> --> |
28 | </div> | 28 | </div> |
29 | </template> | 29 | </template> |
30 | <script> | 30 | <script> |
31 | import { mapGetters } from "vuex"; | 31 | import { mapGetters } from "vuex"; |
32 | import clxxAddDialog from "./dialog/clxxAddDialog.vue"; | 32 | import clxxAddDialog from "./dialog/clxxAddDialog.vue"; |
33 | import clxxDetailDialog from "./clxxDetailDialog.vue"; | 33 | import clxxDetailDialog from "./dialog/clxxDetailDialog.vue"; |
34 | import imagePreview from '@/views/components/imagePreview.vue' | 34 | import imagePreview from '@/views/components/imagePreview.vue' |
35 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; | 35 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; |
36 | import { popupDialog } from "@/utils/popup.js"; | 36 | import { popupDialog } from "@/utils/popup.js"; |
... | @@ -39,7 +39,6 @@ | ... | @@ -39,7 +39,6 @@ |
39 | data () { | 39 | data () { |
40 | return { | 40 | return { |
41 | isDialog: false, | 41 | isDialog: false, |
42 | detailDialog: false, | ||
43 | iclass: "", | 42 | iclass: "", |
44 | // 材料目录选中 | 43 | // 材料目录选中 |
45 | treeCheckIndex: 0, | 44 | treeCheckIndex: 0, |
... | @@ -185,15 +184,17 @@ | ... | @@ -185,15 +184,17 @@ |
185 | if (data) { | 184 | if (data) { |
186 | data.map((item) => { | 185 | data.map((item) => { |
187 | if (item.dcode == val) { | 186 | if (item.dcode == val) { |
188 | name = item.dname; | 187 | name = item.dname |
189 | } | 188 | } |
190 | }); | 189 | }); |
191 | return name; | 190 | return name |
192 | } | 191 | } |
193 | }, | 192 | }, |
194 | //查看明细 | 193 | //查看明细 |
195 | viewDetail () { | 194 | viewDetail () { |
196 | this.detailDialog = true; | 195 | this.$popupDialog("查看明细", "workflow/components/dialog/clxxDetailDialog", { |
196 | data: this.tableData | ||
197 | }, "60%") | ||
197 | }, | 198 | }, |
198 | //设置tableData | 199 | //设置tableData |
199 | setTableData (tableData) { | 200 | setTableData (tableData) { | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -66,7 +66,7 @@ | ... | @@ -66,7 +66,7 @@ |
66 | </el-col> | 66 | </el-col> |
67 | <el-col :span="6"> | 67 | <el-col :span="6"> |
68 | <el-form-item label="坐落"> | 68 | <el-form-item label="坐落"> |
69 | <el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.zl" clearable class="width100"> | 69 | <el-input placeholder="如需要模糊查询,前后输入%" v-model.trim="queryForm.zl" clearable class="width100"> |
70 | </el-input> | 70 | </el-input> |
71 | </el-form-item> | 71 | </el-form-item> |
72 | </el-col> | 72 | </el-col> | ... | ... |
... | @@ -260,14 +260,16 @@ | ... | @@ -260,14 +260,16 @@ |
260 | //是否分别持证 | 260 | //是否分别持证 |
261 | if (this.ruleForm.slywxx.sqfbcz == '1') { //是 | 261 | if (this.ruleForm.slywxx.sqfbcz == '1') { //是 |
262 | this.ruleForm.qlrList.forEach((item, index) => { | 262 | this.ruleForm.qlrList.forEach((item, index) => { |
263 | item.sfczr = "1"; | 263 | item.sfczr = "1" |
264 | }); | 264 | }); |
265 | } else { | 265 | } else { |
266 | this.ruleForm.qlrList.forEach((item, index) => { | 266 | this.ruleForm.qlrList.forEach((item, index) => { |
267 | if (item.zjh == this.ruleForm.czr) { | 267 | if (item.zjh == this.ruleForm.czr) { |
268 | item.sfczr = "1"; | 268 | item.sfczr = "1" |
269 | } else { | ||
270 | item.sfczr = "0" | ||
269 | } | 271 | } |
270 | }); | 272 | }) |
271 | } | 273 | } |
272 | } | 274 | } |
273 | 275 | ... | ... |
... | @@ -182,82 +182,87 @@ | ... | @@ -182,82 +182,87 @@ |
182 | </div> | 182 | </div> |
183 | </template> | 183 | </template> |
184 | <script> | 184 | <script> |
185 | import { mapGetters } from "vuex"; | 185 | import { mapGetters } from "vuex"; |
186 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 186 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
187 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; | 187 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; |
188 | export default { | 188 | export default { |
189 | mounted () { | 189 | mounted () { |
190 | this.propsParam = this.$attrs; | 190 | this.propsParam = this.$attrs; |
191 | var formdata = new FormData(); | 191 | var formdata = new FormData(); |
192 | this.$startLoading(); | 192 | this.$startLoading(); |
193 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 193 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
194 | formdata.append("djlx", this.propsParam.djlx); | 194 | formdata.append("djlx", this.propsParam.djlx); |
195 | Init(formdata).then((res) => { | 195 | Init(formdata).then((res) => { |
196 | if (res.code === 200 && res.result) { | 196 | if (res.code === 200 && res.result) { |
197 | this.ruleForm = res.result; | 197 | this.ruleForm = res.result; |
198 | this.$endLoading(); | 198 | this.$endLoading(); |
199 | } | ||
200 | }); | ||
201 | }, | ||
202 | components: { qlrCommonTable }, | ||
203 | computed: { | ||
204 | ...mapGetters(["dictData", "flag"]) | ||
205 | }, | ||
206 | data () { | ||
207 | return { | ||
208 | disabled: true, | ||
209 | czrOptions: [], | ||
210 | ruleForm: {}, | ||
211 | //传递参数 | ||
212 | propsParam: {}, | ||
213 | rules: {}, | ||
214 | }; | ||
215 | }, | ||
216 | methods: { | ||
217 | // 更新权利人信息 | ||
218 | upDateQlrxxList (val) { | ||
219 | this.ruleForm.qlrList = _.cloneDeep(val); | ||
220 | }, | ||
221 | onSubmit () { | ||
222 | saveData(this.ruleForm).then((res) => { | ||
223 | if (res.code === 200) { | ||
224 | this.$message({ | ||
225 | showClose: true, | ||
226 | message: "保存成功!", | ||
227 | type: "success", | ||
228 | }); | ||
229 | } else { | ||
230 | this.$message({ | ||
231 | showClose: true, | ||
232 | message: res.message, | ||
233 | type: "error", | ||
234 | }); | ||
235 | } | 199 | } |
236 | }); | 200 | }); |
237 | }, | 201 | }, |
238 | compare () { | 202 | components: { qlrCommonTable }, |
239 | this.$popup({ | 203 | computed: { |
240 | titleStyle: "left", | 204 | ...mapGetters(["dictData", "flag"]) |
241 | title: "土地变化情况比对", // 弹窗标题 | 205 | }, |
242 | editItem: "registerBook/jsydsyq", // 弹窗内容 | 206 | data () { |
243 | formData: this.propsParam, | 207 | return { |
244 | width: "1220px", | 208 | disabled: true, |
245 | height: "790px", | 209 | czrOptions: [], |
246 | // cancelText: '取消摆烂', // 右边按钮文本 | 210 | ruleForm: { |
247 | // confirmText: '确定点击', //左边按钮文本 | 211 | slywxx: {}, |
248 | cancel: () => { | 212 | qlxx: {}, |
249 | console.log("取消回调"); | 213 | zdjbxx: {}, |
250 | }, | 214 | jsydsyq: {} |
251 | confirm: () => { | ||
252 | console.log("确认回调"); | ||
253 | }, | 215 | }, |
254 | }); | 216 | //传递参数 |
255 | } | 217 | propsParam: {}, |
256 | }, | 218 | rules: {}, |
219 | }; | ||
220 | }, | ||
221 | methods: { | ||
222 | // 更新权利人信息 | ||
223 | upDateQlrxxList (val) { | ||
224 | this.ruleForm.qlrList = _.cloneDeep(val); | ||
225 | }, | ||
226 | onSubmit () { | ||
227 | saveData(this.ruleForm).then((res) => { | ||
228 | if (res.code === 200) { | ||
229 | this.$message({ | ||
230 | showClose: true, | ||
231 | message: "保存成功!", | ||
232 | type: "success", | ||
233 | }); | ||
234 | } else { | ||
235 | this.$message({ | ||
236 | showClose: true, | ||
237 | message: res.message, | ||
238 | type: "error", | ||
239 | }); | ||
240 | } | ||
241 | }); | ||
242 | }, | ||
243 | compare () { | ||
244 | this.$popup({ | ||
245 | titleStyle: "left", | ||
246 | title: "土地变化情况比对", // 弹窗标题 | ||
247 | editItem: "registerBook/jsydsyq", // 弹窗内容 | ||
248 | formData: this.propsParam, | ||
249 | width: "1220px", | ||
250 | height: "790px", | ||
251 | // cancelText: '取消摆烂', // 右边按钮文本 | ||
252 | // confirmText: '确定点击', //左边按钮文本 | ||
253 | cancel: () => { | ||
254 | console.log("取消回调"); | ||
255 | }, | ||
256 | confirm: () => { | ||
257 | console.log("确认回调"); | ||
258 | }, | ||
259 | }); | ||
260 | } | ||
261 | }, | ||
257 | 262 | ||
258 | }; | 263 | }; |
259 | </script> | 264 | </script> |
260 | <style scoped lang='scss'> | 265 | <style scoped lang='scss'> |
261 | @import "~@/styles/public.scss"; | 266 | @import "~@/styles/public.scss"; |
262 | @import "~@/styles/slxx/slxx.scss"; | 267 | @import "~@/styles/slxx/slxx.scss"; |
263 | </style> | 268 | </style> | ... | ... |
... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
12 | </el-col> | 12 | </el-col> |
13 | <el-col :span="10"> | 13 | <el-col :span="10"> |
14 | <el-form-item label="坐落"> | 14 | <el-form-item label="坐落"> |
15 | <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px"> | 15 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width300px"> |
16 | </el-input> | 16 | </el-input> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> | ... | ... |
... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
12 | </el-col> | 12 | </el-col> |
13 | <el-col :span="10"> | 13 | <el-col :span="10"> |
14 | <el-form-item label="坐落"> | 14 | <el-form-item label="坐落"> |
15 | <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width100"> | 15 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> |
16 | </el-input> | 16 | </el-input> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> | ... | ... |
... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
19 | </el-col> | 19 | </el-col> |
20 | <el-col :span="8"> | 20 | <el-col :span="8"> |
21 | <el-form-item label="坐落"> | 21 | <el-form-item label="坐落"> |
22 | <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width100"> | 22 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> |
23 | </el-input> | 23 | </el-input> |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> | ... | ... |
... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
26 | </el-col> | 26 | </el-col> |
27 | <el-col :span="10"> | 27 | <el-col :span="10"> |
28 | <el-form-item label="坐落"> | 28 | <el-form-item label="坐落"> |
29 | <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width100"> | 29 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> |
30 | </el-input> | 30 | </el-input> |
31 | </el-form-item> | 31 | </el-form-item> |
32 | </el-col> | 32 | </el-col> | ... | ... |
... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
12 | </el-col> | 12 | </el-col> |
13 | <el-col :span="10"> | 13 | <el-col :span="10"> |
14 | <el-form-item label="坐落"> | 14 | <el-form-item label="坐落"> |
15 | <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width300px"> | 15 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width300px"> |
16 | </el-input> | 16 | </el-input> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> | ... | ... |
... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
19 | </el-col> | 19 | </el-col> |
20 | <el-col :span="6"> | 20 | <el-col :span="6"> |
21 | <el-form-item label="坐落"> | 21 | <el-form-item label="坐落"> |
22 | <el-input placeholder="" v-model="queryForm.zl" clearable class="width200px"> | 22 | <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px"> |
23 | </el-input> | 23 | </el-input> |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> | ... | ... |
... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
19 | </el-col> | 19 | </el-col> |
20 | <el-col :span="6"> | 20 | <el-col :span="6"> |
21 | <el-form-item label="坐落"> | 21 | <el-form-item label="坐落"> |
22 | <el-input placeholder="" v-model="queryForm.zl" clearable class="width200px"> | 22 | <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px"> |
23 | </el-input> | 23 | </el-input> |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> | ... | ... |
... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
19 | </el-col> | 19 | </el-col> |
20 | <el-col :span="6"> | 20 | <el-col :span="6"> |
21 | <el-form-item label="坐落"> | 21 | <el-form-item label="坐落"> |
22 | <el-input placeholder="" v-model="queryForm.zl" clearable class="width200px"> | 22 | <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px"> |
23 | </el-input> | 23 | </el-input> |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> | ... | ... |
... | @@ -63,7 +63,7 @@ | ... | @@ -63,7 +63,7 @@ |
63 | </el-col> | 63 | </el-col> |
64 | <el-col :span="5"> | 64 | <el-col :span="5"> |
65 | <el-form-item label="坐落"> | 65 | <el-form-item label="坐落"> |
66 | <el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.zl" clearable class="width100"> | 66 | <el-input placeholder="如需要模糊查询,前后输入%" v-model.trim="queryForm.zl" clearable class="width100"> |
67 | </el-input> | 67 | </el-input> |
68 | </el-form-item> | 68 | </el-form-item> |
69 | </el-col> | 69 | </el-col> |
... | @@ -80,82 +80,82 @@ | ... | @@ -80,82 +80,82 @@ |
80 | </div> | 80 | </div> |
81 | </template> | 81 | </template> |
82 | <script> | 82 | <script> |
83 | import { mapGetters } from 'vuex' | 83 | import { mapGetters } from 'vuex' |
84 | import table from "@/utils/mixin/table"; | 84 | import table from "@/utils/mixin/table"; |
85 | import { datas, sendThis } from "./jdcxdata"; | 85 | import { datas, sendThis } from "./jdcxdata"; |
86 | import { getJdcxBysearch } from "@/api/zhcx.js" | 86 | import { getJdcxBysearch } from "@/api/zhcx.js" |
87 | export default { | 87 | export default { |
88 | name: "jdcx", | 88 | name: "jdcx", |
89 | components: {}, | 89 | components: {}, |
90 | mixins: [table], | 90 | mixins: [table], |
91 | mounted () { | 91 | mounted () { |
92 | sendThis(this); | 92 | sendThis(this); |
93 | }, | 93 | }, |
94 | computed: { | 94 | computed: { |
95 | ...mapGetters(['dictData']) | 95 | ...mapGetters(['dictData']) |
96 | }, | ||
97 | data () { | ||
98 | return { | ||
99 | queryForm: { | ||
100 | ywly: "", | ||
101 | qllx: "", | ||
102 | djlx: "", | ||
103 | ywh: "", | ||
104 | }, | ||
105 | // pageData: { | ||
106 | // currentPage: 1, | ||
107 | // pageSize: 10, | ||
108 | // total: 0, | ||
109 | // }, | ||
110 | tableData: { | ||
111 | total: 0, | ||
112 | columns: datas.columns(), | ||
113 | data: [] | ||
114 | } | ||
115 | } | ||
116 | }, | ||
117 | methods: { | ||
118 | // 初始化数据 | ||
119 | queryClick () { | ||
120 | this.$startLoading() | ||
121 | getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => { | ||
122 | this.$endLoading() | ||
123 | if (res.code === 200) { | ||
124 | let { total, records } = res.result | ||
125 | // let str = '' | ||
126 | // records.forEach(item => { | ||
127 | // if (item.userNameList.length != 0) { | ||
128 | // str = String(item.userNameList) | ||
129 | // item.blStatus = item.zbhj + '(' + str.replace(/,/g, "+") + ')' | ||
130 | // } | ||
131 | // if (item.qlrmc.length != 0) { | ||
132 | // item.qlrmcStr = String(item.qlrmc) | ||
133 | // } | ||
134 | // if (item.ywrmc.length != 0) { | ||
135 | // item.ywrmcStr = String(item.ywrmc) | ||
136 | // } | ||
137 | // if (item.zlList.length != 0) { | ||
138 | // item.zlStr = String(item.zlList) | ||
139 | // } | ||
140 | // }) | ||
141 | // this.pageData.total = total; | ||
142 | // this.tableData.data = records | ||
143 | this.tableData.total = total ? total : 0; | ||
144 | this.tableData.data = records ? records : []; | ||
145 | } | ||
146 | }) | ||
147 | }, | 96 | }, |
148 | handleSort (name, sort) { | 97 | data () { |
149 | console.log(name, sort); | 98 | return { |
99 | queryForm: { | ||
100 | ywly: "", | ||
101 | qllx: "", | ||
102 | djlx: "", | ||
103 | ywh: "", | ||
104 | }, | ||
105 | // pageData: { | ||
106 | // currentPage: 1, | ||
107 | // pageSize: 10, | ||
108 | // total: 0, | ||
109 | // }, | ||
110 | tableData: { | ||
111 | total: 0, | ||
112 | columns: datas.columns(), | ||
113 | data: [] | ||
114 | } | ||
115 | } | ||
150 | }, | 116 | }, |
151 | openDialog (item) { | 117 | methods: { |
152 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3') | 118 | // 初始化数据 |
153 | // window.open(href, '_blank'); | 119 | queryClick () { |
154 | window.open(href, `urlname${item.bsmSlsq}`); | 120 | this.$startLoading() |
121 | getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => { | ||
122 | this.$endLoading() | ||
123 | if (res.code === 200) { | ||
124 | let { total, records } = res.result | ||
125 | // let str = '' | ||
126 | // records.forEach(item => { | ||
127 | // if (item.userNameList.length != 0) { | ||
128 | // str = String(item.userNameList) | ||
129 | // item.blStatus = item.zbhj + '(' + str.replace(/,/g, "+") + ')' | ||
130 | // } | ||
131 | // if (item.qlrmc.length != 0) { | ||
132 | // item.qlrmcStr = String(item.qlrmc) | ||
133 | // } | ||
134 | // if (item.ywrmc.length != 0) { | ||
135 | // item.ywrmcStr = String(item.ywrmc) | ||
136 | // } | ||
137 | // if (item.zlList.length != 0) { | ||
138 | // item.zlStr = String(item.zlList) | ||
139 | // } | ||
140 | // }) | ||
141 | // this.pageData.total = total; | ||
142 | // this.tableData.data = records | ||
143 | this.tableData.total = total ? total : 0; | ||
144 | this.tableData.data = records ? records : []; | ||
145 | } | ||
146 | }) | ||
147 | }, | ||
148 | handleSort (name, sort) { | ||
149 | console.log(name, sort); | ||
150 | }, | ||
151 | openDialog (item) { | ||
152 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3') | ||
153 | // window.open(href, '_blank'); | ||
154 | window.open(href, `urlname${item.bsmSlsq}`); | ||
155 | } | ||
155 | } | 156 | } |
156 | } | 157 | } |
157 | } | ||
158 | </script> | 158 | </script> |
159 | <style scoped lang="scss"> | 159 | <style scoped lang="scss"> |
160 | @import "~@/styles/public.scss"; | 160 | @import "~@/styles/public.scss"; |
161 | </style> | 161 | </style> | ... | ... |
-
Please register or sign in to post a comment