From 789a2ddb815dbcac398928b32a048a490a5b414d Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 21 十二月 2023 19:00:17 +0800 Subject: [PATCH] 收款计划的收款计划负责人默认选中登录人的逻辑,之前是name修改为id,切初始的时候循环添加到列表中 --- src/api/common/standard.js | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/api/common/standard.js b/src/api/common/standard.js index f46e844..516fd3c 100644 --- a/src/api/common/standard.js +++ b/src/api/common/standard.js @@ -1,15 +1,18 @@ -// import request from "@/common/untils/request.js" import axios from "axios" -//缂栫爜瑙勮寖鍒楄〃 -// 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`, { + return request({ + url: "/api/code/getCodeList", + method: "get", params: data }) } +// 鑾峰彇鑷姩缂栫爜 +export function getAutoCode(data) { + return request({ + url: "/api/code/getAutoCode", + method: "post", + IsHeader:true, + data + }) +} -- Gitblit v1.8.0