From 5cf7d1f0b8d692f02130cb3c0ab2c114da28fa51 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期四, 28 九月 2023 11:21:16 +0800 Subject: [PATCH] feat: 销售总单页列表配置列显隐控制; 修复列表组件行合并未判空的问题 --- src/api/common/other.js | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/api/common/other.js b/src/api/common/other.js index 237b1b0..a909ab6 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() { @@ -47,3 +48,25 @@ method: "get" }) } +// 鑾峰彇浜у搧鍒楄〃 +export const getProductList = async (data) => { + return await axios.get(`/api/product/list`, { + params: data + }) +} + +// 鑾峰彇甯歌闂鍒楄〃 +export const getFaqList = async (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