mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 08:16:46 +08:00
讲师管理bug
This commit is contained in:
@@ -36,10 +36,10 @@
|
||||
<template v-if="column.key === 'operation'">
|
||||
<a-space >
|
||||
<lockLecturer :id="record.id" :title="'培训发生组织详情'">
|
||||
<div style="color: #1890ff;">查看</div>
|
||||
<div style="color: #1890ff;cursor: pointer;">查看</div>
|
||||
</lockLecturer>
|
||||
<a-button type="link" @click="() => handleModify(record, String(record.courseform))">编辑</a-button>
|
||||
<a-button type="link" @click="() => updateModal(record)">撤回</a-button>
|
||||
<a-button v-if="record.status!=2" type="link" @click="() => handleModify(record, String(record.courseform))">编辑</a-button>
|
||||
<a-button v-if="record.status==2" type="link" @click="() => updateModal(record)">撤回</a-button>
|
||||
<a-button type="link" @click="() => deleteModal(record, String(record.courseform))">删除</a-button>
|
||||
</a-space>
|
||||
</template>
|
||||
@@ -349,8 +349,8 @@ export default{
|
||||
},
|
||||
{
|
||||
title: '状态',
|
||||
dataIndex: 'type',
|
||||
key: 'type',
|
||||
dataIndex: 'status',
|
||||
key: 'status',
|
||||
ellipsis: true, align: "center",
|
||||
width: 160,
|
||||
customRender: ({text})=>{
|
||||
@@ -360,9 +360,11 @@ export default{
|
||||
case '2':
|
||||
return <span>审核中</span>;
|
||||
case '3':
|
||||
return <span>已完成</span>;
|
||||
return <span>审核通过</span>;
|
||||
case '4':
|
||||
return <span style={{ color: "red" }}>审核失败</span>;
|
||||
return <span>拒绝</span>;
|
||||
case '5':
|
||||
return <span>撤回</span>;
|
||||
default:
|
||||
return <span>-</span>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user