1
0
forked from dyf/APP

完成008A功能开发

This commit is contained in:
liub
2026-05-19 17:38:56 +08:00
parent 6d9df4c945
commit 8f53a45280
63 changed files with 4162 additions and 766 deletions

View File

@ -40,7 +40,7 @@
MsgInfo
} from '@/utils/MsgPops.js'
import Common from '@/utils/Common.js';
import api from '@/api/670/HBY670.js';
var these = null;
var eventChannel = null;
@ -67,7 +67,8 @@
longitude: null,
alarmStatus: null,
detailPageUrl: "",
showConfirm: false
showConfirm: false,
sosSmsMsg:null
}
}
},
@ -101,11 +102,24 @@
if(data.sosSmsMsg){
this.txt=data.sosSmsMsg;
}
this.init();
});
},
methods: {
init(){
api.getDetail(this.device.id).then(res => {
if (res && res.code == 200) {
let data = res.data;
if(data.length){
data=data[0];
}
this.txt=data.sosSmsMsg;
}
});
},
copyTo(item, index) {
this.txt = item;
},