修改考试系统页面

This commit is contained in:
Vce 2024-04-10 09:31:34 +08:00
parent 34e8ff308b
commit e0f51932b7
2 changed files with 25 additions and 8 deletions

View File

@ -178,9 +178,14 @@
</div> </div>
<div class="innerThree"> <div class="innerThree">
<vue-scroll> <vue-scroll>
<el-checkbox-group v-model="compulsoryCheckedList" @change="handleCpsList"> <el-table class="tables" :show-header="false" :data="compulsoryList" height="200" style="min-height:15000px">
<el-checkbox v-for="(item,i) in compulsoryList" :key="i" :label="item.label"></el-checkbox> <el-table-column align="center" prop="id" label="考" width="80"></el-table-column>
</el-checkbox-group> <el-table-column align="center"></el-table-column>
<el-table-column align="center" type="selection" width="65"></el-table-column>
</el-table>
<!-- <el-checkbox-group v-model="cpsCheckedList" @change="handleCpsList">
<el-checkbox v-for="(item) in compulsoryList" :key="item.id" :label="item.label">{{item.label}}</el-checkbox>
</el-checkbox-group> -->
<!-- <div class="dialog-tree"> <!-- <div class="dialog-tree">
<el-tree :data="compulsoryTreeList" :filter-node-method="filterNode" :highlight-current="true" :check-on-click-node="false" <el-tree :data="compulsoryTreeList" :filter-node-method="filterNode" :highlight-current="true" :check-on-click-node="false"
show-checkbox :props="defaultProps" node-key="sn" ref="groupTree" > show-checkbox :props="defaultProps" node-key="sn" ref="groupTree" >
@ -417,8 +422,20 @@ export default {
], ],
}, },
], ],
compulsoryList: [{ id: 111, lable: '111' }], cpsCheckedList:[],
electiveList: [{ id: 222, lable: '222' }], compulsoryList: [
{ id: 111, lable: '111' },
{ id: 112, lable: '112' },
{ id: 113, lable: '113' },
{ id: 113, lable: '113' },
{ id: 113, lable: '113' },
{ id: 113, lable: '113' },
],
electiveList: [
{ id: 221, lable: '221' },
{ id: 222, lable: '222' },
{ id: 223, lable: '223' },
],
defaultProps: { defaultProps: {
// children: "list", // children: "list",
children: 'children', children: 'children',
@ -753,7 +770,7 @@ export default {
} }
.tlThree { .tlThree {
// border: 1px solid; // border: 1px solid;
height: 480px; height: 540px;
.dialog-tree { .dialog-tree {
margin: 0px 0px; margin: 0px 0px;
.treeStyle(); .treeStyle();
@ -787,7 +804,7 @@ export default {
flex-direction: column; flex-direction: column;
justify-content: space-around; justify-content: space-around;
.trItem { .trItem {
// background-color: blue; background-color: blue;
height: 46%; height: 46%;
margin: 0 5px; margin: 0 5px;
.trItemInner { .trItemInner {

View File

@ -5,7 +5,7 @@
<div class="searchBox whiteBlock"> <div class="searchBox whiteBlock">
<el-form :inline="true" size="medium" :model="queryInfo" class="demo-form-inline"> <el-form :inline="true" size="medium" :model="queryInfo" class="demo-form-inline">
<el-form-item> <el-form-item>
<el-button type="warning" plain @click="refreshBtn">刷新</el-button> <!-- <el-button type="warning" plain @click="refreshBtn">刷新</el-button> -->
<el-button class="expintBtn" size="medium" type="primary" @click="addBefore(1, null)">新增</el-button> <el-button class="expintBtn" size="medium" type="primary" @click="addBefore(1, null)">新增</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>