|
|
|
@ -131,7 +131,7 @@
|
|
|
|
v-if="row.equipment_maintain_config && row.equipment_maintain_config.id === currentRule.id"
|
|
|
|
v-if="row.equipment_maintain_config && row.equipment_maintain_config.id === currentRule.id"
|
|
|
|
type="error"
|
|
|
|
type="error"
|
|
|
|
size="small"
|
|
|
|
size="small"
|
|
|
|
style="border-radius: 6px;"
|
|
|
|
style="border-radius: 6px; background-color: #ed4014; color: #fff; border-color: #ed4014;"
|
|
|
|
@click="toggleAssociation(row)"
|
|
|
|
@click="toggleAssociation(row)"
|
|
|
|
:title="row.equipment_maintain_config ? `已关联规则: ${row.equipment_maintain_config.name}` : ''"
|
|
|
|
:title="row.equipment_maintain_config ? `已关联规则: ${row.equipment_maintain_config.name}` : ''"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
@ -141,7 +141,7 @@
|
|
|
|
v-else-if="row.equipment_maintain_config"
|
|
|
|
v-else-if="row.equipment_maintain_config"
|
|
|
|
type="warning"
|
|
|
|
type="warning"
|
|
|
|
size="small"
|
|
|
|
size="small"
|
|
|
|
style="border-radius: 6px;"
|
|
|
|
style="border-radius: 6px; background-color: #ff9900; color: #fff; border-color: #ff9900;"
|
|
|
|
@click="toggleAssociation(row)"
|
|
|
|
@click="toggleAssociation(row)"
|
|
|
|
:title="row.equipment_maintain_config ? `已关联规则: ${row.equipment_maintain_config.name}` : ''"
|
|
|
|
:title="row.equipment_maintain_config ? `已关联规则: ${row.equipment_maintain_config.name}` : ''"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
@ -151,7 +151,7 @@
|
|
|
|
v-else
|
|
|
|
v-else
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
size="small"
|
|
|
|
size="small"
|
|
|
|
style="border-radius: 6px;"
|
|
|
|
style="border-radius: 6px; background-color: #2d8cf0; color: #fff; border-color: #2d8cf0;"
|
|
|
|
@click="toggleAssociation(row)"
|
|
|
|
@click="toggleAssociation(row)"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
绑定
|
|
|
|
绑定
|
|
|
|
|