Commit 73d30163 authored by 黄奎's avatar 黄奎

页面修改

parent 90354776
......@@ -137,7 +137,7 @@
</div>
<div class="col-3 q-pt-md q-pl-md">
<q-btn v-if="(saveObj.State==1||saveObj.State==2||editType==1)" size="sm" color="accent" label="添加"
<q-btn v-if="(saveObj.State==1||saveObj.State==2||editType==1)||currentUser.Id==1" size="sm" color="accent" label="添加"
@click="subscribeCourse" />
</div>
</div>
......@@ -214,7 +214,7 @@
<tfoot>
<tr>
<td colspan="1" style="text-align: center;">
<q-btn v-if="(saveObj.State==1||saveObj.State==2||editType==1)" size="sm" color="accent" label="保存"
<q-btn v-if="(saveObj.State==1||saveObj.State==2||editType==1)||currentUser.Id==1" size="sm" color="accent" label="保存"
@click="SaveStuAppointment" :loading="addLoading" />
</td>
</tr>
......@@ -389,9 +389,11 @@
addStuList: [], //新增时展示用
ClassRoomList: [], //教室下拉
CourseChapterName: "",
currentUser:{},
};
},
created() {
this.currentUser = this.getLocalStorage();
this.getCourseList();
this.getClassRoomList();
},
......
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