代码优化

This commit is contained in:
dqjdda
2019-11-24 12:50:12 +08:00
parent 84875a8a2c
commit fcc28fdd6f
7 changed files with 17 additions and 17 deletions

View File

@@ -65,8 +65,8 @@
@click="edit(scope.row)"
/>
<el-popover
v-permission="['admin','serverAccount:del']"
:ref="scope.row.id"
v-permission="['admin','serverAccount:del']"
placement="top"
width="180"
>

View File

@@ -81,8 +81,8 @@
@click="edit(scope.row)"
/>
<el-popover
v-permission="['admin','app:del']"
:ref="scope.row.id"
v-permission="['admin','app:del']"
placement="top"
width="180"
>

View File

@@ -67,8 +67,8 @@
@click="edit(scope.row)"
/>
<el-popover
v-permission="['admin','database:del']"
:ref="scope.row.id"
v-permission="['admin','database:del']"
placement="top"
width="180"
>

View File

@@ -94,7 +94,7 @@
<!--表单组件-->
<eForm ref="form" :is-add="isAdd" />
<!-- 系统还原组件-->
<fForm ref="sysRestore" :app-name="appName" :key="times"/>
<fForm ref="sysRestore" :key="times" :app-name="appName" />
<dForm ref="deploy" />
<!--表格渲染-->
<el-table
@@ -123,8 +123,8 @@
@click="edit(scope.row)"
/>
<el-popover
v-permission="['admin','deploy:del']"
:ref="scope.row.id"
v-permission="['admin','deploy:del']"
placement="top"
width="180"
>

View File

@@ -49,8 +49,8 @@
>
<template slot-scope="scope">
<el-popover
v-permission="['admin','deployHistory:del']"
:ref="scope.row.id"
v-permission="['admin','deployHistory:del']"
placement="top"
width="180"
>

View File

@@ -65,8 +65,8 @@
@click="edit(scope.row)"
/>
<el-popover
v-permission="['admin','serverDeploy:del']"
:ref="scope.row.id"
v-permission="['admin','serverDeploy:del']"
placement="top"
width="180"
>