From c284cfd4090a9c4ef221d3892aee163cf4bcd6fc Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期一, 16 十月 2023 20:39:13 +0800 Subject: [PATCH] feat: 为销售机会创建跟进记录时,影藏客户状态,销售线索 --- src/api/sales/generatePlan.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/api/sales/generatePlan.js b/src/api/sales/generatePlan.js index cf4fbbc..9a262da 100644 --- a/src/api/sales/generatePlan.js +++ b/src/api/sales/generatePlan.js @@ -1,10 +1,11 @@ import request from "@/common/untils/request.js" // 鐢熸垚璁″垝鍒楄〃 -export function getPlanList() { +export function getPlanList(data) { return request({ url: "/api/plan/list", - method: "get" + method: "post", + data }) } // 娣诲姞鐢熸垚璁″垝 @@ -18,8 +19,9 @@ // 鍒犻櫎鐢熸垚璁″垝 export function getDelPlan(data) { return request({ - url: "/api/plan/delete/" + data.id, - method: "delete" + url: "/api/plan/delete", + method: "delete", + data }) } // 鏇存柊鐢熸垚璁″垝 -- Gitblit v1.8.0