- 科目:{{ detail.subjectName }} -
- 课时总数:{{ detail.title }} +
- 课时名称:{{ detail.title }} +
- 课时总数:{{ id.length }}
- 课时时长:{{ detail.duration }}分钟
- 反馈时长:{{ setDuration(detail.consumingDuration) }} @@ -45,6 +46,7 @@
diff --git a/public/tex-mml-chtml.js b/public/Temp/js/tex-mml-chtml.js
index b7da2e5..b7da2e5 100644
--- a/public/tex-mml-chtml.js
+++ b/public/Temp/js/tex-mml-chtml.js
diff --git a/src/api/apis/apis.js b/src/api/apis/apis.js
index 4450ae5..a0d5e8d 100644
--- a/src/api/apis/apis.js
+++ b/src/api/apis/apis.js
@@ -1287,6 +1287,15 @@ export default {
data
});
},
+ // 导出随堂问单科多课时报表
+ pExportPhaseAnswerReport(data) {
+ return service({
+ url: setUpUrls.pExportPhaseAnswerReport,
+ method: "POST",
+ data,
+ responseType: 'arraybuffer',
+ });
+ },
/** 平台管理 */
//账户管理
@@ -1593,7 +1602,8 @@ export default {
return service({
url: setUpUrls.exportExamMultiReport,
method: "POST",
- data
+ data,
+ responseType: 'arraybuffer',
});
},
// 查询即时测多班默认等级列表
@@ -1651,7 +1661,8 @@ export default {
return service({
url: setUpUrls.exportTClassAndStudent,
method: "POST",
- data
+ data,
+ responseType: 'arraybuffer',
});
},
// 删除班级信息(新)
diff --git a/src/api/axios.js b/src/api/axios.js
index 70fd450..529fa41 100644
--- a/src/api/axios.js
+++ b/src/api/axios.js
@@ -20,17 +20,15 @@ service.interceptors.request.use(
(config) => {
NProgress.start();
// config.headers["Content-Type"] = "application/json;charset=UTF-8";
-
const source = axios.CancelToken.source();
store.commit("setTokenSources", [source.token, source.cancel]);
config.cancelToken = source.token;
- const role = store.getters.info.showRole || store.getters.info.permissions[0].role;
+ const role = store.getters.info?.showRole
if (role == "ROLE_BANZHUREN") {
- const classes = store.getters.classes
+ const classes = store.getters?.classes
config.manager = 1
config.classes = classes
}
- console.log(config)
return config;
},
(error) => {
diff --git a/src/api/urls/apis.js b/src/api/urls/apis.js
index cf7c8d4..d013f3c 100644
--- a/src/api/urls/apis.js
+++ b/src/api/urls/apis.js
@@ -364,6 +364,9 @@ export default {
// 载指定版本授课端
pGetAppDownloadUrl: "/api_html/personal/getAppDownloadUrl",
+ //导出随堂问单科多课时报表
+ pExportPhaseAnswerReport: "/api_html/personal/exportPhaseAnswerReport",
+
// 修改密码
changePwd: "/api_html/changePwd",
diff --git a/src/components/exportDia.vue b/src/components/exportDia.vue
index 87032b9..dfbc32f 100644
--- a/src/components/exportDia.vue
+++ b/src/components/exportDia.vue
@@ -24,13 +24,17 @@