From 1a6b027bd082d634aada914d46f5104e5eb91ca3 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 13 Jul 2023 16:35:35 +0800
Subject: [PATCH] 电子沙盘相关更改
---
src/components/warningSelect/index.vue | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 57 insertions(+), 2 deletions(-)
diff --git a/src/components/warningSelect/index.vue b/src/components/warningSelect/index.vue
index 7d179ae..fda669a 100644
--- a/src/components/warningSelect/index.vue
+++ b/src/components/warningSelect/index.vue
@@ -2,7 +2,7 @@
* @Author: shuishen 1109946754@qq.com
* @Date: 2023-04-04 16:24:42
* @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2023-07-10 19:11:58
+ * @LastEditTime: 2023-07-13 15:24:08
* @FilePath: \srs-police-affairs\src\components\warningSelect\index.vue
* @Description:
*
@@ -22,6 +22,59 @@
<script>
import { getWarningsAll } from "@/api/icons/index"
+
+
+let warningImgData = [
+ {
+ title: '核心区1',
+ url: 'hxq-one'
+ },
+ {
+ title: '核心区2',
+ url: 'hxq-two'
+ },
+ {
+ title: '核心区3',
+ url: 'hxq-three'
+ },
+ {
+ title: '防范区1',
+ url: 'ffq-one'
+ },
+ {
+ title: '防范区2',
+ url: 'ffq-two'
+ },
+ {
+ title: '防范区3',
+ url: 'ffq-three'
+ },
+ {
+ title: '缓冲区1',
+ url: 'hcq-one'
+ },
+ {
+ title: '缓冲区2',
+ url: 'hcq-two'
+ },
+ {
+ title: '缓冲区3',
+ url: 'hcq-three'
+ },
+ {
+ title: '警戒线1',
+ url: 'jjx-one'
+ },
+ {
+ title: '警戒线2',
+ url: 'jjx-two'
+ },
+ {
+ title: '警戒线3',
+ url: 'jjx-three'
+ },
+]
+
export default {
name: 'WarningSelect',
@@ -44,9 +97,11 @@
let title = imgArr[imgArr.length - 1].split('.')[0]
+ let cur = warningImgData.find(i => i.url == title)
+
this.imageUrls.push({
url: item,
- title
+ title: cur.title
})
})
this.loading = false
--
Gitblit v1.9.3