Commit f03952be authored by 黄奎's avatar 黄奎

页面修改

parent 0dd82f8c
...@@ -17,6 +17,10 @@ ...@@ -17,6 +17,10 @@
</template> </template>
</q-field> </q-field>
</div> </div>
<div class="col-2">
<q-select filled v-model="msg.TeacherAccountId" dense use-input label="教师" :options="MyTeacherListData"
option-label="EmployeeName" @input="refreshPage" clearable option-value="Id" emit-value map-options />
</div>
</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
...@@ -67,6 +71,9 @@ ...@@ -67,6 +71,9 @@
queryTeacherAssessmentPage, queryTeacherAssessmentPage,
SubmitTeacherAssessmentApproval SubmitTeacherAssessmentApproval
} from '../../api/teacher/index'; } from '../../api/teacher/index';
import {
queryEmployee,
} from "../../api/users/user";
import behaviorForm from "../../components/teacher/behavior-form.vue"; import behaviorForm from "../../components/teacher/behavior-form.vue";
import helpForm from "../../components/teacher/help-form.vue"; import helpForm from "../../components/teacher/help-form.vue";
export default { export default {
...@@ -142,6 +149,7 @@ ...@@ -142,6 +149,7 @@
isShowBehavior: false, //是否显示对员工评价弹窗 isShowBehavior: false, //是否显示对员工评价弹窗
isShowHelp: false, //是否显示员工对公司建议弹窗 isShowHelp: false, //是否显示员工对公司建议弹窗
objOption: null, objOption: null,
MyTeacherListData: [], //教师列表
} }
}, },
created() { created() {
...@@ -149,14 +157,22 @@ ...@@ -149,14 +157,22 @@
this.msg.YearStr = today.getFullYear().toString(); this.msg.YearStr = today.getFullYear().toString();
this.msg.MonthStr = (today.getMonth() + 1).toString(); this.msg.MonthStr = (today.getMonth() + 1).toString();
this.queryDate = this.msg.YearStr + '-' + this.msg.MonthStr; this.queryDate = this.msg.YearStr + '-' + this.msg.MonthStr;
if (this.$route.query) { this.findData();
}
}, },
mounted() { mounted() {
this.getTeacherAssessmentPage() this.getTeacherAssessmentPage()
}, },
methods: { methods: {
findData() {
queryEmployee({
AccountTypeStr: "2",
IsLeave: 1
}).then(res => {
if (res.Code == 1) {
this.MyTeacherListData = res.Data;
}
})
},
//翻页 //翻页
changePage(val) { changePage(val) {
this.msg.pageIndex = val; this.msg.pageIndex = val;
......
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