Commit fb0ffe0e authored by 仇晓婷's avatar 仇晓婷

电子对账单

parent 0fbdb113
import Api from '@/plugins/request' import Api from '@/plugins/request'
export default { export default {
index:`${systemUrl}/category/paged`, index:`${material}/category/paged`,
paged(params){ paged(params){
return Api.post(`${systemUrl}/category/paged`,params); return Api.post(`${material}/category/paged`,params);
}, },
// indexSlecet:`${systemUrl}/coderule/paged`, // indexSlecet:`${systemUrl}/coderule/paged`,
pagedSlecet(params){ pagedSlecet(params){
return Api.post(`${systemUrl}/coderule/paged`,params); return Api.post(`${systemUrl}/coderule/paged`,params);
}, },
listTable(params){ listTable(params){
return Api.post(`${systemUrl}/custompropertydefinition/list`,params); return Api.post(`${material}/custompropertydefinition/list`,params);
}, },
list(params){ list(params){
return Api.post(`${systemUrl}/category/list`,params); return Api.post(`${material}/category/list`,params);
}, },
get(params){ get(params){
return Api.get(`${systemUrl}/category/get`,params); return Api.get(`${material}/category/get`,params);
}, },
create(params){ create(params){
return Api.post(`${systemUrl}/category/create`,params); return Api.post(`${material}/category/create`,params);
}, },
update(params){ update(params){
return Api.post(`${systemUrl}/category/update`,params); return Api.post(`${material}/category/update`,params);
}, },
delete(id) { delete(id) {
return Api.delete(`${systemUrl}/category/delete`,{params:{id:id}}); return Api.delete(`${material}/category/delete`,{params:{id:id}});
}, },
getChildren(params){ getChildren(params){
return Api.get(`${systemUrl}/Dictionary/getChildren`,params); //字典 return Api.get(`${systemUrl}/Dictionary/getChildren`,params); //字典
......
import Api from '@/plugins/request' import Api from '@/plugins/request'
export default { export default {
index:`${systemUrl}/coderule/paged`, index:`${material}/coderule/paged`,
paged(params){ paged(params){
return Api.post(`${systemUrl}/coderule/paged`,params); return Api.post(`${material}/coderule/paged`,params);
}, },
get(params){ get(params){
return Api.get(`${systemUrl}/coderule/get`,params); return Api.get(`${material}/coderule/get`,params);
}, },
create(params){ create(params){
return Api.post(`${systemUrl}/coderule/create`,params); return Api.post(`${material}/coderule/create`,params);
}, },
update(params){ update(params){
return Api.post(`${systemUrl}/coderule/update`,params); return Api.post(`${material}/coderule/update`,params);
}, },
delete(id) { delete(id) {
return Api.delete(`${systemUrl}/coderule/delete`,{params:{id:id}}); return Api.delete(`${material}/coderule/delete`,{params:{id:id}});
}, },
deletes(params) { deletes(params) {
return Api.post(`${systemUrl}/coderule/batchdelete`,params); return Api.post(`${material}/coderule/batchdelete`,params);
} }
} }
\ No newline at end of file
import Api from '@/plugins/request' import Api from '@/plugins/request'
export default { export default {
index:`${systemUrl}/material/paged`, index:`${material}/material/paged`,
lists:`${systemUrl}/actionlog/list`, lists:`${material}/actionlog/list`,
paged(params){ paged(params){
return Api.post(`${systemUrl}/material/paged`,params); return Api.post(`${material}/material/paged`,params);
}, },
pagedSlecet(params){ pagedSlecet(params){
return Api.post(`${systemUrl}/coderule/paged`,params); return Api.post(`${systemUrl}/coderule/paged`,params);
}, },
list(params){ list(params){
return Api.post(`${systemUrl}/category/list`,params); return Api.post(`${material}/category/list`,params);
}, },
listTable(params){ listTable(params){
return Api.post(`${systemUrl}/custompropertydefinition/list`,params); return Api.post(`${material}/custompropertydefinition/list`,params);
}, },
get(params){ get(params){
return Api.get(`${systemUrl}/material/get`,params); return Api.get(`${material}/material/get`,params);
}, },
create(params){ create(params){
return Api.post(`${systemUrl}/material/createnew`,params); return Api.post(`${material}/material/createnew`,params);
}, },
update(params){ update(params){
return Api.post(`${systemUrl}/material/updatenew`,params); return Api.post(`${material}/material/updatenew`,params);
}, },
delete(id) { delete(id) {
return Api.delete(`${systemUrl}/material/delete`,{params:{id:id}}); return Api.delete(`${material}/material/delete`,{params:{id:id}});
}, },
categoryList(params){ categoryList(params){
return Api.post(`${systemUrl}/actionlog/list`,params); return Api.post(`${material}/actionlog/list`,params);
}, },
batchstart(params) { batchstart(params) {
return Api.post(`${workflowUrl}/instance/batchstart`, params); //送审 return Api.post(`${workflowUrl}/instance/batchstart`, params); //送审
......
This diff is collapsed.
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
return Api.delete(`${technologyUrl}productinfo/deletebom`,{params:{id:id,levelId:levelId,rootProductId:rootProductId}}); return Api.delete(`${technologyUrl}productinfo/deletebom`,{params:{id:id,levelId:levelId,rootProductId:rootProductId}});
}, },
materiallist(params){ materiallist(params){
return Api.post(`${systemUrl}/material/materiallist`,params);//物料 return Api.post(`${material}/material/materiallist`,params);//物料
}, },
alltree(params){ alltree(params){
return Api.post(`${technologyUrl}productinfo/alltree`,params); //bom树 return Api.post(`${technologyUrl}productinfo/alltree`,params); //bom树
......
...@@ -25,6 +25,7 @@ window.crmUrl = `http://${address}:10000/crm`; //crm客户、合同、项目管 ...@@ -25,6 +25,7 @@ window.crmUrl = `http://${address}:10000/crm`; //crm客户、合同、项目管
window.apsUrl = `http://${systemApi.aps}:10111/api/services/app`;//aps排产 window.apsUrl = `http://${systemApi.aps}:10111/api/services/app`;//aps排产
window.technologyUrl =`http://${address}:10000/technology/`;//新工艺规程接口 window.technologyUrl =`http://${address}:10000/technology/`;//新工艺规程接口
window.iconImg = `/imgicon/`; window.iconImg = `/imgicon/`;
window.material = `http://${address}:10000/material`; //物料管理
/* window.systemUrl = `http://${address}:10020/api/services/app`; //System-api 系统管理(基础数据) /* window.systemUrl = `http://${address}:10020/api/services/app`; //System-api 系统管理(基础数据)
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登录认证 window.authUrl = `http://${address}:10010`; //Authentication-api //统一登录认证
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment