Commit 84d8d80f authored by 黄奎's avatar 黄奎

页面修改

parent fe10e3db
......@@ -40,7 +40,6 @@
</template>
</q-table>
</div>
</div>
</template>
<script>
......
<style scoped>
.jobTable {
width: 100%;
text-align: center;
}
.jobTable tr td {
height: 40px;
color: #000;
border: 1px solid #d1d1d1;
}
.jobTable tr th {
height: 40px;
background-color: rgb(238, 238, 239);
}
.jobEvaluationDate .el-input__inner {
background: transparent !important;
border: 0 !important;
height: 28px !important;
}
</style>
<template>
<div class="page-body">
<div class="page-search row items-center">
......@@ -15,13 +38,13 @@
ref="Teacher_Id" :options="TeacherList" label="老师" dense class="col-3 q-pr-lg q-pb-lg" emit-value
map-options @input="getInfo" />
</div>
<div class="col-3" v-if="teacherDate&&saveObj.TeacherAccountId!=''&&saveObj.TeacherAccountId>0">
<div class="col-3" v-if="teacherDate&&saveObj.TeacherAccountId!=''&&saveObj.TeacherAccountId>0&&isAuth">
<q-btn label="保存" color="accent q-px-md" style="font-weight:400 !important" :loading="saveLoading"
@click="saveTeacherAssessment" />
</div>
</div>
</div>
<div class="page-content" v-if="teacherDate&&saveObj.TeacherAccountId!=''&&saveObj.TeacherAccountId>0">
<div class="page-content" v-if="teacherDate&&saveObj.TeacherAccountId!=''&&saveObj.TeacherAccountId>0&&isAuth">
<table class="jobTable" style="border-collapse:collapse;">
<tbody v-for="(item,index) in saveObj.DetailsList" :key="index">
<tr>
......@@ -134,10 +157,8 @@
queryTeacherAssessmentInfo(qMsg).then(res => {
if (res.Code == 1) {
var tempData = res.Data;
console.log("tempData", tempData);
if (tempData.CheckType > 0) {
this.isAuth = true;
}
this.saveObj.Id = tempData.Id;
this.saveObj.YearStr = tempData.YearStr;
this.saveObj.MonthStr = tempData.MonthStr;
......@@ -147,6 +168,13 @@
this.saveObj.TotalScore = tempData.TotalScore;
this.saveObj.CheckType = tempData.CheckType;
this.saveObj.DetailsList = tempData.DetailsList;
} else {
this.$q.notify({
type: 'negative',
position: "top",
message: "您没有权限操作!"
});
}
}
})
},
......@@ -178,26 +206,3 @@
<style lang="sass">
@import url('~assets/css/table.sass')
</style>
\ No newline at end of file
<style scoped>
.jobTable {
width: 100%;
text-align: center;
}
.jobTable tr td {
height: 40px;
color: #000;
border: 1px solid #d1d1d1;
}
.jobTable tr th {
height: 40px;
background-color: rgb(238, 238, 239);
}
.jobEvaluationDate .el-input__inner {
background: transparent !important;
border: 0 !important;
height: 28px !important;
}
</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