|
@@ -344,6 +344,10 @@ export default {
|
|
|
},
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row) {
|
|
|
+ if(row.onOff == 1){
|
|
|
+ this.msgError("修改检测门前请先关闭设备");
|
|
|
+ return
|
|
|
+ }
|
|
|
let _this=this;
|
|
|
this.open = true;
|
|
|
this.title = "修改识别器";
|
|
@@ -390,7 +394,7 @@ export default {
|
|
|
if (this.form.id != null) {
|
|
|
this.form.senseState = null
|
|
|
recognizerAnew(this.form).then(response => {
|
|
|
- this.msgSuccess("修改成功");
|
|
|
+ this.msgSuccess("修改成功,请重新开启设备");
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
|
});
|