Commit a5cd1087 by zhangzhijie

去掉页面上写死的权限控制

parent 69d46254
<template>
<div class="Content" element-loading-text="加载中,请稍等">
<el-button-group style="margin-top: 1%;margin-left: 2%" v-if="isPremission>=0 || isAdmin">
<el-button-group style="margin-top: 1%;margin-left: 2%" >
<el-button type="primary" @click="addServerDialog = true">
<i class="el-icon-plus"></i>服务注册
</el-button>
......@@ -17,7 +17,7 @@
style="width: 48%;float:left;margin-top: 5%;margin-left:5px;display: block;box-shadow: 0 0 10px #d1cccc; border:1px solid #d1cccc;">
<span class="title" style="font-size: 150%;margin-left: 1%">服务名称:{{ item.serverName }}</span>
<el-checkbox style="margin-left: 3%" @change="checkChange(item)" v-model="item.itemChecked"
v-if="isPremission>=0 || isAdmin"></el-checkbox>
></el-checkbox>
<div class="item" style="margin-top: 2%" :title="item.serverName">
<i class="el-icon-s-unfold" style="font-size: 1000%;color: #1466b8;float: left;margin-top: -2%"></i>
<div style="float: left;margin-left: 2%;width: 20%">
......
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