抽取sysSqywmbsz.js,修改所有引用文件
Showing
4 changed files
with
47 additions
and
39 deletions
src/api/sysSqywmbsz.js
0 → 100644
1 | /* | ||
2 | * @Description: 申请业务模板设置 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 16:02:32 | ||
5 | */ | ||
6 | |||
7 | import request from '@/utils/request' | ||
8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
9 | |||
10 | /** | ||
11 | * @description: 其他及附记模板-列表详情 | ||
12 | * @param {*} data | ||
13 | * @author: renchao | ||
14 | */ | ||
15 | export function sysSqywmbszSearch (data) { | ||
16 | return request({ | ||
17 | url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/search', | ||
18 | method: 'post', | ||
19 | data | ||
20 | }) | ||
21 | } | ||
22 | |||
23 | /** | ||
24 | * @description: 其他及附记模板-读取明细 | ||
25 | * @param {*} id | ||
26 | * @author: renchao | ||
27 | */ | ||
28 | export function getSysSqywmbszDetailById (id) { | ||
29 | return request({ | ||
30 | url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/getSysSqywmbszDetailById?id=' + id, | ||
31 | method: 'get' | ||
32 | }) | ||
33 | } | ||
34 | /** | ||
35 | * @description: 其他及附记模板-修改申请业务模板设置 | ||
36 | * @param {*} data | ||
37 | * @author: renchao | ||
38 | */ | ||
39 | export function updateSysSqywmbsz (data) { | ||
40 | return request({ | ||
41 | url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/updateSysSqywmbsz', | ||
42 | method: 'put', | ||
43 | data | ||
44 | }) | ||
45 | } |
... | @@ -8,43 +8,6 @@ import request from '@/utils/request' | ... | @@ -8,43 +8,6 @@ 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 | */ | ||
15 | export function sysSqywmbszSearch (data) { | ||
16 | return request({ | ||
17 | url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/search', | ||
18 | method: 'post', | ||
19 | data | ||
20 | }) | ||
21 | } | ||
22 | |||
23 | /** | ||
24 | * @description: 其他及附记模板-读取明细 | ||
25 | * @param {*} id | ||
26 | * @author: renchao | ||
27 | */ | ||
28 | export function getSysSqywmbszDetailById (id) { | ||
29 | return request({ | ||
30 | url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/getSysSqywmbszDetailById?id=' + id, | ||
31 | method: 'get' | ||
32 | }) | ||
33 | } | ||
34 | /** | ||
35 | * @description: 其他及附记模板-修改申请业务模板设置 | ||
36 | * @param {*} data | ||
37 | * @author: renchao | ||
38 | */ | ||
39 | export function updateSysSqywmbsz (data) { | ||
40 | return request({ | ||
41 | url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/updateSysSqywmbsz', | ||
42 | method: 'put', | ||
43 | data | ||
44 | }) | ||
45 | } | ||
46 | |||
47 | /** | ||
48 | * @description: 新增系统通知 | 11 | * @description: 新增系统通知 |
49 | * @param {*} data | 12 | * @param {*} data |
50 | * @author: renchao | 13 | * @author: renchao | ... | ... |
... | @@ -117,7 +117,7 @@ | ... | @@ -117,7 +117,7 @@ |
117 | </template> | 117 | </template> |
118 | 118 | ||
119 | <script> | 119 | <script> |
120 | import { updateSysSqywmbsz, getSysSqywmbszDetailById } from '@/api/system' | 120 | import { updateSysSqywmbsz, getSysSqywmbszDetailById } from '@/api/sysSqywmbsz' |
121 | export default { | 121 | export default { |
122 | props: { | 122 | props: { |
123 | formData: { | 123 | formData: { | ... | ... |
... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
32 | </template> | 32 | </template> |
33 | <script> | 33 | <script> |
34 | import { mapGetters } from 'vuex' | 34 | import { mapGetters } from 'vuex' |
35 | import { sysSqywmbszSearch } from '@/api/system' | 35 | import { sysSqywmbszSearch } from '@/api/sysSqywmbsz' |
36 | import table from "@/utils/mixin/table" | 36 | import table from "@/utils/mixin/table" |
37 | import { datas, sendThis } from "./qtjfjmb" | 37 | import { datas, sendThis } from "./qtjfjmb" |
38 | export default { | 38 | export default { | ... | ... |
-
Please register or sign in to post a comment