diff --git a/src/utils/api/index.js b/src/utils/api/index.js index cf5486e..c8c14bd 100644 --- a/src/utils/api/index.js +++ b/src/utils/api/index.js @@ -775,3 +775,13 @@ export function changePermission(data) { data, }); } + +//装置信息报 +//故障信息报 +export function getTermFaultsApi(data) { + return request({ + url: "/xymanager/getTermFaults", + method: "post", + data, + }); +} diff --git a/src/views/photographicDevice/components/baseInfor.vue b/src/views/photographicDevice/components/baseInfor.vue index 37a1793..1f01393 100644 --- a/src/views/photographicDevice/components/baseInfor.vue +++ b/src/views/photographicDevice/components/baseInfor.vue @@ -192,7 +192,6 @@ export default { }, }; -<<<<<<< HEAD -======= - ->>>>>>> hn1.0 diff --git a/src/views/photographicDevice/components/faultInfomation.vue b/src/views/photographicDevice/components/faultInfomation.vue new file mode 100644 index 0000000..e7ac2f7 --- /dev/null +++ b/src/views/photographicDevice/components/faultInfomation.vue @@ -0,0 +1,165 @@ + + + diff --git a/src/views/photographicDevice/components/gpsSite.vue b/src/views/photographicDevice/components/gpsSite.vue index 54c8e99..cada997 100644 --- a/src/views/photographicDevice/components/gpsSite.vue +++ b/src/views/photographicDevice/components/gpsSite.vue @@ -174,7 +174,6 @@ export default { }, }; -<<<<<<< HEAD -======= - ->>>>>>> hn1.0 diff --git a/src/views/photographicDevice/components/parameterSetDialog.vue b/src/views/photographicDevice/components/parameterSetDialog.vue index 7bd6955..800fcdc 100644 --- a/src/views/photographicDevice/components/parameterSetDialog.vue +++ b/src/views/photographicDevice/components/parameterSetDialog.vue @@ -176,7 +176,7 @@ > diff --git a/src/views/photographicDevice/components/workStatus.vue b/src/views/photographicDevice/components/workStatus.vue index 67c6318..3c63569 100644 --- a/src/views/photographicDevice/components/workStatus.vue +++ b/src/views/photographicDevice/components/workStatus.vue @@ -206,7 +206,6 @@ export default { }, }; -<<<<<<< HEAD -======= - ->>>>>>> hn1.0 diff --git a/src/views/photographicDevice/index.vue b/src/views/photographicDevice/index.vue index 4cc07f3..63c1723 100644 --- a/src/views/photographicDevice/index.vue +++ b/src/views/photographicDevice/index.vue @@ -240,6 +240,9 @@ >运行状态 GPS位置 + 故障信息报 + @@ -334,6 +338,7 @@ import baseInfor from "./components/baseInfor.vue"; import workStatus from "./components/workStatus.vue"; import runStatus from "./components/runStatus.vue"; import gpsSite from "./components/gpsSite.vue"; +import faultInfomation from "./components/faultInfomation.vue"; import addLineDialog from "./components/addLineDialog.vue"; import towerDialog from "./components/towerDialog.vue"; export default { @@ -349,6 +354,7 @@ export default { gpsSite, addLineDialog, towerDialog, + faultInfomation, }, data() { return { @@ -559,6 +565,9 @@ export default { case "GPS": this.$refs.gpsSite_ref.display(); break; + case "faultInfo": + this.$refs.fultInfo_ref.display(row); + break; default: break; }