|
@@ -272,14 +272,11 @@ export default {
|
|
|
modeCode:this.curRow.modeCode,
|
|
|
abilityParam:'{\"type\":\"event\",\"key\":1}',
|
|
|
}).then(response => {
|
|
|
- // 处理成功逻辑
|
|
|
this.$message({ message: '设备能力执行成功', type: 'success' });
|
|
|
- // 如果需要,可以刷新数据
|
|
|
- this.handleDetail(this.curRow);
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
handleCloseOperate(row) {
|
|
|
- // 调用接口
|
|
|
listcallAbility({
|
|
|
abilityKey: 'event-0',
|
|
|
objCode: this.curRow.deviceCode,
|
|
@@ -287,7 +284,6 @@ export default {
|
|
|
modeCode:this.curRow.modeCode,
|
|
|
abilityParam:'{\"type\":\"event\",\"key\":0}',
|
|
|
}).then(response => {
|
|
|
- // 处理成功逻辑
|
|
|
this.$message({ message: '设备能力执行成功', type: 'success' });
|
|
|
|
|
|
})
|