Commit fba47e98 authored by 黄奎's avatar 黄奎

页面修改

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