Commit fba47e98 authored by 黄奎's avatar 黄奎

页面修改

parent 57158400
...@@ -47,6 +47,10 @@ ...@@ -47,6 +47,10 @@
v-model="objOption.IsRecommend" /> v-model="objOption.IsRecommend" />
<div class="text-grey-6 text-caption">注意:推荐后教师将在营销端呈现</div> <div class="text-grey-6 text-caption">注意:推荐后教师将在营销端呈现</div>
</div> </div>
<div class="col-6 q-pb-lg q-pt-lg">
<q-input filled stack-label maxlength="100" :dense="false" v-model="objOption.BaseStuNum" ref="BaseStuNum"
class="col-6 q-pb-lg" label="带班基础人数" />
</div>
<div class="col-12 q-pb-lg"> <div class="col-12 q-pb-lg">
<q-field filled label="教师标签" bg-color="white" stack-label> <q-field filled label="教师标签" bg-color="white" stack-label>
<template v-slot:control> <template v-slot:control>
...@@ -122,6 +126,7 @@ ...@@ -122,6 +126,7 @@
TeachTag: "", TeachTag: "",
Dept_Id: 0, //部门编号 Dept_Id: 0, //部门编号
Post_Id: 0, //岗位编号 Post_Id: 0, //岗位编号
BaseStuNum:0,//带班基础人数
}, },
optionTitle: "", optionTitle: "",
schoolList: [], schoolList: [],
...@@ -223,6 +228,7 @@ ...@@ -223,6 +228,7 @@
this.objOption.TeachTag = this.saveObj.TeachTag; this.objOption.TeachTag = this.saveObj.TeachTag;
this.objOption.Dept_Id = this.saveObj.Dept_Id; this.objOption.Dept_Id = this.saveObj.Dept_Id;
this.objOption.Post_Id = this.saveObj.Post_Id; this.objOption.Post_Id = this.saveObj.Post_Id;
this.objOption.BaseStuNum=this.saveObj.BaseStuNum;
if (this.objOption.School_Id) { if (this.objOption.School_Id) {
this.queryDeptTree(); this.queryDeptTree();
} }
...@@ -275,7 +281,11 @@ ...@@ -275,7 +281,11 @@
} }
}, },
saveTeacher() { saveTeacher() {
this.saveLoading = true this.saveLoading = true;
if(this.objOption.Dept_Id&&this.objOption.Dept_Id=="")
{
this.objOption.Dept_Id=0;
}
this.$refs.School_Id.validate() this.$refs.School_Id.validate()
this.$refs.TeacherName.validate() this.$refs.TeacherName.validate()
this.$refs.TeacherTel.validate() this.$refs.TeacherTel.validate()
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
</div> </div>
<div class="page-content"> <div class="page-content">
<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" class="sticky-right-column-table sticky-column-table" separator="none" :data="data" :columns="columns"
:columns="columns" row-key="name"> 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 />
...@@ -128,8 +128,7 @@ ...@@ -128,8 +128,7 @@
data() { data() {
return { return {
currentUrl: "", currentUrl: "",
columns: [ columns: [{
{
name: 'TeacherName', name: 'TeacherName',
required: true, required: true,
label: '教师名称', label: '教师名称',
...@@ -166,6 +165,12 @@ ...@@ -166,6 +165,12 @@
field: 'PostName', field: 'PostName',
align: 'left', align: 'left',
}, },
{
name: 'BaseStuNum',
label: '带班基础人数',
field: 'BaseStuNum',
align: 'left',
},
{ {
name: 'AuditStatus', name: 'AuditStatus',
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