讲师认证

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)=>{
return http({
url:'/activityApi/permission/addPermission',
method: "post",
data:data
})
}
// export const addPermission = (data)=>{
// return http({
// url:'/activityApi/permission/addPermission',
// method: "post",
// data:data
// })
// }

View File

@@ -300,7 +300,6 @@
import {
saveStu,
} from "@/api/index1";
import {addPermission} from '@/api/examineApi.js'
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";

View File

@@ -433,6 +433,7 @@ function handleOper(record, type, status = "") {
:types="[7, 8, 9]"
:id="record.id"
:type="9"
:searchTrue="true"
>权限名单</OwnerTableModelStudent
>
<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,
default: () => [],
},
searchTrue:{
type: String,
default:false
}
});
const datalist = ref([])
const getData = async ()=>{
@@ -218,7 +222,7 @@ import { message } from "ant-design-vue";
({
0: "查看权",
1: "管理权",
2: "归属权",
2: "管理权",
7: "查看权",
8: "管理权",
9: "归属权",
@@ -243,7 +247,6 @@ import { message } from "ant-design-vue";
total,
loading,
} = usePage(STUDENT_LIST, searchParams);
const { loading: stuAsyncLoading } = useAsyncStu(props.id, props.types.join(","), searchStu);