From be2983cb91e06554ff939c53b37284af1e1c170a Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 07 May 2021 10:42:30 +0800
Subject: [PATCH] 地图,详情跳转,视频
---
src/views/policeTracking/policeTracking.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/views/policeTracking/policeTracking.vue b/src/views/policeTracking/policeTracking.vue
index a977d5a..09de97b 100644
--- a/src/views/policeTracking/policeTracking.vue
+++ b/src/views/policeTracking/policeTracking.vue
@@ -461,7 +461,7 @@
<el-card>
<video
:src="feedbackVideo"
- style="width: 100%; height: 100%; object-fit: fill"
+ style="width: 200px; height: 200px; object-fit: fill"
controls
v-show="feedbackVideo != ''"
></video>
@@ -762,9 +762,10 @@
getList() {
var that = this;
+ var deptid = that.form.deptId.slice(0,19);//报错deptId格式不对liu.2021.5.7
axios
.get(
- `/api/blade-user/pages?current=1&size=9999&work_status=&deptId=${that.form.deptId}`
+ `/api/blade-user/pages?current=1&size=9999&work_status=&deptId=${deptid}`
)
.then(function (res) {
that.tableData = [];
@@ -936,7 +937,7 @@
},
}).then(function (res) {
that.form = res.data.data.records[0];
- that.getList();
+ that.getList();//报错deptId格式不对liu.2021.5.7
});
},
},
--
Gitblit v1.9.3