From 7c124560b27add087b4aa8fc457de1e84f950d9c Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 23 Nov 2021 15:19:33 +0800
Subject: [PATCH] 样式 (1:搜索按钮放入右侧,2:隐藏表格显影按钮,3:页码改为(15,30,50,100))
---
src/views/exam/startexam.vue | 24 +++++++++++++++---------
1 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/src/views/exam/startexam.vue b/src/views/exam/startexam.vue
index fc874e2..27bf0c0 100644
--- a/src/views/exam/startexam.vue
+++ b/src/views/exam/startexam.vue
@@ -1,15 +1,20 @@
/*
* @Author: Morpheus
* @Date: 2021-07-05 16:31:54
- * @Last Modified by: Morpheus
- * @Last Modified time: 2021-07-18 17:09:52
+ * @Last Modified by: liu
+ * @Last Modified time: 2021-11-23 14:16:42
* menu-name 考试管理
*/
<template>
<el-row class="morpheus-box-paper">
<el-col :span="24">
<el-card>
- <div class="exam-card-body">
+ <div
+ :class="[
+ 'exam-card-body',
+ $store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '',
+ ]"
+ >
<avue-crud
v-model="form"
class="company-box"
@@ -54,7 +59,7 @@
<template slot="menuLeft">
<el-button
- style="display:none"
+ style="display: none"
type="danger"
size="small"
icon="el-icon-delete"
@@ -134,7 +139,7 @@
menuWidth: 280,
labelWidth: 140,
-
+ ...this.$store.state.control.clearOtherBut,
column: [
{
label: "考试名称",
@@ -327,6 +332,7 @@
pageSize: 10,
currentPage: 1,
total: 16,
+ ...this.$store.state.control.changePageSize,
},
questionBankQuery: {},
questionBankSelectionList: [],
@@ -356,7 +362,7 @@
methods: {
questionBankOnLoad(page, params = {}) {
this.questionBankLoading = false;
- params['examType'] = 1;
+ params["examType"] = 1;
getList(
page.currentPage,
page.pageSize,
@@ -412,8 +418,8 @@
},
// 新增
questionBankRowSave(row, done, loading) {
- row.startTime = row.startTime+":00";
- row['examType'] = 1;
+ row.startTime = row.startTime + ":00";
+ row["examType"] = 1;
// row.endTime = row.examTime[1];
// row.examTime = JSON.stringify(row.examTime);
add(row).then(
@@ -435,7 +441,7 @@
// if (Array.isArray(row.examTime) != true) {
// row.examTime = row.examTime.split(",");
// }
- row.startTime = row.startTime+":00";
+ row.startTime = row.startTime + ":00";
// row.endTime = row.examTime[1];
// row.examTime = JSON.stringify(row.examTime);
update(row).then(
--
Gitblit v1.9.3