XiaoRuby
2023-08-11 0747a32003b83a155466496d18f7dddf6f800436
src/assets/api/controller.js
@@ -27,10 +27,24 @@
   projectListByfinishId: "/inspection-item/list_user", //根据id查询所有项目
}
// QMS实验室管理
const laboratory = {
  addDeviceInspectDownBox: "/device/listInspect", // 新增仪器设备:检验项目下拉框
  selectDeviceInspectMessage: "/device/inspectId", // 新增仪器设备:根据检验项目ID查询数据
  addDeviceKeeper: "/device/list_user",// 新增仪器设备:保管人下拉框
  addDeviceParentClassification: "/device/parent_classification", // 新增仪器设备:查询父级分类
  addDeviceInstrument: "/device/add", // 新增仪器设备
  towTree: "/device/two_tree", //二级树
  tableDeviceList: "/device/table_list", // 实验室模块表格数据
  deleteDevice: "/device/delete", // 删除实验室设备
  deleteIdorFather: "/device/deleteIdorFather" // 删除树模块数据
}
const url = {
   enter: "user/enter", //登录
   ...standard,
   ...raw,
  ...laboratory,
   ...finishedIns,
   selectSaleList: "sale/selectSaleList", //查询销售单列表
   selectSaleDatilById: "sale/selectSaleDatilById", //根据销售单id查看详情,
@@ -43,4 +57,4 @@
   Vue.prototype.$api = {
      url
   }
}
}