From 4950cc39e5f70dc4af6f23d82180f0e880a2edab Mon Sep 17 00:00:00 2001
From: wxc <191104855@qq.com>
Date: Tue, 6 Feb 2024 18:45:59 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E3=80=81=E7=AD=BE=E6=94=B6?=
=?UTF-8?q?=E6=B5=81=E7=A8=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/home.ts | 5 ++
src/api/perms/admin.ts | 8 +-
.../{ic_banjieshenpi.svg => approval.svg} | 0
..._lianxiqunzhong.svg => contact_writer.svg} | 0
.../{ic_shenqingyanqi.svg => extension.svg} | 0
...nzhongjiefang.svg => interview_writer.svg} | 0
.../icons/{ic_qianshou.svg => un_sign.svg} | 0
.../{ic_zhengzaibanli.svg => verify.svg} | 0
src/components/MailCategorySelect.vue | 5 +-
src/components/Upload.vue | 86 +++++++++++++++++++
src/layout/components/Header.vue | 2 +-
src/style/public.scss | 9 +-
src/utils/util.ts | 13 +++
src/views/home/components/Daily.vue | 43 +++++++---
src/views/home/components/Duty.vue | 83 +++++++++++++++---
src/views/home/components/MailTable.vue | 85 ++++++++++++++++--
src/views/home/components/Overall.vue | 14 ++-
src/views/work/Todo.vue | 34 +++++---
src/views/work/components/MailDialog.vue | 30 +++++--
.../templates/InterviewWriterFrom.vue | 17 +---
.../templates/MailApprovalDetail.vue | 48 ++++++-----
.../components/templates/MailTypeForm.vue | 22 +++--
.../work/components/templates/VerifyForm.vue | 18 ++--
23 files changed, 405 insertions(+), 117 deletions(-)
create mode 100644 src/api/home.ts
rename src/assets/icons/{ic_banjieshenpi.svg => approval.svg} (100%)
rename src/assets/icons/{ic_lianxiqunzhong.svg => contact_writer.svg} (100%)
rename src/assets/icons/{ic_shenqingyanqi.svg => extension.svg} (100%)
rename src/assets/icons/{ic_qunzhongjiefang.svg => interview_writer.svg} (100%)
rename src/assets/icons/{ic_qianshou.svg => un_sign.svg} (100%)
rename src/assets/icons/{ic_zhengzaibanli.svg => verify.svg} (100%)
create mode 100644 src/components/Upload.vue
diff --git a/src/api/home.ts b/src/api/home.ts
new file mode 100644
index 0000000..cc6836d
--- /dev/null
+++ b/src/api/home.ts
@@ -0,0 +1,5 @@
+import request from '@/utils/request'
+
+export function getMailOverall() {
+ return request.get({ url: '/home/mail/overall'})
+}
\ No newline at end of file
diff --git a/src/api/perms/admin.ts b/src/api/perms/admin.ts
index 3a47a93..456b9f8 100644
--- a/src/api/perms/admin.ts
+++ b/src/api/perms/admin.ts
@@ -37,8 +37,12 @@ export function adminStatus(params: any) {
return request.post({ url: '/system/admin/disable', params })
}
-
-// 管理员删除
+// 领导列表(正职)
export function getLeaderList() {
return request.get({ url: '/system/admin/leader/list'})
+}
+
+// 领导列表(副职)
+export function getDeputyList() {
+ return request.get({ url: '/system/admin/leader/list'})
}
\ No newline at end of file
diff --git a/src/assets/icons/ic_banjieshenpi.svg b/src/assets/icons/approval.svg
similarity index 100%
rename from src/assets/icons/ic_banjieshenpi.svg
rename to src/assets/icons/approval.svg
diff --git a/src/assets/icons/ic_lianxiqunzhong.svg b/src/assets/icons/contact_writer.svg
similarity index 100%
rename from src/assets/icons/ic_lianxiqunzhong.svg
rename to src/assets/icons/contact_writer.svg
diff --git a/src/assets/icons/ic_shenqingyanqi.svg b/src/assets/icons/extension.svg
similarity index 100%
rename from src/assets/icons/ic_shenqingyanqi.svg
rename to src/assets/icons/extension.svg
diff --git a/src/assets/icons/ic_qunzhongjiefang.svg b/src/assets/icons/interview_writer.svg
similarity index 100%
rename from src/assets/icons/ic_qunzhongjiefang.svg
rename to src/assets/icons/interview_writer.svg
diff --git a/src/assets/icons/ic_qianshou.svg b/src/assets/icons/un_sign.svg
similarity index 100%
rename from src/assets/icons/ic_qianshou.svg
rename to src/assets/icons/un_sign.svg
diff --git a/src/assets/icons/ic_zhengzaibanli.svg b/src/assets/icons/verify.svg
similarity index 100%
rename from src/assets/icons/ic_zhengzaibanli.svg
rename to src/assets/icons/verify.svg
diff --git a/src/components/MailCategorySelect.vue b/src/components/MailCategorySelect.vue
index 69b5a1d..483a17e 100644
--- a/src/components/MailCategorySelect.vue
+++ b/src/components/MailCategorySelect.vue
@@ -4,16 +4,18 @@
:data="mailStore.mailCategorys"
filterable
@current-change="handleCategoryChange"
+ placeholder="请选择信件分类"
/>
diff --git a/src/components/Upload.vue b/src/components/Upload.vue
new file mode 100644
index 0000000..c7ecf25
--- /dev/null
+++ b/src/components/Upload.vue
@@ -0,0 +1,86 @@
+
+
+
+