// 技术管理-标准Bom
|
const standard = {
|
// 技术管理-标准Bom
|
selectTreeByMaterial: "material/selectTreeByMaterial", //查询物料的树
|
selectProductByMaterial: "product/selectTreeByMaterial",//根据物料查询项目表格
|
selectTechnologyByMaterial: "technology/select",
|
// 技术管理-技术文件
|
selectAllOrder: "/orders/selectAllOrder",//查询所有订单列表
|
selectOrderById: "/orders/selectOrderById",//根据订单id查询订单详情
|
}
|
// 原材料检验
|
const raw = {
|
selectRawInspectsList: "rawInspect/selectRawInspectsList",//查询原材料检验单列表
|
selectRawInspectsListById: "rawInspect/selectRawInspectsListById/",//根据检验单id获取检验单详情
|
updaterawInsProduct:'rawInsProduct/updaterawInsProduct',//修改项目的检验值
|
updateRawInspectsById:"/rawInspect/updateRawInspectsById/",//上报,
|
selectRawMaterial:"/rawInspect/selectMaterial",//查询原材料信息
|
selectSpBySt:"/rawInspect/selectSpBySt",//根据材料id查询所有型号,
|
addRawInspects :"/rawInspect/addRawInspects"
|
}
|
|
// 成品检验
|
const finishedIns ={
|
finishedInsListPage:"/finished-inspect/list_page",//获取成品检验列表
|
// listMaterial:"/finished-inspect/list_material",//添加检验单时的项目列表
|
finishedInspectUser:"/finished-inspect/page_user",//获取所有主机工
|
projectListByfinishId:"/inspection-item/list_user",//根据id查询所有项目
|
|
}
|
const url = {
|
enter: "user/enter", //登录
|
...standard,
|
...raw,
|
...finishedIns
|
}
|
|
|
export default function(Vue) {
|
//添加全局API
|
Vue.prototype.$api = {
|
url
|
}
|
}
|