From 7a1ec737d1a88bf46c07498d24be973d177d07ba Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Fri, 15 Sep 2023 19:54:26 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86=E5=BE=85=E5=AE=A1?=
=?UTF-8?q?=E6=89=B9=E5=88=97=E8=A1=A8=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/examined.ts | 9 +-
src/views/examined/index_list.vue | 106 +++++++++++++-----
...xamined_popup.vue => index_list_popup.vue} | 95 +++++++++-------
3 files changed, 140 insertions(+), 70 deletions(-)
rename src/views/examined/{examined_popup.vue => index_list_popup.vue} (70%)
diff --git a/src/api/examined.ts b/src/api/examined.ts
index 1c0494b..9809f01 100644
--- a/src/api/examined.ts
+++ b/src/api/examined.ts
@@ -30,7 +30,12 @@ export function apiFlowDetil(params: any) {
}
// 任务
-// 任务审批(待审批列表)
+// 任务审批列表(待审批列表)
export function apiApproveList(params: any) {
return request.get({ url: "/approve.approve/lists", params });
-}
\ No newline at end of file
+}
+
+// 任务审批(待审批列表)
+export function apiApproveAudit(params: any) {
+ return request.get({ url: "/approve.approve/audit", params });
+}
diff --git a/src/views/examined/index_list.vue b/src/views/examined/index_list.vue
index c9fd244..dbd81c9 100644
--- a/src/views/examined/index_list.vue
+++ b/src/views/examined/index_list.vue
@@ -10,6 +10,21 @@
placeholder="请输入任务名称"
/>
+
+
+
+
+
查询
@@ -21,42 +36,67 @@
-
-
-
-
-
+
-
-
-
-
-
+
+
+
+
+
+
- 未通过
- 已通过
- 未审核
+ 未通过
+ 已通过
+ 待审核
+
+
审核
@@ -92,7 +132,7 @@ import { useDictData } from "@/hooks/useDictOptions";
import { apiApproveList } from "@/api/examined";
import { timeFormat } from "@/utils/util";
import feedback from "@/utils/feedback";
-import EditPopup from "./examined_popup.vue";
+import EditPopup from "./index_list_popup.vue";
const editRef = shallowRef>();
// 是否显示编辑框
@@ -101,18 +141,24 @@ const showEdit = ref(false);
// 查询条件
const queryParams = reactive({
name: "",
- check_type: "",
- type: "",
- flow_cate: "",
- department_ids: "",
- copy_uids: "",
- remark: "",
- flow_list: "",
- admin_id: "",
- status: "",
- delete_user_id: "",
+ check_status: "",
});
+const checkStatusList = ref([
+ {
+ id: 1,
+ name: "待审核",
+ },
+ {
+ id: 2,
+ name: "已通过",
+ },
+ {
+ id: 3,
+ name: "未通过",
+ },
+]);
+
// 选中数据
const selectData = ref([]);
diff --git a/src/views/examined/examined_popup.vue b/src/views/examined/index_list_popup.vue
similarity index 70%
rename from src/views/examined/examined_popup.vue
rename to src/views/examined/index_list_popup.vue
index 31a11b3..9632bcd 100644
--- a/src/views/examined/examined_popup.vue
+++ b/src/views/examined/index_list_popup.vue
@@ -23,38 +23,38 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
+
@@ -64,7 +64,7 @@
@@ -74,10 +74,10 @@
@@ -85,7 +85,7 @@
-
+
- 通过
- 驳回
+ 通过
+ 驳回
@@ -136,7 +136,7 @@