From 66621a9aa650a4752ba310a7c9a973c09fd5b095 Mon Sep 17 00:00:00 2001
From: baizonghao <1719256278@qq.com>
Date: 星期三, 08 三月 2023 09:30:46 +0800
Subject: [PATCH] 视频地址修改
---
src/views/intelligentPatrol/studyJudge/index.vue | 44 ++++++++++++++++++++++++--------------------
1 files changed, 24 insertions(+), 20 deletions(-)
diff --git a/src/views/intelligentPatrol/studyJudge/index.vue b/src/views/intelligentPatrol/studyJudge/index.vue
index 305858c..04d997c 100644
--- a/src/views/intelligentPatrol/studyJudge/index.vue
+++ b/src/views/intelligentPatrol/studyJudge/index.vue
@@ -31,7 +31,7 @@
<!-- <span>{{ currentEvent.address }}</span>-->
<!-- </div>-->
<span @click="openDialogTable" class="count-data-span"
- >鎮ㄦ湁{{ countData.review }}鏉″緟瀹℃牳鎶ヨ淇℃伅,浠婃棩绔嬫{{
+ >鎮ㄦ湁{{ countData.review }}鏉″緟瀹℃牳鎶ヨ淇℃伅,浠婃棩绔嬫{{
countData.register
}}鏉�,鍐嶅涔爗{ countData.study }}鏉�</span
>
@@ -229,7 +229,7 @@
</div>
</el-dialog>
<el-dialog :visible.sync="isShowTable" title="鎶ヨ淇℃伅" width="1200px">
- <inspection-table/>
+ <inspection-table />
</el-dialog>
</div>
</template>
@@ -242,20 +242,15 @@
import { validateCarNum } from "@/utils/validate";
import MyDispatch from "@/components/dispatch";
import InspectionTable from "@/views/intelligentPatrol/studyJudge/inspectionTable/index.vue";
-import MyMap from "@/components/map";
+// import MyMap from "@/components/map";
+import MyMap from "@/components/map/leafletMap.vue";
export default {
- components: { MyDispatch, MyMap,InspectionTable },
+ components: { MyDispatch, MyMap, InspectionTable },
created() {
this.getInspectionData();
this.initEventParams();
- basecase
- .getInspectionCountData()
- .then((res) => {
- this.countData = res;
- })
- .catch((err) => this.$message.error(err));
-
+ this.getInspectionCount();
getStoreInfoList({ current: 1, size: 100 })
.then(({ list }) => {
this.storeList = list;
@@ -280,7 +275,7 @@
},
mounted() {
this.timer = setInterval(() => {
- setTimeout(this.getInspectionData, 0);
+ this.getInspectionCount();
}, 1000 * 10);
},
data() {
@@ -296,7 +291,7 @@
}
};
return {
- isShowTable:false,
+ isShowTable: false,
timer: null,
countData: {
study: 0,
@@ -374,8 +369,18 @@
};
},
methods: {
- openDialogTable(){
- this.isShowTable = true
+ getInspectionCount() {
+ basecase
+ .getInspectionCountData({
+ showLoading: false,
+ })
+ .then((res) => {
+ this.countData = res;
+ })
+ .catch((err) => this.$message.error(err));
+ },
+ openDialogTable() {
+ this.isShowTable = true;
},
pageChange(type) {
if (type === "next") {
@@ -395,7 +400,7 @@
x: this.currentEvent.longitude,
y: this.currentEvent.latitude,
};
- this.zoom = 19;
+ this.zoom = 18;
this.mark = { title: this.currentEvent.address };
if (this.currentEvent?.picData) {
this.imageList = this.currentEvent.picData
@@ -497,8 +502,8 @@
if (res) {
// 杩炴帴瀹㈡埛绔垚鍔�
this.ws.login({
- loginIp: "183.245.159.161",
- loginPort: "8282",
+ loginIp: "172.28.194.180",
+ loginPort: "7902",
userName: "suichang",
userPwd: "a12345677",
https: 1,
@@ -689,13 +694,12 @@
.sjm-content-left {
line-height: 4.8vh;
- .count-data-span{
+ .count-data-span {
cursor: pointer;
color: #66b1ff;
}
.left-form > ::v-deep.el-form-item__label {
font-size: 16px !important;
-
}
.img-item {
display: flex;
--
Gitblit v1.8.0