完善定时任务维护

This commit is contained in:
龙运模
2024-09-04 15:15:13 +08:00
parent d4a90bdb7d
commit f0bb390907
8 changed files with 269 additions and 8 deletions
+14
View File
@@ -221,6 +221,13 @@ export default {
get: async function (params) {
return await http.post(this.url, params);
},
},
field:{
url: `${config.API_URL}/inventory.field.list`,
name: "库存列表检索",
post: async function (params) {
return await http.post(this.url,params);
}
}
},
out:{
@@ -230,6 +237,13 @@ export default {
get: async function (params) {
return await http.post(this.url, params);
},
},
field:{
url: `${config.API_URL}/out.stock.field.list`,
name: "销售出库清单检索",
post: async function (params) {
return await http.post(this.url,params);
}
}
}
}
+44
View File
@@ -103,6 +103,50 @@ export default {
}
},
},
crontab:{
configList:{
url: `${config.API_URL}/crontab.config.list`,
name: "定时系统配置列表",
get: async function (data) {
return await http.post(this.url, data);
},
},
list:{
url: `${config.API_URL}/crontab.list`,
name: "定时任务列表",
get: async function (data) {
return await http.post(this.url, data);
},
},
add:{
url: `${config.API_URL}/crontab.add`,
name: "添加配置",
post: async function (data) {
return await http.post(this.url, data);
},
},
status:{
url: `${config.API_URL}/crontab.status`,
name: "定时任务状态",
post: async function (data) {
return await http.post(this.url, data);
},
},
delete:{
url: `${config.API_URL}/crontab.delete`,
name: "删除配置",
post: async function (data) {
return await http.post(this.url, data);
},
},
describe:{
url: `${config.API_URL}/crontab.describe`,
name: "定时任务表达式转换",
post: async function (data) {
return await http.post(this.url, data);
},
}
},
bom:{
list:{
url: `${config.API_URL}/bom.list`,