Commit 7c33f78b authored by 黄奎's avatar 黄奎

页面修改

parent 03131675
......@@ -76,7 +76,7 @@
</template>
<template v-slot:body-cell-optioned="props">
<q-td :props="props">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="修改"
<q-btn flat size="xs" v-if="IsEditEduReceipAudit" icon="edit" color="accent" style="font-weight:400" label="修改"
@click="getCurrentAuditMan(props.row)" />
<q-popup-proxy v-if="isShowEdit">
<q-banner>
......@@ -238,11 +238,20 @@
isShowEdit: false,
AuditList: [], //角色数组
EmployeeList: [],
AllemployeeList: []
AllemployeeList: [],
IsEditEduReceipAudit:false,//是否有修改审核人权限
}
},
created() {
var localStorageData = window.localStorage["loginUserInfo"];
let ActionMenuList = JSON.parse(localStorageData).data.ActionMenuList
if (ActionMenuList && ActionMenuList.length > 0) {
ActionMenuList.forEach(x => {
if (x.FunctionCode == 'Edit_EduReceipAudit') {
this.IsEditEduReceipAudit = true;
}
})
}
},
mounted() {
this.currentUrl = this.$route.path;
......@@ -284,7 +293,7 @@
}
this.showType = type;
this.billObj = item;
this.isShowEdit=false;
this.isShowEdit = false;
},
//重新查询
resetSearch() {
......@@ -372,10 +381,10 @@
//保存
saveBill() {
saveAuditMan({
Info:this.AuditList
Info: this.AuditList
}).then(res => {
if (res.Code == 1) {
this.isShow=false;
this.isShow = false;
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
......
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