|
@@ -120,13 +120,6 @@
|
|
@click="openBatchExportPaperDialog"
|
|
@click="openBatchExportPaperDialog"
|
|
><i class="el-icon-download"></i> 下载成卷</el-button
|
|
><i class="el-icon-download"></i> 下载成卷</el-button
|
|
>
|
|
>
|
|
- <el-button
|
|
|
|
- size="small"
|
|
|
|
- type="primary"
|
|
|
|
- :disabled="noBatchSelected"
|
|
|
|
- @click="openPrints"
|
|
|
|
- ><i class="el-icon-share"></i> 发送成卷</el-button
|
|
|
|
- >
|
|
|
|
<el-button
|
|
<el-button
|
|
size="small"
|
|
size="small"
|
|
type="primary"
|
|
type="primary"
|
|
@@ -240,15 +233,6 @@
|
|
><i class="el-icon-zoom-in"></i> 预览</el-button
|
|
><i class="el-icon-zoom-in"></i> 预览</el-button
|
|
>
|
|
>
|
|
</el-dropdown-item>
|
|
</el-dropdown-item>
|
|
- <el-dropdown-item>
|
|
|
|
- <el-button
|
|
|
|
- size="mini"
|
|
|
|
- type="primary"
|
|
|
|
- plain
|
|
|
|
- @click="openPrint(scope.row)"
|
|
|
|
- ><i class="el-icon-share"></i> 发送</el-button
|
|
|
|
- >
|
|
|
|
- </el-dropdown-item>
|
|
|
|
<!-- <el-dropdown-item>
|
|
<!-- <el-dropdown-item>
|
|
<el-button
|
|
<el-button
|
|
size="mini"
|
|
size="mini"
|
|
@@ -298,10 +282,7 @@
|
|
<el-checkbox-group v-model="exportModel.exportContentList">
|
|
<el-checkbox-group v-model="exportModel.exportContentList">
|
|
<el-checkbox label="PAPER">试卷</el-checkbox>
|
|
<el-checkbox label="PAPER">试卷</el-checkbox>
|
|
<el-checkbox label="ANSWER">答案</el-checkbox>
|
|
<el-checkbox label="ANSWER">答案</el-checkbox>
|
|
- <el-checkbox label="COMPUTERTEST_PACKAGE"
|
|
|
|
- >机考数据包</el-checkbox
|
|
|
|
- >
|
|
|
|
- <el-checkbox label="THEMIS_PACKAGE">在线考试数据包</el-checkbox>
|
|
|
|
|
|
+ <el-checkbox label="THEMIS_PACKAGE">数据包</el-checkbox>
|
|
<!-- <el-checkbox
|
|
<!-- <el-checkbox
|
|
v-if="isShowPrintExamPackage"
|
|
v-if="isShowPrintExamPackage"
|
|
label="PRINT_EXAM_PACKAGE"
|
|
label="PRINT_EXAM_PACKAGE"
|
|
@@ -469,7 +450,6 @@ export default {
|
|
},
|
|
},
|
|
isShow: true,
|
|
isShow: true,
|
|
examList: [],
|
|
examList: [],
|
|
- Org: {},
|
|
|
|
dialogModel: false,
|
|
dialogModel: false,
|
|
rowIds: [],
|
|
rowIds: [],
|
|
isShowPrintExamPackage: false,
|
|
isShowPrintExamPackage: false,
|
|
@@ -519,7 +499,6 @@ export default {
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
this.initVue();
|
|
this.initVue();
|
|
- this.searchOrgName();
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
showSeqMode() {
|
|
showSeqMode() {
|
|
@@ -645,11 +624,6 @@ export default {
|
|
}
|
|
}
|
|
return "";
|
|
return "";
|
|
},
|
|
},
|
|
- exportGenPaper(row) {
|
|
|
|
- window.open(
|
|
|
|
- QUESTION_API + "/paper/export/" + row.id + "/" + this.user.rootOrgName
|
|
|
|
- );
|
|
|
|
- },
|
|
|
|
editGenPaper(row) {
|
|
editGenPaper(row) {
|
|
var course = this.getCourseObj(this.formSearch.courseNo);
|
|
var course = this.getCourseObj(this.formSearch.courseNo);
|
|
if (course) {
|
|
if (course) {
|
|
@@ -831,31 +805,17 @@ export default {
|
|
sessionStorage.removeItem("gen_paper_currentPage");
|
|
sessionStorage.removeItem("gen_paper_currentPage");
|
|
},
|
|
},
|
|
previewPDF2(row) {
|
|
previewPDF2(row) {
|
|
- window.open(QUESTION_API + "/paper/pdf/" + row.id);
|
|
|
|
- },
|
|
|
|
- openPrint(row) {
|
|
|
|
- this.dialogModel = true;
|
|
|
|
- this.rowIds.push(row.id);
|
|
|
|
- },
|
|
|
|
- openPrints() {
|
|
|
|
- this.dialogModel = true;
|
|
|
|
- this.rowIds = this.selectedPaperIds;
|
|
|
|
- },
|
|
|
|
- cancel(formData) {
|
|
|
|
- this.resetForm2(formData);
|
|
|
|
- this.dialogModel = false;
|
|
|
|
- },
|
|
|
|
- resetForm2(formData) {
|
|
|
|
- this.printFrom.examId = "";
|
|
|
|
- this.$refs[formData].clearValidate();
|
|
|
|
- },
|
|
|
|
- //根据orgId查询学校名称
|
|
|
|
- searchOrgName() {
|
|
|
|
- this.$http
|
|
|
|
- .get(QUESTION_API + "/org/rootOrg/" + this.user.rootOrgId)
|
|
|
|
- .then((response) => {
|
|
|
|
- this.Org = response.data;
|
|
|
|
- });
|
|
|
|
|
|
+ var key = this.user.key;
|
|
|
|
+ var token = this.user.token;
|
|
|
|
+ window.open(
|
|
|
|
+ QUESTION_API +
|
|
|
|
+ "/paper/pdf/" +
|
|
|
|
+ row.id +
|
|
|
|
+ "?$key=" +
|
|
|
|
+ key +
|
|
|
|
+ "&$token=" +
|
|
|
|
+ token
|
|
|
|
+ );
|
|
},
|
|
},
|
|
initVue() {
|
|
initVue() {
|
|
this.isClear = this.$route.params.isClear;
|
|
this.isClear = this.$route.params.isClear;
|