朱佳吉
2024-05-09 1e9c7a02ec2b8caf7dda6000d7f0f79849df6b45
src/assets/api/controller.js
@@ -16,7 +16,14 @@
      sampleOrder,
    insOrderPlan,
    insReport,
    warehouse
    warehouse,
    department,
    report,
    certification,
    sealScope,
    informationNotification,
    performanceShift,
   unPass,
   }
}
@@ -84,6 +91,7 @@
   upEnum: "/enum/upEnum", //修改枚举
   delEnum: "/enum/delEnum", //删除枚举
   selectEnumByCategory: "/enum/selectEnumByCategory", //通过分类查询枚举
  getDic: "/enum/getDic", //获取数据字典的分类
}
const capacityScope = {
@@ -96,6 +104,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 = {
@@ -116,6 +130,7 @@
   selectEquipmentOverview: "/deviceScope/selectEquipmentOverview", //获取设备总览
   uploadFile: "/deviceScope/uploadFile", //上传图片
   selectDevicePrincipal: "/user/getDeviceManager", //获取设备负责人
  selectDeviceByCode: "/deviceScope/selectDeviceByCode", //通过设备编号获取设备列表
}
const insOrder = {
@@ -130,6 +145,8 @@
  selectInsOrderTemplateById: "/insOrder/selectInsOrderTemplateById", //通过检验单模板id获取检验单模板内容
  delInsOrderTemplate: "/insOrder/delInsOrderTemplate", //删除检验单模板
   selectSampleAndProductByOrderId: "/insOrder/selectSampleAndProductByOrderId", //通过检验单查询检验数据(数据查看)
   costStatistics: "/insOrder/costStatistics", //费用统计
  selectSampleDefects: "/insOrder/selectSampleDefects", //样品缺陷指标
}
const sampleOrder = {
@@ -163,6 +180,7 @@
   selectStandardProductList: "/standardTree/selectStandardProductList", //通过标准树查询对应的检验项目
   selectStandardProductListByMethodId: "/standardTree/selectStandardProductListByMethodId", //通过检验标准查询检验项目
   selectStandardMethodEnum: "/standardTree/selectStandardMethodEnum", //获取标准树下标准方法枚举
  getStandardTree2: "/standardTree/getStandardTree2", //获取产品架构
}
const standardMethod = {
@@ -184,6 +202,11 @@
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 = {
@@ -200,3 +223,47 @@
  getSampleRecord: "/warehouse/getSampleRecord", //查询样品详细记录
  searchSampleId: "/warehouse/searchSampleId", //通过样品编号进行检索
}
const department = {
  selectDepartment: "/department/selectDepartment", //人员架构树
  addDepartment: "/department/addDepartment", //添加部门
  delDepartment: "/department/delDepartment", //删除部门
  showUserById: "/department/showUserById", //根据选择的树展示相关的人员
}
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/",//绩效管理-班次-班次状态修改
}
const unPass = {
   pageInsUnPass:"/unPass/pageInsUnPass", // 查询不合格样品数据
}