From 01ee694a3bb8048372fc793a8de314d70b688b35 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期日, 18 十月 2026 22:36:21 +0800
Subject: [PATCH] 修改了工位
---
src/api/ecg/checktype/index.ts | 35 +++++++++++++++++++++++------------
1 files changed, 23 insertions(+), 12 deletions(-)
diff --git a/src/api/ecg/checktype/index.ts b/src/api/ecg/checktype/index.ts
index c18cf57..3a0ce66 100644
--- a/src/api/ecg/checktype/index.ts
+++ b/src/api/ecg/checktype/index.ts
@@ -1,10 +1,10 @@
import request from '@/config/axios'
-// 妫�鏌ョ被鍨� VO
+// 妫�鏌ラ」鐩� VO
export interface CheckTypeVO {
id: number // id
- name: string // 妫�鏌ョ被鍨嬪悕
- value: number // 妫�鏌ョ被鍨嬪��
+ name: string // 妫�鏌ラ」鐩悕绉�
+ value: number // 妫�鏌ラ」鐩��
readyNum: number // 鍏佽鍑嗗涓汉鏁�
needDevReady: number // 闇�瑕佽澶囬鐢�
callingColumn: number // 鍙彿鍒�
@@ -12,44 +12,55 @@
expenseRecognition: number // 鏄惁闇�瑕佺‘璐�
timeslotBookNum: number // 鏃舵棰勭害瑙勫畾浜烘暟
timeslotReservedNum: number // 姣忔椂娈甸鐣欎汉鏁�
- affinityCheckTypes: number[] | null// 浜插拰鐨勬鏌ョ被鍨�
+ affinityCheckTypes: number[] | null// 浜插拰鐨勬鏌ラ」鐩�
notes: string // 棰勭害娉ㄦ剰浜嬮」
+ seqPrefix: string // 搴忓彿鍓嶇紑
+ /**
+ * 鎺掗槦搴忓彿瑙勫垯锛�
+ * 0=棰勭害鍙凤紙鐢ㄩ绾︾郴缁熺殑鍙凤紝涓嶅啀鍒嗛厤锛�
+ * 1=绛惧埌搴忓彿锛堝綋澶╁悓妫�鏌ラ」鐩繛缁�掑锛屾瘡 9 涓鐣� 1 涓粰鍔犳�ワ級
+ * 2=鏃舵鍙凤紙鎸夐绾︽椂闂存缁欏彿锛�
+ * 鏈厤缃�(null/undefined) 鏃跺悗绔寜 2 澶勭悊锛屼笌鏀归�犲墠琛屼负涓�鑷淬��
+ */
+ seqRule: number | null
+ /** 鎺掑簭搴忓彿锛氳秺灏忚秺闈犲墠锛堟鏌ラ」鐩湪鍒楄〃涓殑鏄剧ず椤哄簭锛屽彲鍦ㄧ嚎缂栬緫锛� */
+ sort?: number
}
-// 妫�鏌ョ被鍨� API
+// 妫�鏌ラ」鐩� API
export const CheckTypeApi = {
- // 鏌ヨ妫�鏌ョ被鍨�.绠�鍗曞垪琛�
+ // 鏌ヨ妫�鏌ラ」鐩�.绠�鍗曞垪琛�
getSimpleCheckTypeList: async () => {
return await request.get({ url: `/ecg/check-type/list-simple-check-type` })
},
- // 鏌ヨ妫�鏌ョ被鍨嬪垎椤�
+ // 鏌ヨ妫�鏌ラ」鐩垎椤�
getCheckTypePage: async (params: any) => {
return await request.get({ url: `/ecg/check-type/page`, params })
},
- // 鏌ヨ妫�鏌ョ被鍨嬭鎯�
+ // 鏌ヨ妫�鏌ラ」鐩鎯�
getCheckType: async (id: number) => {
return await request.get({ url: `/ecg/check-type/get?id=` + id })
},
- // 鏂板妫�鏌ョ被鍨�
+ // 鏂板妫�鏌ラ」鐩�
createCheckType: async (data: CheckTypeVO) => {
return await request.post({ url: `/ecg/check-type/create`, data })
},
- // 淇敼妫�鏌ョ被鍨�
+ // 淇敼妫�鏌ラ」鐩�
updateCheckType: async (data: CheckTypeVO) => {
return await request.put({ url: `/ecg/check-type/update`, data })
},
- // 鍒犻櫎妫�鏌ョ被鍨�
+ // 鍒犻櫎妫�鏌ラ」鐩�
deleteCheckType: async (id: number) => {
return await request.delete({ url: `/ecg/check-type/delete?id=` + id })
},
- // 瀵煎嚭妫�鏌ョ被鍨� Excel
+ // 瀵煎嚭妫�鏌ラ」鐩� Excel
exportCheckType: async (params) => {
return await request.download({ url: `/ecg/check-type/export-excel`, params })
}
--
Gitblit v1.9.3