value
2024-05-22 bc2023d47d12934448b343221dac69fecde20b9f
src/assets/api/controller.js
@@ -14,7 +14,18 @@
      StandardTemplate,
      insOrder,
      sampleOrder,
    insOrderPlan
    insOrderPlan,
    insReport,
    warehouse,
    department,
    report,
    certification,
    sealScope,
    informationNotification,
    performanceShift,
    auxiliaryWorkingHours,
     unPass,
    companies
   }
}
@@ -39,6 +50,7 @@
   addCustom: "/user/addCustom", //新增客户信息
   getUserNow: "/user/getUserNow", //获取当前登录的客户信息
   getUserInfo: "/user/getUserInfo", //获取当前登录的用户信息
  upUserPassword: "/user/upUserPassword", //修改用户密码
}
const dataReporting = {
@@ -81,6 +93,7 @@
   upEnum: "/enum/upEnum", //修改枚举
   delEnum: "/enum/delEnum", //删除枚举
   selectEnumByCategory: "/enum/selectEnumByCategory", //通过分类查询枚举
  getDic: "/enum/getDic", //获取数据字典的分类
}
const capacityScope = {
@@ -93,6 +106,12 @@
   delTestObject: "/capacityScope/delTestObject", //删除检测对象
   upTestObject: "/capacityScope/upTestObject", //修改检测对象
   selectTestObjectByName: "/capacityScope/selectTestObjectByName", //获取检验对象枚举
  getInsProduction: "/capacityScope/getInsProduction", //设备里面选择检验项目(树形结构)
  selectProductListByObjectId: "/capacityScope/selectProductListByObjectId", //维护检验对象的产品
  addProduct: "/capacityScope/addProduct", //新增产品
  delProduct: "/capacityScope/delProduct", //删除产品
  upProduct: "/capacityScope/upProduct", //修改产品
  getItemTree: "/capacityScope/getItemTree", //获取检验对象树
}
const laboratoryScope = {
@@ -113,6 +132,7 @@
   selectEquipmentOverview: "/deviceScope/selectEquipmentOverview", //获取设备总览
   uploadFile: "/deviceScope/uploadFile", //上传图片
   selectDevicePrincipal: "/user/getDeviceManager", //获取设备负责人
  selectDeviceByCode: "/deviceScope/selectDeviceByCode", //通过设备编号获取设备列表
}
const insOrder = {
@@ -126,6 +146,9 @@
  selectInsOrderTemplate: "/insOrder/selectInsOrderTemplate", //查询检验单模板
  selectInsOrderTemplateById: "/insOrder/selectInsOrderTemplateById", //通过检验单模板id获取检验单模板内容
  delInsOrderTemplate: "/insOrder/delInsOrderTemplate", //删除检验单模板
   selectSampleAndProductByOrderId: "/insOrder/selectSampleAndProductByOrderId", //通过检验单查询检验数据(数据查看)
   costStatistics: "/insOrder/costStatistics", //费用统计
  selectSampleDefects: "/insOrder/selectSampleDefects", //样品缺陷指标
}
const sampleOrder = {
@@ -158,7 +181,11 @@
   delStandardTree: "/standardTree/delStandardTree", //删除标准树的层级
   selectStandardProductList: "/standardTree/selectStandardProductList", //通过标准树查询对应的检验项目
   selectStandardProductListByMethodId: "/standardTree/selectStandardProductListByMethodId", //通过检验标准查询检验项目
  selectStandardProductByMethodId: "/standardTree/selectStandardProductByMethodId", //批量编辑查询检验项目
   selectStandardMethodEnum: "/standardTree/selectStandardMethodEnum", //获取标准树下标准方法枚举
  getStandardTree2: "/standardTree/getStandardTree2", //获取产品架构
  upStandardProducts: "/standardTree/upStandardProducts", //获取产品架构
  selectStandardProductEnumByMethodId: "/standardTree/selectStandardProductEnumByMethodId", //批量编辑查询所有检验项目和检验子项枚举
}
const standardMethod = {
@@ -176,3 +203,89 @@
   delStandardTemplate: "/StandardTemplate/delStandardTemplate", //删除检验模板
   getStandardTemplate: "/StandardTemplate/getStandardTemplate", //查询原始记录模板枚举
}
const insReport = {
  pageInsReport: "/insReport/pageInsReport", //查询检验报告数据
  wordToHtml: "/insReport/wordToHtml", //Word转HTML
  inReport: "/insReport/inReport", //报告上传
  upReportUrl: "/insReport/upReportUrl", //报告还原
  writeReport: "/insReport/writeReport", //报告提交
  examineReport: "/insReport/examineReport", //报告审核
  ratifyReport: "/insReport/ratifyReport", //报告批准
}
const warehouse = {
  addWarehouse: "/warehouse/addWarehouse", //添加仓库
  selectWarehouse: "/warehouse/selectWarehouse", //查询仓库
  upWarehouse: "/warehouse/upWarehouse", //修改仓库
  delWarehouse: "/warehouse/delWarehouse", //删除仓库
  addShelf: "/warehouse/addShelf", //添加货架
  upShelf: "/warehouse/upShelf", //修改货架
  delShelf: "/warehouse/delShelf", //删除货架
  getWarehouse: "/warehouse/getWarehouse", //查询货架下的存放信息
  inWarehouse: "/warehouse/inWarehouse", //样品入库
  outWarehouse: "/warehouse/outWarehouse", //样品出库
  getSampleRecord: "/warehouse/getSampleRecord", //查询样品详细记录
  searchSampleId: "/warehouse/searchSampleId", //通过样品编号进行检索
}
const department = {
  selectDepartment: "/department/selectDepartment", //人员架构树
  addDepartment: "/department/addDepartment", //添加部门
  delDepartment: "/department/delDepartment", //删除部门
  selectDepartmentLim: "/department/selectDepartmentLim", //获取部门树
  addDepartmentLims: "/department/addDepartmentLims", //添加部门
  delDepartmentLims: "/department/delDepartmentLims", //删除部门
}
const report = {
  businessStatisticsByDay: "/report/businessStatisticsByDay", //每日业务统计
  calendarWorkByWeek: "/report/calendarWorkByWeek", //首页-->日历任务图
  addSchedule: "/report/addSchedule", //首页-->添加日程
  ScheduleByMe: "/report/ScheduleByMe", //首页-->我的日程
  testProductByDay: "/report/testProductByDay", //首检测项目统计
}
const certification = {
  getCertificationDetail:"/certification/getCertificationDetail",//查询资质明细列表
  addCertificationDetail:"/certification/addCertificationDetail",//添加资质明细列表
  delCertificationDetail:"certification/delCertificationDetail",//删除资质明细列表
}
const sealScope = {
  selectSeal:"/sealScope/selectSeal",//查询印章列表
  addSeal:"/sealScope/addSeal",//添加印章参数
}
const informationNotification = {
  checkForUnreadData:"/informationNotification/checkForUnreadData",//查询是否存在未读数据
  deleteDataBasedOnId:"/informationNotification/deleteDataBasedOnId",//根据Id删除数据
  informationReadOrDelete:"/informationNotification/informationReadOrDelete",//标记所有信息为已读-删除所有已读消息
  page:"/informationNotification/page",//滚动分页查询
  updateMessageStatus:"/informationNotification/updateMessageStatus",//更新消息状态(拒绝、接收)
  triggerModificationStatusToRead:"/informationNotification/triggerModificationStatusToRead",//点击详情触发修改状态为已读
}
const performanceShift = {
  add:"/performanceShift/add",//绩效管理-班次-排班
  page:"/performanceShift/page",//绩效管理-班次-分页查询
  update:"/performanceShift/update",//绩效管理-班次-班次状态修改
  pageYear:"/performanceShift/pageYear",//绩效管理-班次-年份分页查询
  export:"/performanceShift/export",//绩效管理-班次-导出
}
const auxiliaryWorkingHours = {
  selectAuxiliaryWorkingHours:"/auxiliaryWorkingHours/selectAuxiliaryWorkingHours",//查询辅助工时
  deleteAuxiliaryWorkingHours:"/auxiliaryWorkingHours/deleteAuxiliaryWorkingHours",//删除辅助工时
  upAuxiliaryWorkingHours:"/auxiliaryWorkingHours/upAuxiliaryWorkingHours",//修改辅助工时
  insertAuxiliaryWorkingHours:"/auxiliaryWorkingHours/insertAuxiliaryWorkingHours",//新增辅助工时
}
const unPass = {
   pageInsUnPass:"/unPass/pageInsUnPass", // 查询不合格样品数据
}
const companies = {
  selectCompaniesList: "/companies/selectCompaniesList", //获取人事系统组织
  selectSimpleList: "/companies/selectSimpleList", //获取人事系统组织下的人员
  addPersonUser: "/companies/addPersonUser", //获取人事系统组织下的人员
}