Commit fccfe259 authored by zhengke's avatar zhengke

修改

parent 06d943e3
...@@ -172,19 +172,13 @@ ...@@ -172,19 +172,13 @@
<div class="text-h6">选择学员</div> <div class="text-h6">选择学员</div>
</q-card-section> </q-card-section>
<div class="page-search row items-center"> <div class="page-search row items-center">
<div class="col row wrap q-ml-lg q-col-gutter-md"> <div class="row wrap" style="width:100%;margin-left:30px;">
<div class="col-3"> <q-input @input="research()" class="col-3 q-mr-lg" clearable filled v-model="msg.GuestName" label="学员名称"
<q-input @input="research()" clearable standout="bg-primary text-white" v-model="msg.GuestName" label="学员名称" @clear="research()" maxlength="20" />
@clear="research()" maxlength="20" /> <q-input @input="research()" class="col-3 q-mr-lg" clearable filled v-model="msg.ClassName" label="班级名称"
</div> @clear="research()" maxlength="20" />
<div class="col-3"> <q-input @input="research()" class="col-3" clearable filled v-model="msg.ClassNo" label="班级编号"
<q-input @input="research()" clearable standout="bg-primary text-white" v-model="msg.ClassName" label="班级名称" @clear="research()" maxlength="20" />
@clear="research()" maxlength="20" />
</div>
<div class="col-3">
<q-input @input="research()" clearable standout="bg-primary text-white" v-model="msg.ClassNo" label="班级编号"
@clear="research()" maxlength="20" />
</div>
</div> </div>
</div> </div>
<q-card-section class="q-pt-none scroll" style="max-height: 50vh"> <q-card-section class="q-pt-none scroll" style="max-height: 50vh">
......
...@@ -27,16 +27,20 @@ ...@@ -27,16 +27,20 @@
.Exam_PaperName { .Exam_PaperName {
width: 300px; width: 300px;
display: inline; display: inline-block;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
margin-left:3px;
} }
.Exam_PaperName i { .Exam_PaperName i {
font-size: 18px; font-size: 18px;
} }
.examPaper .el-table__expand-icon{
position: relative;
top:-6px;
}
</style> </style>
<!--试卷库管理--> <!--试卷库管理-->
<template> <template>
...@@ -66,16 +70,16 @@ ...@@ -66,16 +70,16 @@
</q-btn-dropdown> </q-btn-dropdown>
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content examPaper">
<el-table :data="dataList" v-loading="loading" :expand-row-keys="expandKeys" :default-expand-all="true" <el-table :data="dataList" v-loading="loading" :expand-row-keys="expandKeys" :default-expand-all="true"
class="tree-tab-chapter" style="width: 100%;margin-bottom: 20px;" row-key="PaperId" ref="examPaperTab" class="tree-tab-chapter" style="width: 100%;margin-bottom: 20px;" row-key="PaperId" ref="examPaperTab"
@row-click="rowsClick" :tree-props="{ children: 'ChildList', hasChildren: 'hasChildren' }"> @row-click="rowsClick" :tree-props="{ children: 'ChildList', hasChildren: 'hasChildren' }">
<el-table-column prop="PaperName" label="文件夹/试卷" width="400"> <el-table-column prop="PaperName" label="文件夹/试卷" width="400">
<template slot-scope="scope"> <template slot-scope="scope">
<i v-if="scope.row.PaperType==1" title="文件夹" class="iconfont icon-weibiaoti5" style="color:#85CDFD;position:relative;top:-5px;"></i>
<i v-if="scope.row.PaperType==2" title="试卷" class="iconfont icon-icon-test1" style="color:#85CDFD;position:relative;top:-5px;"></i>
<div class="Exam_PaperName"> <div class="Exam_PaperName">
{{ scope.row.PaperName }} {{ scope.row.PaperName }}
<i v-if="scope.row.PaperType==1" title="文件夹" class="iconfont icon-wenjianjia"></i>
<i v-if="scope.row.PaperType==2" title="试卷" class="iconfont icon-icon-test1"></i>
<q-tooltip v-if="scope.row.PaperName.length>10" :offset="[10, 10]">{{ scope.row.PaperName }}</q-tooltip> <q-tooltip v-if="scope.row.PaperName.length>10" :offset="[10, 10]">{{ scope.row.PaperName }}</q-tooltip>
</div> </div>
</template> </template>
...@@ -127,7 +131,7 @@ ...@@ -127,7 +131,7 @@
label="重命名" /> label="重命名" />
</template> </template>
<template v-if="scope.row.PaperType==2"> <template v-if="scope.row.PaperType==2">
<q-btn flat size="xs" color="primary" style="font-weight:400" @click="goExameEdit(scope.row)" <q-btn flat size="xs" color="primary" style="font-weight:400;width:68px;" @click="goExameEdit(scope.row)"
label="编辑" /> label="编辑" />
</template> </template>
<q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left: 10px"> <q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left: 10px">
......
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