|
@@ -39,6 +39,10 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<p class="page-inquire-common-style-button" @click="handleQuery">查询</p>
|
|
<p class="page-inquire-common-style-button" @click="handleQuery">查询</p>
|
|
|
<p class="page-reset-common-style-button" @click="resetQuery">重置</p>
|
|
<p class="page-reset-common-style-button" @click="resetQuery">重置</p>
|
|
|
|
|
+ <p class="page-submit-common-style-button"
|
|
|
|
|
+ style="float: right;"
|
|
|
|
|
+ @click="tableButton(3)"
|
|
|
|
|
+ >成绩报告打印</p>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="page-content-box">
|
|
<div class="page-content-box">
|
|
@@ -70,13 +74,31 @@
|
|
|
</div>
|
|
</div>
|
|
|
<examRecords :propsData="propsData" v-if="pageType === 2"></examRecords>
|
|
<examRecords :propsData="propsData" v-if="pageType === 2"></examRecords>
|
|
|
<historyOfIncorrectQuestions :historyOfIncorrectQuestionsPropsData="historyOfIncorrectQuestionsPropsData" v-if="pageType === 3"></historyOfIncorrectQuestions>
|
|
<historyOfIncorrectQuestions :historyOfIncorrectQuestionsPropsData="historyOfIncorrectQuestionsPropsData" v-if="pageType === 3"></historyOfIncorrectQuestions>
|
|
|
|
|
+ <el-dialog class="myGrades-dialog"
|
|
|
|
|
+ :modal-append-to-body="false"
|
|
|
|
|
+ :close-on-click-modal="false" :close-on-press-escape="false"
|
|
|
|
|
+ title="毕业教育考试数据统计报告"
|
|
|
|
|
+ :visible.sync="dialogType"
|
|
|
|
|
+ v-if="dialogType"
|
|
|
|
|
+ width="778px"
|
|
|
|
|
+ append-to-body>
|
|
|
|
|
+ <div style="height:600px;overflow-y:scroll">
|
|
|
|
|
+ <dataStatisticsReport></dataStatisticsReport>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div slot="footer" class="dialog-footer dialog-footer-box">
|
|
|
|
|
+ <p class="dialog-footer-button-null"></p>
|
|
|
|
|
+ <p class="dialog-footer-button-info" @click="dialogCancel">关闭</p>
|
|
|
|
|
+ <p class="dialog-footer-button-primary" @click="dialogSubmit">下载</p>
|
|
|
|
|
+ <p class="dialog-footer-button-null"></p>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
|
//import { getDicts } from "@/api/commonality/noPermission";
|
|
//import { getDicts } from "@/api/commonality/noPermission";
|
|
|
//import { systemUserSelect } from "@/api/commonality/permission";
|
|
//import { systemUserSelect } from "@/api/commonality/permission";
|
|
|
//import { getInfo } from "@/api/basicsModules/index";
|
|
//import { getInfo } from "@/api/basicsModules/index";
|
|
|
- //import addPage from "./addPage.vue";
|
|
|
|
|
|
|
+ import dataStatisticsReport from "./dataStatisticsReport.vue";
|
|
|
import historyOfIncorrectQuestions from "@/views/safetyEducationExaminationNew/components/historyOfIncorrectQuestions.vue";
|
|
import historyOfIncorrectQuestions from "@/views/safetyEducationExaminationNew/components/historyOfIncorrectQuestions.vue";
|
|
|
import examRecords from "@/views/safetyEducationExaminationNew/components/examRecords.vue";
|
|
import examRecords from "@/views/safetyEducationExaminationNew/components/examRecords.vue";
|
|
|
import { examElExamUserResultMyScoreListPage,examUserExamTypeSelectExamType, } from "@/api/safetyEducationExaminationNew/index";
|
|
import { examElExamUserResultMyScoreListPage,examUserExamTypeSelectExamType, } from "@/api/safetyEducationExaminationNew/index";
|
|
@@ -85,6 +107,7 @@
|
|
|
components: {
|
|
components: {
|
|
|
historyOfIncorrectQuestions,
|
|
historyOfIncorrectQuestions,
|
|
|
examRecords,
|
|
examRecords,
|
|
|
|
|
+ dataStatisticsReport
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -110,6 +133,7 @@
|
|
|
//组件传参
|
|
//组件传参
|
|
|
propsData: {},
|
|
propsData: {},
|
|
|
historyOfIncorrectQuestionsPropsData:{},
|
|
historyOfIncorrectQuestionsPropsData:{},
|
|
|
|
|
+ dialogType:false,
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
@@ -179,12 +203,23 @@
|
|
|
examId:row.examId,
|
|
examId:row.examId,
|
|
|
};
|
|
};
|
|
|
this.$set(this, 'historyOfIncorrectQuestionsPropsData', obj)
|
|
this.$set(this, 'historyOfIncorrectQuestionsPropsData', obj)
|
|
|
|
|
+ }else if(type == 3){
|
|
|
|
|
+ //成绩报告打印
|
|
|
|
|
+ this.$set(this,'dialogType',true);
|
|
|
} else if (type == 6) {
|
|
} else if (type == 6) {
|
|
|
//返回并刷新
|
|
//返回并刷新
|
|
|
this.$set(this, 'pageType', 1)
|
|
this.$set(this, 'pageType', 1)
|
|
|
this.getList()
|
|
this.getList()
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ //关闭弹窗
|
|
|
|
|
+ dialogCancel(){
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ //下载报告
|
|
|
|
|
+ dialogSubmit(){
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
examUserExamTypeSelectExamType(){
|
|
examUserExamTypeSelectExamType(){
|
|
|
let self = this;
|
|
let self = this;
|
|
|
examUserExamTypeSelectExamType({examType:3}).then(response => {
|
|
examUserExamTypeSelectExamType({examType:3}).then(response => {
|