From 22f9e1efd4c77a2c665d2e3e2c84c25e6ae775d4 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 21 十二月 2023 17:07:01 +0800 Subject: [PATCH] 销售明细单 销售机会,销售报价单根据接口获取的配置判断是否必填的功能+按钮禁止点击的样式修改 --- src/api/common/other.js | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/src/api/common/other.js b/src/api/common/other.js index 2ef9c72..475a982 100644 --- a/src/api/common/other.js +++ b/src/api/common/other.js @@ -1,4 +1,5 @@ import request from "@/common/untils/request.js" +import axios from "axios" // 鑾峰彇鏁呴殰绫诲埆 export function getFaultTypeList() { @@ -39,3 +40,45 @@ method: "get" }) } + +// 鑾峰彇鏈嶅姟鍚堝悓绫诲瀷 +export function getServiceContractTypeList() { + return request({ + url: "/api/serviceContractType/list", + method: "get" + }) +} +// 鑾峰彇浜у搧鍒楄〃 +export const getProductList = async (data) => { + return await request({ + url: "/api/product/list", + method: "get", + params: data + }) + + // return await axios.get(`/api/product/list`, { + // params: data + // }) +} + +// 鑾峰彇甯歌闂鍒楄〃 +export const getFaqList = async (data) => { + return await request({ + url: "/api/faq/list", + method: "get", + params: data + }) + + // return await axios.get(`/api/faq/list`, { + // params: data + // }) +} + +// 鍒嗛厤 +export function getAssign(data) { + return request({ + url: "/api/assign/assign", + method: "post", + data + }) +} -- Gitblit v1.8.0