ZaiZai 10 months ago
parent
commit
84d8d26db0
48 changed files with 794 additions and 793 deletions
  1. 4 4
      src/api/modules/api.js
  2. 16 16
      src/api/modules/data-fill/division.js
  3. 36 36
      src/api/modules/data-fill/query.js
  4. 108 108
      src/api/modules/data-fill/wbs.js
  5. 24 24
      src/api/modules/gauge/bezier.js
  6. 10 10
      src/api/modules/gauge/station.js
  7. 18 18
      src/api/modules/gauge/testdata.js
  8. 4 4
      src/api/modules/ledger/construction.js
  9. 4 4
      src/api/modules/ledger/index.js
  10. 4 4
      src/api/modules/ledger/internal.js
  11. 40 40
      src/api/modules/ledger/query.js
  12. 4 4
      src/api/modules/ledger/weather.js
  13. 6 6
      src/api/modules/menu.js
  14. 6 6
      src/api/modules/oss.js
  15. 26 26
      src/api/modules/other-file/imageData.js
  16. 16 16
      src/api/modules/other-file/projectScanning.js
  17. 46 46
      src/api/modules/other.js
  18. 16 16
      src/api/modules/other/first-item.js
  19. 20 20
      src/api/modules/other/orderServe.js
  20. 18 18
      src/api/modules/patrol/patrol.js
  21. 10 10
      src/api/modules/schedule/data.js
  22. 22 22
      src/api/modules/tasks/data.js
  23. 12 12
      src/api/modules/tasks/flow.js
  24. 8 8
      src/api/modules/tasks/message.js
  25. 4 4
      src/api/modules/tasks/sign.js
  26. 10 10
      src/api/modules/tentative/acquisition/data.js
  27. 8 8
      src/api/modules/tentative/collect/month.js
  28. 12 12
      src/api/modules/tentative/collect/test.js
  29. 12 12
      src/api/modules/tentative/detect/commission.js
  30. 6 6
      src/api/modules/tentative/detect/index.js
  31. 58 58
      src/api/modules/tentative/detect/test.js
  32. 8 8
      src/api/modules/tentative/detect/third.js
  33. 14 14
      src/api/modules/tentative/device/approach.js
  34. 10 10
      src/api/modules/tentative/device/employ.js
  35. 10 10
      src/api/modules/tentative/device/overhaul.js
  36. 12 12
      src/api/modules/tentative/index.js
  37. 4 4
      src/api/modules/tentative/laboratory/print.js
  38. 6 6
      src/api/modules/tentative/laboratory/user.js
  39. 16 16
      src/api/modules/tentative/material/approach.js
  40. 26 26
      src/api/modules/tentative/material/sampling.js
  41. 8 8
      src/api/modules/tentative/material/testSample.js
  42. 6 6
      src/api/modules/tentative/parameter/compactness.js
  43. 20 20
      src/api/modules/tentative/parameter/container.js
  44. 6 6
      src/api/modules/tentative/parameter/density.js
  45. 12 12
      src/api/modules/tentative/parameter/sieve.js
  46. 22 22
      src/api/modules/user.js
  47. 22 22
      src/api/modules/userInfo/index.js
  48. 4 3
      src/api/request/index.js

+ 4 - 4
src/api/modules/api.js

@@ -1,19 +1,19 @@
 import { HcApi } from '../request/index'
 
 export default {
-    async hcPostApi(form, msg = true) {
+    async hcPostApi(form) {
         return HcApi({
             url: '/api/' + form.url,
             method: 'post',
             params: form.params,
             data: form.data,
-        }, msg)
+        })
     },
-    async hcGetApi(form, msg = true) {
+    async hcGetApi(form) {
         return HcApi({
             url: '/api/' + form.url,
             params: form.params,
             method: 'get',
-        }, msg)
+        })
     },
 }

+ 16 - 16
src/api/modules/data-fill/division.js

@@ -3,66 +3,66 @@ import { HcApi } from '../../request/index'
 export default {
 
     //获取关联的合同段树
-    async getContractInfoTree(form, msg = true) {
+    async getContractInfoTree(form) {
         return HcApi({
             url: '/api/blade-manager/contractInfo/tree2',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取关联的工程用途部位树
-    async getengineerInfoTree(form, msg = true) {
+    async getengineerInfoTree(form) {
         return HcApi({
             url: '/api/blade-manager/contractInfo/tree',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
-    async getengineerInfoTree1(form, msg = true) {
+    async getengineerInfoTree1(form) {
         return HcApi({
             url: '/api/blade-manager/contractInfo/trial/relation/tree',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //未识别合同段划分节点 手动关联
-    async setImportRelation(form, msg = true) {
+    async setImportRelation(form) {
         return HcApi({
             url: '/api/blade-manager/wbsTreeContract/import-relation',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //标记/取消隐蔽工程节点
-    async concealedWorksNnode(form, msg = true) {
+    async concealedWorksNnode(form) {
         return HcApi({
             url: '/api/blade-manager/wbsTreeContract/concealed-works-node',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //项目级懒加载节点树形结构-表单类型划分树
-    async tabTypeLazyTree(form, msg = true) {
+    async tabTypeLazyTree(form) {
         return HcApi({
             url: '/api/blade-manager/wbsPrivate/tab-Type-lazy-tree',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //添加合同段节点树
-    async addWbsContractInfo(form, msg = true) {
+    async addWbsContractInfo(form) {
         return HcApi({
             url: '/api/blade-manager/wbsPrivate/add-wbs-contract-info',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //删除合同段节点
-    async removeWbsTreeContract(form, msg = true) {
+    async removeWbsTreeContract(form) {
         return HcApi({
             url: '/api/blade-manager/wbsTreeContract/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 }

+ 36 - 36
src/api/modules/data-fill/query.js

@@ -3,147 +3,147 @@ import { HcApi } from '../../request/index'
 export default {
 
     //获取当前合同段的划分树
-    // async queryWbsTreeData(form, msg = true) {
+    // async queryWbsTreeData(form) {
     //     return HcApi({
     //         url: '/api/blade-business/informationWriteQuery/queryContractWbsTreeByContractIdAndType',
     //         method: 'get',
     //         params: form,
-    //     }, msg)
+    //     })
     // },
-    async queryWbsTreeData(form, msg = true) {
+    async queryWbsTreeData(form) {
         return HcApi({
             url: '/api/blade-user/wbs/lazyQueryContractWbsTree',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //根据合同段ID获取所有填报人
-    async getFileUser(form, msg = true) {
+    async getFileUser(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/getFileUserByContractId',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //搜索获取树
-    async getTreeNodeByQueryValueAndContractId(form, msg = true) {
+    async getTreeNodeByQueryValueAndContractId(form) {
         return HcApi({
             url: '/api/blade-manager/contractInfo/getTreeNodeByQueryValueAndContractId',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取当前合同段下所有的上报批次
-    // async getReportNumber(form, msg = true) {
+    // async getReportNumber(form) {
     //     return HcApi({
     //         url: '/api/blade-business/informationWriteQuery/getReportNumberByContractId',
     //         method: 'get',
     //         params: form
-    //     }, msg)
+    //     })
     // },
-    async getReportNumber(form, msg = true) {
+    async getReportNumber(form) {
         return HcApi({
             url: 'api/blade-business/task/query-batch-list-two',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取流程状态分类和文件类型分类
-    async getDictBizClassify(form, msg = true) {
+    async getDictBizClassify(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/getDictBizClassifyByCode',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //分页数据
-    async getPageData(form, msg = true) {
+    async getPageData(form) {
         return HcApi({
             //url: '/api/blade-business/informationWriteQuery/page',
             url: '/api/blade-user/wbs/informationWriteQuery/page',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //批量废除
-    async batchAbolish(form, msg = true) {
+    async batchAbolish(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/batchAbolish',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //批量下载
-    async batchDownloadFileToZip(form, msg = true) {
+    async batchDownloadFileToZip(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/batchDownloadFileToZip',
             method: 'post',
             params: form,
             responseType: 'blob',
-        }, msg)
+        })
     },
     //批量打印
-    async batchPrint(form, msg = true) {
+    async batchPrint(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/batchPrint',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //本地验签
-    async localVerify(form, msg = true) {
+    async localVerify(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/localVerify',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //在线验签
-    async onlineVerify(form, msg = true) {
+    async onlineVerify(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/onlineVerify',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //输入框查询合同段树
-    async searchContractTree(form, msg = true) {
+    async searchContractTree(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/searchContractTree',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取合同段树所有数据
-    async getTreeall(form, msg = true) {
+    async getTreeall(form) {
         return HcApi({
             url: '/api/blade-manager/contractInfo/tree-all',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取监理合同段树所有数据
-    async getTreeallJl(form, msg = true) {
+    async getTreeallJl(form) {
         return HcApi({
             url: '/api/blade-manager/contractInfo/tree-all-jl',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取流程状态
-    async getFirstTaskStatus(form, msg = true) {
+    async getFirstTaskStatus(form) {
         return HcApi({
             url: '/api/blade-business/task/query-task-type-status?typeOrStatus=first_task_status',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //一键重签
-    async reSigningEVisa(form, msg = true) {
+    async reSigningEVisa(form) {
         return HcApi({
             url: '/api/blade-business/task/reSigningEVisa',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 108 - 108
src/api/modules/data-fill/wbs.js

@@ -4,437 +4,437 @@ import { getHeader } from 'hc-vue3-ui'
 export default {
 
     //新增或删除 合同段划分树首件关联
-    async wbsTreeFirstSave(form, msg = true) {
+    async wbsTreeFirstSave(form) {
         return HcApi({
             url: '/api/blade-business/treeContractFirst/saveOrDelete',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //修改树节点
-    async wbsTreeUpdateNode(form, msg = true) {
+    async wbsTreeUpdateNode(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/updateContractNodeParameter',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //导图结构树节点查询
-    // async queryMappingStructureTree(form, msg = true) {
+    // async queryMappingStructureTree(form) {
     //     return HcApi({
     //         url: '/api/blade-business/informationWriteQuery/queryMappingStructureTree',
     //         method: 'get',
     //         params: form,
-    //     }, msg)
+    //     })
     // },
-    async queryMappingStructureTree(form, msg = true) {
+    async queryMappingStructureTree(form) {
         return HcApi({
             url: '/api/blade-user/wbs/lazyQueryContractWbsTree',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //保存或修改节点上传的图纸记录
-    async saveContractTreeDrawings(form, msg = true) {
+    async saveContractTreeDrawings(form) {
         return HcApi({
             url: '/api/blade-business/contractTreeDrawings/saveContractTreeDrawings',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //删除节点
-    async removeContractTreeNode(form, msg = true) {
+    async removeContractTreeNode(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/removeContractTreeNode',
             method: 'post',
             params: form,
-        }, msg)
+        }, false)
     },
     //查询当前节点下所有元素表信息
-    async searchNodeAllTable(form, msg = true) {
+    async searchNodeAllTable(form) {
         return HcApi({
             url: '/api/blade-manager/wbsTreeContract/search-node-tables',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //清表生成html
-    async getExcelHtml(form, msg = true) {
+    async getExcelHtml(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-excel-html_buss',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取按键切换输入框的key列表
-    async getHtmlBussCols(form, msg = true) {
+    async getHtmlBussCols(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-html-buss-cols',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //填报页面数据保存
-    async saveExcelBussData(form, msg = true) {
+    async saveExcelBussData(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/save_buss_data',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //懒加载项目级工程划分树
-    async queryWbsTreePrivateByProjectIdAndId(form, msg = true) {
+    async queryWbsTreePrivateByProjectIdAndId(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/queryWbsTreePrivateByProjectIdAndId',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
-    async queryWbsTreeContractByContractIdAndId(form, msg = true) {
+    async queryWbsTreeContractByContractIdAndId(form) {
         return HcApi({
             url: '/api/blade-manager/contractInfo/add-node-tree',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //新增自定义节点项目全加载树
-    async queryPriateTree(form, msg = true) {
+    async queryPriateTree(form) {
         return HcApi({
             url: '/api/blade-user/wbs/private/tree',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //新增节点及其子节点
-    async saveContractTreeNode(form, msg = true) {
+    async saveContractTreeNode(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/saveContractTreeNode',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //新增自定义节点
-    async saveCustomAddContractNode(form, msg = true) {
+    async saveCustomAddContractNode(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/customAddContractNode',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //复制节点
-    async copyContractTreeNode(form, msg = true) {
+    async copyContractTreeNode(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/copyContractTreeNode',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //自定义排序
-    async diySortTreeNode(form, msg = true) {
+    async diySortTreeNode(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/diySort',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //获取表单数据
-    async getBussDataInfo(form, msg = true) {
+    async getBussDataInfo(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-buss-dataInfo',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //查询节点状态
-    async queryNodeStatus(form, msg = true) {
+    async queryNodeStatus(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/queryNodeStatus',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //查询监理节点状态
-    async queryNodeStatusJl(form, msg = true) {
+    async queryNodeStatusJl(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/queryNodeStatus-jl',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //查询首件节点状态
-    async queryNodeStatusSj(form, msg = true) {
+    async queryNodeStatusSj(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/queryNodeStatus-sj',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //查询试验上报按钮状态
-    async queryNodeStatusTrial(form, msg = true) {
+    async queryNodeStatusTrial(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/queryNodeStatus-trial',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //单个废除
-    async abolishOne(form, msg = true) {
+    async abolishOne(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/abolishOne',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 
     //单个废除-首件
-    async abolishOneSJ(form, msg = true) {
+    async abolishOneSJ(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/abolishOne-sj',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 
     //隐藏表单
-    async showBussTab(form, msg = true) {
+    async showBussTab(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/show-buss-tab',
             method: 'get',
             params: form,
-        }, msg)
+        }, false)
     },
     //单表pdf预览
-    async getBussPdfInfo(form, msg = true) {
+    async getBussPdfInfo(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-buss-pdfInfo',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //表单复制
-    async copeBussTab(form, msg = true) {
+    async copeBussTab(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/cope-buss-tab',
             method: 'get',
             params: form,
-        }, msg)
+        }, false)
     },
     //多表预览
-    async getBussPdfs(form, msg = true) {
+    async getBussPdfs(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-buss-pdfs',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取附件列表
-    async getBussFileList(form, msg = true) {
+    async getBussFileList(form) {
         return HcApi({
             url: '/api/blade-manager/tablefile/get-buss-fileList',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
    //获取附件添加列表
-    async selectTableFileListByTen(form, msg = true) {
+    async selectTableFileListByTen(form) {
         return HcApi({
             url: '/api/blade-manager/tablefile/selectTableFileListByTen',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //逻辑附件添加
-    async delTabById(form, msg = true) {
+    async delTabById(form) {
         return HcApi({
             url: '/api/blade-manager/tablefile/delTabById',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
-    async getBussFileList1(form, msg = true) {
+    async getBussFileList1(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/file-list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //逻辑删除
-    async removeBussFile(form, msg = true) {
+    async removeBussFile(form) {
         return HcApi({
             url: '/api/blade-manager/tablefile/remove',
             method: 'post',
             params: form,
-        }, msg)
+        }, false)
     },
     //删除试验文件
-    async removeBussFile1(form, msg = true) {
+    async removeBussFile1(form) {
         return HcApi({
             url: '/api/blade-manager/tablefile/remove-trial',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //用户端删除复制信息表
-    async removeBussTabInfo(form, msg = true) {
+    async removeBussTabInfo(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/remove-buss-tabInfo',
             method: 'post',
             params: form,
-        }, msg)
+        }, false)
     },
     //复制节点填报数据
-    async copyContractNodeSubmitBusinessData(form, msg = true) {
+    async copyContractNodeSubmitBusinessData(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/copyContractNodeSubmitBusinessData',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //输入框查询合同段树
-    async searchContractTree(form, msg = true) {
+    async searchContractTree(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/searchContractTree',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //设计值计算
-    async queryFormulaRange(form, msg = true) {
+    async queryFormulaRange(form) {
         return HcApi({
             url: '/api/blade-manager/formula/range',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取文件题名
-    async queryDocumentTitle(form, msg = true) {
+    async queryDocumentTitle(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/queryDocumentTitle',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //查询公式参数面板
-    async queryPanel(form, msg = true) {
+    async queryPanel(form) {
         return HcApi({
             url: '/api/blade-manager/formula/panel',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //保存公式参数
 
-    async savePanel(form, msg = true) {
+    async savePanel(form) {
         return HcApi({
             url: '/api/blade-manager/formula/panel-save',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //同步质检资料
-    async syncTbadata(form, msg = true) {
+    async syncTbadata(form) {
         return HcApi({
             url: '/api/blade-manager/wbsTreeContract/sync-tab-data',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //获取表单详情
-    async getWbsContractById(form, msg = true) {
+    async getWbsContractById(form) {
         return HcApi({
             url: '/api/blade-manager/wbsTreeContract/getWbsContractById',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //查询当前节点下所有表的附件信息
-    async tablesAndFile(form, msg = true) {
+    async tablesAndFile(form) {
         return HcApi({
             url: '/api/blade-manager/wbsTreeContract/search-node-tablesAndFile',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //清除表单信息
-    async rmTabdataInfo(form, msg = true) {
+    async rmTabdataInfo(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/rm-tabdata-info',
             method: 'get',
             params: form,
-        }, msg)
+        }, false)
     },
     //下载模板
-    async downloadExcel(form, msg = true) {
+    async downloadExcel(form) {
         return HcApi({
             url: '/api/blade-manager/wbsTreeContract/download-excel',
             method: 'get',
             responseType: 'blob',
             params: form,
-        }, msg)
+        })
     },
     //导入模板
-    async importExcel(form, msg = true) {
+    async importExcel(form) {
         return HcApi({
             url: '/api/blade-manager/wbsTreeContract/import-excel',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //计算含水率
-    async calculateWater(form, msg = true) {
+    async calculateWater(form) {
         return HcApi({
             url: '/api/blade-manager/mixProportion/calculateWater',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 
     //批量保存
-    async save_nodeId(form, msg = true) {
+    async save_nodeId(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/save_nodeId',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //批量隐藏节点
-    async updateNodeStates(form, msg = true) {
+    async updateNodeStates(form) {
         return HcApi({
             url: '/api/blade-manager/wbsTreeContract/updateNodeStates',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //获取图纸
-    async getTreeDrawings(form, msg = true) {
+    async getTreeDrawings(form) {
         return HcApi({
             url: '/api/blade-business/contractTreeDrawings/getTreeDrawings',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //保存用户填报历史
-    async saveUserHistory(form, msg = true) {
+    async saveUserHistory(form) {
         return HcApi({
             url: '/api/blade-manager/userHistory/saveUserHistory',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //回到上次填报历史
-    async getUserHistory(form, msg = true) {
+    async getUserHistory(form) {
         return HcApi({
             url: '/api/blade-manager/userHistory/getUserHistory',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //评定汇总
-    async evaluateTotal(form, msg = true) {
+    async evaluateTotal(form) {
         return HcApi({
             url: '/api/blade-manager/formula/evaluate',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
 }

+ 24 - 24
src/api/modules/gauge/bezier.js

@@ -3,100 +3,100 @@ import { HcApi } from '../../request/index'
 export default {
 
     //获取平曲线数据
-    async queryListData(form, msg = true) {
+    async queryListData(form) {
         return HcApi({
             url: '/api/blade-business/mileage/list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取片段列表
-    async queryPartList(form, msg = true) {
+    async queryPartList(form) {
         return HcApi({
             url: '/api/blade-business/mileage/part/list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //新增片段
-    async savePartAdd(form, msg = true) {
+    async savePartAdd(form) {
         return HcApi({
             url: '/api/blade-business/mileage/part/add',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //编辑片段
-    async savePartUpdate(form, msg = true) {
+    async savePartUpdate(form) {
         return HcApi({
             url: '/api/blade-business/mileage/part/update',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //删除片段
-    async delPartData(form, msg = true) {
+    async delPartData(form) {
         return HcApi({
             url: '/api/blade-business/mileage/part/del',
             method: 'post',
             params: form,
-        }, msg)
+        }, false)
     },
     //获取新增线元信息的初始数据
-    async getNextMileagexy(form, msg = true) {
+    async getNextMileagexy(form) {
         return HcApi({
             url: '/api/blade-business/mileage/getNextMileagexy',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //里程转换坐标
-    async queryPsChange(form, msg = true) {
+    async queryPsChange(form) {
         return HcApi({
             url: '/api/blade-business/mileage/pschange',
             method: 'get',
             params: form,
-        }, msg)
+        }, false)
     },
     //新增保存线元
-    async saveAddMileage(form, msg = true) {
+    async saveAddMileage(form) {
         return HcApi({
             url: '/api/blade-business/mileage/add',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //编辑保存线元
-    async saveUpdateMileage(form, msg = true) {
+    async saveUpdateMileage(form) {
         return HcApi({
             url: '/api/blade-business/mileage/update',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //删除线元
-    async saveDelMileage(form, msg = true) {
+    async saveDelMileage(form) {
         return HcApi({
             url: '/api/blade-business/mileage/del',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //生成坐标
-    async getZzList(form, msg = true) {
+    async getZzList(form) {
         return HcApi({
             url: '/api/blade-business/mileage/getZzList',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //导出数据
-    async getExportExcel(form, msg = true) {
+    async getExportExcel(form) {
         return HcApi({
             url: '/api/blade-business/mileage/exportExcel',
             method: 'get',
             params: form,
             responseType: 'blob',
-        }, msg)
+        })
     },
 }

+ 10 - 10
src/api/modules/gauge/station.js

@@ -3,44 +3,44 @@ import { HcApi } from '../../request/index'
 export default {
 
     //获取数据
-    async queryListData(form, msg = true) {
+    async queryListData(form) {
         return HcApi({
             url: '/api/blade-business/dap/list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //新增
-    async addSave(form, msg = true) {
+    async addSave(form) {
         return HcApi({
             url: '/api/blade-business/dap/add',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //编辑
-    async updateSave(form, msg = true) {
+    async updateSave(form) {
         return HcApi({
             url: '/api/blade-business/dap/update',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //删除
-    async delData(form, msg = true) {
+    async delData(form) {
         return HcApi({
             url: '/api/blade-business/dap/del',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //导出数据
-    async getExportExcel(form, msg = true) {
+    async getExportExcel(form) {
         return HcApi({
             url: '/api/blade-business/dap/exportExcel',
             method: 'get',
             params: form,
             responseType: 'blob',
-        }, msg)
+        })
     },
 }

+ 18 - 18
src/api/modules/gauge/testdata.js

@@ -3,75 +3,75 @@ import { HcApi } from '../../request/index'
 export default {
 
     //获取数据原材
-    async queryListData(form, msg = true) {
+    async queryListData(form) {
         return HcApi({
             url: '/api/blade-manager/rawMaterials/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //新增
-    async addSave(form, msg = true) {
+    async addSave(form) {
         return HcApi({
             url: '/api/blade-manager/rawMaterials/save',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //编辑
-    async updateSave(form, msg = true) {
+    async updateSave(form) {
         return HcApi({
             url: '/api/blade-manager/rawMaterials/update',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
       //删除
-    async delData(form, msg = true) {
+    async delData(form) {
         return HcApi({
             url: '/api/blade-manager/rawMaterials/remove',
             method: 'get',
             params: form,
-        }, msg)
+        })
    },
   //导入
-  async importRawMaterialsInfo(form, msg = true) {
+  async importRawMaterialsInfo(form) {
         return HcApi({
             url: '/api/blade-manager/rawMaterials/importRawMaterialsInfo',
             method: 'post',
             data: form,
-        }, msg)
+        })
   },
   //配比分页
-  async queryListProp(form, msg = true) {
+  async queryListProp(form) {
     return HcApi({
         url: '/api/blade-manager/mixProportion/page',
         method: 'get',
         params: form,
-    }, msg)
+    })
   },
       //配合比新增
-  async matchaddSave(form, msg = true) {
+  async matchaddSave(form) {
     return HcApi({
         url: '/api/blade-manager/mixProportion/save',
         method: 'post',
         data: form,
-    }, msg)
+    })
 },
 //配合比编辑
-async matchupdateSave(form, msg = true) {
+async matchupdateSave(form) {
     return HcApi({
         url: '/api/blade-manager/mixProportion/update',
         method: 'post',
         data: form,
-    }, msg)
+    })
 },
     //配合比删除
- async matchdelData(form, msg = true) {
+ async matchdelData(form) {
     return HcApi({
         url: '/api/blade-manager/mixProportion/remove',
         method: 'get',
         params: form,
-    }, msg)
+    })
    },
 }

+ 4 - 4
src/api/modules/ledger/construction.js

@@ -2,18 +2,18 @@ import { HcApi } from '../../request/index'
 
 export default {
 
-    async queryConstructionPage(form, msg = true) {
+    async queryConstructionPage(form) {
         return HcApi({
             url: '/api/blade-business/constructionLedger/list',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
-    async updateConstructionPage(form, msg = true) {
+    async updateConstructionPage(form) {
         return HcApi({
             url: '/api/blade-business/constructionLedger/update',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 4 - 4
src/api/modules/ledger/index.js

@@ -1,14 +1,14 @@
 import { HcApi } from '../../request/index'
 
 
-export const queryTreeList = (form, msg = true) => HcApi({
+export const queryTreeList = (form) => HcApi({
     url: '/api/blade-business/informationWriteQuery/queryContractWbsTreeByContractIdAndType',
     method: 'get',
     params: form,
-}, msg)
+})
 //影像资料树查询
-export const queryTreeList1 = (form, msg = true) => HcApi({
+export const queryTreeList1 = (form) => HcApi({
     url: '/api/blade-manager/wbsTreeContract/image/lazyQueryContractWbsTree',
     method: 'get',
     params: form,
-}, msg)
+})

+ 4 - 4
src/api/modules/ledger/internal.js

@@ -1,19 +1,19 @@
 import { HcApi } from '../../request/index'
 
 export default {
-    async queryInternalPage(form, msg = true) {
+    async queryInternalPage(form) {
         return HcApi({
             url: '/api/blade-business/neiYeController/queryCurrentNodeNeiYeLedger',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //获取当前合同段的上报批次
-    async queryBatchList(form, msg = true) {
+    async queryBatchList(form) {
         return HcApi({
             url: 'api/blade-business/task/query-batch-list-two',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
 }

+ 40 - 40
src/api/modules/ledger/query.js

@@ -3,163 +3,163 @@ import { HcApi } from '../../request/index'
 
 export default {
     //获取当前合同段下的日志类型
-    async queryLogList(form, msg = true) {
+    async queryLogList(form) {
         return HcApi({
             url: '/api/blade-business/contractLog/queryCurrentContractLogList',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取当前日志类型的填报人
-    async queryFillUser(form, msg = true) {
+    async queryFillUser(form) {
         return HcApi({
             url: '/api/blade-business/contractLog/queryFillUser',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //施工日志分页
-    async constructionLogPage(form, msg = true) {
+    async constructionLogPage(form) {
         return HcApi({
             url: '/api/blade-business/contractLog/constructionLogPage',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //批量废除
-    async batchAbolish(form, msg = true) {
+    async batchAbolish(form) {
         return HcApi({
             url: '/api/blade-business/contractLog/batchAbolish',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //获取合同段当前日志节点下的填报日期记录
-    async getSubmitLogDateList(form, msg = true) {
+    async getSubmitLogDateList(form) {
         return HcApi({
             url: '/api/blade-business/contractLog/getSubmitLogDateList',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //清表生成html
-    // async getExcelHtml(form, msg = true) {
+    // async getExcelHtml(form) {
     //     return HcApi({
     //         url: '/api/blade-manager/exceltab/get-excel-html',
     //         method: 'get',
     //         params: form
-    //     }, msg);
+    //     });
     // },
-    async getExcelHtml(form, msg = true) {
+    async getExcelHtml(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-excel-html-two',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取表单数据
-    async getBussDataInfo(form, msg = true) {
+    async getBussDataInfo(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-the-log-business-data',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取表单数据
-    async getTheLogBusinessData(form, msg = true) {
+    async getTheLogBusinessData(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-the-log-business-data',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //填报页面数据保存
-    async saveExcelBussData(form, msg = true) {
+    async saveExcelBussData(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/save_log_first_buss_data',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //单表pdf预览
-    async getBussPdfInfo(form, msg = true) {
+    async getBussPdfInfo(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-the-log-pdfInfo',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取当前日志资料关联的工序节点信息
-    async queryCurrentLogSelectProcessList(form, msg = true) {
+    async queryCurrentLogSelectProcessList(form) {
         return HcApi({
             url: '/api/blade-business/contractLog/queryCurrentLogSelectProcessList',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //获取当前资料的任务状态
-    async checkTheLogTaskStatus(form, msg = true) {
+    async checkTheLogTaskStatus(form) {
         return HcApi({
             url: '/api/blade-business/contractLog/checkTheLogTaskStatus',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //预览、打印
-    async theLogPreviewAndPrint(form, msg = true) {
+    async theLogPreviewAndPrint(form) {
         return HcApi({
             url: '/api/blade-business/contractLog/theLogPreviewAndPrint',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //废除
-    async theLogOneAbolish(form, msg = true) {
+    async theLogOneAbolish(form) {
         return HcApi({
             url: '/api/blade-business/contractLog/oneAbolish',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //删除
-    async theLogRemoveByIds(form, msg = true) {
+    async theLogRemoveByIds(form) {
         return HcApi({
             url: '/api/blade-business/contractLog/removeByIds',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //获取当前合同段下本日志节点的填报资料日期树
-    async queryReportLogTimeTree(form, msg = true) {
+    async queryReportLogTimeTree(form) {
         return HcApi({
             url: '/api/blade-business/contractLog/queryReportLogTimeTree',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取填报记录
-    async queryLogTimeTreeList(form, msg = true) {
+    async queryLogTimeTreeList(form) {
         return HcApi({
             url: '/api/blade-business/contractLog/queryLogList',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //复制任意时间
-    async copyTheLogBusinessData(form, msg = true) {
+    async copyTheLogBusinessData(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/copy-the-log-business-data',
             method: 'get',
             params: form,
-        }, msg)
+        }, false)
     },
 
     //1、删除施工日志对应的表数据记录信息接口POST:/api/blade-manager/exceltab/removeLogTab
-    async removeLogTab(form, msg = true) {
+    async removeLogTab(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/removeLogTab',
             method: 'post',
             params: form,
-        }, msg)
+        }, false)
     },
 }

+ 4 - 4
src/api/modules/ledger/weather.js

@@ -1,18 +1,18 @@
 import { HcApi } from '../../request/index'
 
 export default {
-    async queryWeatherPage(form, msg = true) {
+    async queryWeatherPage(form) {
         return HcApi({
             url: '/api/blade-business/weather/queryWeatherPage',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
-    async updateWeatherById(form, msg = true) {
+    async updateWeatherById(form) {
         return HcApi({
             url: '/api/blade-business/weather/updateWeatherById',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 6 - 6
src/api/modules/menu.js

@@ -1,21 +1,21 @@
 import { HcApi } from '../request/index'
 import website from '~src/config/index'
 
-export const getRoutes = (msg = true) => HcApi({
+export const getRoutes = () => HcApi({
     url: '/api/blade-system/menu/routes',
     method: 'get',
     params: {
         sysType: website.clientId,
     },
-}, msg)
+})
 
-export const getButtons = (msg = true) => HcApi({
+export const getButtons = () => HcApi({
     url: '/api/blade-system/menu/buttons',
     method: 'get',
-}, msg)
+})
 
-export const getAazyList = (form, msg = true) => HcApi({
+export const getAazyList = (form) => HcApi({
     url: '/api/blade-system/menu/lazy-list',
     method: 'get',
     params: form,
-}, msg)
+})

+ 6 - 6
src/api/modules/oss.js

@@ -2,27 +2,27 @@ import { HcApi } from '../request/index'
 
 export default {
     //上传文件
-    async putFile(form, msg = true) {
+    async putFile(form) {
         return HcApi({
             url: '/api/blade-resource/oss/endpoint/put-file',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //移除文件
-    async removeFile(form, msg = true) {
+    async removeFile(form) {
         return HcApi({
             url: '/api/blade-resource/oss/endpoint/remove-file',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //上传文件
-    async uploadFile(form, msg = true) {
+    async uploadFile(form) {
         return HcApi({
             url: '/api/blade-resource/oss/endpoint/upload-file',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 26 - 26
src/api/modules/other-file/imageData.js

@@ -2,108 +2,108 @@ import { HcApi } from '../../request/index'
 
 export default {
     //获取类型列表(类型主页)
-    async getClassIfyList(form, msg = true) {
+    async getClassIfyList(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/getClassIfyList',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取当前项目类型的显隐配置列表
-    async getClassifyShowConfigList(form, msg = true) {
+    async getClassifyShowConfigList(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/getClassifyShowConfigList',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //保存客户端分类显隐记录
-    async saveClassifyShowConfig(form, msg = true) {
+    async saveClassifyShowConfig(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/saveClassifyShowConfig',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //获取时间结构
-    async getYearDateTree(form, msg = true) {
+    async getYearDateTree(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/getYearDateTree',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取当前合同段的工程划分
-    async getWbsTreeList(form, msg = true) {
+    async getWbsTreeList(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/queryContractWbsTreeByContractIdAndType',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取分页数据
-    async getPageList(form, msg = true) {
+    async getPageList(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //新增影音资料信息
-    async addImageclassifyFile(form, msg = true) {
+    async addImageclassifyFile(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/save',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //修改影音资料信息
-    async updateImageclassifyFile(form, msg = true) {
+    async updateImageclassifyFile(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/update',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //详情
-    async queryById(form, msg = true) {
+    async queryById(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/queryById',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //影音资料信息逻辑删除
-    async removeImageclassifyFile(form, msg = true) {
+    async removeImageclassifyFile(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //影音资料览(图片)
-    async imageClassificationFile(form, msg = true) {
+    async imageClassificationFile(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/preview',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //下载
-    async batchDownloadFileToZip(form, msg = true) {
+    async batchDownloadFileToZip(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/batchDownloadFileToZip',
             method: 'post',
             params: form,
             responseType: 'blob',
-        }, msg)
+        })
     },
     //接口获取题名
-    async getFileTitleName(form, msg = true) {
+    async getFileTitleName(form) {
         return HcApi({
             url: '/api/blade-business/imageClassificationFile/getFileTitleName',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
 }

+ 16 - 16
src/api/modules/other-file/projectScanning.js

@@ -2,68 +2,68 @@ import { HcApi } from '../../request/index'
 
 export default {
     //获取归档划分树
-    async getClassIfyList(form, msg = true) {
+    async getClassIfyList(form) {
         return HcApi({
             url: '/api/blade-business/archiveFile/tree',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //分页
-    async getarchiveFilePage(form, msg = true) {
+    async getarchiveFilePage(form) {
         return HcApi({
             url: '/api/blade-business/archiveFile/page',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //批量新增
-    async batchUploadSave(form, msg = true) {
+    async batchUploadSave(form) {
         return HcApi({
             url: '/api/blade-business/archiveFile/batchSave',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //逻辑删除
-    async removeArchiveFile(form, msg = true) {
+    async removeArchiveFile(form) {
         return HcApi({
             url: '/api/blade-business/archiveFile/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //批量编辑
-    async batchEditSave(form, msg = true) {
+    async batchEditSave(form) {
         return HcApi({
             url: '/api/blade-business/archiveFile/batchEdit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //批量废除
-    async batchAbolishSave(form, msg = true) {
+    async batchAbolishSave(form) {
         return HcApi({
             url: '/api/blade-business/archiveFile/batchAbolish',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //批量下载
-    async batchDownloadFileToZip(form, msg = true) {
+    async batchDownloadFileToZip(form) {
         return HcApi({
             url: '/api/blade-business/archiveFile/batchDownloadFileToZip',
             method: 'post',
             params: form,
             responseType: 'blob',
-        }, msg)
+        })
     },
     //批量认证
-    async batchCertification(form, msg = true) {
+    async batchCertification(form) {
         return HcApi({
             url: '/api/blade-business/archiveFile/batchCertification',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 46 - 46
src/api/modules/other.js

@@ -1,90 +1,90 @@
 import { HcApi } from '../request/index'
 
-export const ApprovalApi = (url, form, msg = true) => HcApi({
+export const ApprovalApi = (url, form) => HcApi({
     url: '/api/blade-business/' + url,
     method: 'post',
     data: form,
-}, msg)
+})
 
-export const batchApproval = (form, msg = true) => HcApi({
+export const batchApproval = (form) => HcApi({
     url: '/api/blade-business/archiveFile/batchApproval',
     method: 'post',
     data: form,
-}, msg)
+})
 
 //短信验证
-export const sendNotice = (form, msg = true) => HcApi({
+export const sendNotice = (form) => HcApi({
     url: '/api/blade-business/task/send-notice',
     method: 'post',
     params: form,
-}, msg)
+})
 
 //短信过期时间
-export const saveSmsTimeout = (form, msg = true) => HcApi({
+export const saveSmsTimeout = (form) => HcApi({
     url: '/api/blade-business/task/save-sms-timeout',
     method: 'get',
     params: form,
-}, msg)
+})
 
 //用户配置保存
-export const userConfigSave = (form, msg = true) => HcApi({
+export const userConfigSave = (form) => HcApi({
     url: '/api/blade-business/defaultConfig/saveOrUpdate',
     method: 'post',
     data: form,
-}, msg)
+})
 
 //用户配置详情
-export const userConfigInfo = (form, msg = true) => HcApi({
+export const userConfigInfo = (form) => HcApi({
     url: '/api/blade-business/defaultConfig/detail',
     method: 'get',
     params: form,
-}, msg)
+})
 
 //获取上报批次
-// export const getReportNumber = (form, msg = true) => HcApi({
+// export const getReportNumber = (form) => HcApi({
 //     url: '/api/blade-business/informationWriteQuery/getReportNumberByContractId',
 //     method: 'get',
 //     params: form
-// }, msg);
-export const getReportNumber = (form, msg = true) => HcApi({
+// });
+export const getReportNumber = (form) => HcApi({
     url: 'api/blade-business/task/query-batch-list-two',
     method: 'get',
     params: form,
-}, msg)
+})
 //获取类型
-export const getDictionary = (form, msg = true) => HcApi({
+export const getDictionary = (form) => HcApi({
     url: '/api/blade-system/dict/dictionary',
     method: 'get',
     params: form,
-}, msg)
+})
 
 //业务字典
-export const getDictionaryBiz = (form, msg = true) => HcApi({
+export const getDictionaryBiz = (form) => HcApi({
     url: '/api/blade-system/dict-biz/dictionary',
     method: 'get',
     params: form,
-}, msg)
+})
 
 
 //获取表单的下拉框测站点数据
-export const getDapSiteData = (form, msg = true) => HcApi({
+export const getDapSiteData = (form) => HcApi({
     url: '/api/blade-business/dap/site',
     method: 'get',
     params: form,
-}, msg)
+})
 
 //获取表单下的设计强度列表
-export const getDesignStrengthList = (form, msg = true) => HcApi({
+export const getDesignStrengthList = (form) => HcApi({
     url: '/api/blade-manager/mixProportion/designStrengthList',
     method: 'get',
     params: form,
-}, msg)
+})
 //检查当前合同段是否开启电签
-export const eVisaTaskCheck = (form, msg = true) => HcApi({
+export const eVisaTaskCheck = (form) => HcApi({
     url: '/api/blade-business/eVisaTaskCheck/checkContractIsOpenEVisa',
     method: 'get',
     params: form,
-}, msg)
+}, false)
 
 export const eVisaTaskCheckApi = async (form) => {
     const { error, code, msg, data } = await eVisaTaskCheck(form)
@@ -99,55 +99,55 @@ export const eVisaTaskCheckApi = async (form) => {
 
 
 //检查当前审批人是否存在证书
-export const checkFlowUserIsExistPfxFile = (form, msg = true) => HcApi({
+export const checkFlowUserIsExistPfxFile = (form) => HcApi({
     url: '/api/blade-business/eVisaTaskCheck/checkFlowUserIsExistPfxFile',
     method: 'get',
     params: form,
-}, msg)
+}, false)
 
 
 //获取符合条件的预设流程(三大填报页、日志列表的批量上报、首件列表的批量上报)
-export const queryFixedFlow = (form, msg = true) => HcApi({
+export const queryFixedFlow = (form) => HcApi({
     url: '/api/blade-business/eVisaTaskCheck/queryFixedFlow',
     method: 'post',
     data: form,
-}, msg)
+}, false)
 //资料查询获取任务流程
-export const queryFixedFlow1 = (form, msg = true) => HcApi({
+export const queryFixedFlow1 = (form) => HcApi({
     url: '/api/blade-business/eVisaTaskCheck/queryFixedFlow2',
     method: 'post',
     data: form,
-}, msg)
+})
 //日志填报获取任务流程
-export const queryFixedFlow3 = (form, msg = true) => HcApi({
+export const queryFixedFlow3 = (form) => HcApi({
     url: '/api/blade-business/eVisaTaskCheck/queryFixedFlow3',
     method: 'post',
     data: form,
-}, msg)
+}, false)
 //检查所选的流程环节处理人是否具有审批权限(三大填报页、日志列表的批量上报、首件列表的批量上报)
-export const checkCustomFlowUserIsEVisaPermissions = (form, msg = true) => HcApi({
+export const checkCustomFlowUserIsEVisaPermissions = (form) => HcApi({
     url: '/api/blade-business/eVisaTaskCheck/checkCustomFlowUserIsEVisaPermissions',
     method: 'post',
     data: form,
-}, msg)
+}, false)
 //检查所选的流程环节处理人是否具有审批权限(日志和首件)
-export const checkCustomFlowUserIsEVisaPermissions3 = (form, msg = true) => HcApi({
+export const checkCustomFlowUserIsEVisaPermissions3 = (form) => HcApi({
     url: '/api/blade-business/eVisaTaskCheck/checkCustomFlowUserIsEVisaPermissions3',
     method: 'post',
     data: form,
-}, msg)
+}, false)
 //资料查询页面
-export const checkCustomFlowUserIsEVisaPermissionsquery = (form, msg = true) => HcApi({
+export const checkCustomFlowUserIsEVisaPermissionsquery = (form) => HcApi({
     url: '/api/blade-business/eVisaTaskCheck/batchCheckCustomFlowUserIsEVisaPermissions2',
     method: 'post',
     data: form,
-}, msg)
+}, false)
 //获取用户列表
-export const getContractUserList = (form, msg = true) => HcApi({
+export const getContractUserList = (form) => HcApi({
     url: '/api/blade-manager/contractInfo/get-contract-userList',
     method: 'get',
     params: form,
-}, msg)
+})
 
 //获取租户详情
 export const getTenantDetail = (id) => HcApi({
@@ -166,15 +166,15 @@ export const getVersionJson = () => HcApi({
 }, false)
 
 //获取项目下的合同段信息
-export const getContractInfo = (form, msg = true) => HcApi({
+export const getContractInfo = (form) => HcApi({
     url: '/api/blade-manager/contractInfo/get-contractInfo',
     method: 'get',
     params: form,
-}, msg)
+})
 
 //获取合同段信息
-export const getErtractInfo = (form, msg = true) => HcApi({
+export const getErtractInfo = (form) => HcApi({
     url: '/api/blade-manager/contractInfo/get-ertract-Info',
     method: 'get',
     params: form,
-}, msg)
+})

+ 16 - 16
src/api/modules/other/first-item.js

@@ -2,67 +2,67 @@ import { HcApi } from '../../request/index'
 
 export default {
     //获取合同段划分树中被标记为首件的节点
-    async queryContractWbsTreeByFirstInfo(form, msg = true) {
+    async queryContractWbsTreeByFirstInfo(form) {
         return HcApi({
             //url: '/api/blade-business/informationWriteQuery/queryContractWbsTreeByFirstInfo',
             url: '/api/blade-user/wbs/informationWriteQuery/queryContractWbsTreeByFirstInfo',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //分页数据
-    async getQueryPageData(form, msg = true) {
+    async getQueryPageData(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/page',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //首件表单获取html页面
-    async getFirstExcelHtml(form, msg = true) {
+    async getFirstExcelHtml(form) {
         return HcApi({
             url: '/api/blade-manager/first/get-first-excel-html',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //首件-pdf预览
-    async getFirstBussPdfInfo(form, msg = true) {
+    async getFirstBussPdfInfo(form) {
         return HcApi({
             url: '/api/blade-manager/first/get-first-buss-pdfInfo',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取首件用户保存数据
-    async getFirstBussDataInfo(form, msg = true) {
+    async getFirstBussDataInfo(form) {
         return HcApi({
             url: '/api/blade-manager/first/get-first-buss-dataInfo',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //填报页面数据保存
-    async saveBussData(form, msg = true) {
+    async saveBussData(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/save_log_first_buss_data',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
-    async queryFirstDocumentTitle(form, msg = true) {
+    async queryFirstDocumentTitle(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/queryFirstDocumentTitle',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //批量打印
-    async batchPrint(form, msg = true) {
+    async batchPrint(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/batchPrint',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 }

+ 20 - 20
src/api/modules/other/orderServe.js

@@ -2,82 +2,82 @@ import { HcApi } from '../../request/index'
 
 export default {
     //获取工单服务列表
-    async queryUserOpinionPage(form, msg = true) {
+    async queryUserOpinionPage(form) {
         return HcApi({
             url: '/api/blade-business/userOpinion/queryUserOpinionPage',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取当前用户提交的工单服务
-    async queryCurrentUserOpinionList(form, msg = true) {
+    async queryCurrentUserOpinionList(form) {
         return HcApi({
             url: '/api/blade-business/userOpinion/queryCurrentUserOpinionList',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //新增工单服务信息
-    async saveUserOpinion(form, msg = true) {
+    async saveUserOpinion(form) {
         return HcApi({
             url: '/api/blade-business/userOpinion/saveUserOpinion',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //获取当前工单的最新流程
-    async queryUserFlowOpinion(form, msg = true) {
+    async queryUserFlowOpinion(form) {
         return HcApi({
             url: '/api/blade-business/userOpinionFlow/queryCurrentUserOpinionFlowByUserOpinionId',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //统合处理意见接口
-    async disposeUserFeedback(form, msg = true) {
+    async disposeUserFeedback(form) {
         return HcApi({
             url: '/api/blade-business/userOpinionFlow/disposeUserOpinionFeedback',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //获取字典信息
-    async queryDictBizList(msg = true) {
+    async queryDictBizList() {
         return HcApi({
             url: '/api/blade-business/userOpinion/queryDictBizList',
             method: 'get',
-        }, msg)
+        })
     },
     //获取当前工单下的所有评论
-    async queryCommentsList(form, msg = true) {
+    async queryCommentsList(form) {
         return HcApi({
             url: '/api/blade-business/userOpinionComments/queryUserOpinionCommentsByUserOpinionId',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //新增评论
-    async saveUserComments(form, msg = true) {
+    async saveUserComments(form) {
         return HcApi({
             url: '/api/blade-business/userOpinionComments/saveUserOpinionComments',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //点赞
-    async addGoodNumber(form, msg = true) {
+    async addGoodNumber(form) {
         return HcApi({
             url: '/api/blade-business/userOpinion/addGoodNumber',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //取消点赞
-    async cancelGood(form, msg = true) {
+    async cancelGood(form) {
         return HcApi({
             url: '/api/blade-business/userOpinion/cancelGood',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 }

+ 18 - 18
src/api/modules/patrol/patrol.js

@@ -2,76 +2,76 @@ import { HcApi } from '../../request/index'
 
 export default {
     //获取巡检列表分页
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-manager/routingInspection/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
 
     //获取新增巡检任务
-    async add(form, msg = true) {
+    async add(form) {
         return HcApi({
             url: '/api/blade-manager/routingInspection/add',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //修改巡检
-    async update(form, msg = true) {
+    async update(form) {
         return HcApi({
             url: '/api/blade-manager/routingInspection/Update',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //删除
-    async delete(form, msg = true) {
+    async delete(form) {
         return HcApi({
             url: '/api/blade-manager/routingInspection/delete',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //提交整改记录
-    async submitRectify(form, msg = true) {
+    async submitRectify(form) {
         return HcApi({
             url: '/api/blade-manager/routingInspection/submitRectify',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //整改记录分页
-    async page2(form, msg = true) {
+    async page2(form) {
         return HcApi({
             url: '/api/blade-manager/routingInspection/page2',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //复核检测
-    async reviewInspect(form, msg = true) {
+    async reviewInspect(form) {
         return HcApi({
             url: '/api/blade-manager/routingInspection/reviewInspect',
             method: 'get',
             params: form,
-        }, msg)
+        }, false)
     },
     //撤回提交
-    async revokeSubmit(form, msg = true) {
+    async revokeSubmit(form) {
         return HcApi({
             url: '/api/blade-manager/routingInspection/revokeSubmit',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取巡检详情
-    async detail(form, msg = true) {
+    async detail(form) {
         return HcApi({
             url: '/api/blade-manager/routingInspection/detail',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
 }

+ 10 - 10
src/api/modules/schedule/data.js

@@ -2,43 +2,43 @@ import { HcApi } from '../../request/index'
 
 export default {
     //查询内业资料进度
-    async queryMaterialProgress(form, msg = true) {
+    async queryMaterialProgress(form) {
         return HcApi({
             url: '/api/blade-business/materialProgress/queryMaterialProgress',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //报表资料审批统计
-    async queryMaterialProgressStatus(form, msg = true) {
+    async queryMaterialProgressStatus(form) {
         return HcApi({
             url: '/api/blade-business/materialProgress/queryMaterialProgressStatus',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //声像媒体资料统计
-    async queryImageClassification(form, msg = true) {
+    async queryImageClassification(form) {
         return HcApi({
             url: '/api/blade-business/materialProgress/queryImageClassification',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //资料进度
-    async queryContractTreeMaterialProgress(form, msg = true) {
+    async queryContractTreeMaterialProgress(form) {
         return HcApi({
             url: '/api/blade-business/materialProgress/queryContractTreeMaterialProgress',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     // 内外业进度
-    async queryNeiWaiYeProgress(form, msg = true) {
+    async queryNeiWaiYeProgress(form) {
         return HcApi({
             url: '/api/blade-business/neiWaiYeProgressController/neiWaiYeProgress',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
 }

+ 22 - 22
src/api/modules/tasks/data.js

@@ -2,91 +2,91 @@ import { HcApi } from '../../request/index'
 
 export default {
     //获取任务类型或任务状态
-    async queryTaskTypeStatus(form, msg = true) {
+    async queryTaskTypeStatus(form) {
         return HcApi({
             url: '/api/blade-business/task/query-task-type-status',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取当前合同段的上报批次
-    async queryBatchList(form, msg = true) {
+    async queryBatchList(form) {
         return HcApi({
             url: '/api/blade-business/task/query-batch-list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取当前用户待办流程
-    async queryUserToDoTaskList(form, msg = true) {
+    async queryUserToDoTaskList(form) {
         return HcApi({
             url: '/api/blade-business/task/user-to-do-task-list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //审批页详情
-    async queryApprovalParameter(form, msg = true) {
+    async queryApprovalParameter(form) {
         return HcApi({
             url: '/api/blade-business/task/query-approval-parameter',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //完成任务
-    async saveCompleteApprovalTask(form, msg = true) {
+    async saveCompleteApprovalTask(form) {
         return HcApi({
             url: '/api/blade-business/task/complete-approval-task',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //已办任务
-    async queryUserDoneTaskList(form, msg = true) {
+    async queryUserDoneTaskList(form) {
         return HcApi({
             url: '/api/blade-business/task/query-user-done-task-list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //批量审批
-    async batchCompleteApprovalTask(form, msg = true) {
+    async batchCompleteApprovalTask(form) {
         return HcApi({
             url: '/api/blade-business/task/batch-complete-approval-task',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //获取发起
-    async queryUserStartFlow(form, msg = true) {
+    async queryUserStartFlow(form) {
         return HcApi({
             url: '/api/blade-business/task/query-user-start-flow',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //批量页详情
-    async queryTaskInfo(form, msg = true) {
+    async queryTaskInfo(form) {
         return HcApi({
             url: '/api/blade-business/task/batch-approval-parameter',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //校验电签短信验证码
-    async checkSmsCode(form, msg = true) {
+    async checkSmsCode(form) {
         return HcApi({
             url: '/api/blade-business/task/check-sms-code',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //获取任务列表分页
-    async getTaskPage(form, msg = true) {
+    async getTaskPage(form) {
         return HcApi({
             url: '/api/blade-business/task/page',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 12 - 12
src/api/modules/tasks/flow.js

@@ -2,52 +2,52 @@ import { HcApi } from '../../request/index'
 
 export default {
     //分页数据
-    async getPageData(form, msg = true) {
+    async getPageData(form) {
         return HcApi({
             url: '/api/blade-business/fixedFlow/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取系统所有角色划分
-    async queryAllRoleList(form, msg = true) {
+    async queryAllRoleList(form) {
         return HcApi({
             url: '/api/blade-business/fixedFlow/queryAllRoleList',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //详情
-    async queryFixedFlowDetail(form, msg = true) {
+    async queryFixedFlowDetail(form) {
         return HcApi({
             url: '/api/blade-business/fixedFlow/detail',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //新增
-    async addFixedFlowData(form, msg = true) {
+    async addFixedFlowData(form) {
         return HcApi({
             url: '/api/blade-business/fixedFlow/save',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //修改
-    async updateFixedFlowData(form, msg = true) {
+    async updateFixedFlowData(form) {
         return HcApi({
             url: '/api/blade-business/fixedFlow/update',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //删除
-    async removeFixedFlowData(form, msg = true) {
+    async removeFixedFlowData(form) {
         return HcApi({
             url: '/api/blade-business/fixedFlow/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //排序
     async batchUpdateSort(form) {

+ 8 - 8
src/api/modules/tasks/message.js

@@ -2,35 +2,35 @@ import { HcApi } from '../../request/index'
 
 export default {
     //分页数据
-    async getPageData(form, msg = true) {
+    async getPageData(form) {
         return HcApi({
             url: '/api/blade-business/messageWarning/list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //删除消息
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-business/messageWarning/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //获取当前用户的消息数量
-    async queryCurrentUserMessageCount(form, msg = true) {
+    async queryCurrentUserMessageCount(form) {
         return HcApi({
             url: '/api/blade-business/messageWarning/queryCurrentUserMessageCount',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //标记已读
-    async setMessageWarningRead(form, msg = true) {
+    async setMessageWarningRead(form) {
         return HcApi({
             url: '/api/blade-business/messageWarning/setMessageWarningRead',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 }

+ 4 - 4
src/api/modules/tasks/sign.js

@@ -2,19 +2,19 @@ import { HcApi } from '../../request/index'
 
 export default {
     //任务管理-电签失败分页查询
-    async eVisaFailedPage(form, msg = true) {
+    async eVisaFailedPage(form) {
         return HcApi({
             url: '/api/blade-business/task/eVisaFailedPage',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //一键重签
-    async reSigningEVisa(form, msg = true) {
+    async reSigningEVisa(form) {
         return HcApi({
             url: '/api/blade-business/task/reSigningEVisa',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 10 - 10
src/api/modules/tentative/acquisition/data.js

@@ -2,43 +2,43 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //分页查询
-    async page(form, msg = true) {
+    async page(form) {
         return HcApi({
             url: '/api/blade-business/entrustinfo/pageDataInfo',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取设备数据
-    async dictionary(code, msg = true) {
+    async dictionary(code) {
         return HcApi({
             url: '/api/blade-system/dict-biz/dictionary-tree',
             method: 'get',
             params: { code },
-        }, msg)
+        })
     },
     //新增或修改
-    async submit(form, msg = true) {
+    async submit(form) {
         return HcApi({
             url: '/api/blade-system/dict-biz/submit',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //删除
-    async remove(ids, msg = true) {
+    async remove(ids) {
         return HcApi({
             url: '/api/blade-system/dict/remove',
             method: 'post',
             params: { ids },
-        }, msg)
+        }, false)
     },
     //详情
-    async selectDataInfoById(id, msg = true) {
+    async selectDataInfoById(id) {
         return HcApi({
             url: '/api/blade-business/entrustinfo/selectDataInfoById',
             method: 'get',
             params: { id },
-        }, msg)
+        })
     },
 }

+ 8 - 8
src/api/modules/tentative/collect/month.js

@@ -1,31 +1,31 @@
 import { HcApi } from '../../../request/index'
 
 //月报汇总分页查询
-export const getMonthPage = (form, msg = true) => HcApi({
+export const getMonthPage = (form) => HcApi({
     url: '/api/blade-business/trial/summary/monthly/page',
     method: 'post',
     data: form,
-}, msg)
+})
 //月报汇总编辑备注
-export const editRemark = (form, msg = true) => HcApi({
+export const editRemark = (form) => HcApi({
     url: '/api/blade-business/trial/summary/monthly/edit',
     method: 'post',
     data: form,
-}, msg)
+})
 
 //月报汇总下载
-export const downloadMonth = (form, msg = true) => HcApi({
+export const downloadMonth = (form) => HcApi({
     url: '/api/blade-business/trial/summary/monthly/download',
     method: 'post',
     data: form,
-}, msg)
+})
 
 //月报汇总打印
-export const printMonth = (form, msg = true) => HcApi({
+export const printMonth = (form) => HcApi({
     url: '/api/blade-business/trial/summary/monthly/print',
     method: 'post',
     data: form,
-}, msg)
+})
 
 
 

+ 12 - 12
src/api/modules/tentative/collect/test.js

@@ -1,44 +1,44 @@
 import { HcApi } from '../../../request/index'
 
 //合同段下拉框
-export const getContractList = (form, msg = true) => HcApi({
+export const getContractList = (form) => HcApi({
     url: '/api/blade-business/trial/summary/contract/list',
     method: 'get',
     params: form,
-}, msg)
+})
 
 //汇总分类列表
-export const getSummaryList = (form, msg = true) => HcApi({
+export const getSummaryList = (form) => HcApi({
     url: '/api//blade-business/trial/summary/list',
     method: 'get',
     params: form,
-}, msg)
+})
 
 //分页查询
-export const getPage = (form, msg = true) => HcApi({
+export const getPage = (form) => HcApi({
     url: '/api/blade-business/trial/summary/page',
     method: 'post',
     data: form,
-}, msg)
+})
 
 //删除
-export const removeByIds = (form, msg = true) => HcApi({
+export const removeByIds = (form) => HcApi({
     url: '/api//blade-business/trial/summary/remove',
     method: 'post',
     params: form,
-}, msg)
+}, false)
 
 //新增
-export const save = (form, msg = true) => HcApi({
+export const save = (form) => HcApi({
     url: '/api/blade-business/trial/summary/save',
     method: 'post',
     data: form,
-}, msg)
+})
 //下载
-export const download = (form, msg = true) => HcApi({
+export const download = (form) => HcApi({
     url: '/api/blade-business/trial/summary/download',
     method: 'get',
     params: form,
-}, msg)
+})
 
 

+ 12 - 12
src/api/modules/tentative/detect/commission.js

@@ -2,51 +2,51 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //分页
-    async page(form, msg = true) {
+    async page(form) {
         return HcApi({
             url: '/api/blade-business/entrustinfo/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //委托单信息表
-    async htmlSave(form, msg = true) {
+    async htmlSave(form) {
         return HcApi({
             url: '/api/blade-business/entrustinfo/save_entrust_data',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //详情
-    async detail(id, msg = true) {
+    async detail(id) {
         return HcApi({
             url: '/api/blade-business/entrustinfo/get-report-detail',
             method: 'post',
             params: { id },
-        }, msg)
+        })
     },
     //创建报告
-    async update(form, msg = true) {
+    async update(form) {
         return HcApi({
             url: '/api/blade-business/entrustinfo/update',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //删除
-    async remove(ids, msg = true) {
+    async remove(ids) {
         return HcApi({
             url: '/api/blade-business/entrustinfo/remove',
             method: 'post',
             params: { ids },
-        }, msg)
+        }, false)
     },
     //详情
-    async selfDetail(id, msg = true) {
+    async selfDetail(id) {
         return HcApi({
             url: '/api/blade-business/detection/self/trialSelfInById',
             method: 'post',
             params: { id },
-        }, msg)
+        }, false)
     },
 }

+ 6 - 6
src/api/modules/tentative/detect/index.js

@@ -1,22 +1,22 @@
 import { HcApi } from '../../../request/index'
 
 //实验树
-export const getTreeAll = (form, msg = true) => HcApi({
+export const getTreeAll = (form) => HcApi({
     url: '/api/blade-manager/trial/tree-all',
     method: 'get',
     params: form,
-}, msg)
+})
 
 //新增或修改
-export const submitTree = (form, msg = true) => HcApi({
+export const submitTree = (form) => HcApi({
     url: '/api/blade-manager/trial/submit',
     method: 'post',
     data: form,
-}, msg)
+}, false)
 
 //删除节点
-export const removeTree = (form, msg = true) => HcApi({
+export const removeTree = (form) => HcApi({
     url: '/api/blade-manager/trial/remove',
     method: 'get',
     params: form,
-}, msg)
+}, false)

+ 58 - 58
src/api/modules/tentative/detect/test.js

@@ -2,236 +2,236 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //自检记录分页查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/page',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //自检记录附件列表
-    async ancillaryDocumentsList(form, msg = true) {
+    async ancillaryDocumentsList(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/ancillary-documents-list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //试验自检记录附件删除接口:
-    async removedocuments(form, msg = true) {
+    async removedocuments(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/remove-ancillary-documents',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 
     //自检记录批量复制
-    async copyData(form, msg = true) {
+    async copyData(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/copy',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //自检记录批量删除
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //自检记录pdf批量打印
-    async printPdf(form, msg = true) {
+    async printPdf(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/print-pdf',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //自检记录pdf批量废除
-    async batchAbolish(form, msg = true) {
+    async batchAbolish(form) {
         return HcApi({
             url: '/api/blade-business/informationWriteQuery/batchAbolish',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //自检记录pdf批量打印空表
-    async printNullPdf(form, msg = true) {
+    async printNullPdf(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/print-null-pdf',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //自检记录样品信息列表
-    async getSampleList(form, msg = true) {
+    async getSampleList(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/sample-list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //根据所属方查询节点下表单
-    async searchNodeTables(form, msg = true) {
+    async searchNodeTables(form) {
         return HcApi({
             url: '/api/blade-manager/wbsPrivate/search-node-tables',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取试验表的HTML
-    async getExcelHtml(form, msg = true) {
+    async getExcelHtml(form) {
         return HcApi({
             url: '/api/blade-manager/wbsPrivate/get-excel-html',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取试验用户保存数据
-    async getBussDataInfo(form, msg = true) {
+    async getBussDataInfo(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-buss-dataInfo-trial',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //自检表单复制
-    async copyBussTab(form, msg = true) {
+    async copyBussTab(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/copy-buss-tab',
             method: 'get',
             params: form,
-        }, msg)
+        }, false)
     },
     //自检单表PDF预览
-    async getBussPdf(form, msg = true) {
+    async getBussPdf(form) {
         return HcApi({
             url: '/api/blade-business/detection/get-buss-pdf',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //自检多表PDF预览
-    async getBussPdfs(form, msg = true) {
+    async getBussPdfs(form) {
         return HcApi({
             url: '/api/blade-business/detection/get-buss-pdfs',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //自检隐藏表单
-    async showBussTab(form, msg = true) {
+    async showBussTab(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/show-buss-tab',
             method: 'get',
             params: form,
-        }, msg)
+        }, false)
     },
     //自检删除复制的表
-    async removeBussTabInfo(form, msg = true) {
+    async removeBussTabInfo(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/remove-buss-tab',
             method: 'post',
             params: form,
-        }, msg)
+        }, false)
     },
     //保存表单
-    async saveExcelBussData(form, msg = true) {
+    async saveExcelBussData(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/submit',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //查询关联样品信息列表
-    async sampleListInfo(form, msg = true) {
+    async sampleListInfo(form) {
         return HcApi({
             url: '/api/blade-business/detection/sample/list-info',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //查询关联原材料检测报告列表
-    async rawMaterialList(form, msg = true) {
+    async rawMaterialList(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/raw-material/list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取试验表中的data数据接口:
-    async getBussddataInfotrial(form, msg = true) {
+    async getBussddataInfotrial(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-buss-dataInfo-trial',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取试验表中的data数据接口:
-    async getBussddataInfotrialList(form, msg = true) {
+    async getBussddataInfotrialList(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-buss-dataInfo-list-trial',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //自检记录附件修改接口:
-    async updateAncillaryDocument(form, msg = true) {
+    async updateAncillaryDocument(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/update-ancillary-documents',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //关联原材报告保存
-    async rawMaterialSubmit(form, msg = true) {
+    async rawMaterialSubmit(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/raw-material/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //关联工程用途即部位
-    async projectpositionSubmit(form, msg = true) {
+    async projectpositionSubmit(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/project-position/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //关联取样
-    async recordsampleSubmit(form, msg = true) {
+    async recordsampleSubmit(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/record-sample/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //获取当前样品信息对应到表字段关系接口
-    async recordsamplegetData(form, msg = true) {
+    async recordsamplegetData(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/record-sample/getData',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //关联工程部位信息获取数据接口
-    async recordprojectPositiongetData(form, msg = true) {
+    async recordprojectPositiongetData(form) {
         return HcApi({
             url: '/api/blade-business/detection/self/record-projectPosition/getData',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //获取图表配置数据
-    async getChartInit(form, msg = true) {
+    async getChartInit(form) {
         return HcApi({
             url: '/api/blade-manager/formula/chart-init',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 8 - 8
src/api/modules/tentative/detect/third.js

@@ -2,35 +2,35 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //外委或三方数据分页条件查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-business/detection/data/page',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //外委或三方数据新增或者修改
-    async submitForm(form, msg = true) {
+    async submitForm(form) {
         return HcApi({
             url: '/api/blade-business/detection/data/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //外委或三方数据批量删除
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-business/detection/data/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //外委或三方数据复制
-    async copyData(form, msg = true) {
+    async copyData(form) {
         return HcApi({
             url: '/api/blade-business/detection/data/copy',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 14 - 14
src/api/modules/tentative/device/approach.js

@@ -2,59 +2,59 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //分类新增或修改
-    async getClassSubmit(form, msg = true) {
+    async getClassSubmit(form) {
         return HcApi({
             url: '/api/blade-business/device/class-submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //分类删除
-    async setClassRemove(form, msg = true) {
+    async setClassRemove(form) {
         return HcApi({
             url: '/api/blade-business/device/class-remove',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //分页条件查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-business/device/mobilization/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //新增或修改
-    async submitForm(form, msg = true) {
+    async submitForm(form) {
         return HcApi({
             url: '/api/blade-business/device/mobilization/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //批量删除
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-business/device/mobilization/remove',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //批量打印Pdf
-    async exportPdf(form, msg = true) {
+    async exportPdf(form) {
         return HcApi({
             url: '/api/blade-business/device/mobilization/print-pdf',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //导入数据保存
-    async samplingRecord(form, msg = true) {
+    async samplingRecord(form) {
         return HcApi({
             url: '/api/blade-business/device/mobilization/import-batch',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 10 - 10
src/api/modules/tentative/device/employ.js

@@ -2,43 +2,43 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //分页条件查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-business/device/use/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //新增或修改
-    async submitForm(form, msg = true) {
+    async submitForm(form) {
         return HcApi({
             url: '/api/blade-business/device/use/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //批量删除
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-business/device/use/remove',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //批量打印Pdf
-    async exportPdf(form, msg = true) {
+    async exportPdf(form) {
         return HcApi({
             url: '/api/blade-business/device/use/print-pdf',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //导入数据保存
-    async samplingRecord(form, msg = true) {
+    async samplingRecord(form) {
         return HcApi({
             url: '/api/blade-business/device/use/import-batch',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 10 - 10
src/api/modules/tentative/device/overhaul.js

@@ -2,43 +2,43 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //分页条件查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-business/device/overhaul/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //新增或修改
-    async submitForm(form, msg = true) {
+    async submitForm(form) {
         return HcApi({
             url: '/api/blade-business/device/overhaul/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //批量删除
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-business/device/overhaul/remove',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //批量打印Pdf
-    async exportPdf(form, msg = true) {
+    async exportPdf(form) {
         return HcApi({
             url: '/api/blade-business/device/overhaul/print-pdf',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //导入数据保存
-    async samplingRecord(form, msg = true) {
+    async samplingRecord(form) {
         return HcApi({
             url: '/api/blade-business/device/overhaul/import-batch',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 12 - 12
src/api/modules/tentative/index.js

@@ -1,41 +1,41 @@
 import { HcApi } from '../../request/index'
 
 //分类列表
-export const getClassList = (form, msg = true) => HcApi({
+export const getClassList = (form) => HcApi({
     url: '/api/blade-business/device/class-list',
     method: 'get',
     params: form,
-}, msg)
+})
 //初始化设备分类接口 api/blade-business/device/class-init
-export const deviceClassListInit = (form, msg = true) => HcApi({
+export const deviceClassListInit = (form) => HcApi({
     url: '/api/blade-business/device/class-init',
     method: 'post',
     params: form,
-}, msg)
+})
 //项目树全加载
-export const getProjectTree = (form, msg = true) => HcApi({
+export const getProjectTree = (form) => HcApi({
     url: '/api/blade-manager/projectInfo/tree',
     method: 'get',
     params: form,
-}, msg)
+})
 
 //使用-检修-根据设备分类id查询设备编号名称
-export const queryDeviceList = (form, msg = true) => HcApi({
+export const queryDeviceList = (form) => HcApi({
     url: '/api/blade-business/device/use/device-list',
     method: 'get',
     params: form,
-}, msg)
+})
 
 //使用-根据节点id查询样品编号名称
-export const querySampleList = (form, msg = true) => HcApi({
+export const querySampleList = (form) => HcApi({
     url: '/api/blade-business/device/use/sample-list',
     method: 'get',
     params: form,
-}, msg)
+})
 
 //获取节点关联样品信息接口:Get:/api/blade-business/device/use/submit/getSampleInfo
-export const getSampleInfo = (form, msg = true) => HcApi({
+export const getSampleInfo = (form) => HcApi({
     url: '/api/blade-business/device/use/submit/getSampleInfo',
     method: 'get',
     params: form,
-}, msg)
+})

+ 4 - 4
src/api/modules/tentative/laboratory/print.js

@@ -2,19 +2,19 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //打印空表查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-manager/wbsPrivate/get-node-tables',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //批量打印
-    async batchPrint(form, msg = true) {
+    async batchPrint(form) {
         return HcApi({
             url: '/api/blade-business/laboratory/print/null-pdf',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 }

+ 6 - 6
src/api/modules/tentative/laboratory/user.js

@@ -2,27 +2,27 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //人员档案条件分页查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-business/laboratory/user/archives/page',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //人员档案新增或修改
-    async submitForm(form, msg = true) {
+    async submitForm(form) {
         return HcApi({
             url: '/api/blade-business/laboratory/user/archives/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //人员档案批量删除
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-business/laboratory/user/archives/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 }

+ 16 - 16
src/api/modules/tentative/material/approach.js

@@ -2,67 +2,67 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //进场材料分页条件查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-business/material/mobilization/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //进场材料新增或修改
-    async submitForm(form, msg = true) {
+    async submitForm(form) {
         return HcApi({
             url: '/api/blade-business/material/mobilization/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //进场材料批量删除
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-business/material/mobilization/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //校验材料编号是否唯一
-    async verification(form, msg = true) {
+    async verification(form) {
         return HcApi({
             url: '/api/blade-business/material/mobilization/verification',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //进场材料批量复制
-    async copyData(form, msg = true) {
+    async copyData(form) {
         return HcApi({
             url: '/api/blade-business/material/mobilization/copy',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //批量打印进场材料Pdf
-    async exportPdf(form, msg = true) {
+    async exportPdf(form) {
         return HcApi({
             url: '/api/blade-business/material/mobilization/export-pdf',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //材料取样记录
-    async samplingRecord(form, msg = true) {
+    async samplingRecord(form) {
         return HcApi({
             url: '/api/blade-business/material/mobilization/sampling-record',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //材料进场附件附件修改接口:
-    async updateMobilizationFile(form, msg = true) {
+    async updateMobilizationFile(form) {
         return HcApi({
             url: '/api/blade-business/material/mobilization/upload-file',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 }

+ 26 - 26
src/api/modules/tentative/material/sampling.js

@@ -2,109 +2,109 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //树数据
-    async queryLazyTree(form, msg = true) {
+    async queryLazyTree(form) {
         return HcApi({
             url: '/api/blade-manager/wbsPrivate/lazy-tree',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
 
     // 获取试验树节点下的记录信息接口:
-    async getMixRatioTestTree(form, msg = true) {
+    async getMixRatioTestTree(form) {
         return HcApi({
             url: '/api/blade-manager/wbsPrivate/self/trial/getMixRatioTestTree',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     // 获取试验树节点下的记录信息接口:
-    async gettrialPage(form, msg = true) {
+    async gettrialPage(form) {
         return HcApi({
             // url: '/api/blade-business/trial/data/page',
             url: '/api/blade-business/trial/data/relation/page',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //分页条件查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-business/material/sample/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //进场材料新增或修改
-    async submitForm(form, msg = true) {
+    async submitForm(form) {
         return HcApi({
             url: '/api/blade-business/material/sample/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //进场材料批量删除
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-business/material/sample/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //校验样品编号是否唯一
-    async verification(form, msg = true) {
+    async verification(form) {
         return HcApi({
             url: '/api/blade-business/material/sample/verification',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //进场材料批量复制
-    async copyData(form, msg = true) {
+    async copyData(form) {
         return HcApi({
             url: '/api/blade-business/material/sample/copy',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //批量打印进场材料Pdf
-    async exportPdf(form, msg = true) {
+    async exportPdf(form) {
         return HcApi({
             url: '/api/blade-business/material/sample/export-pdf',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //关联试验文件信息提交保存接口
-    async submitRelationFile(form, msg = true) {
+    async submitRelationFile(form) {
         return HcApi({
             url: '/api/blade-business/trial/file/submit',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //试验-客户端获取表的HTML
-    async getExcelHtml(form, msg = true) {
+    async getExcelHtml(form) {
         return HcApi({
             url: '/api/blade-manager/wbsPrivate/get-excel-html',
             method: 'get',
             params: form,
-        }, msg)
+        }, false)
     },
     //获取html回显
-    async getBussDataInfoTrialEntrust(form, msg = true) {
+    async getBussDataInfoTrialEntrust(form) {
         return HcApi({
             url: '/api/blade-manager/exceltab/get-buss-dataInfo-trial_entrust',
             method: 'get',
             params: form,
-        }, msg)
+        }, false)
     },
     //材料取样-获取合同段信息
-    async getErtractInfo(form, msg = true) {
+    async getErtractInfo(form) {
         return HcApi({
             url: '/api/blade-manager/contractInfo/get-ertract-Info',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
 }

+ 8 - 8
src/api/modules/tentative/material/testSample.js

@@ -2,35 +2,35 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //分页查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-business/entrustinfo/sample_page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //删除在测样品
-    async sampleRemove(ids, msg = true) {
+    async sampleRemove(ids) {
         return HcApi({
             url: '/api/blade-business/entrustinfo/sample_remove',
             method: 'post',
             params: { ids },
-        }, msg)
+        }, false)
     },
     //修改
-    async update(form, msg = true) {
+    async update(form) {
         return HcApi({
             url: '/api/blade-business/entrustinfo/update',
             method: 'post',
             data: form,
-        }, msg)
+        }, false)
     },
     //详情
-    async detail(id, msg = true) {
+    async detail(id) {
         return HcApi({
             url: '/api/blade-business/detection/self/trialSelfInById',
             method: 'post',
             params: { id },
-        }, msg)
+        }, false)
     },
 }

+ 6 - 6
src/api/modules/tentative/parameter/compactness.js

@@ -2,27 +2,27 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //压实度分页查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-manager/trial/param/compaction/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //压实度新增或修改
-    async submitForm(form, msg = true) {
+    async submitForm(form) {
         return HcApi({
             url: '/api/blade-manager/trial/param/compaction/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //压实度批量删除
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-manager/trial/param/compaction/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 }

+ 20 - 20
src/api/modules/tentative/parameter/container.js

@@ -2,84 +2,84 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //查询容器分类集合
-    async queryClassification(form, msg = true) {
+    async queryClassification(form) {
         return HcApi({
             url: '/api/blade-business/container/classification/list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //试验容器新增或修改
-    async submitClassification(form, msg = true) {
+    async submitClassification(form) {
         return HcApi({
             url: '/api/blade-business/container/classification/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //删除容器中的字段
-    async removeField(form, msg = true) {
+    async removeField(form) {
         return HcApi({
             url: '/api/blade-business/container/data/field/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //删除容器
-    async removeClassification(form, msg = true) {
+    async removeClassification(form) {
         return HcApi({
             url: '/api/blade-business/container/classification/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //根据容器类型条件分页查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-business/container/data/page',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //容器数据新增或修改
-    async submitForm(form, msg = true) {
+    async submitForm(form) {
         return HcApi({
             url: '/api/blade-business/container/data/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //容器数据删除
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-business/container/data/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //校验容器数据编号是否唯一
-    async verification(form, msg = true) {
+    async verification(form) {
         return HcApi({
             url: '/api/blade-business/container/data/verification-no',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //下载导入模板
-    async downloadTemplate(form, msg = true) {
+    async downloadTemplate(form) {
         return HcApi({
             url: '/api/blade-business/container/data/download-template',
             method: 'post',
             responseType: 'blob',
             params: form,
-        }, msg)
+        })
     },
     //导入/api/blade-business/container/data/import-excel
-    async importExcel(form, msg = true) {
+    async importExcel(form) {
         return HcApi({
             url: '/api/blade-business/container/data/import-excel',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 6 - 6
src/api/modules/tentative/parameter/density.js

@@ -2,27 +2,27 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //温度及密度分页查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-manager/trial/param/temperature-density/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //温度及密度新增或修改
-    async submitForm(form, msg = true) {
+    async submitForm(form) {
         return HcApi({
             url: '/api/blade-manager/trial/param/temperature-density/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //温度及密度批量删除
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-manager/trial/param/temperature-density/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 }

+ 12 - 12
src/api/modules/tentative/parameter/sieve.js

@@ -2,51 +2,51 @@ import { HcApi } from '../../../request/index'
 
 export default {
     //筛孔分类列表查询
-    async queryClassification(form, msg = true) {
+    async queryClassification(form) {
         return HcApi({
             url: '/api/blade-business/sieve/pore/classification/list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //筛孔分类新增或修改
-    async submitClassification(form, msg = true) {
+    async submitClassification(form) {
         return HcApi({
             url: '/api/blade-business/sieve/pore/classification/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //筛孔分类删除
-    async removeField(form, msg = true) {
+    async removeField(form) {
         return HcApi({
             url: '/api/blade-business/sieve/pore/classification/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //筛孔尺寸数据分页查询
-    async queryPage(form, msg = true) {
+    async queryPage(form) {
         return HcApi({
             url: '/api/blade-business/sieve/pore/data/page',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //筛孔尺寸数据新增或修改
-    async submitForm(form, msg = true) {
+    async submitForm(form) {
         return HcApi({
             url: '/api/blade-business/sieve/pore/data/submit',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //筛孔尺寸数据删除
-    async removeData(form, msg = true) {
+    async removeData(form) {
         return HcApi({
             url: '/api/blade-business/sieve/pore/data/remove',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
 }

+ 22 - 22
src/api/modules/user.js

@@ -2,7 +2,7 @@ import { HcApi } from '../request/index'
 import website from '~src/config/index'
 import md5 from 'js-md5'
 
-export const userLogin = ({ tenantId, deptId, roleId, username, password, type, key, code }, msg = true) => HcApi({
+export const userLogin = ({ tenantId, deptId, roleId, username, password, type, key, code }) => HcApi({
     url: '/api/blade-auth/oauth/token',
     method: 'post',
     headers: {
@@ -20,9 +20,9 @@ export const userLogin = ({ tenantId, deptId, roleId, username, password, type,
         scope: 'all',
         type,
     },
-}, msg)
+})
 
-export const refreshToken = (refresh_token, tenantId, deptId, roleId, msg = true) => HcApi({
+export const refreshToken = (refresh_token, tenantId, deptId, roleId) => HcApi({
     url: '/api/blade-auth/oauth/token',
     method: 'post',
     headers: {
@@ -36,14 +36,14 @@ export const refreshToken = (refresh_token, tenantId, deptId, roleId, msg = true
         grant_type: 'refresh_token',
         scope: 'all',
     },
-}, msg)
+})
 
-export const logout = (msg = true) => HcApi({
+export const logout = () => HcApi({
     url: '/api/blade-auth/oauth/logout',
     method: 'get',
-}, msg)
+})
 
-export const registerGuest = (form, oauthId, msg = true) => HcApi({
+export const registerGuest = (form, oauthId) => HcApi({
     url: '/api/blade-user/register-guest',
     method: 'post',
     params: {
@@ -53,45 +53,45 @@ export const registerGuest = (form, oauthId, msg = true) => HcApi({
         password: form.password,
         oauthId,
     },
-}, msg)
+})
 
-export const getProjectAndContract = (msg = true) => HcApi({
+export const getProjectAndContract = () => HcApi({
     url: '/api/blade-business/userViewProjectContract/queryUserViewProjectAndContract',
     method: 'get',
-}, msg)
+})
 
-export const getCaptcha = (msg = true) => HcApi({
+export const getCaptcha = () => HcApi({
     url: '/api/blade-auth/oauth/captcha',
     method: 'get',
-}, msg)
+})
 
-export const getUserInfo = (msg = true) => HcApi({
+export const getUserInfo = () => HcApi({
     url: '/api/blade-auth/oauth/user-info',
     method: 'get',
-}, msg)
+})
 
-export const sendLogs = (list, msg = true) => HcApi({
+export const sendLogs = (list) => HcApi({
     url: '/api/blade-auth/oauth/logout',
     method: 'post',
     data: list,
-}, msg)
+})
 
-export const clearCache = (msg = true) => HcApi({
+export const clearCache = () => HcApi({
     url: '/api/blade-auth/oauth/clear-cache',
     method: 'get',
-}, msg)
+})
 
-export const loginByToken = (form, msg = true) => HcApi({
+export const loginByToken = (form) => HcApi({
     url: '/api/blade-user/loginByToken',
     method: 'post',
     params: form,
-}, msg)
+})
 
 //获取租户ID
-export const getTenantID = (domain, msg = true) => HcApi({
+export const getTenantID = (domain) => HcApi({
     url: '/api/blade-system/tenant/info',
     method: 'get',
     params: {
         domain,
     },
-}, msg)
+})

+ 22 - 22
src/api/modules/userInfo/index.js

@@ -2,91 +2,91 @@ import { HcApi } from '../../request/index'
 
 export default {
     //修改密码
-    async updatePassword(form, msg = true) {
+    async updatePassword(form) {
         return HcApi({
             url: '/api/blade-user/update-password',
             method: 'post',
             params: form,
-        }, msg)
+        })
     },
     //设置默认项目
-    async setDefaultProject(form, msg = true) {
+    async setDefaultProject(form) {
         return HcApi({
             url: '/api/blade-business/defaultProject/save',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //获取默认项目
-    async getDefaultProject(form, msg = true) {
+    async getDefaultProject(form) {
         return HcApi({
             url: '/api/blade-business/defaultProject/queryUserDefault',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //更新用户信息
-    async updateUserInfo(form, msg = true) {
+    async updateUserInfo(form) {
         return HcApi({
             url: '/api/blade-user/update-info',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //获取操作日志
-    async getOperationLog(form, msg = true) {
+    async getOperationLog(form) {
         return HcApi({
             url: '/api/blade-business/operationLog/list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取业务模块
-    async queryBusinessModule(form, msg = true) {
+    async queryBusinessModule(form) {
         return HcApi({
             url: '/api/blade-business/operationLog/queryBusinessModule',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取操作页面
-    async queryOperationView(form, msg = true) {
+    async queryOperationView(form) {
         return HcApi({
             url: '/api/blade-business/operationLog/queryOperationView',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取操作类型
-    async queryOperationTypeList(form, msg = true) {
+    async queryOperationTypeList(form) {
         return HcApi({
             url: '/api/blade-business/operationLog/queryOperationTypeList',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //获取用户信息
-    async queryCurrentUserData(form, msg = true) {
+    async queryCurrentUserData(form) {
         return HcApi({
             url: '/api/blade-business/userViewProjectContract/queryCurrentUserData',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
     //回收站分页
-    async queryRecycleBinList(form, msg = true) {
+    async queryRecycleBinList(form) {
         return HcApi({
             url: '/api/blade-business/recycleBin/list',
             method: 'get',
             params: form,
-        }, msg)
+        })
     },
     //回收站恢复
-    async recycleBinRegain(form, msg = true) {
+    async recycleBinRegain(form) {
         return HcApi({
             url: '/api/blade-business/recycleBin/regain',
             method: 'post',
             data: form,
-        }, msg)
+        })
     },
 }

+ 4 - 3
src/api/request/index.js

@@ -16,19 +16,20 @@ export const HcApi = async (obj, msg) => {
         obj.headers['Tenant-Id'] = obj.headers['Tenant-Id'] ?? store.tenantId
         //发起请求
         httpApi(obj).then((response) => {
-            //console.log(response)
             resolve(response)
         }).catch((response) => {
-            getResData(response)
+            getResData(response, msg)
             resolve(response)
         })
     })
 }
 
 //处理数据
-const getResData = ({ code }) => {
+const getResData = ({ msg, code }, isMsg) => {
     if (code === 401) {
         window.$message?.error('身份失效,请重新登录!')
         router.push({ path: '/login-main' }).then()
+    } else if (isMsg) {
+        window.$message?.error(msg || '操作失败')
     }
 }