完善工单和配置

This commit is contained in:
龙运模
2024-08-30 15:37:12 +08:00
parent 4b0c546cb7
commit 2b408d6584
18 changed files with 452 additions and 25 deletions
+25 -9
View File
@@ -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);
},
}
+2 -1
View File
@@ -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 {
}
}
},
};