feat:增加授权

This commit is contained in:
lixg
2022-11-29 09:47:14 +08:00
parent 97232b39c4
commit 3804d11f6a
4 changed files with 138 additions and 29 deletions

View File

@@ -210,6 +210,10 @@ export default {
type: Number,
default: null,
},
classify: {
type: String,
default: null,
},
},
setup(props, ctx) {
const store = useStore();
@@ -567,7 +571,7 @@ export default {
state.tableDataTotal = 0;
return;
}
console.log("obj", obj);
// console.log("obj", obj);
api
.getMemberInfo(obj)
.then((res) => {
@@ -606,7 +610,14 @@ export default {
keyWord: "",
tag: 1, //归属权
opt: 1, //查询
type: 2, //项目
type:
props.classify === "project"
? 2
: props.classify === "learnPath"
? 1
: props.classify === "course"
? 3
: null,
refId: props.selectProjectId, //项目id
// refId: 64,
pageNo: 1,
@@ -629,7 +640,14 @@ export default {
keyWord: "",
tag: 2, //归属权
opt: 3, //修改
type: 2, //项目
type:
props.classify === "project"
? 2
: props.classify === "learnPath"
? 1
: props.classify === "course"
? 3
: null,
refId: props.selectProjectId, //项目id
// refId: 64,
pageNo: 1,