Commit 84ff0dba authored by 黄奎's avatar 黄奎

页面修改

parent bef6ce18
...@@ -10,26 +10,28 @@ ...@@ -10,26 +10,28 @@
no-data-label="暂无相关数据" flat class="sticky-column-table sticky-right-column-table" separator="none" no-data-label="暂无相关数据" flat class="sticky-column-table sticky-right-column-table" separator="none"
:data="dataList" :columns="columns" row-key="PaperId"> :data="dataList" :columns="columns" row-key="PaperId">
<template v-slot:top="props"> <template v-slot:top="props">
<div style="margin-right:20px;"> <template v-if="(navList&&navList.length>0)||(multipleSelection&&multipleSelection.length>0)">
<div v-if="navList&&navList.length>0" class="examPNav"> <div style="margin-right:20px;">
<span @click="getPaperChild(0)">全部</span> > <div class="examPNav" v-if="navList&&navList.length>0">
<template v-for="(item,index) in navList"> <span @click="getPaperChild(0)">全部</span> >
<span @click="getPaperChild(item.PaperId)" :class="{'lastExam':index==navList.length-1}" :key="index"> <template v-for="(item,index) in navList">
{{item.PaperName}} <span @click="getPaperChild(item.PaperId)" :class="{'lastExam':index==navList.length-1}" :key="index">
</span> {{item.PaperName}}
<span v-if="index!=navList.length-1" :key="index">></span> </span>
</template> <span v-if="index!=navList.length-1" :key="index">></span>
</template>
</div>
</div> </div>
<div v-else> <div>
试卷列表 <q-btn v-if="multipleSelection&&multipleSelection.length>0" color="accent" size="sm" class="q-mr-md"
@click="movePaperFile()" label="移动到" />
<q-btn v-if="multipleSelection&&multipleSelection.length>0" color="accent" size="sm" class="q-mr-md"
label="删除" @click="batchDelete()" />
</div> </div>
</div> </template>
<div> <template>
<q-btn v-if="multipleSelection&&multipleSelection.length>0" color="accent" size="sm" class="q-mr-md" <div class="col-2 q-table__title">试卷列表</div>
@click="movePaperFile()" label="移动到" /> </template>
<q-btn v-if="multipleSelection&&multipleSelection.length>0" color="accent" size="sm" class="q-mr-md"
label="删除" @click="batchDelete()" />
</div>
</template> </template>
<template v-slot:header-selection="scope"> <template v-slot:header-selection="scope">
<q-checkbox v-model="scope.selected" /> <q-checkbox v-model="scope.selected" />
......
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