修改审核说明bug
This commit is contained in:
parent
f55f4fd73f
commit
976d1af19a
@ -202,7 +202,8 @@ async function enterVerifyDialog() { // 审核提交
|
|||||||
console.log(verifyForm.value)
|
console.log(verifyForm.value)
|
||||||
const res = await api.verifyCourse({
|
const res = await api.verifyCourse({
|
||||||
course_id:verifyCourse.value.course_id,
|
course_id:verifyCourse.value.course_id,
|
||||||
status
|
status,
|
||||||
|
desc:verifyForm.value.desc
|
||||||
})
|
})
|
||||||
if(res.code === 0) {
|
if(res.code === 0) {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
@ -348,10 +349,10 @@ async function enterVerifyDialog() { // 审核提交
|
|||||||
<!-- 审核窗口-->
|
<!-- 审核窗口-->
|
||||||
<el-dialog v-model="verifyVisible" :before-close="closeVerifyVisibleDialog" title="审核课程">
|
<el-dialog v-model="verifyVisible" :before-close="closeVerifyVisibleDialog" title="审核课程">
|
||||||
<el-form :model="verifyForm" label-width="80px">
|
<el-form :model="verifyForm" label-width="80px">
|
||||||
<el-form-item label="是否通过" prop="is_free">
|
<el-form-item label="是否通过" prop="is_pass">
|
||||||
<el-switch v-model="verifyForm.is_pass" active-text="通过" inactive-text="拒绝" :active-value="1" :inactive-value="-1" />
|
<el-switch v-model="verifyForm.is_pass" active-text="通过" inactive-text="拒绝" :active-value="1" :inactive-value="-1" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="审核说明" prop="is_free">
|
<el-form-item label="审核说明" prop="desc">
|
||||||
<!-- <el-switch v-model="verifyForm.is_pass" active-text="通过" inactive-text="拒绝" :active-value="1" :inactive-value="-1" />-->
|
<!-- <el-switch v-model="verifyForm.is_pass" active-text="通过" inactive-text="拒绝" :active-value="1" :inactive-value="-1" />-->
|
||||||
<el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4 }" v-model="verifyForm.desc" autocomplete="off" />
|
<el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4 }" v-model="verifyForm.desc" autocomplete="off" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
Loading…
Reference in New Issue
Block a user