From c5d68d050a5fb84f2e60a34409809fb0b08466c5 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 28 二月 2024 15:22:13 +0800 Subject: [PATCH] 跟进记录模块 如果客户名称有值查询对应的销售机会列表,如果没有查询所有销售机会的逻辑 --- src/api/common/standard.js | 31 +++++++++++++++++-------------- 1 files changed, 17 insertions(+), 14 deletions(-) diff --git a/src/api/common/standard.js b/src/api/common/standard.js index 2dc9003..5e264bf 100644 --- a/src/api/common/standard.js +++ b/src/api/common/standard.js @@ -1,22 +1,25 @@ -// import request from "@/common/untils/request.js" import axios from "axios" -import request from "@/common/untils/request"; -//缂栫爜瑙勮寖鍒楄〃 -// export function getCodeStandardList (data) { -// return request({ -// url: "/api/code/getCodeList", -// method: "post", -// data, -// }); -// } +import request from "@/common/untils/request.js" export function getCodeStandardList(data) { - // return axios.get(`/api/code/getCodeList`, { - // params: data - // }) - return request({ url: "/api/code/getCodeList", method: "get", params: data }) } +// 鑾峰彇鑷姩缂栫爜 +export function getAutoCode(data) { + return request({ + url: "/api/code/getAutoCode", + method: "post", + data + }) +} +// 鑾峰彇绯荤粺鍙傛暟鐨勯厤缃� +export function useSystemSet(data) { + return request({ + url: "/api/system/useSystemSet/"+data.modeType, + method: "get", + data + }) +} -- Gitblit v1.8.0