增加注释
Showing
7 changed files
with
87 additions
and
18 deletions
... | @@ -6,8 +6,11 @@ | ... | @@ -6,8 +6,11 @@ |
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 | // 数据上报推送查询 | 10 | * @description: 数据上报推送查询 |
11 | * @param {*} data | ||
12 | * @author: renchao | ||
13 | */ | ||
11 | export function list (data) { | 14 | export function list (data) { |
12 | return request({ | 15 | return request({ |
13 | url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/list', | 16 | url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/list', |
... | @@ -16,7 +19,11 @@ export function list (data) { | ... | @@ -16,7 +19,11 @@ export function list (data) { |
16 | }) | 19 | }) |
17 | } | 20 | } |
18 | 21 | ||
19 | // 数据上报推送 | 22 | /** |
23 | * @description: 数据上报推送 | ||
24 | * @param {*} data | ||
25 | * @author: renchao | ||
26 | */ | ||
20 | export function push (data) { | 27 | export function push (data) { |
21 | return request({ | 28 | return request({ |
22 | url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/push', | 29 | url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/push', |
... | @@ -25,7 +32,11 @@ export function push (data) { | ... | @@ -25,7 +32,11 @@ export function push (data) { |
25 | }) | 32 | }) |
26 | } | 33 | } |
27 | 34 | ||
28 | // 数据上报推送 | 35 | /** |
36 | * @description: 数据上报推送 | ||
37 | * @param {*} bsm | ||
38 | * @author: renchao | ||
39 | */ | ||
29 | export function detail (bsm) { | 40 | export function detail (bsm) { |
30 | return request({ | 41 | return request({ |
31 | url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/detail?bsm=' + bsm, | 42 | url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/detail?bsm=' + bsm, | ... | ... |
... | @@ -6,7 +6,11 @@ | ... | @@ -6,7 +6,11 @@ |
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 Init (data) { | 14 | export function Init (data) { |
11 | let apiUrl = ""; | 15 | let apiUrl = ""; |
12 | switch (data.get("djlx")) { | 16 | switch (data.get("djlx")) { | ... | ... |
... | @@ -6,7 +6,11 @@ | ... | @@ -6,7 +6,11 @@ |
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 Init (data) { | 14 | export function Init (data) { |
11 | let apiUrl = ""; | 15 | let apiUrl = ""; |
12 | switch (data.get("djlx")) { | 16 | switch (data.get("djlx")) { |
... | @@ -39,7 +43,11 @@ export function Init (data) { | ... | @@ -39,7 +43,11 @@ export function Init (data) { |
39 | }) | 43 | }) |
40 | } | 44 | } |
41 | 45 | ||
42 | // 初始化内容 | 46 | /** |
47 | * @description: 保存数据 | ||
48 | * @param {*} data | ||
49 | * @author: renchao | ||
50 | */ | ||
43 | export function saveData (data) { | 51 | export function saveData (data) { |
44 | return request({ | 52 | return request({ |
45 | url: SERVER.SERVERAPI + '/rest/ywbl/nydsyqlr/saveData', | 53 | url: SERVER.SERVERAPI + '/rest/ywbl/nydsyqlr/saveData', | ... | ... |
... | @@ -6,7 +6,11 @@ | ... | @@ -6,7 +6,11 @@ |
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 Init (data) { | 14 | export function Init (data) { |
11 | let apiUrl = ""; | 15 | let apiUrl = ""; |
12 | switch (data.get("djlx")) { | 16 | switch (data.get("djlx")) { | ... | ... |
... | @@ -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 Init (data) { | 13 | export function Init (data) { |
10 | let apiUrl = ""; | 14 | let apiUrl = ""; |
11 | switch (data.get("djlx")) { | 15 | switch (data.get("djlx")) { |
... | @@ -37,7 +41,11 @@ export function Init (data) { | ... | @@ -37,7 +41,11 @@ export function Init (data) { |
37 | data | 41 | data |
38 | }) | 42 | }) |
39 | } | 43 | } |
40 | // 初始化内容 | 44 | /** |
45 | * @description: 保存数据 | ||
46 | * @param {*} data | ||
47 | * @author: renchao | ||
48 | */ | ||
41 | export function saveData (data) { | 49 | export function saveData (data) { |
42 | return request({ | 50 | return request({ |
43 | url: SERVER.SERVERAPI + '/rest/ywbl/ygmmdj/saveData', | 51 | url: SERVER.SERVERAPI + '/rest/ywbl/ygmmdj/saveData', | ... | ... |
... | @@ -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 Init (data) { | 13 | export function Init (data) { |
10 | let apiUrl = ""; | 14 | let apiUrl = ""; |
11 | switch (data.get("djlx")) { | 15 | switch (data.get("djlx")) { |
... | @@ -37,7 +41,11 @@ export function Init (data) { | ... | @@ -37,7 +41,11 @@ export function Init (data) { |
37 | data | 41 | data |
38 | }) | 42 | }) |
39 | } | 43 | } |
40 | // 初始化内容 | 44 | /** |
45 | * @description: 保存数据 | ||
46 | * @param {*} data | ||
47 | * @author: renchao | ||
48 | */ | ||
41 | export function saveData (data) { | 49 | export function saveData (data) { |
42 | return request({ | 50 | return request({ |
43 | url: SERVER.SERVERAPI + '/rest/ywbl/ygdydj/saveData', | 51 | url: SERVER.SERVERAPI + '/rest/ywbl/ygdydj/saveData', | ... | ... |
... | @@ -6,7 +6,11 @@ | ... | @@ -6,7 +6,11 @@ |
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 Init (data) { | 14 | export function Init (data) { |
11 | return request({ | 15 | return request({ |
12 | url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/init", | 16 | url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/init", |
... | @@ -14,7 +18,11 @@ export function Init (data) { | ... | @@ -14,7 +18,11 @@ export function Init (data) { |
14 | data | 18 | data |
15 | }) | 19 | }) |
16 | } | 20 | } |
17 | // 批量初始化内容 | 21 | /** |
22 | * @description: 批量初始化 | ||
23 | * @param {*} data | ||
24 | * @author: renchao | ||
25 | */ | ||
18 | export function bacthInit (data) { | 26 | export function bacthInit (data) { |
19 | let apiUrl = ""; | 27 | let apiUrl = ""; |
20 | switch (data.get("djlx")) { | 28 | switch (data.get("djlx")) { |
... | @@ -46,7 +54,11 @@ export function bacthInit (data) { | ... | @@ -46,7 +54,11 @@ export function bacthInit (data) { |
46 | data | 54 | data |
47 | }) | 55 | }) |
48 | } | 56 | } |
49 | // 受理信息保存 | 57 | /** |
58 | * @description: 保存数据 | ||
59 | * @param {*} data | ||
60 | * @author: renchao | ||
61 | */ | ||
50 | export function saveData (data, djlx) { | 62 | export function saveData (data, djlx) { |
51 | let apiUrl = "/rest/ywbl/zjgcdy/saveData"; | 63 | let apiUrl = "/rest/ywbl/zjgcdy/saveData"; |
52 | if (djlx == "400") { | 64 | if (djlx == "400") { |
... | @@ -59,7 +71,11 @@ export function saveData (data, djlx) { | ... | @@ -59,7 +71,11 @@ export function saveData (data, djlx) { |
59 | }) | 71 | }) |
60 | } | 72 | } |
61 | 73 | ||
62 | // 受理信息保存 | 74 | /** |
75 | * @description: 批量保存 | ||
76 | * @param {*} data | ||
77 | * @author: renchao | ||
78 | */ | ||
63 | export function saveBatchData (data, djlx) { | 79 | export function saveBatchData (data, djlx) { |
64 | return request({ | 80 | return request({ |
65 | url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/saveBatchData", | 81 | url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/saveBatchData", |
... | @@ -67,7 +83,12 @@ export function saveBatchData (data, djlx) { | ... | @@ -67,7 +83,12 @@ export function saveBatchData (data, djlx) { |
67 | data | 83 | data |
68 | }) | 84 | }) |
69 | } | 85 | } |
70 | // 上传单个文件 | 86 | |
87 | /** | ||
88 | * @description: 上传当个文件 | ||
89 | * @param {*} data | ||
90 | * @author: renchao | ||
91 | */ | ||
71 | export function sjClmxUpload (data) { | 92 | export function sjClmxUpload (data) { |
72 | return request({ | 93 | return request({ |
73 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload', | 94 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload', |
... | @@ -75,7 +96,12 @@ export function sjClmxUpload (data) { | ... | @@ -75,7 +96,12 @@ export function sjClmxUpload (data) { |
75 | data | 96 | data |
76 | }) | 97 | }) |
77 | } | 98 | } |
78 | // 删除上传文件 | 99 | |
100 | /** | ||
101 | * @description: 删除多个文件 | ||
102 | * @param {*} data | ||
103 | * @author: renchao | ||
104 | */ | ||
79 | export function sjClmxDelete (bsmClmx) { | 105 | export function sjClmxDelete (bsmClmx) { |
80 | return request({ | 106 | return request({ |
81 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx, | 107 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx, | ... | ... |
-
Please register or sign in to post a comment