首页添加组件是否显示隐藏

test
anthonywj 2 years ago
parent 98973d1726
commit 53854dd5fe

@ -21,7 +21,8 @@ ENV = 'production'
# VUE_APP_BASE_API = 'http://192.168.0.62:9150/UDI_SPMS_SERVER/'
# 刘恩典
VUE_APP_BASE_API = 'http://192.168.0.117:9150/UDI_SPMS_SERVER/'
# VUE_APP_BASE_API = 'http://192.168.0.117:9150/UDI_SPMS_SERVER/'
VUE_APP_BASE_API = 'http://192.168.0.117:9160/UDI_SPMS_SERVER/'
# 漳州中医院
# VUE_APP_BASE_API = 'http://116.204.116.198:9150/UDI_SPMS_SERVER/'

@ -6,7 +6,7 @@
</div>
<!-- 分割线 -->
<div class="mt10 grid-container grid-container3" style="height: 15%">
<el-card class="grid-item" body-style="padding:0px;height:100%">
<el-card class="grid-item" body-style="padding:0px;height:100%" v-hasPermi="['home:index:product']">
<el-row>
<div class="height-full fl center ml20" style="width: 30%">
<el-image style="border-radius: 4%;width: 80%;height: 80%"
@ -27,7 +27,7 @@
</el-row>
</el-card>
<el-card class="grid-item" body-style="padding:0px;height:100%">
<el-card class="grid-item" body-style="padding:0px;height:100%" v-hasPermi="['home:index:invWarn']">
<el-row>
<div class="height-full fl center ml20" style="width: 30%">
<el-image style="border-radius: 4%;width: 80%;height: 80%"
@ -48,7 +48,7 @@
</el-row>
</el-card>
<el-card class="grid-item" body-style="padding:0px;height:100%">
<el-card class="grid-item" body-style="padding:0px;height:100%" v-hasPermi="['home:index:certWarn']">
<el-row>
<div class="height-full fl center ml20" style="width: 30%">
<el-image style="border-radius: 4%;width: 80%;height: 80%"
@ -71,7 +71,7 @@
</div>
<!-- 分割线 -->
<div class="m0 grid-container grid-container2" style="height: calc(40%);margin-top: 10px">
<el-card class="grid-item" body-style="padding:0px;height:100%">
<el-card class="grid-item" body-style="padding:0px;height:100%" v-hasPermi="['home:index:todo']">
<div slot="header" class="header">
<el-icon class="el-icon-s-management"/>
待办事项{{ `(${todoCount}条)` }}
@ -140,7 +140,7 @@
</el-table-column>
</el-table>
</el-card>
<el-card class="grid-item" body-style="padding:0px;height:100%">
<el-card class="grid-item" body-style="padding:0px;height:100%" v-hasPermi="['home:index:ioAudit']">
<div slot="header" class="header">
<el-icon class="el-icon-s-platform"/>
审核送货单{{ `(${orderTotal}条)` }}

@ -84,23 +84,20 @@
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<el-table-column label="操作" fixed="right">
<template slot-scope="scope">
<el-button
type="text"
@click="handleUpdate(scope.row)"
v-hasPermi="['system:menu:edit']"
>编辑
</el-button>
<el-button
type="text"
v-hasPermi="['system:menu:add']"
@click="handleAdd(scope.row)"
>新增
</el-button>
<el-button
type="text"
v-hasPermi="['system:menu:delete']"
@click="handleDelete(scope.row)"
>删除
</el-button>

Loading…
Cancel
Save