mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
feat:合并
This commit is contained in:
@@ -10,3 +10,6 @@ export const AssessmentManagementMessage = (obj) => http.get(`/admin/student/get
|
|||||||
|
|
||||||
// 考试导出学员信息
|
// 考试导出学员信息
|
||||||
export const ExportExam = (obj) => http.post('/admin/exam/manage/exportExam', obj)
|
export const ExportExam = (obj) => http.post('/admin/exam/manage/exportExam', obj)
|
||||||
|
|
||||||
|
// 获取在线管理的信息
|
||||||
|
export const QueryOnlineManagementDetail = (obj) => http.post('/admin/online/manage/queryOnlineManagementDetail', obj)
|
||||||
@@ -336,7 +336,44 @@ export default {
|
|||||||
state.tableDataTotalLoading = false;
|
state.tableDataTotalLoading = false;
|
||||||
state.tabledata = [];
|
state.tabledata = [];
|
||||||
});
|
});
|
||||||
} else {
|
} else if(props.datasource.type == 1) {
|
||||||
|
console.log("我是传递的查询参数", {
|
||||||
|
"chapterId": props.datasource.chapterId,
|
||||||
|
"status": state.projectName,
|
||||||
|
"studentName": state.name,
|
||||||
|
"taskId": props.datasource.routerTaskId,
|
||||||
|
"thirdId": props.datasource.targetId,
|
||||||
|
"type": 1
|
||||||
|
});
|
||||||
|
|
||||||
|
api.QueryOnlineManagementDetail({
|
||||||
|
"chapterId": props.datasource.chapterId,
|
||||||
|
"status": state.projectName,
|
||||||
|
"studentName": state.name,
|
||||||
|
"taskId": props.datasource.routerTaskId,
|
||||||
|
"thirdId": props.datasource.targetId,
|
||||||
|
"type": 1
|
||||||
|
}).then(res=>{
|
||||||
|
console.log('在线课数据获取', res)
|
||||||
|
state.tableDataTotalLoading = false;
|
||||||
|
// 处理在线课字段和表格中字段保持一致
|
||||||
|
let obj = {
|
||||||
|
studentUserNo: 1,
|
||||||
|
studentName: 1,
|
||||||
|
studentDepartName: 1,
|
||||||
|
studentJobName: 1,
|
||||||
|
lastStudyTime: 1,
|
||||||
|
status: 1
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log(obj)
|
||||||
|
|
||||||
|
|
||||||
|
}).catch(err=>{
|
||||||
|
console.log(err)
|
||||||
|
state.tableDataTotalLoading = false;
|
||||||
|
})
|
||||||
|
}else{
|
||||||
state.tableDataTotalLoading = false;
|
state.tableDataTotalLoading = false;
|
||||||
state.tabledata = [];
|
state.tabledata = [];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,13 +20,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div
|
<div
|
||||||
v-if="datasource.type !== 6 && datasource.type !== 9"
|
v-if="datasource.startTime"
|
||||||
class="endtime"
|
class="endtime"
|
||||||
>
|
>
|
||||||
起止时间:—
|
起止时间:{{ datasource.startTime }} ~ {{ datasource.endTime }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="endtime">
|
<div v-else class="endtime">
|
||||||
起止时间:{{ datasource.startTime }} ~ {{ datasource.endTime }}
|
起止时间:—
|
||||||
</div>
|
</div>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<div class="sealeft">
|
<div class="sealeft">
|
||||||
|
|||||||
Reference in New Issue
Block a user