From d7d7661a339d7afbe1b1608d4e514cb7c60df3b8 Mon Sep 17 00:00:00 2001
From: WindowBird <13870814+windows-bird@user.noreply.gitee.com>
Date: Thu, 13 Nov 2025 17:18:37 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/index.js | 3 +
api/verify.js | 18 +++
components/index/Workbench.vue | 146 ++++++++++++++++++++
pages.json | 6 +
pages/index/index.vue | 10 +-
pages/verify/list/index.vue | 242 +++++++++++++++++++++++++++++++++
6 files changed, 424 insertions(+), 1 deletion(-)
create mode 100644 api/verify.js
create mode 100644 components/index/Workbench.vue
create mode 100644 pages/verify/list/index.vue
diff --git a/api/index.js b/api/index.js
index d466a93..aa61f9b 100644
--- a/api/index.js
+++ b/api/index.js
@@ -24,3 +24,6 @@ export * from './customer';
// 导入通用 API
export * from './common';
+
+// 导入审批相关 API
+export * from './verify';
\ No newline at end of file
diff --git a/api/verify.js b/api/verify.js
new file mode 100644
index 0000000..03df4b3
--- /dev/null
+++ b/api/verify.js
@@ -0,0 +1,18 @@
+// 审批相关 API
+export const getVerifyList = (params = {}) => {
+ return uni.$uv.http.get('/bst/verify/list', {
+ params: {
+ pageNum: 1,
+ pageSize: 20,
+ orderByColumn: 'createTime',
+ isAsc: 'descending',
+ bstType: 'UPDATE_TASK',
+ ...params
+ },
+ custom: {
+ auth: true
+ }
+ });
+};
+
+
diff --git a/components/index/Workbench.vue b/components/index/Workbench.vue
new file mode 100644
index 0000000..1763851
--- /dev/null
+++ b/components/index/Workbench.vue
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+
+
+ {{ item.icon }}
+
+ {{ item.text }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages.json b/pages.json
index 365678b..7e0b90f 100644
--- a/pages.json
+++ b/pages.json
@@ -15,6 +15,12 @@
}
},
+ {
+ "path": "pages/verify/list/index",
+ "style": {
+ "navigationBarTitleText": "审批管理"
+ }
+ },
{
"path": "pages/login/index",
"style": {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 83437c1..9dc64bb 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -14,6 +14,10 @@
+
+
+
+
@@ -32,6 +36,7 @@
+
@@ -69,6 +74,7 @@ import MessageContent from '@/components/index/MessageContent.vue';
import CustomerManagement from '@/components/customer/CustomerManagement.vue';
import My from '@/components/my/My.vue';
import RankingBoard from '@/components/index/RankingBoard.vue';
+import Workbench from '@/components/index/Workbench.vue';
// 顶部tabs选项
@@ -77,6 +83,7 @@ const topTabs = [
{ name: '内容看板', value: 1 },
{ name: '待办事项', value: 2 },
{ name: '消息内容', value: 3 }
+
];
// 默认显示内容看板
const topTabValue = ref(1);
@@ -150,10 +157,11 @@ const admin_bst=ref(false);
const rankingIndex = computed(() => 3);
const customerManagementIndex = computed(() => 4);
const myIndex = computed(() => 2);
+const workIndex = computed(() => 1);
// 判断是否显示顶部Tabs栏
const shouldShowTopTabs = computed(() => {
- if (value.value === customerManagementIndex.value || value.value === myIndex.value) {
+ if (value.value === customerManagementIndex.value || value.value === myIndex.value||value.value === workIndex.value) {
return false;
}
if (admin_bst.value && value.value === rankingIndex.value) {
diff --git a/pages/verify/list/index.vue b/pages/verify/list/index.vue
new file mode 100644
index 0000000..1cb03e7
--- /dev/null
+++ b/pages/verify/list/index.vue
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 截止时间:
+ {{ item.expireTime || '—' }}
+
+
+ 申请人:
+ {{ item.createName || '—' }}
+
+
+
+
+
+
+
+ 暂无数据
+
+
+ 加载中...
+
+
+
+
+
+
+
+
+
+