mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 02:02:55 +08:00
讲师管理bug
This commit is contained in:
@@ -776,6 +776,7 @@ export default {
|
|||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
if(res.data.code == 200){
|
if(res.data.code == 200){
|
||||||
message.success('提交成功')
|
message.success('提交成功')
|
||||||
|
emits.emit('successParams',true)
|
||||||
closeDrawer();
|
closeDrawer();
|
||||||
}
|
}
|
||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
|
|||||||
@@ -90,11 +90,11 @@
|
|||||||
<template #bodyCell="{ record, column }">
|
<template #bodyCell="{ record, column }">
|
||||||
<template v-if="column.key === 'operation'">
|
<template v-if="column.key === 'operation'">
|
||||||
<a-space >
|
<a-space >
|
||||||
<a-button type="link" v-if="record.status != 2&&record.status!=3" @click="goDdit(record)">编辑</a-button>
|
<a-button type="link" v-if="record.status != 2&&record.status!=3" @click="goDdit(record)">提交</a-button>
|
||||||
<a-button type="link" @click="() => handleLook(record, String(record.courseform))">查看</a-button>
|
<a-button type="link" v-if="record.status != 1&&record.status!=5" @click="() => handleLook(record, String(record.courseform))">查看</a-button>
|
||||||
<!-- <a-button type="link" @click="() => handleOperate(record, String(record.courseform))">审批</a-button> -->
|
<!-- <a-button type="link" @click="() => handleOperate(record, String(record.courseform))">审批</a-button> -->
|
||||||
<!-- <a-button type="link" @click="() => deleteModal(record, String(record.courseform))">删除</a-button> -->
|
<!-- <a-button type="link" @click="() => deleteModal(record, String(record.courseform))">删除</a-button> -->
|
||||||
<a-button v-if="record.status == 1||record.status == 4||record.status == 5" type="link" @click="submit(record)">提交</a-button>
|
<!-- <a-button v-if="record.status == 4" type="link" @click="submit(record)">提交</a-button> -->
|
||||||
<a-button v-if="record.status == 2" type="link" @click="withdraw(record)">撤回</a-button>
|
<a-button v-if="record.status == 2" type="link" @click="withdraw(record)">撤回</a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
@@ -225,7 +225,7 @@
|
|||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div> <Upload/> </div> -->
|
<!-- <div> <Upload/> </div> -->
|
||||||
<LecturerAppEdit v-model:visible="editTeacherDialog" :id="editId" ></LecturerAppEdit>
|
<LecturerAppEdit @successParams="successParams" v-model:visible="editTeacherDialog" :id="editId" ></LecturerAppEdit>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="jsx">
|
<script lang="jsx">
|
||||||
@@ -722,6 +722,9 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
const successParams = () => {
|
||||||
|
getTableDate();
|
||||||
|
}
|
||||||
const withdraw = (record) => {
|
const withdraw = (record) => {
|
||||||
console.log(record,'record')
|
console.log(record,'record')
|
||||||
dialog({
|
dialog({
|
||||||
@@ -1065,6 +1068,7 @@
|
|||||||
getListData,
|
getListData,
|
||||||
tabsChange,
|
tabsChange,
|
||||||
withdraw,
|
withdraw,
|
||||||
|
successParams,
|
||||||
goDdit,
|
goDdit,
|
||||||
cancel,
|
cancel,
|
||||||
handleOperate,
|
handleOperate,
|
||||||
|
|||||||
Reference in New Issue
Block a user