装置信息

master
fanluyan 2 years ago
parent 1084e4c4ae
commit 7a3d802041

@ -344,3 +344,13 @@ export function getReturnedPhotoJoggle(data) {
data, data,
}); });
} }
//获取装置信息
export function getTerminalInfoJoggle(data) {
return request({
url: "/api/getTerminalInfo",
method: "post",
data,
});
}

@ -46,7 +46,7 @@
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
import { getChannelListJoggle } from "@/utils/api/index"; import { getTerminalInfoJoggle } from "@/utils/api/index";
export default { export default {
props: { props: {
title: String, title: String,
@ -57,10 +57,16 @@ export default {
isShow: false, isShow: false,
}; };
}, },
mounted() {}, created() {
// console.log("aaaaa");
},
methods: { methods: {
display() { display() {
this.isShow = true; this.isShow = true;
console.log("aaaaa");
getTerminalInfoJoggle()
.then(() => {})
.catch((err) => {});
}, },
hide() { hide() {
this.isShow = false; this.isShow = false;

@ -116,7 +116,7 @@
width="680px" width="680px"
append-to-body append-to-body
> >
<!-- <el-form <el-form
label-position="left" label-position="left"
ref="formInfo" ref="formInfo"
label-width="100px" label-width="100px"
@ -132,7 +132,7 @@
:default-expand-all="true" :default-expand-all="true"
></el-tree> ></el-tree>
</el-form-item> </el-form-item>
</el-form> --> </el-form>
<div class="setTimeTd"> <div class="setTimeTd">
<h3>装置信息</h3> <h3>装置信息</h3>
<div class="tdSetBox"> <div class="tdSetBox">

@ -476,8 +476,11 @@ export default {
}, },
destroyed() { destroyed() {
// //
clearInterval(this.timer); if (this.timer) {
this.timer = null; console.log(this.timer);
clearInterval(this.timer);
this.timer = null;
} //vue
}, },
}; };
</script> </script>

Loading…
Cancel
Save