Commit 36e3ab57 authored by zhengke's avatar zhengke

1

parent fa3ff651
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<div class="col-2 q-table__title">学员信息</div> <div class="col-2 q-table__title">学员信息</div>
<q-space /> <q-space />
<div class="page-option" v-if="!pushMode"> <div class="page-option" v-if="!pushMode">
<q-btn color="accent" outline class="q-mr-md" size="sm" icon="swap_horiz" label="批量转交" <q-btn color="accent" v-if="IsTrasferAll()" outline class="q-mr-md" size="sm" icon="swap_horiz" label="批量转交"
@click="pushMode = true" /> @click="pushMode = true" />
<q-btn color="accent" outline class="q-mr-md" size="sm" icon="swap_horiz" label="推送课程顾问" <q-btn color="accent" outline class="q-mr-md" size="sm" icon="swap_horiz" label="推送课程顾问"
v-if="userInfo.IsCourseConsultant == 0" @click="pushMode = true" /> v-if="userInfo.IsCourseConsultant == 0" @click="pushMode = true" />
...@@ -528,6 +528,19 @@ ...@@ -528,6 +528,19 @@
return false; return false;
} }
}, },
//是否有批量转移权限
IsTrasferAll(){
var isHaveAuth = false;
if (this.userInfo && this.userInfo.ActionMenuList && this.userInfo.ActionMenuList.length >
0) {
this.userInfo.ActionMenuList.forEach((x) => {
if (x.FunctionCode == "IsTranserAll") {
isHaveAuth = true;
}
});
}
return isHaveAuth
},
//下载文件 //下载文件
downloadStudent() { downloadStudent() {
var msg = JSON.parse(JSON.stringify(this.queryMsg)); var msg = JSON.parse(JSON.stringify(this.queryMsg));
......
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