lilei 1 年間 前
コミット
dc4088ffab
2 ファイル変更9 行追加6 行削除
  1. 1 1
      src/api/dealerRelation.js
  2. 8 5
      src/api/subarea.js

+ 1 - 1
src/api/dealerRelation.js

@@ -70,7 +70,7 @@ export const updateRebate = (params) => {
     data: params,
     method: 'post',
     headers:{
-      'module': encodeURIComponent('关联下级')
+      'module': encodeURIComponent('编辑')
     }
   })
 }

+ 8 - 5
src/api/subarea.js

@@ -28,7 +28,7 @@ export const subareaSaveSubarea = (params) => {
     data: params,
     method: 'post',
     headers:{
-      'module': encodeURIComponent('保存区域信息')
+      'module': encodeURIComponent('编辑区域')
     }
   })
 }
@@ -39,7 +39,7 @@ export const subareaQuerySubareaArea = (params) => {
     data: params,
     method: 'post',
     headers:{
-      'module': encodeURIComponent('查询分区信息')
+      'module': encodeURIComponent('查询分区')
     }
   })
 }
@@ -50,7 +50,7 @@ export const subareaSaveSubareaArea = (params) => {
     data: params,
     method: 'post',
     headers:{
-      'module': encodeURIComponent('保存分区信息')
+      'module': encodeURIComponent('编辑分区')
     }
   })
 }
@@ -103,7 +103,7 @@ export const deleteBindDealer = (params) => {
     url: `/subareaAreaDealer/deleteBind/${params.sn}`,
     method: 'get',
     headers:{
-      'module': encodeURIComponent('删除')
+      'module': encodeURIComponent('删除经销商')
     }
   })
 }
@@ -112,6 +112,9 @@ export const queryPageAreaDealer = (params) => {
   return axios({
     url: `/subareaAreaDealer/queryPage/${params.pageNo}/${params.pageSize}`,
     data: params,
-    method: 'post'
+    method: 'post',
+    headers:{
+      'module': encodeURIComponent('查看经销商')
+    }
   })
 }