讲师认证

This commit is contained in:
zhangsir
2024-05-14 19:21:33 +08:00
parent b1c05c3fbc
commit 9adc7de7bc
4 changed files with 13 additions and 10 deletions

View File

@@ -149,10 +149,10 @@ export const transferPermission =(data)=>{
}) })
} }
//添加权限 //添加权限
export const addPermission = (data)=>{ // export const addPermission = (data)=>{
return http({ // return http({
url:'/activityApi/permission/addPermission', // url:'/activityApi/permission/addPermission',
method: "post", // method: "post",
data:data // data:data
}) // })
} // }

View File

@@ -300,7 +300,6 @@
import { import {
saveStu, saveStu,
} from "@/api/index1"; } from "@/api/index1";
import {addPermission} from '@/api/examineApi.js'
import dialog from "@/utils/dialog"; import dialog from "@/utils/dialog";
import BaseTable from "@/components/common/BaseTable"; import BaseTable from "@/components/common/BaseTable";
import {AUDIENCE_LIST, ORG_CHILD_LIST, ORG_LIST, STUDENT_LIST, USER_LIST_PAGE} from "@/api/apis"; import {AUDIENCE_LIST, ORG_CHILD_LIST, ORG_LIST, STUDENT_LIST, USER_LIST_PAGE} from "@/api/apis";

View File

@@ -433,6 +433,7 @@ function handleOper(record, type, status = "") {
:types="[7, 8, 9]" :types="[7, 8, 9]"
:id="record.id" :id="record.id"
:type="9" :type="9"
:searchTrue="true"
>权限名单</OwnerTableModelStudent >权限名单</OwnerTableModelStudent
> >
<CommonStudent :type="7" :permissionType="0" :examineId="record.id" :id="record.id" title="查看权" <CommonStudent :type="7" :permissionType="0" :examineId="record.id" :id="record.id" title="查看权"

View File

@@ -156,6 +156,10 @@ import { message } from "ant-design-vue";
type: Array, type: Array,
default: () => [], default: () => [],
}, },
searchTrue:{
type: String,
default:false
}
}); });
const datalist = ref([]) const datalist = ref([])
const getData = async ()=>{ const getData = async ()=>{
@@ -218,7 +222,7 @@ import { message } from "ant-design-vue";
({ ({
0: "查看权", 0: "查看权",
1: "管理权", 1: "管理权",
2: "归属权", 2: "管理权",
7: "查看权", 7: "查看权",
8: "管理权", 8: "管理权",
9: "归属权", 9: "归属权",
@@ -243,7 +247,6 @@ import { message } from "ant-design-vue";
total, total,
loading, loading,
} = usePage(STUDENT_LIST, searchParams); } = usePage(STUDENT_LIST, searchParams);
const { loading: stuAsyncLoading } = useAsyncStu(props.id, props.types.join(","), searchStu); const { loading: stuAsyncLoading } = useAsyncStu(props.id, props.types.join(","), searchStu);