|
@@ -3,7 +3,7 @@
|
|
|
<el-dialog
|
|
|
class="page-dialog"
|
|
|
:visible.sync="modalIsShow"
|
|
|
- title="应用关联设备"
|
|
|
+ title="应用授权管理"
|
|
|
top="10px"
|
|
|
width="1000px"
|
|
|
:close-on-click-modal="false"
|
|
@@ -16,7 +16,7 @@
|
|
|
v-if="checkPrivilege('DEPLOY_LICENSE_DOWNLOAD', instance.id)"
|
|
|
type="success"
|
|
|
@click="toExport"
|
|
|
- >导出通用许可证</el-button
|
|
|
+ >导出通用授权文件</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
v-if="checkPrivilege('DEPLOY_DEVICE_EDIT', instance.id)"
|
|
@@ -38,15 +38,7 @@
|
|
|
scope.row.createTime | timestampFilter
|
|
|
}}</span>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- v-if="
|
|
|
- checkPrivilege('DEPLOY_LICENSE_DOWNLOAD', instance.id) ||
|
|
|
- checkPrivilege('DEPLOY_DEVICE_EDIT', instance.id)
|
|
|
- "
|
|
|
- label="操作"
|
|
|
- width="200"
|
|
|
- class-name="action-column"
|
|
|
- >
|
|
|
+ <el-table-column label="操作" width="220" class-name="action-column">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
class="btn-primary"
|
|
@@ -59,7 +51,7 @@
|
|
|
class="btn-success"
|
|
|
type="text"
|
|
|
@click="toExport(scope.row)"
|
|
|
- >导出许可证</el-button
|
|
|
+ >导出授权文件</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
v-if="checkPrivilege('DEPLOY_DEVICE_EDIT', instance.id)"
|
|
@@ -76,7 +68,6 @@
|
|
|
</el-dialog>
|
|
|
|
|
|
<AppDeployDeviceInfoView
|
|
|
- v-if="checkPrivilege('DEPLOY_SECRET_VIEW', instance.id)"
|
|
|
ref="AppDeployDeviceInfoView"
|
|
|
:device-id="curDeviceId"
|
|
|
/>
|