完善工单和配置
This commit is contained in:
+25
-9
@@ -6,14 +6,14 @@ export default {
|
||||
add: {
|
||||
url: `${config.API_URL}/machine.room.add`,
|
||||
name: "新增机房配置",
|
||||
post: async function (data = {}) {
|
||||
post: async function (data) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
},
|
||||
list: {
|
||||
url: `${config.API_URL}/machine.room.list`,
|
||||
name: "机房配置列表",
|
||||
get: async function (data = {}) {
|
||||
get: async function (data) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
},
|
||||
@@ -22,14 +22,14 @@ export default {
|
||||
set:{
|
||||
url: `${config.API_URL}/mail.config.set`,
|
||||
name: "源邮件配置",
|
||||
post: async function (data = {}) {
|
||||
post: async function (data) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
},
|
||||
get:{
|
||||
url: `${config.API_URL}/mail.config.get`,
|
||||
name: "源邮件获取",
|
||||
post: async function (data = {}) {
|
||||
post: async function (data) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
}
|
||||
@@ -38,14 +38,30 @@ export default {
|
||||
set:{
|
||||
url: `${config.API_URL}/k3.api.config.set`,
|
||||
name: "金蝶ERP接口配置",
|
||||
post: async function (data = {}) {
|
||||
post: async function (data) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
},
|
||||
get:{
|
||||
url: `${config.API_URL}/k3.api.config.get`,
|
||||
name: "金蝶ERP接口配置获取",
|
||||
post: async function (data = {}) {
|
||||
post: async function (data) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
}
|
||||
},
|
||||
cost:{
|
||||
set:{
|
||||
url: `${config.API_URL}/cost.category.add`,
|
||||
name: "新增费用列别配置",
|
||||
post: async function (data) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
},
|
||||
get:{
|
||||
url: `${config.API_URL}/cost.category.list`,
|
||||
name: "费用类别配置",
|
||||
post: async function (data) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
}
|
||||
@@ -54,21 +70,21 @@ export default {
|
||||
list:{
|
||||
url: `${config.API_URL}/bom.list`,
|
||||
name: "bom列表",
|
||||
get: async function (data = {}) {
|
||||
get: async function (data) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
},
|
||||
info:{
|
||||
url: `${config.API_URL}/bom.detail`,
|
||||
name: "bom详情",
|
||||
post: async function (data = {}) {
|
||||
post: async function (data) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
},
|
||||
refresh:{
|
||||
url: `${config.API_URL}/bom.refresh`,
|
||||
name: "重新拉取bom",
|
||||
post: async function (data = {}) {
|
||||
post: async function (data) {
|
||||
return await http.post(this.url, data);
|
||||
},
|
||||
}
|
||||
|
||||
@@ -113,6 +113,7 @@ export default {
|
||||
return await http.post(this.url, params);
|
||||
}
|
||||
},
|
||||
|
||||
roleCode: {
|
||||
url: `${config.API_URL}/authorize.role.codes`,
|
||||
name: "角色对应CODE列表",
|
||||
@@ -482,5 +483,5 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user