Commit 75f80e85 authored by 黄奎's avatar 黄奎

页面修改

parent d69198a3
......@@ -224,7 +224,7 @@
</q-item-section>
</q-item>
<q-item clickable v-close-popup @click="showOpenForm(scope.row)"
v-if="currentUserInfo.Id==scope.row.CreateBy">
v-if="currentUserInfo.Id==scope.row.CreateBy||IsPaperManager">
<q-item-section>
<q-item-label>设置访问权限</q-item-label>
</q-item-section>
......@@ -298,6 +298,7 @@
navList: [], //导航列表
IsCreateFolder: false, //是否试卷创建文件夹权限
IsCreatePaper: false, //是否创建试卷权限
IsPaperManager:false,//是否有试卷管理员权限
multipleSelection: [],
MoveIds: '',
currentUserInfo: {}, //当前登录用户
......@@ -310,9 +311,12 @@
if (x.FunctionCode == "Paper_CreateManager") { //判断是否试卷创建文件夹权限
this.IsCreateFolder = true;
}
if (x.FunctionCode == "Paper_CreatePaper") { //判断是否创建
if (x.FunctionCode == "Paper_CreatePaper") { //判断是否有创建试卷权限
this.IsCreatePaper = true;
}
if (x.FunctionCode == "Paper_Manager") { //判断是否是试卷管理员
this.IsPaperManager = true;
}
})
},
mounted() {
......
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