hailin
2023-08-03 a4b23bbf535f10c5ecc31b16bc8177bcfc23e996
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// 技术管理-标准Bom
const standard = {
  selectTreeByMaterial: "material/selectTreeByMaterial", //查询物料的树
  selectProductByMaterial: "product/selectTreeByMaterial",//根据物料查询项目表格
  selectTechnologyByMaterial: "technology/select"
}
// 原材料检验
const raw = {
  selectRawInspectsList: "rawInspect/selectRawInspectsList",//查询原材料检验单列表
  selectRawInspectsListById: "rawInspect/selectRawInspectsListById/",//根据检验单id获取检验单详情
  updaterawInsProduct:'rawInsProduct/updaterawInsProduct',//修改项目的检验值
  updateRawInspectsById:"/rawInspect/updateRawInspectsById/",//上报,
  listMaterial:"/finished-inspect/list_material",//添加检验单时的项目列表
}
 
const url = {
  enter: "user/enter", //登录
  ...standard,
  ...raw
}
 
 
export default function(Vue) {
  //添加全局API
  Vue.prototype.$api = {
    url
  }
}