内容发布新增审核功能
This commit is contained in:
11
packages/3.0.0/AppContentInfo/components/Add.vue
vendored
11
packages/3.0.0/AppContentInfo/components/Add.vue
vendored
@@ -135,7 +135,8 @@
|
||||
}
|
||||
],
|
||||
isHideCoverimg: false,
|
||||
cateList: []
|
||||
cateList: [],
|
||||
needExamine: '0'
|
||||
}
|
||||
},
|
||||
|
||||
@@ -162,7 +163,6 @@
|
||||
this.form.pictureUrl = res.data.pictureUrl ? [{
|
||||
url: res.data.pictureUrl
|
||||
}] : []
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -171,6 +171,7 @@
|
||||
this.instance.post(`/app/appcontentmoduleinfo/queryDetailById?id=${this.$route.query.moduleId}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.isHideCoverimg = res.data.styleType === '0'
|
||||
this.needExamine = res.data.needExamine
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -254,7 +255,11 @@
|
||||
pictureUrl: this.form.pictureUrl.length ? this.form.pictureUrl[0].url : ''
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success('提交成功')
|
||||
if (this.needExamine === '1') {
|
||||
this.$message.success('提交成功,等待管理员审核')
|
||||
} else {
|
||||
this.$message.success('提交成功')
|
||||
}
|
||||
setTimeout(() => {
|
||||
this.cancel(true)
|
||||
}, 600)
|
||||
|
||||
Reference in New Issue
Block a user