diff --git a/src/views/management/monitoringEquipment/photographicDevice/index.vue b/src/views/management/monitoringEquipment/photographicDevice/index.vue
index c148500..e74b27f 100644
--- a/src/views/management/monitoringEquipment/photographicDevice/index.vue
+++ b/src/views/management/monitoringEquipment/photographicDevice/index.vue
@@ -3,20 +3,9 @@
拍照装置管理
-
- 新增
- 导出
-
+
新增
@@ -58,7 +47,6 @@
@@ -95,11 +83,6 @@
show-overflow-tooltip
min-width="120"
>
-
- {{
- scope.row.lineName
- }}
-
-
- {{
- scope.row.towerName
- }}
-
-->
-
-
+ >
装置复位
-
+ >
关闭GPS
- 删除
+ > -->
-
+
修改
-
+ >
关闭GPS
- 删除
+ > -->
@@ -421,7 +391,6 @@ import {
resetTerminalApi,
setTermGPSJoggle,
getSearchInfo,
- getTerminalListExcel,
} from "@/utils/api/index";
import moment from "moment";
import addPhotoDialog from "./components/addPhotoDialog.vue";
@@ -485,40 +454,12 @@ export default {
};
},
created() {
- this.roleUser = localStorage.getItem("role");
- console.log(this.roleUser);
- var that = this;
- document.onkeydown = function (e) {
- var key = window.event.keyCode;
- if (key === 13) {
- that.onSubmit(); // 触发事件
- }
- };
- console.log(this.$route.query);
- this.formdata.search = this.$route.query.name;
- console.log(this.formdata.search);
- },
- mounted() {
this.getSearchdy();
this.terminalList();
+ this.roleUser = localStorage.getItem("role");
+ console.log(this.roleUser);
},
methods: {
- //点击线路跳转
- handleLineLink(val) {
- console.log(val);
- this.$router.push({
- path: "/lineInformation",
- query: { lineName: val.lineName, name: val.towerName },
- });
- },
- //点击杆塔跳转
- handletowerLink(val) {
- console.log(val);
- this.$router.push({
- path: "/towerInformation",
- query: { lineName: val.lineName, name: val.towerName },
- });
- },
//获取电压信息
getSearchdy() {
getSearchInfo({ type: 1 })
@@ -553,7 +494,6 @@ export default {
},
//查询
onSubmit() {
- this.page = 1;
this.terminalList();
},
//重置
@@ -602,11 +542,6 @@ export default {
this.$refs.addPhotoDialogref.display();
this.$refs.addPhotoDialogref.getdataform(null);
},
- //导出
- handleExport() {
- window.location.href = "/api/api/getTerminalListExcel";
- },
-
//handleResive 修改线路数据
handleRevisePhoto(data) {
this.photoDialogTitle = "修改";