From 92f2177d06cc67b2055bac0331a85780a086df0b Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期日, 20 九月 2026 19:51:47 +0800
Subject: [PATCH] feat(order): 优化订单管理功能并增加设备绑定支持 - 修改生产日期字段支持清除和显示默认值 - 在标准库中增加设备绑定功能,支持模板与设备关联 - 新增价格字段用于检验项目定价管理 - 增强模板绑定界面,支持多选和设备分配操作
---
src/api/system/dict/type.js | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/api/system/dict/type.js b/src/api/system/dict/type.js
index 481d76e..a0254ba 100644
--- a/src/api/system/dict/type.js
+++ b/src/api/system/dict/type.js
@@ -3,7 +3,7 @@
// 鏌ヨ瀛楀吀绫诲瀷鍒楄〃
export function listType(query) {
return request({
- url: '/enum/selectEnumList',
+ url: '/system/dict/type/list',
method: 'get',
params: query
})
@@ -20,7 +20,7 @@
// 鏂板瀛楀吀绫诲瀷
export function addType(data) {
return request({
- url: '/enum/addEnum',
+ url: '/system/dict/type',
method: 'post',
data: data
})
@@ -29,18 +29,17 @@
// 淇敼瀛楀吀绫诲瀷
export function updateType(data) {
return request({
- url: '/enum/upEnum',
- method: 'post',
+ url: '/system/dict/type',
+ method: 'put',
data: data
})
}
// 鍒犻櫎瀛楀吀绫诲瀷
-export function delType(data) {
+export function delType(dictId) {
return request({
- url: '/enum/delEnum',
- method: 'post',
- data: data
+ url: '/system/dict/type/' + dictId,
+ method: 'delete'
})
}
--
Gitblit v1.9.3