瀏覽代碼

正式客户共享-原销售接口更换

cxmo 1 年之前
父節點
當前提交
fb2761a0e4
共有 2 個文件被更改,包括 10 次插入1 次删除
  1. 4 0
      src/api/modules/crmApi.js
  2. 6 1
      src/views/custom_manage/customList/customShareList.vue

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

@@ -129,6 +129,10 @@ const customInterence = {
     // return http.get('/custom/seller/check/list',params)
     // return http.get('/custom/seller/check/list',params)
     return http.get("/custom/seller/check/listV2", params);
     return http.get("/custom/seller/check/listV2", params);
   },
   },
+  /* 获取正式客户共享-原销售列表 */
+  getShareSale:(params)=>{
+    return http.get("/custom/seller/check/Sharelist2",params)
+  },
   /* 客户详情
   /* 客户详情
 		CompanyId 
 		CompanyId 
 	*/
 	*/

+ 6 - 1
src/views/custom_manage/customList/customShareList.vue

@@ -1073,11 +1073,16 @@ export default {
 
 
 		/* 获取销售 */
 		/* 获取销售 */
 		getoriginalSale() {
 		getoriginalSale() {
-			let status=0;
+			/* let status=0;
 			customInterence.getSale({"Status":status}).then(res => {
 			customInterence.getSale({"Status":status}).then(res => {
 				if(res.Ret === 200) {
 				if(res.Ret === 200) {
 					this.originalSalesArr = res.Data.List||[];
 					this.originalSalesArr = res.Data.List||[];
 				}
 				}
+			}) */
+			customInterence.getShareSale().then(res=>{
+				if(res.Ret === 200){
+					this.originalSalesArr = res.Data.List||[]
+				}
 			})
 			})
 		},
 		},
 	},
 	},