From cd4005903ff14e666ea48a8bc025b7f02beaec38 Mon Sep 17 00:00:00 2001
From: suyanyan <1321717064@qq.com>
Date: Fri, 19 Jul 2024 18:02:12 +0800
Subject: [PATCH] `
---
.../Selectors/OrgSelector/index.vue | 2 +-
.../src/routers/modules/staticRouter.ts | 4 +-
.../roolcall/components/form/index.vue | 59 ++----
.../src/views/attendance/roolcall/detail.vue | 200 +++++++++++-------
.../src/views/attendance/roolcall/index.vue | 33 +--
5 files changed, 162 insertions(+), 136 deletions(-)
diff --git a/SafeCampus.WEB/src/components/Selectors/OrgSelector/index.vue b/SafeCampus.WEB/src/components/Selectors/OrgSelector/index.vue
index be7e850..6ea1b03 100644
--- a/SafeCampus.WEB/src/components/Selectors/OrgSelector/index.vue
+++ b/SafeCampus.WEB/src/components/Selectors/OrgSelector/index.vue
@@ -82,7 +82,7 @@ function getOrgTree() {
function changeOrg(value: number | string) {
valueOrg.value = value; //更新当前选中的组织名称
emit("update:orgValue", value); //更新父组件数据
- emit("change", treeRef.value.getCurrentNode().path); //触发change事件
+ emit("change", treeRef.value.getCurrentNode().path, treeRef.value.getCurrentNode()); //触发change事件
}
diff --git a/SafeCampus.WEB/src/routers/modules/staticRouter.ts b/SafeCampus.WEB/src/routers/modules/staticRouter.ts
index 7bc653b..7c2f2e1 100644
--- a/SafeCampus.WEB/src/routers/modules/staticRouter.ts
+++ b/SafeCampus.WEB/src/routers/modules/staticRouter.ts
@@ -40,9 +40,9 @@ export const staticRouter: RouteRecordRaw[] = [
children: [
{
meta: {
- title: "任务人员列表"
+ title: "学生点名详情"
},
- name: "任务人员列表",
+ name: "学生点名详情",
path: "/roolcall/detail",
component: () => import("@/views/attendance/roolcall/detail.vue")
}
diff --git a/SafeCampus.WEB/src/views/attendance/roolcall/components/form/index.vue b/SafeCampus.WEB/src/views/attendance/roolcall/components/form/index.vue
index 151e639..7d104d7 100644
--- a/SafeCampus.WEB/src/views/attendance/roolcall/components/form/index.vue
+++ b/SafeCampus.WEB/src/views/attendance/roolcall/components/form/index.vue
@@ -19,12 +19,16 @@