diff --git a/src/api/apis/apis.js b/src/api/apis/apis.js
index 8bcc268..be2452f 100644
--- a/src/api/apis/apis.js
+++ b/src/api/apis/apis.js
@@ -490,6 +490,7 @@ export default {
url: setUpUrls.teacherTemplate,
method: "POST",
data,
+ responseType: 'arraybuffer',
});
},
// 教师导出
@@ -694,6 +695,15 @@ export default {
data,
});
},
+ // 发卡数据导出
+ exportClickersLog(data) {
+ return service({
+ url: setUpUrls.exportClickersLog,
+ method: "POST",
+ data,
+ responseType: 'arraybuffer',
+ });
+ },
/**
* 集团管理员-学校管理
diff --git a/src/api/urls/apis.js b/src/api/urls/apis.js
index 97583b7..a8eb3ef 100644
--- a/src/api/urls/apis.js
+++ b/src/api/urls/apis.js
@@ -172,6 +172,8 @@ export default {
exportUsageAnalysis: "/api_html/school/manager/exportUsageAnalysis",
// 发卡应用下载
latestClickersApp: "/api_html/school/manager/latestClickersApp",
+ // 发卡导出
+ exportClickersLog: "/api_html/school/manager/exportClickersLog",
// 查询区域列表
diff --git a/src/assets/nav/setUpConglomerate.png b/src/assets/nav/setUpConglomerate.png
index 615c6cc..618d034 100644
--- a/src/assets/nav/setUpConglomerate.png
+++ b/src/assets/nav/setUpConglomerate.png
diff --git a/src/views/index/mainIndex.vue b/src/views/index/mainIndex.vue
index 5e8f3ee..0fbbd39 100644
--- a/src/views/index/mainIndex.vue
+++ b/src/views/index/mainIndex.vue
@@ -117,6 +117,10 @@
使用分析
按学校、学段统计使用频率。
+
@@ -157,78 +161,77 @@
-
- -
-
-
-
备题组卷
-
- 管理 {{ dataInfo.paperCount }}套答题卡,
-
-
-
- -
-
-
-
班级名单
-
- 管理{{ dataInfo.classCount }}个班级的学生名单,
-
-
-
- -
-
+
+ -
+
+
+
备题组卷
+
+ 管理 {{ dataInfo.paperCount }}套答题卡,
+
+
+
+ -
+
+
+
班级名单
+
+ 管理{{ dataInfo.classCount }}个班级的学生名单,
+
+
+
+ -
+
+
+
学生画像
+
+ 共分析{{ dataInfo.stationCount }}名学生成绩
+
+
+
+ -
+
+

+
随堂问报表
+
+ 对{{ dataInfo.classPeriodCount }}套随堂问答题记录分析
+
+
+
+

+
即时测报表
+
+ 对{{ dataInfo.examCount }}套即时测答题记录分析
+
+
+
+
-
学生画像
-
- 共分析{{ dataInfo.stationCount }}名学生成绩
-
-
-
-
-
-
-

-
随堂问报表
-
- 对{{ dataInfo.classPeriodCount }}套随堂问答题记录分析
-
-
-
-

-
即时测报表
-
- 对{{ dataInfo.examCount }}套即时测答题记录分析
-
+
软件下载
+
授课端软件最新版本1.2.0。
-
-

-
-
软件下载
-
授课端软件最新版本1.2.0。
-
-
-
-
+
+
- -
-
-
-
- -
-
-
-
- -
-
-
-
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
@@ -241,12 +244,12 @@ export default {
type: "",
navList: [],
dataInfo: {},
- code:""
+ code: "",
};
},
watch: {
"$store.getters.info.showRoleName": function (val) {
- this._Init(val)
+ this._Init(val);
this._QueryData();
},
},
@@ -265,7 +268,9 @@ export default {
});
},
_Init(val) {
- this.type = this.$store.getters.info.showRole || this.$store.getters.info.permissions[0].role;
+ this.type =
+ this.$store.getters.info.showRole ||
+ this.$store.getters.info.permissions[0].role;
this.navList = this.$store.getters.addRouters.map((item) => {
return {
name: item.name,
@@ -318,7 +323,7 @@ export default {
this.$message.error(info);
}
},
- async personalIndex() {
+ async personalIndex() {
const { data, status, info } = await this.$request.personalIndex();
if (status === 0) {
this.dataInfo = { ...data };
@@ -404,7 +409,7 @@ export default {
height: calc(50% - 8px);
flex-wrap: wrap;
padding: 12px 0 12px 30px;
- margin-right:20px;
+ margin-right: 20px;
.icon {
width: 60px;
height: 60px;
@@ -466,7 +471,6 @@ export default {
height: 240px;
display: flex;
flex-wrap: wrap;
-
}
.item4 {
width: calc(50% - 10px);
diff --git a/src/views/standard/card/index.vue b/src/views/standard/card/index.vue
index 2a09e0e..14944fb 100644
--- a/src/views/standard/card/index.vue
+++ b/src/views/standard/card/index.vue
@@ -8,7 +8,7 @@
+
+ 导出报表
+
@@ -212,4 +292,10 @@ export default {
.table-box {
padding: 0 20px;
}
+.down {
+ padding: 16px 20px;
+}
+.answer-header .sel-box .sel2 {
+ width: 300px;
+}
\ No newline at end of file
diff --git a/src/views/standard/setUp/teacher.vue b/src/views/standard/setUp/teacher.vue
index 1ad3687..1c216c9 100644
--- a/src/views/standard/setUp/teacher.vue
+++ b/src/views/standard/setUp/teacher.vue
@@ -773,15 +773,13 @@ export default {
},
async downExcel() {
let { data, status, info } = await this.$request.teacherTemplate();
- debugger;
- if (status == 0) {
- const a = document.createElement("a");
- a.href = data.downloadUrl;
- document.body.appendChild(a);
- a.click();
- a.remove();
+ if (data && !data.code) {
+ let blob = new Blob([data], {
+ type: "application/vnd.ms-excel;charset=utf-8",
+ });
+ downloadFile(`教师名单模版.xlsx`, blob);
} else {
- this.$message.error(info);
+ this.$message.error(data.info);
}
},
async exportTeacherExl() {
@@ -814,6 +812,13 @@ export default {
.teacher-ul {
max-height: 60vh;
overflow-y: scroll;
+ &::-webkit-scrollbar {
+ width: 6px;
+ }
+ &::-webkit-scrollbar-thumb {
+ border-radius: 10px;
+ background-color: #ccc;
+ }
}
.teacher-list {
width: 240px;
@@ -822,7 +827,7 @@ export default {
height: 40px;
line-height: 40px;
background: #eee;
- border-radius: 10px 10px 0 0;
+ // border-radius: 10px 10px 0 0;
}
.teacher-item {
font-size: 16px;
@@ -843,6 +848,7 @@ export default {
.teacher-detail {
flex: 1;
position: relative;
+ padding-left: 10px;
.icon-box {
position: absolute;
top: 12px;
diff --git a/src/views/standard/test/index.vue b/src/views/standard/test/index.vue
index 5f894ad..e65176d 100644
--- a/src/views/standard/test/index.vue
+++ b/src/views/standard/test/index.vue
@@ -572,6 +572,7 @@ export default {
});
},
toPortrait(obj) {
+ //暂时不上线
return
if (this.$store.getters.code) {
return;