diff --git a/src/views/lecturer/ExternalLecturer.vue b/src/views/lecturer/ExternalLecturer.vue index 3c350dc4..c5cbe168 100644 --- a/src/views/lecturer/ExternalLecturer.vue +++ b/src/views/lecturer/ExternalLecturer.vue @@ -7,7 +7,7 @@ + placeholder="请输入讲师姓名/手机号进行检索" allowClear showSearch> @@ -69,8 +69,8 @@ - + width="40%" :title="teacherdialogtitle"> + @@ -81,11 +81,9 @@
- - - avatar + avatar
@@ -93,7 +91,6 @@
-
支持图片格式为jpg/jpeg/png 图片最大为500KB @@ -104,12 +101,12 @@ - + - + @@ -119,14 +116,14 @@ - + - + @@ -355,7 +352,7 @@ export default { width: 200, }, { - title: '手机号 ', + title: '手机号码', dataIndex: 'mobile', key: 'mobile', elipsis: true, align: "center", @@ -369,7 +366,7 @@ export default { // } }, { - title: '邮箱 ', + title: '讲师邮箱 ', dataIndex: 'email', key: 'email', elipsis: true, align: "center", diff --git a/src/views/lecturer/ExternalTeaching.vue b/src/views/lecturer/ExternalTeaching.vue index e57b6ffa..5ac369b1 100644 --- a/src/views/lecturer/ExternalTeaching.vue +++ b/src/views/lecturer/ExternalTeaching.vue @@ -158,7 +158,7 @@ - @@ -167,7 +167,9 @@ - {{ (formParam.duration /60 ).toFixed(2)}}小时 + {{ (formParam.duration / 60 + ).toFixed(2) }}小时 + 0.00小时 @@ -217,7 +219,7 @@ width="60%" title="查看讲师授课记录"> {{ formParam.teacher }} - {{ formParam.mobile }} + {{ formParam.mobile }} {{ formParam.type == 1 ? '项目开课' : formParam.type == 2 ? '路径开课' : formParam.type == 3 ? '面授开课' : '' }} {{ formParam.name }} @@ -225,7 +227,10 @@ ? '已开课' : '' }} {{ formParam.sysTypeId }} {{ formParam.beginTime }} - {{ formParam.duration }} + {{ formParam.duration }} + ({{ (formParam.duration / 60 + ).toFixed(2) }}小时) + {{ formParam.score }} {{ formParam.studys }} {{ formParam.remark }} @@ -331,7 +336,7 @@ export default { formParam: { status: 1, entryType:1, - duration:0 + duration:null }, searchdate: null, //选择时间 searchParam: { @@ -410,7 +415,7 @@ export default { // width: 100, // }, { - title: '授课讲师 ', + title: '讲师姓名 ', dataIndex: 'teacherName', key: 'teacherName', elipsis: true, align: "center", @@ -451,7 +456,7 @@ export default { width: 100, }, { - title: '数据来源', + title: '录入类型', dataIndex: 'entryType', key: 'entryType', elipsis: true, align: "center", @@ -470,18 +475,37 @@ export default { } }, { - title: '授课/课程日期 ', + title: '授课时间 ', dataIndex: 'beginTime', key: 'beginTime', elipsis: true, align: "center", width: 100, }, + // { + // title: '开课场地 ', + // dataIndex: 'address', + // key: 'address', + // elipsis: true, align: "center", + // width: 100, + // }, { - title: '开课场地 ', - dataIndex: 'address', - key: 'address', + title: '开课状态 ', + dataIndex: 'status', + key: 'status', elipsis: true, align: "center", width: 100, + customRender: (value) => { + return ( +
+ {value.record.status == 0 || value.record.status == 1 + ? { + "0": "未开课", + "1": "已开课", + }[value.record.status + ""] || "" + : "-"} +
+ ) + } }, { title: "内容分类", @@ -504,7 +528,7 @@ export default { width: 100, }, { - title: '参训总人数', + title: '学习总人数', dataIndex: 'studys', key: 'studys', elipsis: true, align: "center", @@ -517,25 +541,7 @@ export default { elipsis: true, align: "center", width: 80, }, - { - title: '开课状态 ', - dataIndex: 'status', - key: 'status', - elipsis: true, align: "center", - width: 100, - customRender: (value) => { - return ( -
- {value.record.status == 0 || value.record.status == 1 - ? { - "0": "未开课", - "1": "已开课", - }[value.record.status + ""] || "" - : "-"} -
- ) - } - }, + { title: '操作 ', dataIndex: 'operation', @@ -722,7 +728,6 @@ export default { duration: null, score: null, remark: null, - duration:0 } } diff --git a/src/views/lecturer/InsideLecturer.vue b/src/views/lecturer/InsideLecturer.vue index 96e0eed3..20ff6bbe 100644 --- a/src/views/lecturer/InsideLecturer.vue +++ b/src/views/lecturer/InsideLecturer.vue @@ -15,11 +15,14 @@ :options="LecturerSystemList" @change="changetlevel"> - + + + :options="getLevelList" > + +
查询 @@ -109,7 +112,7 @@
+ width="40%" :title="teacherdialogtitle"> @@ -119,11 +122,9 @@
- - - avatar + avatar
@@ -131,7 +132,6 @@
-
支持图片格式为jpg/jpeg/png 图片最大为500KB @@ -141,20 +141,13 @@ - + - - - +