叶松
2023-12-08 13adc3f91541bdc52ea0c8759a5ba1f7b4f6b46d
web/src/api/modules/safety.js
@@ -323,4 +323,60 @@
        responseType: 'blob',
        data: params
    }),
  /**
   * 安全积分超市模块
   */
  //查询安全积分超市列表
   searchMarketLists: (params) =>
    axios.post('/secure/integralAccount/selectPageList', params),
  //添加或修改安全积分超市
  addUpdateMarketInfo: (params) =>
    axios.post('/secure/integralAccount/insertAndUpdate', params),
  //删除安全积分超市
  deleteMarketInfo: (params) =>
    axios.get('/secure/integralAccount/delete',{params}),
  //安全积分超市导出
  exportMarketFiles:params=>
    axios({
        method: 'post',
        url: '/secure/integralAccount/exportList',
        responseType: 'blob',
        data: params
    }),
  /**
   * 积分明细模块
   */
  //查询积分明细列表
   searchIntegralLists: (params) =>
    axios.post('/secure/integralAccount/selectSafeIntegralPageList', params),
  //查询个人明细列表
  searchPersonLists: (params) =>
    axios.post('/secure/integralAccount/selectSafeIntegralInfo', params),
  //积分明细导出
  exportIntegralFiles:params=>
    axios({
        method: 'post',
        url: '/secure/integralAccount/exportSafeIntegralInfo',
        responseType: 'blob',
        data: params
    }),
  /**
   * 广播文件上传模块
   */
  //查询广播文件列表
   searchBoardLists: (params) =>
    axios.post('/secure/integralAccount/selectSafeIntegralPageList', params),
  //查询所有区域
  getAreaLists: (params) =>
    axios.post('/screen/audio/groups', params),
  //上传文件添加/修改
  addAreaInfos: (params) =>
    axios.post('/screen/audio/addFile', params),
  //上传文件详情
  detailsAreaInfos: (params) =>
    axios.post('/screen/audio/groupInfo', params),
}