Commit 3d58ed53 authored by zhengke's avatar zhengke

修改

parent b386cc61
......@@ -2,7 +2,12 @@
.examForm .q-table__bottom {
min-height: 10px;
}
.examForm .isOpen_Type{
color: var(--q-color-primary);
}
.examForm .q-breadcrumbs__el{
cursor: pointer;
}
</style>
<template>
<div class="page-content examForm">
......@@ -12,14 +17,12 @@
<template v-slot:top="props">
<template v-if="(navList&&navList.length>0)||(multipleSelection&&multipleSelection.length>0)">
<div style="height:38px;display:flex;align-items:center;">
<div class="examPNav" v-if="navList&&navList.length>0" style="margin-right:20px;">
<span @click="getPaperChild(0)">全部</span> >
<template v-for="(item,index) in navList">
<span @click="getPaperChild(item.PaperId)" :class="{'lastExam':index==navList.length-1}" :key="index">
{{item.PaperName}}
</span>
<span v-if="index!=navList.length-1" :key="index">></span>
</template>
<div v-if="navList&&navList.length>0" style="margin-right:20px;">
<q-breadcrumbs>
<q-breadcrumbs-el label="全部" @click="getPaperChild(0)" />
<q-breadcrumbs-el :label="item.PaperName" :class="{'lastExam':index==navList.length-1}"
@click="getPaperChild(item.PaperId)" v-for="(item,index) in navList" :key="index" />
</q-breadcrumbs>
</div>
<div>
<q-btn v-if="multipleSelection&&multipleSelection.length>0" color="accent" size="sm" class="q-mr-md"
......@@ -61,7 +64,7 @@
<template v-slot:body-cell-QuestionCount="props">
<q-td :props="props">
<template v-if="props.row.PaperType==1">
---
<span style="color:gray">-</span>
</template>
<template v-if="props.row.PaperType==2">
{{ props.row.QuestionCount }}
......@@ -71,7 +74,7 @@
<template v-slot:body-cell-DifficultyTypeName="props">
<q-td :props="props">
<template v-if="props.row.PaperType==1">
---
<span style="color:gray">-</span>
</template>
<template v-if="props.row.PaperType==2">
{{ props.row.DifficultyTypeName }}
......@@ -81,7 +84,7 @@
<template v-slot:body-cell-PublishCount="props">
<q-td :props="props">
<template v-if="props.row.PaperType==1">
---
<span style="color:gray">-</span>
</template>
<template v-if="props.row.PaperType==2">
{{ props.row.PublishCount }}
......@@ -91,10 +94,10 @@
<template v-slot:body-cell-OpenStr="props">
<q-td :props="props">
<template v-if="props.row.PaperType==1">
---
<span style="color:gray">-</span>
</template>
<template v-if="props.row.PaperType==2">
{{ props.row.OpenStr }}
<span :class="{'isOpen_Type':props.row.IsOpen==2}">{{ props.row.OpenStr }}</span>
</template>
</q-td>
</template>
......@@ -117,8 +120,9 @@
v-if="currentUserInfo.Id==props.row.CreateBy" />
</template>
<template v-if="props.row.PaperType==2">
<q-btn flat size="xs" color="primary" style="font-weight:400" @click="goExameEdit(props.row)" label="编辑"
<q-btn flat size="xs" color="primary" icon="edit" style="font-weight:400" @click="goExameEdit(props.row)" label="编辑"
v-if="currentUserInfo.Id==props.row.CreateBy &&(props.row.ExamineStatus==0||props.row.ExamineStatus==3||props.row.ExamineStatus==4)" />
<q-btn flat size="xs" color="primary" icon="iconfont icon-View" style="font-weight:400" @click="showPaperInfo(props.row)" label="详情"/>
</template>
<q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left: 10px">
<q-list>
......@@ -134,11 +138,6 @@
<q-item-label>发布考试</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup @click="showPaperInfo(props.row)" v-if="props.row.PaperType==2">
<q-item-section>
<q-item-label>详情</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup @click="movePaperInfo(props.row)"
v-if="currentUserInfo.Id==props.row.CreateBy">
<q-item-section>
......@@ -246,7 +245,7 @@
align: "left"
}, {
name: "PublishCount",
label: "发布考试次数",
label: "发布次数",
field: "PublishCount",
align: "left"
}, {
......
......@@ -30,7 +30,6 @@
}
.lastExam {
color: #6B89B3;
cursor: default !important;
pointer-events: none;
}
......@@ -67,7 +66,7 @@
<div class="col-3">
<q-select v-model="msg.QCreateBy"
:options="EmployeeList" filled use-input label="创建人" @input="refreshPage" clearable option-label="EmployeeName" option-value="Id"
ref="EmployeeName" class="col-6 q-pb-lg" emit-value map-options @filter="filterFn">
ref="EmployeeName" class="col-6" emit-value map-options @filter="filterFn">
<template v-slot:no-option>
<q-item>
<q-item-section class="text-grey">
......
......@@ -25,7 +25,6 @@
}
.lastExam {
color: #6B89B3;
cursor: default !important;
pointer-events: none;
}
......@@ -37,7 +36,6 @@
.ExamPaper_Sysuser_Date .el-range-editor.el-input__inner {
background-color: transparent;
}
</style>
<!--试卷库管理-->
<template>
......
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