From 9702f6f4a371e5cb817f224fa13e51c12c936d21 Mon Sep 17 00:00:00 2001
From: 26947 <12@1>
Date: Sun, 9 Jun 2024 15:38:05 +0800
Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/common/file/fileUpload/index2.vue | 208 ++++++++++++++++++++++++
utils/dict.js | 13 ++
2 files changed, 221 insertions(+)
create mode 100644 pages/common/file/fileUpload/index2.vue
create mode 100644 utils/dict.js
diff --git a/pages/common/file/fileUpload/index2.vue b/pages/common/file/fileUpload/index2.vue
new file mode 100644
index 0000000..f01d7a9
--- /dev/null
+++ b/pages/common/file/fileUpload/index2.vue
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/utils/dict.js b/utils/dict.js
new file mode 100644
index 0000000..2b83811
--- /dev/null
+++ b/utils/dict.js
@@ -0,0 +1,13 @@
+
+import { ref } from 'vue'
+
+import store from '@/store'
+import { getDicts } from "@/api/system/dict/data"
+const sex_dict = ref([])
+
+export const getDictLabelByValue = (dictInfo, state) => {
+ return getDicts(dictInfo).then(e => {
+ const dict = e.data.find((dict) => dict.dictValue === state);
+ return dict ? dict : '未知状态';
+ });
+ };
\ No newline at end of file