Commit 0ae3ba70 authored by zhengke's avatar zhengke

修改

parent f2ce6050
......@@ -32,9 +32,14 @@
</style>
<template>
<div>
<q-btn label="新增" color="accent q-mb-lg" size="sm" v-if="userInfo.IsCourseConsultant == 1"
<template v-if="userInfo.IsCourseConsultant == 1">
<q-btn label="新增" color="accent q-mb-lg" size="sm" v-if="userInfo.IsCourseConsultant == 1"
@click="isShowAdd = true" />
<span class="text-grey-4" v-else>抱歉,你没有权限邀请其他服务人员</span>
</template>
<q-btn label="新增" color="accent q-mb-lg" size="sm" v-if="isHaveTeacherEdit"
@click="isShowAdd = true" />
<span class="text-grey-4" v-else>抱歉,你没有权限邀请其他服务人员</span>
<q-btn label="取消" style="margin-left:20px;" v-if="isShowAdd" flat color="grey-10 q-mb-lg" size="sm"
@click="isShowAdd = false" />
<template v-if="isShowAdd">
......@@ -70,7 +75,7 @@
<tr>
<th style="width:180px;">角色</th>
<th style="width:180px;">人员</th>
<th v-if="userInfo.IsCourseConsultant == 1">操作</th>
<th v-if="userInfo.IsCourseConsultant == 1||isHaveTeacherEdit">操作</th>
</tr>
<tr v-for="(item, index) in dataList" :key="index">
<td>{{ item.AssistTypeName }}</td>
......
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