+
{{ text }}
@@ -39,32 +25,20 @@
-
-
![]()
+
-
-
@@ -73,16 +47,11 @@
{{ item.percent }}%
-
+
{{ STATUS_ENUM.getDesc(item.status) }}
-
+
取消上传
@@ -92,11 +61,7 @@
-
customRequest(file)" />
@@ -434,6 +399,7 @@ function trigger() {
// 圆角
&--round {
+
.x-upload-btn,
.x-upload-item {
border-radius: 10em;
diff --git a/src/hooks/index.js b/src/hooks/index.js
index 2eeeb6b..b8900ea 100644
--- a/src/hooks/index.js
+++ b/src/hooks/index.js
@@ -4,3 +4,4 @@ export { default as useMenu } from './useMenu'
export { default as useModal } from './useModal'
export { default as useMultiTab } from './useMultiTab'
export { default as usePagination } from './usePagination'
+export { default as useSpining } from './useSpining'
diff --git a/src/hooks/useSpining.js b/src/hooks/useSpining.js
new file mode 100644
index 0000000..e9ba6a2
--- /dev/null
+++ b/src/hooks/useSpining.js
@@ -0,0 +1,19 @@
+
+import { ref } from 'vue'
+export default () => {
+ const spining = ref(false) // 直接使用基本类型ref
+
+ const showSpining = () => {
+ spining.value = true
+ }
+
+ const hideSpining = () => {
+ spining.value = false
+ }
+
+ return {
+ spining, // 直接暴露ref
+ showSpining,
+ hideSpining
+ }
+}
diff --git a/src/views/regional/projectList/components/Department.vue b/src/views/regional/projectList/components/Department.vue
deleted file mode 100644
index efaefad..0000000
--- a/src/views/regional/projectList/components/Department.vue
+++ /dev/null
@@ -1,169 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ title }}
-
-
-
-
-
-
-
-
- 添加子部门
-
-
- 编辑
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
- 新建部门
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/regional/projectList/components/EditDepartmentDialog.vue b/src/views/regional/projectList/components/EditDepartmentDialog.vue
deleted file mode 100644
index e5a271f..0000000
--- a/src/views/regional/projectList/components/EditDepartmentDialog.vue
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/regional/projectList/components/EditDialog.vue b/src/views/regional/projectList/components/EditDialog.vue
index 3f3aa09..c74df84 100644
--- a/src/views/regional/projectList/components/EditDialog.vue
+++ b/src/views/regional/projectList/components/EditDialog.vue
@@ -1,154 +1,85 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/yarn.lock b/yarn.lock
index 46fe2a6..f517404 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -215,10 +215,10 @@
resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz"
integrity sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==
-"@esbuild/darwin-arm64@0.18.20":
+"@esbuild/win32-x64@0.18.20":
version "0.18.20"
- resolved "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz"
- integrity sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==
+ resolved "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz"
+ integrity sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==
"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0":
version "4.4.0"
@@ -1323,11 +1323,6 @@ fs.realpath@^1.0.0:
resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
-fsevents@~2.3.2:
- version "2.3.2"
- resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz"
- integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
-
get-caller-file@^2.0.1, get-caller-file@^2.0.5:
version "2.0.5"
resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz"