mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 00:06:47 +08:00
feat:增加提交审核以及撤回审核
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user