|
@ -108,7 +108,7 @@ |
|
|
<el-button class="btnInfoBoard" type="add" @click.native="____onAddDeviceItem()" |
|
|
<el-button class="btnInfoBoard" type="add" @click.native="____onAddDeviceItem()" |
|
|
:disabled="selectedBdMsg.length>=1">添加信息</el-button> |
|
|
:disabled="selectedBdMsg.length>=1">添加信息</el-button> |
|
|
<el-button v-hasPermi="['service:broadcast:publish']" class="btnInfoBoard" type="publish" @click="____onPublish" |
|
|
<el-button v-hasPermi="['service:broadcast:publish']" class="btnInfoBoard" type="publish" @click="____onPublish" |
|
|
:disabled="selectedBdMsg.length <= 0 || selectedDevices.length <= 0">发布信息</el-button> |
|
|
:disabled="selectedBdMsg.length <= 0 || deviceList.length <= 0">发布信息</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</WgtTitle> |
|
|
</WgtTitle> |
|
|
<!-- <div class="partTitle partDeviceTempateTitle"> |
|
|
<!-- <div class="partTitle partDeviceTempateTitle"> |
|
@ -536,7 +536,7 @@ export default { |
|
|
|
|
|
|
|
|
// 发布信息 |
|
|
// 发布信息 |
|
|
____onPublish() { |
|
|
____onPublish() { |
|
|
if (!this.selectedDevices.length) { |
|
|
if (!this.deviceList.length) { |
|
|
this.$message.warning("请选择设备"); |
|
|
this.$message.warning("请选择设备"); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|