mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-09 00:20:26 +08:00
财务管理只有企业版才默认打开
This commit is contained in:
@@ -222,6 +222,7 @@ func (this *userMustAuth) modules(adminId int64) []maps.Map {
|
|||||||
"module": configloaders.AdminModuleCodeFinance,
|
"module": configloaders.AdminModuleCodeFinance,
|
||||||
"name": "财务管理",
|
"name": "财务管理",
|
||||||
"icon": "yen sign",
|
"icon": "yen sign",
|
||||||
|
"isOn": teaconst.IsPlus,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"code": "admins",
|
"code": "admins",
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<!-- 模块 -->
|
<!-- 模块 -->
|
||||||
<div v-for="module in teaModules">
|
<div v-for="module in teaModules">
|
||||||
<a class="item" :href="Tea.url(module.code)" :class="{active:teaMenu == module.code && teaSubMenu.length == 0, separator:module.code.length == 0, expend: teaMenu == module.code}">
|
<a class="item" :href="Tea.url(module.code)" :class="{active:teaMenu == module.code && teaSubMenu.length == 0, separator:module.code.length == 0, expend: teaMenu == module.code}" v-if="module.isOn !== false">
|
||||||
<span v-if="module.code.length > 0">
|
<span v-if="module.code.length > 0">
|
||||||
<i class="window restore outline icon" v-if="module.icon == null"></i>
|
<i class="window restore outline icon" v-if="module.icon == null"></i>
|
||||||
<i class="ui icon" v-if="module.icon != null" :class="module.icon"></i>
|
<i class="ui icon" v-if="module.icon != null" :class="module.icon"></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user