From b0232a13beedbafe3e9a02b0006718655f632826 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 07 五月 2024 18:30:46 +0800
Subject: [PATCH] 车间管理模块 修改操作的时候数据未刷新的问题修改
---
src/api/data.js | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/src/api/data.js b/src/api/data.js
index deb21f5..def6c5e 100644
--- a/src/api/data.js
+++ b/src/api/data.js
@@ -6,9 +6,23 @@
{ id: 4, value: "娲佸噣鍒�" },
{ id: 5, value: "鏈�澶у亸宸�" }
]
-
+const attendanceStatus = [
+ { id: 1, value: "姝e父" },
+ { id: 2, value: "鍔犵彮" },
+ { id: 3, value: "浼戝亣" },
+ { id: 4, value: "寮傚父" },
+]
+const silkSet=[
+ { id: 1, value: "閲庣氦" },
+ { id: 2, value: "澶ч噹" },
+ { id: 3, value: "鐗归噹" },
+]
export const getDataByType = (type) => {
if (type == "projectOptions") {
return projectOptions
+ }else if(type=='attendanceStatus'){
+ return attendanceStatus
+ }else if(type=='silkSet'){
+ return silkSet;
}
}
--
Gitblit v1.8.0