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:
@@ -90,11 +90,11 @@
|
||||
<template #bodyCell="{ record, column }">
|
||||
<template v-if="column.key === 'operation'">
|
||||
<a-space >
|
||||
<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 != 2&&record.status!=3" @click="goDdit(record)">提交</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="() => 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-space>
|
||||
</template>
|
||||
@@ -225,7 +225,7 @@
|
||||
</a-modal>
|
||||
</div>
|
||||
<!-- <div> <Upload/> </div> -->
|
||||
<LecturerAppEdit v-model:visible="editTeacherDialog" :id="editId" ></LecturerAppEdit>
|
||||
<LecturerAppEdit @successParams="successParams" v-model:visible="editTeacherDialog" :id="editId" ></LecturerAppEdit>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="jsx">
|
||||
@@ -722,6 +722,9 @@
|
||||
}
|
||||
})
|
||||
}
|
||||
const successParams = () => {
|
||||
getTableDate();
|
||||
}
|
||||
const withdraw = (record) => {
|
||||
console.log(record,'record')
|
||||
dialog({
|
||||
@@ -1065,6 +1068,7 @@
|
||||
getListData,
|
||||
tabsChange,
|
||||
withdraw,
|
||||
successParams,
|
||||
goDdit,
|
||||
cancel,
|
||||
handleOperate,
|
||||
|
||||
Reference in New Issue
Block a user