Commit b313f725 authored by 黄奎's avatar 黄奎

页面修改

parent 8213a236
<style> <style>
.makeup .el-input__inner { .makeup .el-input__inner {
border: none !important; border: none !important;
background: transparent !important; background: transparent !important;
} }
</style> </style>
<template> <template>
<div class="page-body makeup"> <div class="page-body makeup">
...@@ -41,8 +42,9 @@ ...@@ -41,8 +42,9 @@
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-column-table sticky-right-column-table" <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
separator="none" :data="data" :columns="columns" row-key="name"> class="sticky-column-table sticky-right-column-table" separator="none" :data="data" :columns="columns"
row-key="name">
<template v-slot:top="props"> <template v-slot:top="props">
<div class="col-2 q-table__title">补课管理</div> <div class="col-2 q-table__title">补课管理</div>
<q-space /> <q-space />
...@@ -66,13 +68,13 @@ ...@@ -66,13 +68,13 @@
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props"> <q-td :props="props">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="处理" <q-btn v-if="props.row.MakeUpStatus==3" flat size="xs" icon="edit" color="accent" style="font-weight:400"
@click="isShowEdit=true,getClickItem(props.row)"> label="处理" @click="isShowEdit=true,getClickItem(props.row)">
<q-popup-proxy> <q-popup-proxy>
<q-banner v-if="isShowEdit"> <q-banner v-if="isShowEdit">
<div class="calenderDialog"> <div class="calenderDialog">
<div style="margin:10px 0 15px 0;">设置处理状态</div> <div style="margin:10px 0 15px 0;">设置处理状态</div>
<q-select standout="bg-primary text-white" option-value="Id" option-label="Name" <q-select standout="bg-primary text-white" option-value="Id" option-label="Name"
v-model="statusMsg.MakeUpStatus" :options="statusList" emit-value map-options label="班级状态" /> v-model="statusMsg.MakeUpStatus" :options="statusList" emit-value map-options label="班级状态" />
<q-card-actions align="right" class="bg-white" style="margin-top:20px;"> <q-card-actions align="right" class="bg-white" style="margin-top:20px;">
<q-btn label="取消" flat color="grey-10" size="sm" @click="isShowEdit=false" <q-btn label="取消" flat color="grey-10" size="sm" @click="isShowEdit=false"
...@@ -129,13 +131,24 @@ ...@@ -129,13 +131,24 @@
field: 'TeacherName', field: 'TeacherName',
align: 'left' align: 'left'
}, },
{ {
name: 'RoomName', name: 'RoomName',
label: '教室名称', label: '教室名称',
field: 'RoomName', field: 'RoomName',
align: 'left' align: 'left'
}, },
{
name: 'ClassDate',
label: '日期',
field: 'ClassDate',
align: 'left'
},
{
name: 'GuestStateStr',
label: '学员状态',
field: 'GuestStateStr',
align: 'left'
},
{ {
name: 'MakeUpStatusStr', name: 'MakeUpStatusStr',
label: '状态', label: '状态',
......
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