From c57eac8da67bf0761e1a08dc25ec59fe5f650adb Mon Sep 17 00:00:00 2001 From: zhangsir Date: Wed, 15 May 2024 09:40:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/gratefulteacher/CommonTeacher.vue | 5 +- .../InstructorCertification.vue | 21 ++-- .../gratefulteacher/LecturerManagement.vue | 52 ++++---- src/views/gratefulteacher/tablemodel.vue | 115 ++++++++++++------ src/views/gratefulteacher/teaAdd.vue | 2 +- 5 files changed, 123 insertions(+), 72 deletions(-) diff --git a/src/views/gratefulteacher/CommonTeacher.vue b/src/views/gratefulteacher/CommonTeacher.vue index 15a0f56a..d3779904 100644 --- a/src/views/gratefulteacher/CommonTeacher.vue +++ b/src/views/gratefulteacher/CommonTeacher.vue @@ -303,10 +303,12 @@ import dialog from "@/utils/dialog"; import BaseTable from "@/components/common/BaseTable"; import {AUDIENCE_LIST, ORG_CHILD_LIST, ORG_LIST, STUDENT_LIST, USER_LIST_PAGE} from "@/api/apis"; + import {addPermission} from '@/api/examineApi.js' const emit = defineEmits({}); const props = defineProps({ type: Number, + pid:Number, infoType: Number, infoId: Number, id: String, @@ -603,8 +605,9 @@ //确定添加授权 const submitAuth = () => { - if (props.type === 2) { + if (props.pid === 2) { stageVisible.value = true; + } else { handleDialogOk(); } diff --git a/src/views/gratefulteacher/InstructorCertification.vue b/src/views/gratefulteacher/InstructorCertification.vue index 68c42eaa..04854441 100644 --- a/src/views/gratefulteacher/InstructorCertification.vue +++ b/src/views/gratefulteacher/InstructorCertification.vue @@ -1,7 +1,7 @@