From fabce0717bc2a0e6b19d3ce5441dc528c7a3cdc9 Mon Sep 17 00:00:00 2001
From: wangxuemei <283912718@qq.com>
Date: Thu, 14 Nov 2024 14:06:53 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E9=83=A8=E6=8E=88=E8=AF=BE=E5=BD=95?=
=?UTF-8?q?=E5=85=A5=E6=96=B9=E5=BC=8F=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/lecturer/ExternalTeaching.vue | 22 +++++++++++-----------
src/views/lecturer/InsideTeaching.vue | 2 +-
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/views/lecturer/ExternalTeaching.vue b/src/views/lecturer/ExternalTeaching.vue
index ff220a25..412be484 100644
--- a/src/views/lecturer/ExternalTeaching.vue
+++ b/src/views/lecturer/ExternalTeaching.vue
@@ -48,7 +48,7 @@
-
@@ -351,7 +351,7 @@ export default {
tableDataTotal: -1,//table列表总条数
formParam: {
courseStatus: 1,
- entryType: 1,
+ createFrom: 1,
teaching: null,
teachingDate: null,
},
@@ -367,7 +367,7 @@ export default {
courseStatus: null,
beginTime: null,
endTime: null,
- entryType: null,
+ createFrom: null,
},
})
// function searchTimeChange(time, timeStr) {
@@ -464,18 +464,18 @@ export default {
},
{
title: '录入类型',
- dataIndex: 'entryType',
- key: 'entryType',
+ dataIndex: 'createFrom',
+ key: 'createFrom',
elipsis: true, align: "center",
width: 120,
customRender: (value) => {
return (
- {value.record.entryType == "1" || value.record.entryType == "2"
+ {value.record.createFrom == "0" || value.record.createFrom == "1"
? {
"0": "系统生成",
"1": "手动录入",
- }[value.record.entryType + ""] || ""
+ }[value.record.createFrom + ""] || ""
: "-"}
)
@@ -604,7 +604,7 @@ export default {
name: null,
manager: null,
courseStatus: null,
- entryType: null,
+ createFrom: null,
systemId: null,
endTime: null,
beginTime: null,
@@ -639,7 +639,7 @@ export default {
cancel()
state.teacherdialog = true;
state.teacherdialogtitle = '添加授课记录'
- state.formParam.entryType='1'
+ state.formParam.createFrom='1'
state.vf = true
}
@@ -757,7 +757,7 @@ export default {
state.searchParam.type = null
state.searchParam.courseStatus = null
state.searchParam.id = null
- state.searchParam.entryType = null
+ state.searchParam.createFrom = null
}
}
//表格内查看数据操作
@@ -801,7 +801,7 @@ export default {
//导出功能
const handleExport = () => {
window.open(
- `${process.env.VUE_APP_BASE_API}/admin/export/exportOutTeacherRecord?pageNo=${state.searchParam.pageNo}&pageSize=${state.searchParam.pageSize}&recordType=2&name=${state.searchParam.name ? state.searchParam.name : ""}&courseName=${state.searchParam.courseName ? state.searchParam.courseName : ""}&entryType=${state.searchParam.entryType ? state.searchParam.entryType : ""}&beginTime=${state.searchParam.beginTime ? state.searchParam.beginTime : ""}&endTime=${state.searchParam.endTime ? state.searchParam.endTime : ""}&courseTypeId=${state.searchParam.courseTypeId ? state.searchParam.courseTypeId : ""}&courseStatus=${state.searchParam.courseStatus ? state.searchParam.courseStatus : ""}`
+ `${process.env.VUE_APP_BASE_API}/admin/export/exportOutTeacherRecord?pageNo=${state.searchParam.pageNo}&pageSize=${state.searchParam.pageSize}&recordType=2&name=${state.searchParam.name ? state.searchParam.name : ""}&courseName=${state.searchParam.courseName ? state.searchParam.courseName : ""}&createFrom=${state.searchParam.createFrom ? state.searchParam.createFrom : ""}&beginTime=${state.searchParam.beginTime ? state.searchParam.beginTime : ""}&endTime=${state.searchParam.endTime ? state.searchParam.endTime : ""}&courseTypeId=${state.searchParam.courseTypeId ? state.searchParam.courseTypeId : ""}&courseStatus=${state.searchParam.courseStatus ? state.searchParam.courseStatus : ""}`
);
}
const clearstudysNumber = () => {
diff --git a/src/views/lecturer/InsideTeaching.vue b/src/views/lecturer/InsideTeaching.vue
index 87b81ff0..2f74c373 100644
--- a/src/views/lecturer/InsideTeaching.vue
+++ b/src/views/lecturer/InsideTeaching.vue
@@ -314,7 +314,7 @@
{{ formParam.userNo }}
{{ formParam.orgName }}
{{ formParam.tsystemName }}
- {{ formParam.levelName
+ {{ formParam.tlevelName
}}
{{ formParam.createFrom == 0 ? '系统生成' : formParam.createFrom == 1 ? '手动录入' : '' }}