Commit fccfe259 authored by zhengke's avatar zhengke

修改

parent 06d943e3
......@@ -172,19 +172,13 @@
<div class="text-h6">选择学员</div>
</q-card-section>
<div class="page-search row items-center">
<div class="col row wrap q-ml-lg q-col-gutter-md">
<div class="col-3">
<q-input @input="research()" clearable standout="bg-primary text-white" v-model="msg.GuestName" label="学员名称"
@clear="research()" maxlength="20" />
</div>
<div class="col-3">
<q-input @input="research()" clearable standout="bg-primary text-white" v-model="msg.ClassName" label="班级名称"
@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 class="row wrap" style="width:100%;margin-left:30px;">
<q-input @input="research()" class="col-3 q-mr-lg" clearable filled v-model="msg.GuestName" label="学员名称"
@clear="research()" maxlength="20" />
<q-input @input="research()" class="col-3 q-mr-lg" clearable filled v-model="msg.ClassName" label="班级名称"
@clear="research()" maxlength="20" />
<q-input @input="research()" class="col-3" clearable filled v-model="msg.ClassNo" label="班级编号"
@clear="research()" maxlength="20" />
</div>
</div>
<q-card-section class="q-pt-none scroll" style="max-height: 50vh">
......
......@@ -27,16 +27,20 @@
.Exam_PaperName {
width: 300px;
display: inline;
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin-left:3px;
}
.Exam_PaperName i {
font-size: 18px;
}
.examPaper .el-table__expand-icon{
position: relative;
top:-6px;
}
</style>
<!--试卷库管理-->
<template>
......@@ -66,16 +70,16 @@
</q-btn-dropdown>
</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"
class="tree-tab-chapter" style="width: 100%;margin-bottom: 20px;" row-key="PaperId" ref="examPaperTab"
@row-click="rowsClick" :tree-props="{ children: 'ChildList', hasChildren: 'hasChildren' }">
<el-table-column prop="PaperName" label="文件夹/试卷" width="400">
<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">
{{ 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>
</div>
</template>
......@@ -127,7 +131,7 @@
label="重命名" />
</template>
<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="编辑" />
</template>
<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