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

页面修改

parent 03131675
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="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)" /> @click="getCurrentAuditMan(props.row)" />
<q-popup-proxy v-if="isShowEdit"> <q-popup-proxy v-if="isShowEdit">
<q-banner> <q-banner>
...@@ -238,11 +238,20 @@ ...@@ -238,11 +238,20 @@
isShowEdit: false, isShowEdit: false,
AuditList: [], //角色数组 AuditList: [], //角色数组
EmployeeList: [], EmployeeList: [],
AllemployeeList: [] AllemployeeList: [],
IsEditEduReceipAudit:false,//是否有修改审核人权限
} }
}, },
created() { 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() { mounted() {
this.currentUrl = this.$route.path; this.currentUrl = this.$route.path;
...@@ -284,7 +293,7 @@ ...@@ -284,7 +293,7 @@
} }
this.showType = type; this.showType = type;
this.billObj = item; this.billObj = item;
this.isShowEdit=false; this.isShowEdit = false;
}, },
//重新查询 //重新查询
resetSearch() { resetSearch() {
...@@ -372,10 +381,10 @@ ...@@ -372,10 +381,10 @@
//保存 //保存
saveBill() { saveBill() {
saveAuditMan({ saveAuditMan({
Info:this.AuditList Info: this.AuditList
}).then(res => { }).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.isShow=false; this.isShow = false;
this.$q.notify({ this.$q.notify({
icon: 'iconfont icon-chenggong', icon: 'iconfont icon-chenggong',
color: 'accent', 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