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 @@