mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 13:26:45 +08:00
讲师管理bug
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<a-descriptions-item label="讲师头像">
|
||||
<a-image :width="55" style="border-radius: 50%;width:55px;height:55px;" :src=formParam.photo />
|
||||
</a-descriptions-item>
|
||||
<a-descriptions-item label="讲师姓名">{{formParam.name}}/{{formParam.userNo}}</a-descriptions-item>
|
||||
<a-descriptions-item label="讲师姓名">{{formParam.name}} / {{formParam.userNo}}</a-descriptions-item>
|
||||
<a-descriptions-item label="讲师体系">{{formParam.tsystemName || '-'}}</a-descriptions-item>
|
||||
<!-- 二层 -->
|
||||
<a-descriptions-item label="讲师级别">{{formParam.tlevelName||'-'}}</a-descriptions-item>
|
||||
@@ -32,15 +32,15 @@
|
||||
@click="handleup">查看认证资料</a-button>
|
||||
</span>
|
||||
</a-descriptions-item>
|
||||
<a-descriptions-item label="授课时长"> <span v-if="formParam.teaching!= null" >{{ (Number(formParam.teaching) /60 ).toFixed(2)}}小时</span><span v-else>-</span>
|
||||
<a-descriptions-item label="授课时长"> <span v-if="formParam.teaching!= null" >{{formParam.teaching}}分钟({{ (Number(formParam.teaching) /60 ).toFixed(2)}}小时)</span><span v-else>-</span>
|
||||
</a-descriptions-item>
|
||||
<a-descriptions-item label="发薪地 ">{{formParam.salaryName||'-'}}</a-descriptions-item>
|
||||
<!-- 三层 -->
|
||||
<a-descriptions-item label="在职状态">{{formParam.waitStatus=='0'?'在职' :formParam.waitStatus=='1' ?'离职':'-'}}</a-descriptions-item>
|
||||
<a-descriptions-item label="账号状态">{{formParam.status=='0'?'临时' :formParam.status=='1' ?'启用':formParam.status==2 ?'停用':'-'}}</a-descriptions-item>
|
||||
<a-descriptions-item label="创建方式">{{formParam.createFrom=='0'?'自动录入' :formParam.createFrom=='1'?'手动录入':'-'}}</a-descriptions-item>
|
||||
<a-descriptions-item label="录入方式">{{formParam.createFrom=='0'?'自动录入' :formParam.createFrom=='1'?'手动录入':'-'}}</a-descriptions-item>
|
||||
<a-descriptions-item style="max-width: 400px;" label="所属组织" >
|
||||
<span :title="formParam.orgName">{{ formParam.orgNames || '-' }}</span>
|
||||
<span :title="formParam.orgName">{{ formParam.orgName || '-' }}</span>
|
||||
</a-descriptions-item>
|
||||
</a-descriptions>
|
||||
<div style="margin-top: 10px;"></div>
|
||||
@@ -207,31 +207,31 @@ export default{
|
||||
}
|
||||
//授课记录列表
|
||||
const teacherrecordsColumns = ref([
|
||||
{
|
||||
title: '课程编号',
|
||||
dataIndex: 'courseId',
|
||||
key: 'courseId',
|
||||
align: "center",
|
||||
customRender: ({text, index})=>{
|
||||
return index+1;
|
||||
},
|
||||
// {
|
||||
// title: '课程编号',
|
||||
// dataIndex: 'courseId',
|
||||
// key: 'courseId',
|
||||
// align: "center",
|
||||
// customRender: ({text, index})=>{
|
||||
// return index+1;
|
||||
// },
|
||||
|
||||
width: 120,
|
||||
},
|
||||
// width: 120,
|
||||
// },
|
||||
{
|
||||
title: '课程名称',
|
||||
dataIndex: 'courseName',
|
||||
key: 'courseName',
|
||||
ellipsis: true,
|
||||
align: "center",
|
||||
width: 120,
|
||||
width: 180,
|
||||
},
|
||||
{
|
||||
title: '课程日期',
|
||||
dataIndex: 'teachingDate',
|
||||
key: 'teachingDate',
|
||||
ellipsis: true, align: "center",
|
||||
width: 200,
|
||||
width: 160,
|
||||
customRender: (value) => {
|
||||
return (
|
||||
<div>
|
||||
@@ -271,7 +271,7 @@ export default{
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '学习总人数',
|
||||
title: '参训人数',
|
||||
dataIndex: 'studys',
|
||||
key: 'studys',
|
||||
ellipsis: true, align: "center",
|
||||
@@ -285,7 +285,7 @@ export default{
|
||||
dataIndex: 'teaching',
|
||||
key: 'teaching',
|
||||
ellipsis: true, align: "center",
|
||||
width: 120,
|
||||
width: 130,
|
||||
customRender: ({text})=>{
|
||||
return text ? text+'分钟' : '-'
|
||||
}
|
||||
@@ -299,7 +299,7 @@ export default{
|
||||
customRender: (value) => {
|
||||
return (
|
||||
<div>
|
||||
{value.record.score?Number(value.record.score).toFixed(0)==0?'-':Number(value.record.score).toFixed(0)+'分' : '-'}
|
||||
{value.record.score?Number(value.record.score).toFixed(0)==0?'-':Number(value.record.score).toFixed(2)+'分' : '-'}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -329,7 +329,7 @@ export default{
|
||||
key: 'remark ',
|
||||
ellipsis: true,
|
||||
align: "center",
|
||||
width: 120,
|
||||
width: 200,
|
||||
customRender: (value) => {
|
||||
return (
|
||||
<div>{value.record.remark || '-'}</div>
|
||||
|
||||
Reference in New Issue
Block a user