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

页面修改

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