Commit 88bf28b9 authored by 黄奎's avatar 黄奎

页面修改

parent d90b176f
......@@ -159,29 +159,27 @@
}
}),
created() {
this.findData();
this.findData();
let today = new Date();
// if (this.$route.query) {
// if (this.$route.query.TeacherAccountId) {
// this.msg.TeacherAccountId = parseInt(this.$route.query.TeacherAccountId)
// }
// if (this.$route.query.YearStr && this.$route.query.MonthStr) {
// this.msg.YearStr = this.$route.query.YearStr;
// this.msg.MonthStr = this.$route.query.MonthStr
// this.queryDate = this.msg.YearStr + '-' + this.msg.MonthStr
// }
// } else {
// }
this.msg.YearStr = today.getFullYear().toString();
this.msg.MonthStr = (today.getMonth() + 1).toString();
this.queryDate = this.msg.YearStr + '-' + this.msg.MonthStr;
this.msg.MonthStr = (today.getMonth() + 1).toString();
this.queryDate = this.msg.YearStr + '-' + this.msg.MonthStr;
if (this.$route.query) {
if (this.$route.query.TeacherAccountId) {
this.msg.TeacherAccountId = Number(this.$route.query.TeacherAccountId)
}
if (this.$route.query.YearStr && this.$route.query.MonthStr) {
this.msg.YearStr = this.$route.query.YearStr;
this.msg.MonthStr = this.$route.query.MonthStr
this.queryDate = this.msg.YearStr + '-' + this.msg.MonthStr
}
}
},
mounted() {
if (!this.isHaveEdit) {
let userinfo = this.getLocalStorage();
this.msg.TeacherAccountId = userinfo.Id;
}
// if (!this.isHaveEdit) {
// let userinfo = this.getLocalStorage();
// this.msg.TeacherAccountId = userinfo.Id;
// }
this.getTeacherAssessmentPage()
},
methods: {
......
......@@ -121,6 +121,9 @@
},
mounted() {
let today = new Date();
var yearStr = today.getFullYear().toString();
var monthStr = (today.getMonth() + 1).toString();
this.teacherDate = yearStr + '-' + monthStr;
if (this.$route.query) {
if (this.$route.query.Id) {
this.saveObj.Id = this.$route.query.Id;
......@@ -132,10 +135,6 @@
this.teacherDate = this.$route.query.YearStr + '-' + this.$route.query.MonthStr;
}
this.getInfo();
} else {
var yearStr = today.getFullYear().toString();
var monthStr = (today.getMonth() + 1).toString();
this.teacherDate = yearStr + '-' + monthStr;
}
},
methods: {
......
......@@ -202,9 +202,9 @@
</template>
<template v-slot:body-cell-AssessmentScore="props">
<q-td :props="props">
<!-- <span style="color:blue;cursor:pointer;" title="点击查看考核信息" @click="GoToDetails(props.row,2)">
</span> -->
{{props.row.AssessmentScore}}
<span style="color:blue;cursor:pointer;" title="点击查看考核信息" @click="GoToDetails(props.row,2)">
{{props.row.AssessmentScore}}
</span>
</q-td>
</template>
<template v-slot:body-cell-SpeakClassScore="props">
......@@ -589,7 +589,7 @@
YearStr: this.msg.YearStr,
MonthStr: this.msg.MonthStr,
};
this.OpenNewUrl('/teacher/jobEvaluation', qObj)
this.OpenNewUrl('/teacher/appraisalList', qObj)
}
},
//初始化部门数据
......
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