Commit 83611174 authored by 黄奎's avatar 黄奎

页面修改

parent 3e26113a
...@@ -155,7 +155,6 @@ ...@@ -155,7 +155,6 @@
padding: 5px 10px; padding: 5px 10px;
align-items: center; align-items: center;
} }
</style> </style>
<template> <template>
<div class="page-body stuList"> <div class="page-body stuList">
...@@ -218,6 +217,19 @@ ...@@ -218,6 +217,19 @@
<q-input @input="resetSearch" clearable standout="bg-primary text-white" v-model="msg.GuestName" label="学员姓名" <q-input @input="resetSearch" clearable standout="bg-primary text-white" v-model="msg.GuestName" label="学员姓名"
@clear="resetSearch" maxlength="20" /> @clear="resetSearch" maxlength="20" />
</div> </div>
<div class="col-3">
<q-select @input="resetSearch" standout="bg-primary text-white" v-model="msg.GuestState" class="col-6"
option-label="Name" option-value="Id" use-input :options="GuestStateList" emit-value map-options
label="学员状态" clearable>
<template v-slot:no-option>
<q-item>
<q-item-section class="text-grey">
未找到相关数据
</q-item-section>
</q-item>
</template>
</q-select>
</div>
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
...@@ -356,6 +368,9 @@ ...@@ -356,6 +368,9 @@
getEarlyWarningEnum, getEarlyWarningEnum,
getTypeEnum, getTypeEnum,
} from "../../api/stuMan/index.js"; } from "../../api/stuMan/index.js";
import {
queryGuestStateList
} from "../../api/sale/sale.js";
import MoreQuery from "../../components/stuMan/moreQuery.vue"; import MoreQuery from "../../components/stuMan/moreQuery.vue";
import StopLessonForm from "../../components/teacher/stopLessonForm"; import StopLessonForm from "../../components/teacher/stopLessonForm";
import transferclassForm from "../../components/sale/transferclass-form"; //转班信息 import transferclassForm from "../../components/sale/transferclass-form"; //转班信息
...@@ -399,6 +414,7 @@ ...@@ -399,6 +414,7 @@
EarlyWarning: 0, //预警 EarlyWarning: 0, //预警
OrderTime: "", //下单时间 OrderTime: "", //下单时间
EndOrderTime: "", //下单结束时间 EndOrderTime: "", //下单结束时间
GuestState: "", //学员状态
}, },
pageCount: 0, pageCount: 0,
columns: [{ columns: [{
...@@ -588,8 +604,13 @@ ...@@ -588,8 +604,13 @@
isShowList: false, //是否显示可补课课时,缺勤次数,请假次数 isShowList: false, //是否显示可补课课时,缺勤次数,请假次数
showType: 1, showType: 1,
isShowEventLog: false, //是否显示事件记录 isShowEventLog: false, //是否显示事件记录
GuestStateList: [], //学员状态列表
}; };
}, },
created() {
this.getGuestStateList();
},
mounted() { mounted() {
this.getSchool(); this.getSchool();
this.getCourseList(); this.getCourseList();
...@@ -599,6 +620,12 @@ ...@@ -599,6 +620,12 @@
this.getList(); this.getList();
}, },
methods: { methods: {
//获取学员状态列表
getGuestStateList() {
queryGuestStateList({}).then(res => {
this.GuestStateList = res.Data;
})
},
//获取校区下拉 //获取校区下拉
getSchool() { getSchool() {
getSchoolDropdown({}).then((res) => { getSchoolDropdown({}).then((res) => {
...@@ -839,9 +866,7 @@ ...@@ -839,9 +866,7 @@
}, },
}, },
}; };
</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