From 8feea28b1d7ca211f6dbbae1f0bf8474cfe1c077 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 26 四月 2024 15:16:36 +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