Commit b28f5974 authored by 黄奎's avatar 黄奎

页面修改

parent 010b7bbc
...@@ -11,6 +11,10 @@ ...@@ -11,6 +11,10 @@
v-model="msg.School_Id" ref="School_Id" :options="schoolList" emit-value map-options label="所属校区" v-model="msg.School_Id" ref="School_Id" :options="schoolList" emit-value map-options label="所属校区"
:dense="false" /> :dense="false" />
</div> </div>
<div class="col-3">
<q-select filled @input="resetSearch" stack-label option-value="Id" option-label="Name" v-model="msg.IsLeave "
:options="LeaveStatusList" label="在职状态" :dense="false" emit-value map-options />
</div>
<div class="col-3"> <div class="col-3">
<q-select @input="resetSearch" standout="bg-primary text-white" v-model="msg.IsShow" :options="ShowOpts" <q-select @input="resetSearch" standout="bg-primary text-white" v-model="msg.IsShow" :options="ShowOpts"
emit-value map-options label="显示状态" /> emit-value map-options label="显示状态" />
...@@ -21,7 +25,7 @@ ...@@ -21,7 +25,7 @@
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-right-column-table sticky-column-table" separator="none" :data="data" :columns="columns" class="sticky-right-column-table sticky-column-table" separator="none" :data="data" :columns="columns"
row-key="name"> row-key="name">
<template v-slot:top="props"> <template v-slot:top>
<div class="col-2 q-table__title">教师信息</div> <div class="col-2 q-table__title">教师信息</div>
<q-space /> <q-space />
<div class="page-option"> <div class="page-option">
...@@ -244,7 +248,17 @@ ...@@ -244,7 +248,17 @@
AuditStatus: "-1", AuditStatus: "-1",
School_Id: "", School_Id: "",
IsShow: "-1", IsShow: "-1",
IsLeave: 1, //在职
}, },
LeaveStatusList: [{
Id: 1,
Name: "在职"
},
{
Id: 2,
Name: "离职"
}
], //在职状态
pageCount: 0, pageCount: 0,
persistent: false, persistent: false,
objOption: null, objOption: null,
...@@ -390,10 +404,8 @@ ...@@ -390,10 +404,8 @@
} }
}, },
} }
</script> </script>
<style lang="sass"> <style lang="sass">
@import url('~assets/css/table.sass') @import url('~assets/css/table.sass')
</style> </style>
\ No newline at end of file
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