mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
"授课记录" 查看列表排序
This commit is contained in:
@@ -413,27 +413,27 @@
|
||||
<span style="font-weight:600;">讲师信息</span>
|
||||
<a-descriptions style="margin-top:15px;" bordered :column="2" :contentStyle="{'maxWidth':'300px'}" :labelStyle="{'width':'160px'}">
|
||||
<a-descriptions-item label="讲师名称"><div style="user-select: text">{{ formParam.teacherName ||'-'}}/{{ formParam.userNo||'-' }}</div></a-descriptions-item>
|
||||
|
||||
<!-- <a-descriptions-item label="讲师组织">{{ formParam.orgName||'-' }}</a-descriptions-item> -->
|
||||
<a-descriptions-item label="培训发生组织">{{ formParam.trainOrgName||'-' }}</a-descriptions-item>
|
||||
<!-- <a-descriptions-item label="讲师体系">{{ formParam.tsystemName||'-' }}</a-descriptions-item> -->
|
||||
<!-- <a-descriptions-item label="讲师级别">{{ formParam.tlevelName||'-'}}</a-descriptions-item> -->
|
||||
<a-descriptions-item label="数据来源">
|
||||
{{ formParam.createFrom == 0 ? '系统生成' : formParam.createFrom == 1 ? '手动录入' : '-' }}</a-descriptions-item>
|
||||
<a-descriptions-item label="课程类型">{{ formParam.type == 0 ? '在线课' : formParam.type == 1 ? '面授课' : formParam.type == 2 ? '手动录入' : '-'
|
||||
}}</a-descriptions-item>
|
||||
<a-descriptions-item label="课程名称"><div style="user-select: text">{{ formParam.courseName||'-' }}</div></a-descriptions-item>
|
||||
<a-descriptions-item label="课程类型">{{ formParam.type == 0 ? '在线课' : formParam.type == 1 ? '面授课' : formParam.type == 5 ? '手动录入' : '-'
|
||||
}}</a-descriptions-item>
|
||||
<a-descriptions-item label="授课/课程日期"><div style="user-select: text">{{ formParam.teachingDate||'-' }}</div></a-descriptions-item>
|
||||
<a-descriptions-item label="开课状态">{{ formParam.courseStatus == 0 ? '未开课' : formParam.courseStatus == 1
|
||||
? '已开课' : '-' }}</a-descriptions-item>
|
||||
<a-descriptions-item label="授课/课程时长 ">
|
||||
<a-descriptions-item label="授课/课程时长(分钟)">
|
||||
<span> {{ formParam.teaching }} 分钟</span>
|
||||
<span style="margin-left: 10px ;" v-if="formParam.teaching != '0'">({{ (formParam.teaching / 60
|
||||
).toFixed(2) }}小时)</span> </a-descriptions-item>
|
||||
<a-descriptions-item label="授课/课程日期"><div style="user-select: text">{{ formParam.teachingDate||'-' }}</div></a-descriptions-item>
|
||||
<a-descriptions-item label="参训人数 ">{{ formParam.studys?formParam.studys+'人':'-' }}</a-descriptions-item>
|
||||
<a-descriptions-item label="评分 ">{{ formParam.score?Number(formParam.score).toFixed(0)==0?'-':Number(formParam.score).toFixed(2)+'分':'-' }}</a-descriptions-item>
|
||||
<a-descriptions-item label="参训人数 ">{{ formParam.studys?formParam.studys+'人':'-' }}</a-descriptions-item>
|
||||
<a-descriptions-item label="评分 ">{{ formParam.score?Number(formParam.score).toFixed(0)==0?'-':Number(formParam.score).toFixed(2)+'分':'-' }}</a-descriptions-item>
|
||||
<!-- <a-descriptions-item label="讲师组织">{{ formParam.orgName||'-' }}</a-descriptions-item> -->
|
||||
<a-descriptions-item label="培训发生组织">{{ formParam.trainOrgName||'-' }}</a-descriptions-item>
|
||||
<a-descriptions-item label="是否生成讲师费">{{{0:'否',1:'是'}[formParam.createdFee]}}</a-descriptions-item>
|
||||
<!-- <a-descriptions-item label="讲师体系">{{ formParam.tsystemName||'-' }}</a-descriptions-item> -->
|
||||
<!-- <a-descriptions-item label="讲师级别">{{ formParam.tlevelName||'-'}}</a-descriptions-item> -->
|
||||
<!-- <a-descriptions-item label="数据来源">
|
||||
{{ formParam.createFrom == 0 ? '系统生成' : formParam.createFrom == 1 ? '手动录入' : '-' }}</a-descriptions-item> -->
|
||||
<!-- <a-descriptions-item label="内容分类">{{ formParam.courseTypeName||'-' }}</a-descriptions-item> -->
|
||||
<a-descriptions-item label="是否生成讲师费">{{{0:'否',1:'是'}[formParam.createdFee]}}</a-descriptions-item>
|
||||
|
||||
<a-descriptions-item label="备注 ">{{ formParam.remark||'-' }}</a-descriptions-item>
|
||||
</a-descriptions>
|
||||
<div v-if="formParam.createFrom == '0'">
|
||||
|
||||
@@ -1,45 +1,46 @@
|
||||
<!-- 授课记录 -->
|
||||
<template>
|
||||
<div class="TeachingRecord" >
|
||||
<div style="margin: 20px;margin-top:0;" >
|
||||
<div class="TeachingRecord">
|
||||
<div style="margin: 20px;margin-top:0;">
|
||||
<a-tabs v-model:activeKey="activeKey">
|
||||
<a-tab-pane key="1" tab="内部讲师授课记录">
|
||||
<InsideTeaching/>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="2" tab="外部讲师授课记录">
|
||||
<ExternalTeaching/>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
<a-tab-pane key="1" tab="内部讲师授课记录">
|
||||
<InsideTeaching />
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="2" tab="外部讲师授课记录">
|
||||
<ExternalTeaching />
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="jsx">
|
||||
import { reactive, toRefs, ref, watch } from "vue";
|
||||
import InsideTeaching from "../lecturer/InsideTeaching.vue"
|
||||
import ExternalTeaching from "../lecturer/ExternalTeaching.vue"
|
||||
export default {
|
||||
name: "TeachingRecord",
|
||||
components: {
|
||||
InsideTeaching,
|
||||
ExternalTeaching,
|
||||
},
|
||||
setup() {
|
||||
const state = reactive({
|
||||
activeKey:'1'
|
||||
})
|
||||
watch(
|
||||
)
|
||||
return {
|
||||
...toRefs(state),
|
||||
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .ant-tabs-tab{
|
||||
font-weight: 600;
|
||||
}
|
||||
</div>
|
||||
</template>
|
||||
<script lang="jsx">
|
||||
import { reactive, toRefs, ref, watch } from "vue";
|
||||
import InsideTeaching from "../lecturer/InsideTeaching.vue"
|
||||
import ExternalTeaching from "../lecturer/ExternalTeaching.vue"
|
||||
export default {
|
||||
name: "TeachingRecord",
|
||||
components: {
|
||||
InsideTeaching,
|
||||
ExternalTeaching,
|
||||
},
|
||||
setup() {
|
||||
const state = reactive({
|
||||
activeKey: '1'
|
||||
})
|
||||
watch(
|
||||
)
|
||||
return {
|
||||
...toRefs(state),
|
||||
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .ant-tabs-tab {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.TeachingRecord {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user