|
@@ -64,14 +64,14 @@
|
|
|
<p>
|
|
|
<span class="mr-4">
|
|
|
该印刷计划共计:
|
|
|
- <i class="color-primary">{{ totalInfo.totalSubjects }}</i>
|
|
|
- 科次
|
|
|
+ <i class="color-primary">{{ totalInfo.courseTotal }}</i>
|
|
|
+ 门课程
|
|
|
</span>
|
|
|
<span class="mr-4">
|
|
|
- <i class="color-primary">{{ totalInfo.taskCount }}</i> 个命题任务
|
|
|
+ <i class="color-primary">{{ totalInfo.taskTotal }}</i> 个命题任务
|
|
|
</span>
|
|
|
<span class="mr-4">
|
|
|
- <i class="color-primary">{{ totalInfo.paperCount }}</i>
|
|
|
+ <i class="color-primary">{{ totalInfo.subjectTotal }}</i>
|
|
|
科次(考生人数)
|
|
|
</span>
|
|
|
</p>
|
|
@@ -187,7 +187,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { planLinkPaperListPage } from "../api";
|
|
|
+import { planLinkPaperListPage, planLinkPaperTotal } from "../api";
|
|
|
import ModifyPlanPaper from "./ModifyPlanPaper";
|
|
|
import PrintPlanBatchLinkPaper from "./PrintPlanBatchLinkPaper.vue";
|
|
|
|
|
@@ -238,7 +238,7 @@ export default {
|
|
|
};
|
|
|
this.dataList = [];
|
|
|
this.totalInfo = {};
|
|
|
- this.toPage(1);
|
|
|
+ this.search();
|
|
|
},
|
|
|
cancel() {
|
|
|
this.modalIsShow = false;
|
|
@@ -246,6 +246,10 @@ export default {
|
|
|
open() {
|
|
|
this.modalIsShow = true;
|
|
|
},
|
|
|
+ async getTotal() {
|
|
|
+ const data = await planLinkPaperTotal(this.filter);
|
|
|
+ this.totalInfo = data || {};
|
|
|
+ },
|
|
|
async getList() {
|
|
|
const datas = {
|
|
|
...this.filter,
|
|
@@ -262,6 +266,7 @@ export default {
|
|
|
},
|
|
|
search() {
|
|
|
this.toPage(1);
|
|
|
+ this.getTotal();
|
|
|
},
|
|
|
toEdit(row) {
|
|
|
this.curRow = row;
|