From 4ec959d7c2ef1d8dd3af287814ca8a27650b99f7 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 11 一月 2023 15:33:42 +0800
Subject: [PATCH] Merge branch 'dev1.0' of http://42.193.1.25:9521/r/sccg_ui into dev1.0
---
src/views/intelligentPatrol/studyJudge/index.vue | 36 ++++++++++++++++++++++--------------
1 files changed, 22 insertions(+), 14 deletions(-)
diff --git a/src/views/intelligentPatrol/studyJudge/index.vue b/src/views/intelligentPatrol/studyJudge/index.vue
index 64ad3d3..b9e8b1c 100644
--- a/src/views/intelligentPatrol/studyJudge/index.vue
+++ b/src/views/intelligentPatrol/studyJudge/index.vue
@@ -30,7 +30,7 @@
<!-- <span class="moni-area">{{ currentEvent.street }}</span>-->
<!-- <span>{{ currentEvent.address }}</span>-->
<!-- </div>-->
- <span
+ <span @click="openDialogTable" class="count-data-span"
>鎮ㄦ湁{{ 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>
@@ -245,17 +245,11 @@
import MyMap from "@/components/map";
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 +274,7 @@
},
mounted() {
this.timer = setInterval(() => {
- setTimeout(this.getInspectionData, 0);
+ this.getInspectionCount();
}, 1000 * 10);
},
data() {
@@ -296,7 +290,7 @@
}
};
return {
- isShowTable:true,
+ isShowTable: false,
timer: null,
countData: {
study: 0,
@@ -374,8 +368,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") {
@@ -689,6 +693,10 @@
.sjm-content-left {
line-height: 4.8vh;
+ .count-data-span {
+ cursor: pointer;
+ color: #66b1ff;
+ }
.left-form > ::v-deep.el-form-item__label {
font-size: 16px !important;
}
--
Gitblit v1.8.0