|
|
|
@ -201,6 +201,7 @@ |
|
|
|
|
type="primary" |
|
|
|
|
v-if="formData.custId != undefined" |
|
|
|
|
@click="active++" |
|
|
|
|
v-hasPerm="['custom:add:binding:device']" |
|
|
|
|
> |
|
|
|
|
绑定设备</el-button |
|
|
|
|
> |
|
|
|
@ -274,7 +275,12 @@ |
|
|
|
|
title="确认解除设备与客户的绑定?" |
|
|
|
|
> |
|
|
|
|
<template #reference> |
|
|
|
|
<el-button type="primary" link>解除绑定</el-button> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
v-hasPerm="['custom:add:unbinding:device']" |
|
|
|
|
link |
|
|
|
|
>解除绑定</el-button |
|
|
|
|
> |
|
|
|
|
</template> |
|
|
|
|
</el-popconfirm> |
|
|
|
|
</template> |
|
|
|
@ -331,7 +337,12 @@ |
|
|
|
|
<el-card shadow="never"> |
|
|
|
|
<template #header> |
|
|
|
|
<div style="display: flex; justify-content: flex-end"> |
|
|
|
|
<el-button type="primary" @click="bindingDev">绑定</el-button> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
@click="bindingDev" |
|
|
|
|
custom:add:binding:device |
|
|
|
|
>绑定</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="primary" @click="active--">返回</el-button> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|