From e44f6e409b45d632eb3adcb82d082e363350ace4 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 08 一月 2024 16:58:25 +0800 Subject: [PATCH] 写公共的判断比较2个日期的方法 --- src/api/common/standard.js | 20 ++++++++------------ 1 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/api/common/standard.js b/src/api/common/standard.js index 57f78df..5e264bf 100644 --- a/src/api/common/standard.js +++ b/src/api/common/standard.js @@ -1,18 +1,6 @@ import axios from "axios" import request from "@/common/untils/request.js" -//缂栫爜瑙勮寖鍒楄〃 -// export function getCodeStandardList (data) { -// return request({ -// url: "/api/code/getCodeList", -// method: "post", -// data, -// }); -// } export function getCodeStandardList(data) { - // return axios.get(`/api/code/getCodeList`, { - // params: data - // }) - return request({ url: "/api/code/getCodeList", method: "get", @@ -27,3 +15,11 @@ data }) } +// 鑾峰彇绯荤粺鍙傛暟鐨勯厤缃� +export function useSystemSet(data) { + return request({ + url: "/api/system/useSystemSet/"+data.modeType, + method: "get", + data + }) +} -- Gitblit v1.8.0