Commit 08a25a33 authored by 黄奎's avatar 黄奎

页面修改

parent 62fc1598
......@@ -32,7 +32,8 @@
<q-td v-if="col.name == 'Name'" style="width:200px;">
{{col.value}}
</q-td>
<q-td v-else-if="col.name == 'SupplierName'">
<q-td v-else-if="col.name == 'SupplierName' ">
<!--&& isHaveViewSupplierAction-->
<div>{{col.value}}</div>
<div>
<a :href="props.row.SupplierContract" style="color:#2961FE;text-decoration:none;"
......@@ -185,7 +186,7 @@
import {
mapState
} from "vuex";
export default {
meta: {
title: "留学产品"
......@@ -273,6 +274,7 @@
field: 'Id'
}
],
PageCount: 0,
isShowStudy: false, //是否显示留学弹窗
studyObj: {}, //留学对象
......@@ -292,6 +294,18 @@
return action && action.FunctionCode;
}
return false;
},
//是否有查看供应商权限
isHaveViewSupplierAction(state) {
if (state.user.userInfo.ActionMenuList) {
let action = state.user.userInfo.ActionMenuList.find(x => {
if (x.FunctionCode == "View_Supplier") {
return x;
}
});
return action && action.FunctionCode;
}
return false;
}
}),
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