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

页面修改

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