浏览代码

Merge branch 'develop_yh36' of jianguan-web/qpls-md-html into pre-release

李磊 1 年之前
父节点
当前提交
e5c3c10666

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1708939486038
+  "version": 1709017038339
 }

+ 64 - 16
src/api/allocLinkageOut.js

@@ -8,7 +8,10 @@ export const allocLinkageOutList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 // 导出
@@ -17,7 +20,10 @@ export const allocLinkageOutExport = (params) => {
     url: '/allocLinkageOut/detail/export',
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出')
+    }
   })
 }
 // 连锁调拨调出  统计
@@ -33,14 +39,20 @@ export const allocLinkageOutSave = (params) => {
   return axios({
     url: '/allocLinkageOut/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('新增')
+    }
   })
 }
 //  连锁调拨调出   提交
 export const allocLinkageOutSubmit = (params) => {
   return axios({
     url: `/allocLinkageOut/submit/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('提交')
+    }
   })
 }
 //  连锁调拨调出 详情 列表  分页
@@ -51,35 +63,50 @@ export const allocLinkageOutDetailList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('明细列表查询')
+    }
   })
 }
 //  连锁调拨调出 详情  根据sn查
 export const allocLinkageOutDetailSn = (params) => {
   return axios({
     url: `/allocLinkageOut/findBySn/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 //  连锁调拨调出  审核
 export const allocLinkageAudit = (params) => {
   return axios({
     url: `/allocLinkageOut/audit/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('审核')
+    }
   })
 }
 //  连锁调拨调出  出库
 export const allocLinkageOutStock = (params) => {
   return axios({
     url: `/allocLinkageOut/outStock/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('出库')
+    }
   })
 }
 //  连锁调拨调出  删除
 export const allocLinkageOutDel = (params) => {
   return axios({
     url: `/allocLinkageOut/delete/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 //  连锁调拨调出  详情  添加
@@ -87,21 +114,30 @@ export const allocLinkageOutDetailSave = (params) => {
   return axios({
     url: '/allocLinkageOut/detail/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('添加')
+    }
   })
 }
 //  连锁调拨调出  详情  删除
 export const allocLinkageOutDetailDel = (params) => {
   return axios({
     url: `/allocLinkageOut/detail/delete/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 //  连锁调拨调出  详情  清空列表
 export const allocLinkageOutDetailDelAll = (params) => {
   return axios({
     url: `/allocLinkageOut/detail/deleteAll/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('清空列表')
+    }
   })
 }
 //  连锁调拨调出  详情  合计
@@ -135,7 +171,10 @@ export const importProductExportError = (params) => {
     url: '/allocLinkageOut/importProduct/exportError',
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出错误项')
+    }
   })
 }
 
@@ -144,7 +183,10 @@ export const importProductInsertBatch = (params) => {
   return axios({
     url: '/allocLinkageOut/importProduct/insertBatch',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('导入产品')
+    }
   })
 }
 
@@ -153,7 +195,10 @@ export const getReportOutTenantList = (params) => {
   return axios({
     url: '/report/reportAllocLinkageOut/reportDealer',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('调往对象')
+    }
   })
 }
 
@@ -161,7 +206,10 @@ export const getReportOutTenantList = (params) => {
 export const allocLinkageOutDetailPrint = params => {
   const data = {
     url: `allocLinkageOut/print/${params.sn}/${params.type}/${params.showFlag}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent(params.type == 'INK' ? '喷墨打印':'针式打印')
+    }
   }
   // 喷墨打印
   if (params.type == 'INK') {

+ 36 - 9
src/api/allocLinkagePut.js

@@ -4,7 +4,10 @@ export const getReportPutTenantList = (params) => {
   return axios({
     url: '/report/reportAllocLinkagePut/reportDealer',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('调往对象列表查询')
+    }
   })
 }
 //  连锁调拨调入 列表  分页
@@ -15,7 +18,10 @@ export const allocLinkagePutList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -31,14 +37,20 @@ export const allocLinkagePutQueryCount = (params) => {
 export const allocLinkagePutAudit = (params) => {
   return axios({
     url: `/allocLinkagePut/audit/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('审核')
+    }
   })
 }
 //  连锁调拨调入  入库
 export const allocLinkagePutSubmit = (params) => {
   return axios({
     url: `/allocLinkagePut/submit/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('入库')
+    }
   })
 }
 //  连锁调拨调入 详情 合计
@@ -53,7 +65,10 @@ export const allocLinkagePutDetailCount = (params) => {
 export const allocLinkagePutDetailSn = (params) => {
   return axios({
     url: `/allocLinkagePut/findBySn/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 //  连锁调拨调入 详情 列表  分页
@@ -64,7 +79,10 @@ export const allocLinkagePutDetailList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('明细列表查询')
+    }
   })
 }
 //  连锁调拨调入 详情 编辑
@@ -73,14 +91,20 @@ export const allocLinkagePutDetailUpdate = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('编辑基本信息')
+    }
   })
 }
 // 连锁调拨调入 详情  打印
 export const allocLinkagePutDetailPrint = params => {
   const data = {
     url: `allocLinkagePut/print/${params.sn}/${params.type}/${params.showFlag}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent(params.type == 'INK' ? '喷墨打印':'针式打印')
+    }
   }
   // 喷墨打印
   if (params.type == 'INK') {
@@ -95,6 +119,9 @@ export const allocLinkagePutExport = (params) => {
     url: '/allocLinkagePut/detail/export',
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出')
+    }
   })
 }

+ 61 - 16
src/api/allocWarehouse.js

@@ -8,7 +8,10 @@ export const allocWarehouseList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 // 仓库调拨  统计
@@ -24,14 +27,20 @@ export const allocWarehouseAudit = params => {
   return axios({
     url: '/allocWarehouse/audit',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('审核')
+    }
   })
 }
 // 仓库调拨  删除
 export const allocWarehouseDel = params => {
   return axios({
     url: `/allocWarehouse/delete/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 // 修改仓位的接口
@@ -39,7 +48,10 @@ export const updatePutWhLocation = params => {
   return axios({
     url: '/allocWarehouse/detail/updatePutWhLocation',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('修改仓位')
+    }
   })
 }
 // 仓库调拨 详情  合计
@@ -58,7 +70,10 @@ export const allocWarehouseDetailList = params => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('明细列表查询')
+    }
   })
 }
 // 仓库调拨  详情  添加/编辑
@@ -66,7 +81,10 @@ export const allocWarehouseDetailSave = params => {
   return axios({
     url: '/allocWarehouse/detail/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.id?'修改':'添加')
+    }
   })
 }
 // 仓库调拨  详情  删除
@@ -74,7 +92,10 @@ export const allocWarehouseDetailDel = params => {
   return axios({
     url: '/allocWarehouse/detail/delete',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.productSn ? '删除' : '清空列表')
+    }
   })
 }
 // 仓库调拨  保存
@@ -82,7 +103,10 @@ export const allocWarehouseSave = params => {
   return axios({
     url: '/allocWarehouse/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('新增')
+    }
   })
 }
 // 选择产品
@@ -93,7 +117,10 @@ export const productQuery = params => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('可选产品列表查询')
+    }
   })
 }
 // 仓库调拨 详情
@@ -103,14 +130,20 @@ export const allocWarehouseDetail = params => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 //  仓库调拨 详情  根据sn查
 export const allocWarehouseDetailSn = (params) => {
   return axios({
     url: `/allocWarehouse/findBySn/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 // 仓库调拨 提交
@@ -118,7 +151,10 @@ export const allocWarehouseSubmit = params => {
   return axios({
     url: '/allocWarehouse/submit',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('提交')
+    }
   })
 }
 
@@ -127,7 +163,7 @@ export const importProduct = params => {
   return axios({
     url: '/allocWarehouse/importProduct',
     data: params,
-    method: 'post'
+    method: 'post',
   })
 }
 
@@ -137,7 +173,10 @@ export const importProductExportError = (params) => {
     url: '/allocWarehouse/importProduct/exportError',
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出错误项')
+    }
   })
 }
 
@@ -146,7 +185,10 @@ export const importProductInsertBatch = (params) => {
   return axios({
     url: '/allocWarehouse/importProduct/insertBatch',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('导入产品')
+    }
   })
 }
 
@@ -156,6 +198,9 @@ export const allocWarehouseExport = (params) => {
     url: '/allocWarehouse/detail/export',
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出')
+    }
   })
 }

+ 12 - 3
src/api/costType.js

@@ -5,7 +5,10 @@ export const costTypeAllQuery = (params) => {
   return axios({
     url: `/costType/query`,
     data: {},
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('费用类型列表查询')
+    }
   })
 }
 
@@ -14,7 +17,10 @@ export const costTypeSave = params => {
   return axios({
     url: '/costType/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(!params.id ? '新增' : '编辑')
+    }
   })
 }
 
@@ -23,6 +29,9 @@ export const costTypeDel = params => {
   return axios({
     url: `/costType/delete/${params.id}`,
     data: {},
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }

+ 20 - 5
src/api/custType.js

@@ -8,7 +8,10 @@ export const custTypeList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -17,7 +20,10 @@ export const custTypeAllList = (params) => {
   return axios({
     url: `/custType/queryList`,
     data: {},
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 //  客户类型列表  下拉
@@ -25,7 +31,10 @@ export const custTypeFindAllList = (params) => {
   return axios({
     url: `/custType/findAll`,
     data: {},
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -34,7 +43,10 @@ export const custTypeSave = params => {
   return axios({
     url: '/custType/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(!params.id ? '新增' : '编辑')
+    }
   })
 }
 
@@ -43,6 +55,9 @@ export const custTypeDel = params => {
   return axios({
     url: `/custType/delete/${params.id}`,
     data: {},
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }

+ 30 - 9
src/api/noticeUser.js

@@ -8,7 +8,10 @@ export const noticeUserList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 //  公告 详情
@@ -16,7 +19,10 @@ export const noticeUserDetail = (params) => {
   const url = `/notice/findById/${params.id}`
   return axios({
     url: url,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('公告详情')
+    }
   })
 }
 
@@ -24,29 +30,41 @@ export const noticeUserDetail = (params) => {
 export const getUnreadCount = params => {
   return axios({
     url: 'noticeUser/queryNotReadCount',
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('未读消息数量统计')
+    }
   })
 }
 // 设置已读消息
 export const hasRead = id => {
   return axios({
     url: `noticeUser/setRead/${id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('消息已读')
+    }
   })
 }
 // 设置全部已读
 export const setReadAllNotice = params => {
   return axios({
     url: `noticeUser/setReadAllNotice`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('全部已读')
+    }
   })
 }
- // 消息公共权限设置列表
+// 消息公共权限设置列表
 export const noticeUserBizQuery = (params) => {
   const url = `/noticeUserBiz/query`
   return axios({
     url: url,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 // 消息公共权限保存
@@ -55,6 +73,9 @@ export const noticeUserBizSave = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('保存')
+    }
   })
-}
+}

+ 28 - 7
src/api/power-user.js

@@ -5,7 +5,10 @@ export const resetPSD = params => {
   return axios({
     url: '/mduser/resetPwd',
     data: params,
-    method: 'POST'
+    method: 'POST',
+    headers: {
+      'module': encodeURIComponent('重置密码')
+    }
   })
 }
 
@@ -17,7 +20,10 @@ export const getPowerUserList = params => {
   return axios({
     url: url,
     data: params,
-    method: 'POST'
+    method: 'POST',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -27,7 +33,10 @@ export const getUserAllList = params => {
   return axios({
     url: url,
     data: params,
-    method: 'POST'
+    method: 'POST',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -36,7 +45,10 @@ export const updateEnableStatus = params => {
   return axios({
     url: `/mduser/enable/${params.id}/${params.flag}`,
     data: {},
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent(params.flag == 0 ? '禁用' : '启用')
+    }
   })
 }
 
@@ -45,7 +57,10 @@ export const delectUserPower = params => {
   return axios({
     url: `/mduser/delete/${params.id}`,
     data: {},
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 
@@ -54,7 +69,10 @@ export const saveUserPower = params => {
   return axios({
     url: '/mduser/save',
     data: params,
-    method: 'POST'
+    method: 'POST',
+    headers: {
+      'module': encodeURIComponent(!params.id ? '新增' : '编辑')
+    }
   })
 }
 
@@ -63,6 +81,9 @@ export const getRoleList = params => {
   return axios({
     url: '/mdrole/findAll',
     data: params,
-    method: 'POST'
+    method: 'POST',
+    headers: {
+      'module': encodeURIComponent('角色列表查询')
+    }
   })
 }

+ 28 - 7
src/api/powerRole-md.js

@@ -8,7 +8,10 @@ export const getPowerRoleList = params => {
   return axios({
     url: url,
     data: params,
-    method: 'POST'
+    method: 'POST',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -17,7 +20,10 @@ export const updateEnableStatus = params => {
   return axios({
     url: `/mdrole/enable/${params.id}/${params.flag}`,
     data: {},
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent(params.flag == 0 ? '禁用' : '启用')
+    }
   })
 }
 
@@ -26,7 +32,10 @@ export const delectRolePower = params => {
   return axios({
     url: `/mdrole/delete/${params.id}`,
     data: {},
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 
@@ -35,7 +44,10 @@ export const saveRolePower = params => {
   return axios({
     url: '/mdrole/save',
     data: params,
-    method: 'POST'
+    method: 'POST',
+    headers: {
+      'module': encodeURIComponent(!params.id ? '新增' : '编辑')
+    }
   })
 }
 
@@ -44,7 +56,10 @@ export const getMenuList = params => {
   const url = `/mdrole/findAllMenu/${params.id}`
   return axios({
     url: url,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -54,7 +69,10 @@ export const addMenuPower = params => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('权限分配')
+    }
   })
 }
 
@@ -63,6 +81,9 @@ export const getRoleList = params => {
   return axios({
     url: '/mdrole/findAll',
     data: params,
-    method: 'POST'
+    method: 'POST',
+    headers: {
+      'module': encodeURIComponent('角色列表查询')
+    }
   })
 }

+ 8 - 2
src/api/promoTerminal.js

@@ -8,7 +8,10 @@ export const promoTerminalList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -17,6 +20,9 @@ export const promoTerminalDetail = params => {
   return axios({
     url: `/promoTerminal/findBySn/${params.id}`,
     data: {},
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('促销展示详情')
+    }
   })
 }

+ 36 - 9
src/api/settle.js

@@ -8,7 +8,10 @@ export const settleUnitClientList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 //  单位收付款记录 列表 结算记录 分页
@@ -19,7 +22,10 @@ export const settleUnitList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 //  单位收付款 提交收付款
@@ -27,7 +33,10 @@ export const settleUnitSave = (params) => {
   return axios({
     url: '/settle/unit/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('提交')
+    }
   })
 }
 //  单位收付款记录  详情 列表 结算记录 分页
@@ -38,14 +47,20 @@ export const settleUnitDetailList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('明细列表')
+    }
   })
 }
 //  单位收付款记录  详情
 export const settleUnitDetail = (params) => {
   return axios({
     url: `/settle/unit/findById/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 //  单位收付款记录  合计
@@ -62,7 +77,10 @@ export const settleUnitPrint = params => {
   const data = {
     url: `/settle/unit/print/${params.type}`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.type == 'INK' ? '喷墨打印' : '针式打印')
+    }
   }
   // 喷墨打印
   if (params.type == 'INK') {
@@ -77,7 +95,10 @@ export const settleUnitExport = params => {
     url: `/settle/unit/excel`,
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出Excel')
+    }
   })
 }
 
@@ -87,7 +108,10 @@ export const settleInfoAllList = (params) => {
   return axios({
     url: '/settle/info/queryList',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('单据列表查询')
+    }
   })
 }
 //  单位收付款 列表 分页
@@ -98,7 +122,10 @@ export const settleInfoList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('明细列表查询')
+    }
   })
 }
 //  单位收付款  详情 合计

+ 36 - 9
src/api/settleAcount.js

@@ -4,14 +4,20 @@ import { axios } from '@/utils/request'
 export const updateAccountMangeState = params => {
   return axios({
     url: `/settleAccount/updateFunctionState/${params.enableFlag}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('启用禁用资金账户功能')
+    }
   })
 }
 // 查询结算账户功能状态
 export const queryAccountMangeState = params => {
   return axios({
     url: `/settleAccount/queryFunctionState`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('结算账户功能状态查询')
+    }
   })
 }
 // 分页查找结算账户列表
@@ -22,7 +28,10 @@ export const settleAccountList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -34,7 +43,10 @@ export const findSettleFlowPage = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('资金明细列表查询')
+    }
   })
 }
 
@@ -43,7 +55,10 @@ export const settleAccountSave = params => {
   return axios({
     url: '/settleAccount/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.id?'编辑':'新增')
+    }
   })
 }
 
@@ -51,27 +66,39 @@ export const settleAccountSave = params => {
 export const settleAccountDetail = params => {
   return axios({
     url: `/settleAccount/findBySn/${params.settleAccountSn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('结算账户信息')
+    }
   })
 }
 // 启禁用结算账户信息
 export const settleAccountEnable = params => {
   return axios({
     url: `/settleAccount/enable/${params.settleAccountSn}/${params.enableFlag}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent(params.enableFlag=='ENABLE' ? '启用' : '禁用')
+    }
   })
 }
 // 删除结算账户信息
 export const settleAccountDelete = params => {
   return axios({
     url: `/settleAccount/delete/${params.settleAccountSn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 // 审核结算账户信息
 export const settleAccountAudit = params => {
   return axios({
     url: `/settleAccount/audit/${params.settleAccountSn}/${params.auditState}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('审核')
+    }
   })
 }

+ 28 - 7
src/api/settleExpense.js

@@ -5,7 +5,10 @@ export const settleExpenseQuery = (params) => {
   return axios({
     url: `settle/expense/queryPage/${params.pageNo}/${params.pageSize}`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -14,7 +17,10 @@ export const settleExpenseQueryAll = (params) => {
   return axios({
     url: `settle/expense/queryList`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('费用单列表查询')
+    }
   })
 }
 
@@ -23,7 +29,10 @@ export const settleExpenseSave = (params) => {
   return axios({
     url: `settle/expense/save`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.id ? '编辑':'新建')
+    }
   })
 }
  
@@ -40,13 +49,19 @@ export const settleExpenseQuerySum = (params) => {
 export const findExpenseDetail = (params) => {
   return axios({
     url: `settle/expense/findById/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('费用详细信息')
+    }
   })
 }
 export const findExpenseDetailBySn = (params) => {
   return axios({
     url: `settle/expense/findBySn/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('费用详细信息')
+    }
   })
 }
 
@@ -54,7 +69,10 @@ export const findExpenseDetailBySn = (params) => {
 export const delExpense = (params) => {
   return axios({
     url: `settle/expense/delete/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 
@@ -62,6 +80,9 @@ export const delExpense = (params) => {
 export const auditExpense = (params) => {
   return axios({
     url: `settle/expense/audit/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('审核')
+    }
   })
 }

+ 24 - 6
src/api/settlePay.js

@@ -5,7 +5,10 @@ export const settlePayQuery = (params) => {
   return axios({
     url: `settle/pay/queryPage/${params.pageNo}/${params.pageSize}`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -14,7 +17,10 @@ export const settlePayQueryAll = (params) => {
   return axios({
     url: `settle/pay/queryList`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('财务收款列表查询')
+    }
   })
 }
 
@@ -23,7 +29,10 @@ export const settlePaySave = (params) => {
   return axios({
     url: `settle/pay/save`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('新建付款单')
+    }
   })
 }
 
@@ -50,7 +59,10 @@ export const settlePayMoney = (params) => {
   return axios({
     url: `settle/pay/payBatch`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.settleIds.length==1 ? '付款' : '批量付款')
+    }
   })
 }
 
@@ -58,7 +70,10 @@ export const settlePayMoney = (params) => {
 export const findPayDetail = (params) => {
   return axios({
     url: `settle/pay/findById/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('凭证')
+    }
   })
 }
 
@@ -66,6 +81,9 @@ export const findPayDetail = (params) => {
 export const delPay = (params) => {
   return axios({
     url: `settle/pay/delete/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }

+ 27 - 9
src/api/settleReceipt.js

@@ -5,7 +5,10 @@ export const settleReceiptQuery = (params) => {
   return axios({
     url: `settle/receipt/queryPage/${params.pageNo}/${params.pageSize}`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 
@@ -14,7 +17,10 @@ export const settleReceiptQueryAll = (params) => {
   return axios({
     url: `settle/receipt/queryList`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('财务收款列表查询')
+    }
   })
 }
 
@@ -23,7 +29,10 @@ export const settleReceiptSave = (params) => {
   return axios({
     url: `settle/receipt/save`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('新建收款单')
+    }
   })
 }
 
@@ -45,27 +54,36 @@ export const queryByTypeSum = (params) => {
   })
 }
 
-// 
+// 
 export const settleReceiptMoney = (params) => {
   return axios({
     url: `settle/receipt/receiptBatch`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.settleIds.length==1 ? '收款' : '批量收款')
+    }
   })
 }
 
-// 款详情(凭证查询)
+// 款详情(凭证查询)
 export const findReceiptDetail = (params) => {
   return axios({
     url: `settle/receipt/findById/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('凭证')
+    }
   })
 }
 
-// 删除
+// 删除
 export const delReceipt = (params) => {
   return axios({
     url: `settle/receipt/delete/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }

+ 12 - 3
src/api/sparePartsPutType.js

@@ -8,7 +8,10 @@ export const sparePartsPutTypeList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 //  散件入库类型类型 列表  不分页
@@ -25,7 +28,10 @@ export const sparePartsPutTypeSave = params => {
   return axios({
     url: '/sparePartsPutType/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(!params.id ? '新增' : '编辑')
+    }
   })
 }
 
@@ -34,6 +40,9 @@ export const sparePartsPutTypeDel = params => {
   return axios({
     url: `/sparePartsPutType/delete/${params.id}`,
     data: {},
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }

+ 56 - 14
src/api/storeCallOut.js

@@ -8,7 +8,10 @@ export const storeCallOutList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 // 店内调出  统计
@@ -24,7 +27,10 @@ export const storeCallOutSave = (params) => {
   return axios({
     url: '/storeCallOut/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('新增')
+    }
   })
 }
 //  店内调出 审核
@@ -32,7 +38,10 @@ export const storeCallOutAudit = (params) => {
   return axios({
     url: '/storeCallOut/audit',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('审核')
+    }
   })
 }
 //  店内调出 出库
@@ -40,28 +49,40 @@ export const storeCallOutOut = (params) => {
   return axios({
     url: '/storeCallOut/out',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('出库')
+    }
   })
 }
 //  店内调出 删除
 export const storeCallOutDel = (params) => {
   return axios({
     url: `/storeCallOut/delete/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 //  店内调出 详情
 export const storeCallOutDetail = (params) => {
   return axios({
     url: `/storeCallOut/findById/${params.id}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 //  店内调出 详情  根据sn查
 export const storeCallOutDetailSn = (params) => {
   return axios({
     url: `/storeCallOut/findBySn/${params.sn}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('详情信息')
+    }
   })
 }
 //  店内调出  提交
@@ -69,7 +90,10 @@ export const storeCallOutSubmit = (params) => {
   return axios({
     url: '/storeCallOut/submit',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('提交')
+    }
   })
 }
 //  店内调出详情 列表  分页
@@ -80,7 +104,10 @@ export const storeCallOutDetailList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('明细列表查询')
+    }
   })
 }
 //  店内调出详情 合计
@@ -96,7 +123,10 @@ export const storeCallOutDetailSave = (params) => {
   return axios({
     url: '/storeCallOut/detail/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(params.id?'修改调出数量':'添加')
+    }
   })
 }
 //  店内调出详情 删除
@@ -104,14 +134,20 @@ export const storeCallOutDetailDel = (params) => {
   return axios({
     url: '/storeCallOut/detail/delete',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }
 // 店内调出 详情  打印
 export const storeCallOutDetailPrint = params => {
   const data = {
     url: `storeCallOut/print/${params.sn}/${params.type}/${params.costFlag}`,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent(params.type == 'INK' ? '喷墨打印':'针式打印')
+    }
   }
   // 喷墨打印
   if (params.type == 'INK') {
@@ -132,7 +168,10 @@ export const storeCallOutDetailBatchSave = (params) => {
   return axios({
     url: '/storeCallOut/detail/saveBatch',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('导入产品')
+    }
   })
 }
 // 导出错误项
@@ -141,6 +180,9 @@ export const storeCallOutDetailImportError = (params) => {
     url: '/storeCallOut/detail/exportImportError',
     data: params,
     method: 'post',
-    responseType: 'blob'
+    responseType: 'blob',
+    headers: {
+      'module': encodeURIComponent('导出错误项')
+    }
   })
 }

+ 12 - 3
src/api/storeCallOutType.js

@@ -8,7 +8,10 @@ export const storeCallOutTypeList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 //  店内调出类型 列表  不分页
@@ -25,7 +28,10 @@ export const storeCallOutTypeSave = params => {
   return axios({
     url: '/storeCallOutType/save',
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent(!params.id ? '新增' : '编辑')
+    }
   })
 }
 
@@ -34,6 +40,9 @@ export const storeCallOutTypeDel = params => {
   return axios({
     url: `/storeCallOutType/delete/${params.id}`,
     data: {},
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }

+ 12 - 3
src/api/supplier.js

@@ -8,7 +8,10 @@ export const supplierList = (params) => {
   return axios({
     url: url,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('列表查询')
+    }
   })
 }
 //  供应商 列表  无分页
@@ -24,7 +27,10 @@ export const supplierDetail = (params) => {
   return axios({
     url: `/supplier/findById/${params.id}`,
     data: params,
-    method: 'get'
+    method: 'get',
+    headers: {
+      'module': encodeURIComponent('供应商详细信息')
+    }
   })
 }
 //  供应商 保存
@@ -43,6 +49,9 @@ export const supplierDel = (params) => {
   return axios({
     url: `/supplier/delete/${params.id}`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers: {
+      'module': encodeURIComponent('删除')
+    }
   })
 }

+ 4 - 2
src/views/allocationManagement/storeTransferOut/list.vue

@@ -63,7 +63,7 @@
                 </a-form-item>
               </a-col>
             </template>
-            <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
+            <a-col :md="24" :sm="24" style="margin-bottom: 10px;text-align: center;">
               <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="storeTransferOutList-refresh">查询</a-button>
               <a-button style="margin-left: 8px" @click="resetSearchForm" :disabled="disabled" id="storeTransferOutList-reset">重置</a-button>
               <a @click="advanced=!advanced" style="margin-left: 8px">
@@ -298,7 +298,9 @@ export default {
       this.$refs.outWareRangeDate.resetDate('')
       this.queryParam.outWarehouseBeginDate = ''
       this.queryParam.outWarehouseEndDate = ''
-      this.$refs.custList.resetForm()
+      if(this.advanced){
+        this.$refs.custList.resetForm()
+      }
       this.queryParam.customerSnCurrent = undefined
       this.queryParam.customerNameCurrent = undefined
       this.queryParam.storeCallOutNo = undefined