feat:增加提交审核以及撤回审核

This commit is contained in:
lixg
2022-11-29 13:18:49 +08:00
parent d51df54728
commit 76bc15d926
10 changed files with 265 additions and 189 deletions

View File

@@ -144,6 +144,10 @@ export default {
type: Number,
default: null,
},
classify: {
type: String,
default: null,
},
},
setup(props, ctx) {
@@ -282,7 +286,14 @@ export default {
const optionAuthPerm = () => {
let obj = {
keyWord: state.name ? state.name : "",
type: 2,
type:
props.classify === "learnPath"
? 1
: props.classify === "project"
? 2
: props.classify === "course"
? 3
: null,
tag: 1,
opt: 1,
refId: props.selectProjectId,
@@ -342,7 +353,14 @@ export default {
const cancelAuth = () => {
let obj = {
keyWord: "",
type: 2,
type:
props.classify === "learnPath"
? 1
: props.classify === "project"
? 2
: props.classify === "course"
? 3
: null,
tag: 1,
opt: 4,
refId: props.selectProjectId,