From ccc970e575ef3f3e5c67af8da210263f4ac549f9 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期五, 10 四月 2026 16:44:55 +0800
Subject: [PATCH] 2026.4.10
---
src/views/monitor/DataException_old.vue | 2
src/components/search-option/FYOptionTopTask.vue | 2
src/sfc/TimeSelect.vue | 6
src/components/monitor/DistrictRanking.vue | 2
index.html | 4
src/views/inspection/report/ReportManage.vue | 6
src/components/SearchBar.vue | 6
src/views/inspection/ComplaintManage.vue | 4
src/views/monitor/DataAnalysisConcentration.vue | 4
src/views/inspection/MonitorControl.vue | 2
src/views/inspection/PunishmentManage.vue | 4
src/assets/loginPageBg1.png | 0
src/views/monitor/DataAnalysisOpenRate.vue | 4
src/components/core/AppHeader.vue | 8
src/views/LoginPage.vue | 4
src/views/inspection/check/components/CompDeviceShowTest.vue | 277 +++++++++++-----------
src/views/monitor/DataAnalysisAll.vue | 4
src/views/monitor/DataAnalysisOnlineRate.vue | 4
components.d.ts | 2
src/components/CompGenericWrapper.vue | 78 ++++++
src/views/monitor/DataDashboard_old2.vue | 2
src/views/inspection/task/TaskManage.vue | 2
src/views/analysis/huanxincode/HuanxinCodeManage.vue | 235 ------------------
src/views/monitor/DataDashboard.vue | 2
/dev/null | 0
src/debug/debugdata.js | 6
src/views/monitor/DataAnalysisOverStandardRate.vue | 4
src/views/monitor/DataException.vue | 2
28 files changed, 276 insertions(+), 400 deletions(-)
diff --git a/components.d.ts b/components.d.ts
index c5328bc..c9d9702 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -18,6 +18,7 @@
BaseContentLayout: typeof import('./src/components/core/BaseContentLayout.vue')['default']
BaseMap: typeof import('./src/components/map/BaseMap.vue')['default']
BaseOption: typeof import('./src/components/search-option/base/BaseOption.vue')['default']
+ CompGenericWrapper: typeof import('./src/components/CompGenericWrapper.vue')['default']
CompQuickSet: typeof import('./src/components/search-option/CompQuickSet.vue')['default']
DeviceStatus: typeof import('./src/components/monitor/DeviceStatus.vue')['default']
DistrictRanking: typeof import('./src/components/monitor/DistrictRanking.vue')['default']
@@ -145,6 +146,7 @@
const BaseContentLayout: typeof import('./src/components/core/BaseContentLayout.vue')['default']
const BaseMap: typeof import('./src/components/map/BaseMap.vue')['default']
const BaseOption: typeof import('./src/components/search-option/base/BaseOption.vue')['default']
+ const CompGenericWrapper: typeof import('./src/components/CompGenericWrapper.vue')['default']
const CompQuickSet: typeof import('./src/components/search-option/CompQuickSet.vue')['default']
const DeviceStatus: typeof import('./src/components/monitor/DeviceStatus.vue')['default']
const DistrictRanking: typeof import('./src/components/monitor/DistrictRanking.vue')['default']
diff --git a/index.html b/index.html
index 3799af3..d868b70 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>椁愰ギ娌圭儫鏅鸿兘鐩戞祴涓庣洃绠′竴浣撳寲骞冲彴</title>
+ <title>椁愰ギ娌圭儫鏅鸿兘鐩戞祴鐩戠涓�浣撳寲骞冲彴</title>
</head>
<body>
<div id="app"></div>
@@ -15,4 +15,4 @@
</script>
<script type="module" src="/src/main.js"></script>
</body>
-</html>
+</html>
\ No newline at end of file
diff --git a/src/assets/loginPageBg1.png b/src/assets/loginPageBg1.png
new file mode 100644
index 0000000..00a9dd2
--- /dev/null
+++ b/src/assets/loginPageBg1.png
Binary files differ
diff --git a/src/components/CompGenericWrapper.vue b/src/components/CompGenericWrapper.vue
new file mode 100644
index 0000000..c641608
--- /dev/null
+++ b/src/components/CompGenericWrapper.vue
@@ -0,0 +1,78 @@
+<template>
+ <!-- dialog鍖呰9 -->
+ <el-dialog
+ v-if="currType == 'dialog'"
+ :title="title"
+ :model-value="visible"
+ @opened="$emit('update:visible', true)"
+ @closed="$emit('update:visible', false)"
+ destroy-on-close
+ :draggable="draggable"
+ :modal="modal"
+ :append-to-body="appendToBody"
+ >
+ <div v-if="visible">
+ <slot name="content"></slot>
+ </div>
+ </el-dialog>
+ <!-- drawer鍖呰9 -->
+ <el-drawer
+ v-if="currType == 'drawer'"
+ :title="title"
+ size="45%"
+ direction="ltr"
+ :model-value="visible"
+ @opened="$emit('update:visible', true)"
+ @closed="$emit('update:visible', false)"
+ destroy-on-close
+ >
+ <slot name="content"></slot>
+ </el-drawer>
+ <!-- 榛樿鏃犲寘瑁� -->
+ <div v-if="currType == 'normal'">
+ <slot></slot>
+ </div>
+</template>
+<script setup>
+import { ref, defineEmits, watch } from 'vue';
+const props = defineProps({
+ visible: Boolean,
+ title: String,
+ type: {
+ type: String,
+ default: 'normal'
+ },
+ draggable: Boolean,
+ modal: {
+ type: Boolean,
+ default: true
+ },
+ appendToBody: {
+ type: Boolean,
+ default: true
+ }
+});
+const typeOptions = ref([
+ { id: '0', label: 'dialog' },
+ { id: '1', label: 'drawer' },
+ { id: '10', label: '' }
+]);
+const currType = ref('');
+const emit = defineEmits(['update:visible']);
+watch(
+ () => props.type,
+ (nValue) => {
+ currType.value = nValue;
+ },
+ { immediate: true }
+);
+</script>
+<style scoped>
+:deep(.el-drawer__body) {
+ padding-top: 0;
+}
+
+:deep(.el-drawer__header) {
+ margin-bottom: 16px;
+}
+</style>
diff --git a/src/components/SearchBar.vue b/src/components/SearchBar.vue
index 63dda44..ab18188 100644
--- a/src/components/SearchBar.vue
+++ b/src/components/SearchBar.vue
@@ -1,6 +1,6 @@
<template>
<el-row class="layout">
- <el-col :span="$slots.summary ? 10 : 24">
+ <el-col :span="$slots.summary ? 14 : 24">
<el-form :inline="true" :model="formSearch">
<el-form-item label="鎬讳换鍔�">
<!-- <el-input v-model="formSearch.topTaskId" placeholder="鎬讳换鍔�" /> -->
@@ -19,7 +19,7 @@
</el-form-item>
</el-form>
</el-col>
- <el-col :span="$slots.summary ? 14 : 0">
+ <el-col :span="$slots.summary ? 10 : 0">
<el-row justify="end">
<slot name="summary"></slot>
</el-row>
@@ -62,7 +62,7 @@
taskApi.getTopTask().then((res) => {
const list = res
.filter((e) => {
- return e.districtname == '寰愭眹鍖�' && dayjs(e.starttime).isBefore(dayjs('2023-12-31'))
+ return e.districtname == '寰愭眹鍖�' && dayjs(e.starttime).isBefore(dayjs('2025-12-31'))
})
.map((r) => {
return {
diff --git a/src/components/core/AppHeader.vue b/src/components/core/AppHeader.vue
index 5c9e81f..af3338d 100644
--- a/src/components/core/AppHeader.vue
+++ b/src/components/core/AppHeader.vue
@@ -10,7 +10,7 @@
</el-col>
<el-col :span="12" class="logout">
<FYBgTaskDialog></FYBgTaskDialog>
- <el-button icon="SwitchButton">閫�鍑虹櫥褰�</el-button>
+ <el-button icon="SwitchButton" @click="logout">閫�鍑虹櫥褰�</el-button>
</el-col>
</el-row>
</template>
@@ -50,6 +50,12 @@
this.isCollapsed = !this.isCollapsed
this.$emit('collapsedSider', this.isCollapsed)
},
+ /**
+ * 閫�鍑虹櫥褰�
+ */
+ logout() {
+ this.$router.push(`/login`);
+ },
},
}
</script>
diff --git a/src/components/info b/src/components/info
deleted file mode 100644
index e69de29..0000000
--- a/src/components/info
+++ /dev/null
diff --git a/src/components/monitor/DistrictRanking.vue b/src/components/monitor/DistrictRanking.vue
index ea1c4e2..9a9ae15 100644
--- a/src/components/monitor/DistrictRanking.vue
+++ b/src/components/monitor/DistrictRanking.vue
@@ -61,7 +61,7 @@
props: {
selectedMonth: {
type: String,
- default: '2023-12',
+ default: '2025-12',
},
rankingType: {
type: String,
diff --git a/src/components/search-option/FYOptionTopTask.vue b/src/components/search-option/FYOptionTopTask.vue
index 9ee17ca..a20967d 100644
--- a/src/components/search-option/FYOptionTopTask.vue
+++ b/src/components/search-option/FYOptionTopTask.vue
@@ -82,7 +82,7 @@
})
this.topTasks = list.filter((e) => {
return (
- e.data.districtname == '寰愭眹鍖�' && dayjs(e.data.starttime).isBefore(dayjs('2023-12-31'))
+ e.data.districtname == '寰愭眹鍖�' && dayjs(e.data.starttime).isBefore(dayjs('2025-12-31'))
)
})
if (this.initValue) {
diff --git a/src/debug/debugdata.js b/src/debug/debugdata.js
index 30421da..c20ebf8 100644
--- a/src/debug/debugdata.js
+++ b/src/debug/debugdata.js
@@ -81,7 +81,7 @@
latitude: 31.17 + Math.random() * 0.1,
longitude: 121.45 + Math.random() * 0.1,
ringCodeLevel: ringCodeLevels[Math.floor(Math.random() * ringCodeLevels.length)],
- ringCodePublishTime: '2023-03-16 10:00:00',
+ ringCodePublishTime: '2025-03-16 10:00:00',
isOnline: isOnline,
exceptionStatus: exceptionStatus,
},
@@ -109,7 +109,7 @@
latitude: 31.19 + Math.random() * 0.1,
longitude: 121.41 + Math.random() * 0.1,
ringCodeLevel: ringCodeLevels[Math.floor(Math.random() * ringCodeLevels.length)],
- ringCodePublishTime: '2023-03-16 10:00:00',
+ ringCodePublishTime: '2025-03-16 10:00:00',
isOnline: isOnline,
exceptionStatus: exceptionStatus,
},
@@ -123,7 +123,7 @@
// 鐢熸垚杩�1灏忔椂鐨勭洃娴嬫暟鎹紝姣�10鍒嗛挓涓�鏉�
const data = []
const now = new Date()
- now.setFullYear(2023)
+ now.setFullYear(2025)
for (let i = 5; i >= 0; i--) {
const time = new Date(now.getTime() - i * 10 * 60 * 1000)
diff --git a/src/sfc/TimeSelect.vue b/src/sfc/TimeSelect.vue
index 231d5fa..2941f4b 100644
--- a/src/sfc/TimeSelect.vue
+++ b/src/sfc/TimeSelect.vue
@@ -15,7 +15,7 @@
<script>
import dayjs from 'dayjs'
// 鏃堕棿鑼冨洿蹇嵎閫夐」
-const dayStart = dayjs('2023-08-01').startOf('date')
+const dayStart = dayjs('2025-08-01').startOf('date')
const dayEnd = dayStart.endOf('date')
const shortcuts = [
{
@@ -79,7 +79,7 @@
return {
//淇濆瓨寮�濮嬪拰缁撴潫鏃堕棿
// 闅忎究璁剧疆鍒濆鍊� 锛宮ounted鏃跺啀璁炬纭殑锛岀洰鐨勬槸鏀瑰彉鏃堕棿浜嗚Е鍙慶hange
- time: ['2023-06-01 12:00:00', '2023-06-20 16:00:00'],
+ time: ['2025-06-01 12:00:00', '2025-06-20 16:00:00'],
// 鎺у埗鏃堕棿閫夋嫨鍣ㄧ殑鏄剧ず/闅愯棌锛堜粎鍦ㄦ柊鏍峰紡涓嬩娇鐢級
showTimePicker: false,
// 鏃堕棿鑼冨洿閫夐」
@@ -117,7 +117,7 @@
// this.time[0] = dayjs().subtract(4, 'week').format('YYYY-MM-DD HH:mm:ss')
// this.time[1] = dayjs().format('YYYY-MM-DD HH:mm:ss')
// 2026.3.13 demo 涓浐瀹氬垵濮嬫椂闂�
- this.time = ['2023-08-01 00:00:00', '2023-08-31 23:59:59']
+ this.time = ['2025-08-01 00:00:00', '2025-08-31 23:59:59']
},
// 蹇嵎鏃舵閫夋嫨
diff --git a/src/views/LoginPage.vue b/src/views/LoginPage.vue
index c370e12..cb9fb54 100644
--- a/src/views/LoginPage.vue
+++ b/src/views/LoginPage.vue
@@ -2,7 +2,7 @@
<div class="login-container">
<div class="login-wrapper">
<div class="login-header">
- <h1 class="login-title">椁愰ギ娌圭儫鏅鸿兘鐩戞祴涓庣洃绠′竴浣撳寲骞冲彴</h1>
+ <h1 class="login-title">椁愰ギ娌圭儫鏅鸿兘鐩戞祴鐩戠涓�浣撳寲骞冲彴</h1>
<p class="login-subtitle">娆㈣繋鐧诲綍</p>
</div>
<div class="login-form">
@@ -108,7 +108,7 @@
display: flex;
align-items: center;
justify-content: flex-end;
- background-image: url('@/assets/loginPageBg.png');
+ background-image: url('@/assets/loginPageBg1.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
diff --git a/src/views/analysis/huanxincode/HuanxinCodeManage.vue b/src/views/analysis/huanxincode/HuanxinCodeManage.vue
index 5c9f815..18e8352 100644
--- a/src/views/analysis/huanxincode/HuanxinCodeManage.vue
+++ b/src/views/analysis/huanxincode/HuanxinCodeManage.vue
@@ -67,7 +67,7 @@
<!-- 搴楅摵鍒楄〃 -->
<div class="shop-list">
- <el-table :data="pagedShopList" style="width: 100%">
+ <el-table :data="filteredShopList" style="width: 100%" max-height="600px">
<el-table-column prop="shopName" label="搴楅摵鍚嶇О" />
<el-table-column prop="district" label="鎵�鍦ㄥ尯鍘�" width="120" />
<el-table-column prop="town" label="鎵�鍦ㄨ闀�" width="150" />
@@ -107,7 +107,7 @@
v-model:page-size="pageSize"
:page-sizes="[10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper"
- :total="filteredShopList.length"
+ :total="total"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
/>
@@ -221,7 +221,7 @@
label: '椁愰ギ',
value: '1',
},
- time: dayjs('2023-08-01').date(1).toDate(),
+ time: dayjs('2025-08-01').date(1).toDate(),
})
// 鐘舵��
const drawerVisible = ref(false)
@@ -232,6 +232,7 @@
// 鍒嗛〉鐩稿叧
const currentPage = ref(1)
const pageSize = ref(10)
+const total = ref(0)
// 鐜俊鐮佸浘鐗嘦RL
const codeImageUrl = ref('')
@@ -244,42 +245,6 @@
redCount: 20,
redPercentage: 10.5,
})
-
-// 搴楅摵鍚嶇О鍒楄〃
-const shopNames = [
- '浠樺皬濮愬湪鎴愰兘',
- '鍚夊埢鑱旂洘',
- '瀹跺湪濉斿暒',
- '鐙兼潵浜�',
- '涔愬嚡鎾掓槦娓稿簵',
- '棣ㄨ繙缇庨灏忛晣锛堝搱灏肩編椋熷箍鍦猴級',
- '妫掔害缈�',
- '寮勫爞鍜亾',
- '鏉ㄨ榻愰綈鍝堝皵鐑よ倝',
- '涓婃捣绋斾紶椁愰ギ绠$悊鏈夐檺鍏徃锛堜汉鐢熶竴涓诧級',
- '缂樺',
- '娉夌洓椁愰ギ锛堜笂娴凤級鏈夐檺鍏徃锛堥鍏跺锛�',
- '涓拌寕鐑や覆',
- '涓婃捣娉扮厡椁愰ギ绠$悊鏈夐檺鍏徃锛堟嘲鐓岄浮锛�',
- '寰愭眹鍖鸿景鐔欓棣�(灏忛搧鍚涗覆鐑у眳閰掑眿)',
-]
-
-// 寰愭眹鍖鸿闀囧垪琛�
-const xuhuiTowns = [
- '澶╁钩璺閬�',
- '婀栧崡璺閬�',
- '鏂滃湡璺閬�',
- '鏋灄璺閬�',
- '闀挎ˉ琛楅亾',
- '鐢版灄琛楅亾',
- '铏规璺閬�',
- '搴峰仴鏂版潙琛楅亾',
- '寰愬姹囪閬�',
- '鍑屼簯璺閬�',
- '榫欏崕琛楅亾',
- '婕曟渤娉捐閬�',
- '鍗庢尘闀�',
-]
function onSearch() {
const f = formSearch.value
@@ -307,9 +272,7 @@
userApi.fetchUser(currentPage.value, pageSize.value, area).then((res) => {
if (res) {
- res.data
- res.head.totalCount
-
+ total.value = res.head.totalCount
shopList.value = res.data.map((item, index) => {
const { score, code } = generateRandomScore()
return {
@@ -336,9 +299,9 @@
})
}
-// 鐢熸垚2023骞�8鏈堝唴鐨勯殢鏈烘椂闂�
+// 鐢熸垚2025骞�8鏈堝唴鐨勯殢鏈烘椂闂�
function generateRandomDate() {
- const year = 2023
+ const year = 2025
const month = 7 // 0-11锛�8鏈堟槸7
const day = Math.floor(Math.random() * 31) + 1 // 1-31
const hour = Math.floor(Math.random() * 24) // 0-23
@@ -346,11 +309,6 @@
const date = new Date(year, month, day, hour, minute)
return date.toISOString().slice(0, 16).replace('T', ' ')
-}
-
-// 闅忔満閫夋嫨鏁扮粍鍏冪礌
-function getRandomElement(array) {
- return array[Math.floor(Math.random() * array.length)]
}
// 鐢熸垚闅忔満璇勫垎鍜屽搴旂幆淇$爜绛夌骇
@@ -376,173 +334,7 @@
}
// 搴楅摵鏁版嵁
-const shopList = ref([
- {
- id: 1,
- shopName: getRandomElement(shopNames),
- district: '寰愭眹鍖�',
- town: getRandomElement(xuhuiTowns),
- code: 'green',
- score: 90,
- trend: generateRandomTrend(),
- lastUpdate: generateRandomDate(),
- warnings: [
- {
- time: generateRandomDate(),
- content: '鍑�鍖栧櫒杩愯鏃堕暱涓嶈冻',
- score: 90,
- handled: true,
- },
- ],
- },
- {
- id: 2,
- shopName: getRandomElement(shopNames),
- district: '寰愭眹鍖�',
- town: getRandomElement(xuhuiTowns),
- code: 'yellow',
- score: 75,
- trend: generateRandomTrend(),
- lastUpdate: generateRandomDate(),
- warnings: [
- {
- time: generateRandomDate(),
- content: '鎶曡瘔娆℃暟杈冨',
- score: 80,
- handled: false,
- },
- ],
- },
- {
- id: 3,
- shopName: getRandomElement(shopNames),
- district: '寰愭眹鍖�',
- town: getRandomElement(xuhuiTowns),
- code: 'red',
- score: 60,
- trend: generateRandomTrend(),
- lastUpdate: generateRandomDate(),
- warnings: [
- {
- time: generateRandomDate(),
- content: '鎺掓斁娴撳害瓒呮爣',
- score: 65,
- handled: false,
- },
- {
- time: generateRandomDate(),
- content: '娓呮礂棰戞涓嶈冻',
- score: 62,
- handled: false,
- },
- ],
- },
- {
- id: 4,
- shopName: getRandomElement(shopNames),
- district: '寰愭眹鍖�',
- town: getRandomElement(xuhuiTowns),
- code: 'green',
- score: 92,
- trend: generateRandomTrend(),
- lastUpdate: generateRandomDate(),
- warnings: [],
- },
- {
- id: 5,
- shopName: getRandomElement(shopNames),
- district: '寰愭眹鍖�',
- town: getRandomElement(xuhuiTowns),
- code: 'yellow',
- score: 78,
- trend: generateRandomTrend(),
- lastUpdate: generateRandomDate(),
- warnings: [
- {
- time: generateRandomDate(),
- content: '椋庢満鑱斿姩鐜囦綆',
- score: 75,
- handled: true,
- },
- ],
- },
- {
- id: 6,
- shopName: getRandomElement(shopNames),
- district: '寰愭眹鍖�',
- town: getRandomElement(xuhuiTowns),
- code: 'green',
- score: 90,
- trend: generateRandomTrend(),
- lastUpdate: generateRandomDate(),
- warnings: [],
- },
- {
- id: 7,
- shopName: getRandomElement(shopNames),
- district: '寰愭眹鍖�',
- town: getRandomElement(xuhuiTowns),
- code: 'red',
- score: 55,
- trend: generateRandomTrend(),
- lastUpdate: generateRandomDate(),
- warnings: [
- {
- time: generateRandomDate(),
- content: '鏈畨瑁呮补鐑熷噣鍖栬澶�',
- score: 60,
- handled: false,
- },
- ],
- },
- {
- id: 8,
- shopName: getRandomElement(shopNames),
- district: '寰愭眹鍖�',
- town: getRandomElement(xuhuiTowns),
- code: 'yellow',
- score: 72,
- trend: generateRandomTrend(),
- lastUpdate: generateRandomDate(),
- warnings: [
- {
- time: generateRandomDate(),
- content: '鍑�鍖栧櫒娓呮礂涓嶅強鏃�',
- score: 75,
- handled: true,
- },
- ],
- },
- {
- id: 9,
- shopName: getRandomElement(shopNames),
- district: '寰愭眹鍖�',
- town: getRandomElement(xuhuiTowns),
- code: 'green',
- score: 93,
- trend: generateRandomTrend(),
- lastUpdate: generateRandomDate(),
- warnings: [],
- },
- {
- id: 10,
- shopName: getRandomElement(shopNames),
- district: '寰愭眹鍖�',
- town: getRandomElement(xuhuiTowns),
- code: 'yellow',
- score: 76,
- trend: generateRandomTrend(),
- lastUpdate: generateRandomDate(),
- warnings: [
- {
- time: generateRandomDate(),
- content: '鎺掓斁娴撳害鎺ヨ繎鏍囧噯闄愬��',
- score: 78,
- handled: true,
- },
- ],
- },
-])
+const shopList = ref([])
// 杩囨护鍚庣殑搴楅摵鍒楄〃
const filteredShopList = computed(() => {
@@ -550,13 +342,6 @@
return shopList.value
}
return shopList.value.filter((shop) => shop.code === filterCode.value)
-})
-
-// 鍒嗛〉鍚庣殑搴楅摵鍒楄〃
-const pagedShopList = computed(() => {
- const start = (currentPage.value - 1) * pageSize.value
- const end = start + pageSize.value
- return filteredShopList.value.slice(start, end)
})
// 鐢熷懡鍛ㄦ湡
@@ -581,10 +366,12 @@
function handleSizeChange(size) {
pageSize.value = size
currentPage.value = 1
+ onSearch()
}
function handleCurrentChange(current) {
currentPage.value = current
+ onSearch()
}
function getCodeType(code) {
@@ -829,7 +616,7 @@
.card-content {
text-align: center;
- padding: 20px 0;
+ padding: 0px 0;
}
.card-title {
diff --git a/src/views/inspection/ComplaintManage.vue b/src/views/inspection/ComplaintManage.vue
index e2817c1..6885176 100644
--- a/src/views/inspection/ComplaintManage.vue
+++ b/src/views/inspection/ComplaintManage.vue
@@ -151,7 +151,7 @@
import { ElMessage } from 'element-plus'
// 鏃堕棿鑼冨洿蹇嵎閫夐」
-const dayStart = dayjs('2023-08-01').startOf('date')
+const dayStart = dayjs('2025-08-01').startOf('date')
const dayEnd = dayStart.endOf('date')
const shortcuts = [
{
@@ -285,7 +285,7 @@
]
const complaintReasons = ['娌圭儫鎵版皯', '澶滈棿鍣0', '寮傚懗姹℃煋', '鍗敓闂']
const sources = ['12345鐑嚎', '灞呮皯鎶曡瘔', '缃戠粶骞冲彴', '鍏朵粬']
- const departments = ['寰愭眹鍖虹幆淇濆眬', '闀垮畞鍖虹幆淇濆眬', '闈欏畨鍖虹幆淇濆眬', '鏅檧鍖虹幆淇濆眬']
+ const departments = ['寰愭眹鍖虹敓鎬佺幆澧冨眬', '闀垮畞鍖虹敓鎬佺幆澧冨眬', '闈欏畨鍖虹敓鎬佺幆澧冨眬', '鏅檧鍖虹敓鎬佺幆澧冨眬']
// const results = ['宸插鐞�', '澶勭悊涓�', '鏈鐞�']
const results = ['宸插鐞�']
diff --git a/src/views/inspection/MonitorControl.vue b/src/views/inspection/MonitorControl.vue
index bc15ba7..be00dde 100644
--- a/src/views/inspection/MonitorControl.vue
+++ b/src/views/inspection/MonitorControl.vue
@@ -104,7 +104,7 @@
import { ElMessage } from 'element-plus'
// 鎬昏鐜板満宸℃煡鏁版嵁
-const dayStart = dayjs('2023-08-01').startOf('date')
+const dayStart = dayjs('2025-08-01').startOf('date')
const dayEnd = dayStart.endOf('date')
const shortcuts = [
{
diff --git a/src/views/inspection/PunishmentManage.vue b/src/views/inspection/PunishmentManage.vue
index 7cc3eed..abd0c77 100644
--- a/src/views/inspection/PunishmentManage.vue
+++ b/src/views/inspection/PunishmentManage.vue
@@ -147,7 +147,7 @@
import { ElMessage } from 'element-plus'
// 鏃堕棿鑼冨洿蹇嵎閫夐」
-const dayStart = dayjs('2023-08-01').startOf('date')
+const dayStart = dayjs('2025-08-01').startOf('date')
const dayEnd = dayStart.endOf('date')
const shortcuts = [
{
@@ -282,7 +282,7 @@
'鐏攨搴�',
]
const punishmentItems = ['娌圭儫瓒呮爣鎺掓斁', '鏈畨瑁呮补鐑熷噣鍖栬澶�', '璁惧鏈甯歌繍琛�', '鍣0姹℃煋']
- const departments = ['寰愭眹鍖虹幆淇濆眬', '闀垮畞鍖虹幆淇濆眬', '闈欏畨鍖虹幆淇濆眬', '鏅檧鍖虹幆淇濆眬']
+ const departments = ['寰愭眹鍖虹敓鎬佺幆澧冨眬', '闀垮畞鍖虹敓鎬佺幆澧冨眬', '闈欏畨鍖虹敓鎬佺幆澧冨眬', '鏅檧鍖虹敓鎬佺幆澧冨眬']
for (let i = 0; i < totalCount; i++) {
// 鐢熸垚鍦ㄦ椂闂磋寖鍥村唴鐨勯殢鏈烘椂闂�
diff --git a/src/views/inspection/check/components/CompDeviceShowTest.vue b/src/views/inspection/check/components/CompDeviceShowTest.vue
index 1daa0e4..112a4ab 100644
--- a/src/views/inspection/check/components/CompDeviceShowTest.vue
+++ b/src/views/inspection/check/components/CompDeviceShowTest.vue
@@ -5,21 +5,10 @@
<!-- 璁惧绫诲瀷 -->
<el-row>
<el-col>
- <el-tabs
- class="child_select"
- placeholder="璁惧绫诲瀷"
- v-model="currSelect.topDeviceTypeId"
- >
- <el-tab-pane
- v-for="item in deviceTopTypes"
- :key="item.id"
- :name="item.id"
- >
+ <el-tabs class="child_select" placeholder="璁惧绫诲瀷" v-model="currSelect.topDeviceTypeId">
+ <el-tab-pane v-for="item in deviceTopTypes" :key="item.id" :name="item.id">
<template #label>
- <el-badge
- :value="item.count"
- :type="item.count == 0 ? 'danger' : 'primary'"
- >
+ <el-badge :value="item.count" :type="item.count == 0 ? 'danger' : 'primary'">
<span class="custom-tabs-label">
<span>{{ item.label }}</span>
</span>
@@ -37,22 +26,42 @@
class="collapse-item-class"
>
<template #title>
- <div
- style="display: flex; width: 100%; justify-content: space-between"
- >
+ <div style="display: flex; width: 100%; justify-content: space-between">
<div style="">
- <el-descriptions style="" :column="3" size="small" border>
+ <el-descriptions style="" :column="4" size="small" border>
<el-descriptions-item
- width="64px"
- :label="
- currSelect.topDeviceTypeId == 0 ? '绔欑偣鍚嶇О' : '璁惧鍚嶇О'
- "
- :span="3"
+ :label="currSelect.topDeviceTypeId == 0 ? '绔欑偣鍚嶇О' : '璁惧鍚嶇О'"
>{{ item.name || '鏃�' }}</el-descriptions-item
>
+ <el-descriptions-item label="鍝佺墝鍨嬪彿">{{
+ item.brandModel || '鏃�'
+ }}</el-descriptions-item>
<el-descriptions-item label="渚涘簲鍟�">{{
item.supplier || '鏃�'
}}</el-descriptions-item>
+ <el-descriptions-item :rowspan="3">
+ <div style="display: flex">
+ <div class="image-container">
+ <div
+ class="block-div"
+ @click="onClickPic($event)"
+ v-for="(status, index) in item._statusList"
+ :key="index"
+ >
+ <el-image
+ v-if="index == 0"
+ fit="cover"
+ class="pic-style"
+ :src="status._picUrl"
+ :preview-src-list="Array.of(status._picUrl)"
+ />
+ <span class="abstract_pic_text" v-if="index == 0">{{
+ `鏈�鏂扮姸鎬� ${status.dlCreateTime.slice(0, 10)}`
+ }}</span>
+ </div>
+ </div>
+ </div>
+ </el-descriptions-item>
<el-descriptions-item label="杩愮淮鍟�">{{
item.maintainer || '鏃�'
}}</el-descriptions-item>
@@ -76,9 +85,6 @@
<el-descriptions-item label="杩愮淮鑱旂郴鏂瑰紡">{{
item.maintainTel || '鏃�'
}}</el-descriptions-item>
- <el-descriptions-item label="鍝佺墝鍨嬪彿">{{
- item.brandModel || '鏃�'
- }}</el-descriptions-item>
<el-descriptions-item label="杩愯鐘舵��">
<el-select
v-model="item.runningStatus"
@@ -96,12 +102,11 @@
<el-descriptions-item label="绫诲瀷">
{{ item._typename || '鏃�' }}
</el-descriptions-item>
+
</el-descriptions>
</div>
- <div style="display: flex">
- <!-- <div class="sub-title">{{ item.name }}</div> -->
- <!-- 鍥剧墖 -->
+ <!-- <div style="display: flex">
<div class="image-container">
<div
class="block-div"
@@ -121,7 +126,7 @@
}}</span>
</div>
</div>
- </div>
+ </div> -->
</div>
</template>
<!-- 璇︾粏鍐呭寮�濮� -->
@@ -168,19 +173,19 @@
</template>
<script>
-import deviceApi from '@/api/fysp/deviceApi';
-import { $fysp } from '@/api/index';
-import { toLabel } from '@/enum/device/device';
+import deviceApi from '@/api/fysp/deviceApi'
+import { $fysp } from '@/api/index'
+import { toLabel } from '@/enum/device/device'
export default {
- components: { },
+ components: {},
watch: {
// 閫夋嫨鏀瑰彉鐩戝惉
currSelect: {
handler(newObj, oldObj) {
- this.getList();
+ this.getList()
},
- deep: true
- }
+ deep: true,
+ },
},
data() {
return {
@@ -192,7 +197,7 @@
// 琛ㄥ崟璇︽儏鐐瑰嚮鎸夐挳鐨勫浘鏍�
isDetail: false,
currSelect: {
- topDeviceTypeId: 0
+ topDeviceTypeId: 0,
},
// 鎺у埗琛ㄥ崟鏄惁鍙互缂栬緫
isDisabled: true,
@@ -202,29 +207,29 @@
deviceTopTypes: [
{ id: 0, label: '鐩戞帶璁惧' },
{ id: 1, label: '娌荤悊璁惧' },
- { id: 2, label: '鐢熶骇璁惧' }
+ { id: 2, label: '鐢熶骇璁惧' },
],
// 杩愯鐘舵��
runStatusArray: [
{ key: 0, value: '鏈仈缃�' },
{ key: 1, value: '涓婄嚎涓�' },
{ key: 2, value: '涓嬬嚎' },
- { key: 3, value: '鎷嗛櫎' }
+ { key: 3, value: '鎷嗛櫎' },
],
// 缁存姢棰戠巼鐘舵��
maintainFrequencysArray: [
{ key: 1, value: '姣忔湀涓�娆�' },
{ key: 2, value: '姣忓搴︿竴娆�' },
{ key: 3, value: '姣忓崐骞翠竴娆�' },
- { key: 4, value: '姣忓勾涓�娆�' }
+ { key: 4, value: '姣忓勾涓�娆�' },
],
// 绉熻祦鏂瑰紡
ownershipArray: [
{ key: 0, value: '璐拱' },
- { key: 1, value: '绉熻祦' }
+ { key: 1, value: '绉熻祦' },
],
- scene: {}
- };
+ scene: {},
+ }
},
props: {},
@@ -234,169 +239,167 @@
getTabsCount() {
this.deviceTopTypes.forEach((item) => {
deviceApi.fetchDevices(this.scene.guid, item.id).then((result) => {
- item.count = result.data.length;
- });
- });
+ item.count = result.data.length
+ })
+ })
},
// 鑾峰彇杩愯鐘舵�佸搴旂殑value
getRunStatusValueByRunStatusKey(status) {
var runningStatusValueArray = this.runStatusArray.filter((runStatus) => {
- return runStatus.key == status;
- });
+ return runStatus.key == status
+ })
if (runningStatusValueArray.length > 0) {
- return runningStatusValueArray[0].value;
+ return runningStatusValueArray[0].value
}
},
// 灞曠ず琛ㄥ崟鐨勮鎯呯殑鐐瑰嚮浜嬩欢
showDetail(item) {
- item._isDetail = !item._isDetail;
+ item._isDetail = !item._isDetail
},
init(scene) {
// 鐖剁粍浠朵富鍔ㄨ皟鐢ㄥ垵濮嬪寲瀛愮粍浠剁殑鏂规硶
- this.scene = scene;
+ this.scene = scene
- this.getList();
- this.getTabsCount();
+ this.getList()
+ this.getTabsCount()
},
// 閲嶇疆灞曠ず鐨勬暟鎹�
initList() {
- this.formInfo = [];
- this.isEmpty = false;
+ this.formInfo = []
+ this.isEmpty = false
},
// 鏍囧噯鍖栧睘鎬у悕
convertKeys(obj) {
// 灏嗕竴涓猨s瀵硅薄涓墍鏈塪i锛寃i锛宲i寮�澶寸殑灞炴�у叏閮ㄦ敼鎴愬幓鎺夎繖浜涘墠缂�骞朵笖閲嶆柊鍙樹负椹煎嘲寮忓懡鍚�
- const newObj = {};
+ const newObj = {}
for (const key in obj) {
- let newKey = key;
+ let newKey = key
if (key.startsWith('di')) {
- newKey = key.substring(2);
+ newKey = key.substring(2)
} else if (key.startsWith('wi')) {
- newKey = key.substring(2);
+ newKey = key.substring(2)
} else if (key.startsWith('pi')) {
- newKey = key.substring(2);
+ newKey = key.substring(2)
}
- newKey = newKey.charAt(0).toLowerCase() + newKey.slice(1);
- newObj[newKey] = obj[key];
+ newKey = newKey.charAt(0).toLowerCase() + newKey.slice(1)
+ newObj[newKey] = obj[key]
}
- return newObj;
+ return newObj
},
// 鏂板瀛楁
initFormData(data) {
- data._isDetail = false;
+ data._isDetail = false
},
getList() {
- deviceApi
- .fetchDevices(this.scene.guid, this.currSelect.topDeviceTypeId)
- .then((result) => {
- this.initList();
- if (result.data == null || result.data.length <= 0) {
- this.isEmpty = true;
- return;
+ deviceApi.fetchDevices(this.scene.guid, this.currSelect.topDeviceTypeId).then((result) => {
+ this.initList()
+ if (result.data == null || result.data.length <= 0) {
+ this.isEmpty = true
+ return
+ }
+ // 鏍囧噯鍖栧睘鎬у悕
+ for (let index = 0; index < result.data.length; index++) {
+ var element = this.convertKeys(result.data[index])
+ this.initFormData(element)
+ // 鑾峰彇璁惧鐘舵�佷俊鎭�
+ let data = {
+ deviceId: element.id,
+ sceneId: element.sceneGuid,
+ deviceTypeId: this.currSelect.topDeviceTypeId,
}
- // 鏍囧噯鍖栧睘鎬у悕
- for (let index = 0; index < result.data.length; index++) {
- var element = this.convertKeys(result.data[index]);
- this.initFormData(element);
- // 鑾峰彇璁惧鐘舵�佷俊鎭�
- let data = {
- deviceId: element.id,
- sceneId: element.sceneGuid,
- deviceTypeId: this.currSelect.topDeviceTypeId
- };
- deviceApi.fetchDeviceStatus(data).then((status) => {
- var statusData = status.data;
- var imgPaths = [];
- if (statusData) {
- if (statusData.length == 0) {
- this.formInfo.push(element);
- return;
- }
- element = this.convertKeys(result.data[index]);
- element = this.setDeviceType(element);
- element._picUrls = imgPaths;
- for (let index = 0; index < statusData.length; index++) {
- const statusItem = statusData[index];
- // 璁惧瀵硅薄娣诲姞涓�涓睘鎬у垪琛ㄥ睘鎬х敤鏉ヤ繚瀛樿澶囩姸鎬�
- this.saveStatus(element, statusItem);
- element.dlLocation = statusItem.dlLocation;
- this.formInfo.push(element);
- }
+ deviceApi.fetchDeviceStatus(data).then((status) => {
+ var statusData = status.data
+ var imgPaths = []
+ if (statusData) {
+ if (statusData.length == 0) {
+ this.formInfo.push(element)
+ return
}
- });
- }
- });
+ element = this.convertKeys(result.data[index])
+ element = this.setDeviceType(element)
+ element._picUrls = imgPaths
+ for (let index = 0; index < statusData.length; index++) {
+ const statusItem = statusData[index]
+ // 璁惧瀵硅薄娣诲姞涓�涓睘鎬у垪琛ㄥ睘鎬х敤鏉ヤ繚瀛樿澶囩姸鎬�
+ this.saveStatus(element, statusItem)
+ element.dlLocation = statusItem.dlLocation
+ this.formInfo.push(element)
+ }
+ }
+ })
+ }
+ })
},
setDeviceType(element) {
- var type = [];
+ var type = []
type = toLabel(element.sceneTypeId, this.currSelect.topDeviceTypeId, [
element.typeId,
- element.subtypeId
- ]);
- element._typename = type.join('-');
- return element;
+ element.subtypeId,
+ ])
+ element._typename = type.join('-')
+ return element
},
// 淇濆瓨鐘舵�佷俊鎭�
saveStatus(device, status) {
- var _picUrl = $fysp.imgUrl + status.dlPicUrl;
- status._picUrl = _picUrl;
- status._paths = _picUrl.split(';');
- device._picUrls.push(_picUrl);
+ var _picUrl = $fysp.imgUrl + status.dlPicUrl
+ status._picUrl = _picUrl
+ status._paths = _picUrl.split(';')
+ device._picUrls.push(_picUrl)
if ('_statusList' in device) {
- device._statusList.push(status);
+ device._statusList.push(status)
} else {
- device._statusList = Array.of(status);
+ device._statusList = Array.of(status)
}
// 鎺掑簭
device._statusList.sort(function (x, y) {
- return new Date(x.dlCreateTime) - new Date(y.dlCreateTime); // 闄嶅簭锛屽崌搴忓垯鍙嶄箣
- });
+ return new Date(x.dlCreateTime) - new Date(y.dlCreateTime) // 闄嶅簭锛屽崌搴忓垯鍙嶄箣
+ })
},
submit() {},
cancel() {},
modifyObjectKeys(obj) {
- const newObj = {};
+ const newObj = {}
for (const key in obj) {
// 璺宠繃浠� 'dl' 鎴� '_' 寮�澶寸殑灞炴��
if (key.startsWith('dl') || key.startsWith('_')) {
- newObj[key] = obj[key];
- continue;
+ newObj[key] = obj[key]
+ continue
}
// 鏍规嵁 topDeviceTypeId 娣诲姞鍓嶇紑
- let prefix = '';
+ let prefix = ''
switch (this.currSelect.topDeviceTypeId) {
case 0:
- prefix = 'di';
- break;
+ prefix = 'di'
+ break
case 1:
- prefix = 'pi';
- break;
+ prefix = 'pi'
+ break
case 2:
- prefix = 'wi';
- break;
+ prefix = 'wi'
+ break
default:
// 濡傛灉 topDeviceTypeId 涓嶆槸 0, 1, 鎴� 2锛屼笉娣诲姞鍓嶇紑
- newObj[key] = obj[key];
- continue;
+ newObj[key] = obj[key]
+ continue
}
// 娣诲姞鍓嶇紑骞惰浆鎹负椹煎嘲寮忓懡鍚�
- const newKey = `${prefix}${key.charAt(0).toUpperCase() + key.slice(1)}`;
- newObj[newKey] = obj[key];
+ const newKey = `${prefix}${key.charAt(0).toUpperCase() + key.slice(1)}`
+ newObj[newKey] = obj[key]
}
- return newObj;
+ return newObj
},
// 鐢熸垚鎺ュ彛鍙傛暟
generateQuery(obj) {
// 闇�瑕佹牴鎹満鏅被鍨嬬‘瀹氭帴鍙e弬鏁扮殑灞炴�у悕
- var query = this.modifyObjectKeys(obj);
- return query;
+ var query = this.modifyObjectKeys(obj)
+ return query
},
onClickPic(e, item) {
- e.stopPropagation();
- }
- }
-};
+ e.stopPropagation()
+ },
+ },
+}
</script>
<style scoped>
diff --git a/src/views/inspection/report/ReportManage.vue b/src/views/inspection/report/ReportManage.vue
index 034beb0..3962cab 100644
--- a/src/views/inspection/report/ReportManage.vue
+++ b/src/views/inspection/report/ReportManage.vue
@@ -117,9 +117,9 @@
data.push({
index: i,
- name: `${searchForm.value.district === 'xuhui' ? '寰愭眹鍖�' : '鍏朵粬鍖�'}${baseName}锛�${area}锛�-2023骞�${month}鏈坄,
+ name: `${searchForm.value.district === 'xuhui' ? '寰愭眹鍖�' : '鍏朵粬鍖�'}${baseName}锛�${area}锛�-2025骞�${month}鏈坄,
district: searchForm.value.district === 'xuhui' ? '寰愭眹鍖�' : '鍏朵粬鍖�',
- reportMonth: `2023骞�${month}鏈坄,
+ reportMonth: `2025骞�${month}鏈坄,
generateTime: new Date().toLocaleString('zh-CN'),
auditStatus: Math.random() > 0.5 ? '宸插鏍�' : '鏈鏍�',
})
@@ -136,7 +136,7 @@
// 鏌ョ湅鎶ュ憡
const viewReport = (row) => {
// 浣跨敤妯℃嫙鐨勬姤鍛婃枃浠�
- reportUrl.value = '/寰愭眹鍖洪楗洃绠$畝鎶ワ紙澶╅挜妗ワ級-2023骞�8鏈�(1).docx'
+ reportUrl.value = '/寰愭眹鍖洪楗洃绠$畝鎶ワ紙澶╅挜妗ワ級-2025骞�8鏈�(1).docx'
drawerVisible.value = true
prepareDocxBlob(reportUrl.value).then((blob) => {
diff --git a/src/views/inspection/task/TaskManage.vue b/src/views/inspection/task/TaskManage.vue
index b496af0..9add865 100644
--- a/src/views/inspection/task/TaskManage.vue
+++ b/src/views/inspection/task/TaskManage.vue
@@ -296,7 +296,7 @@
})
this.tasks = list.filter((e) => {
return (
- e.data.districtname == '寰愭眹鍖�' && dayjs(e.data.starttime).isBefore(dayjs('2023-12-31'))
+ e.data.districtname == '寰愭眹鍖�' && dayjs(e.data.starttime).isBefore(dayjs('2025-12-31'))
)
})
if (list.length == 0) {
diff --git a/src/views/monitor/DataAnalysisAll.vue b/src/views/monitor/DataAnalysisAll.vue
index 3a8968e..75a61be 100644
--- a/src/views/monitor/DataAnalysisAll.vue
+++ b/src/views/monitor/DataAnalysisAll.vue
@@ -67,8 +67,8 @@
loading: false,
chartData: [], //淇濆瓨鏌ヨ鐨勭粨鏋�
//devId:'', //璁惧缂栧彿
- begin: '2023-05-01', //寮�濮嬫椂闂�
- end: '2023-05-15', //缁撴潫鏃堕棿
+ begin: '2025-05-01', //寮�濮嬫椂闂�
+ end: '2025-05-15', //缁撴潫鏃堕棿
value: ['浠樺皬濮愬湪鎴愰兘', 'qinshi_31010320210010'], //淇濆瓨閫夋嫨鐨勫簵閾哄悕绉板拰璁惧鍚嶇О
options: [
{
diff --git a/src/views/monitor/DataAnalysisConcentration.vue b/src/views/monitor/DataAnalysisConcentration.vue
index 43973da..cf9c74b 100644
--- a/src/views/monitor/DataAnalysisConcentration.vue
+++ b/src/views/monitor/DataAnalysisConcentration.vue
@@ -65,8 +65,8 @@
loading: false,
chartData: [], //淇濆瓨鏌ヨ鐨勭粨鏋�
devId: '', //璁惧缂栧彿
- begin: '2023-05-01', //寮�濮嬫椂闂�
- end: '2023-05-15', //缁撴潫鏃堕棿
+ begin: '2025-05-01', //寮�濮嬫椂闂�
+ end: '2025-05-15', //缁撴潫鏃堕棿
value: ['浠樺皬濮愬湪鎴愰兘', 'qinshi_31010320210010'], //淇濆瓨閫夋嫨鐨勫簵閾哄悕绉板拰璁惧鍚嶇О
options: [
{
diff --git a/src/views/monitor/DataAnalysisOnlineRate.vue b/src/views/monitor/DataAnalysisOnlineRate.vue
index 274c99c..cf6d58f 100644
--- a/src/views/monitor/DataAnalysisOnlineRate.vue
+++ b/src/views/monitor/DataAnalysisOnlineRate.vue
@@ -65,8 +65,8 @@
loading: false,
chartData: [], //淇濆瓨鏌ヨ鐨勭粨鏋�
//devId:'', //璁惧缂栧彿
- begin: '2023-05-01', //寮�濮嬫椂闂�
- end: '2023-05-15', //缁撴潫鏃堕棿
+ begin: '2025-05-01', //寮�濮嬫椂闂�
+ end: '2025-05-15', //缁撴潫鏃堕棿
value: ['浠樺皬濮愬湪鎴愰兘', 'qinshi_31010320210010'], //淇濆瓨閫夋嫨鐨勫簵閾哄悕绉板拰璁惧鍚嶇О
options: [
{
diff --git a/src/views/monitor/DataAnalysisOpenRate.vue b/src/views/monitor/DataAnalysisOpenRate.vue
index 60283a4..5296da9 100644
--- a/src/views/monitor/DataAnalysisOpenRate.vue
+++ b/src/views/monitor/DataAnalysisOpenRate.vue
@@ -65,8 +65,8 @@
loading: false,
chartData: [], //淇濆瓨鏌ヨ鐨勭粨鏋�
devId: '', //璁惧缂栧彿
- begin: '2023-05-01', //寮�濮嬫椂闂�
- end: '2023-05-15', //缁撴潫鏃堕棿
+ begin: '2025-05-01', //寮�濮嬫椂闂�
+ end: '2025-05-15', //缁撴潫鏃堕棿
value: ['浠樺皬濮愬湪鎴愰兘', 'qinshi_31010320210010'], //淇濆瓨閫夋嫨鐨勫簵閾哄悕绉板拰璁惧鍚嶇О
options: [
{
diff --git a/src/views/monitor/DataAnalysisOverStandardRate.vue b/src/views/monitor/DataAnalysisOverStandardRate.vue
index faed1e0..6382c22 100644
--- a/src/views/monitor/DataAnalysisOverStandardRate.vue
+++ b/src/views/monitor/DataAnalysisOverStandardRate.vue
@@ -65,8 +65,8 @@
loading: false,
chartData: [], //淇濆瓨鏌ヨ鐨勭粨鏋�
//devId:'', //璁惧缂栧彿
- begin: '2023-05-01', //寮�濮嬫椂闂�
- end: '2023-05-15', //缁撴潫鏃堕棿
+ begin: '2025-05-01', //寮�濮嬫椂闂�
+ end: '2025-05-15', //缁撴潫鏃堕棿
value: ['浠樺皬濮愬湪鎴愰兘', 'qinshi_31010320210010'], //淇濆瓨閫夋嫨鐨勫簵閾哄悕绉板拰璁惧鍚嶇О
options: [
{
diff --git a/src/views/monitor/DataDashboard.vue b/src/views/monitor/DataDashboard.vue
index e17dcb4..135362e 100644
--- a/src/views/monitor/DataDashboard.vue
+++ b/src/views/monitor/DataDashboard.vue
@@ -613,7 +613,7 @@
return {
activeTime: 'day',
activeMode: 'pollution', // 榛樿姹℃煋鎬佸娍妯″紡
- currentDate: new Date('2023-08-01'),
+ currentDate: new Date('2025-08-01'),
timeTabs: [
{ label: '鏃�', value: 'day' },
{ label: '鍛�', value: 'week' },
diff --git a/src/views/monitor/DataDashboard_old2.vue b/src/views/monitor/DataDashboard_old2.vue
index 3292858..31a8544 100644
--- a/src/views/monitor/DataDashboard_old2.vue
+++ b/src/views/monitor/DataDashboard_old2.vue
@@ -65,7 +65,7 @@
devices: [],
// 鍒嗗尯鏁版嵁鎺掑悕
- selectedMonth: '2023-12',
+ selectedMonth: '2025-12',
rankingType: 'hourly',
rankingData: [],
sortedRankingData: [],
diff --git a/src/views/monitor/DataException.vue b/src/views/monitor/DataException.vue
index 847fcd7..ebcddaf 100644
--- a/src/views/monitor/DataException.vue
+++ b/src/views/monitor/DataException.vue
@@ -627,7 +627,7 @@
return summary
},
// 鍔熻兘锛氬璇濇琛ㄦ牸搴忓彿閫掑
- // 鏃堕棿锛�2023-8-17
+ // 鏃堕棿锛�2025-8-17
indexMethod(index) {
return index + 1
},
diff --git a/src/views/monitor/DataException_old.vue b/src/views/monitor/DataException_old.vue
index 159f6c5..50d3d45 100644
--- a/src/views/monitor/DataException_old.vue
+++ b/src/views/monitor/DataException_old.vue
@@ -612,7 +612,7 @@
},
methods: {
// 鍔熻兘锛氬璇濇琛ㄦ牸搴忓彿閫掑
- // 鏃堕棿锛�2023-8-17
+ // 鏃堕棿锛�2025-8-17
indexMethod(index) {
return index + 1
},
--
Gitblit v1.9.3