Commit 3d58ed53 authored by zhengke's avatar zhengke

修改

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