Commit 5b2427d1 authored by 黄奎's avatar 黄奎

页面修改

parent f25e8d43
......@@ -159,7 +159,7 @@
</style>
<template>
<q-dialog v-model="persistent" content-class="bg-grey-1" persistent transition-show="scale" transition-hide="scale">
<q-card style="width: 800px;max-width:900px;">
<q-card style="width:800px;max-width:800px;">
<q-card-section>
<div class="text-h6">选择学员</div>
</q-card-section>
......@@ -180,9 +180,6 @@
</div>
</div>
<q-card-section class="q-pt-none scroll" style="max-height: 50vh">
<!-- <el-tree :data="dataList" show-checkbox node-key="GuestId" @check-change="handleCheckChange" ref="classStuTree" highlight-current
:props="defaultProps">
</el-tree> -->
<div class="SendContent">
<div class="SendOne_Left">
<div class="object_tit">
......
......@@ -235,7 +235,8 @@
</div>
<div style="width:20%;text-align:right;">
<q-btn color="accent" size="sm" class="q-mr-md" label="预览" />
<q-btn color="accent" size="sm" class="q-mr-md" label="保存并返回" @click="SavePaper()" />
<q-btn color="accent" size="sm" class="q-mr-md" label="保存并返回" :loading="savePaperLoading"
@click="SavePaper()" />
</div>
</div>
<div class="Exam-main">
......@@ -512,7 +513,8 @@
examNum: 0, //题量
examScore: 0, //总分
ComOneIndex: -1,
ComCheckIndex: -1
ComCheckIndex: -1,
savePaperLoading: false,
}
},
created() {
......@@ -848,8 +850,11 @@
},
//保存题目
SavePaper() {
if (this.validateType()) {
this.savePaperLoading = true;
savePaperInfo(this.DataObj).then(res => {
this.savePaperLoading = false;
if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment