Commit 83611174 authored by 黄奎's avatar 黄奎

页面修改

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