From 483952d50243e1c03be2ccb0904680cc0f6278c7 Mon Sep 17 00:00:00 2001
From: lct123456 <lucht>
Date: Tue, 26 Apr 2022 23:59:29 +0800
Subject: [PATCH] 四色图、校验规则
---
src/views/doublePreventAction/riskLevelManage/fourColorMap/index.vue | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/src/views/doublePreventAction/riskLevelManage/fourColorMap/index.vue b/src/views/doublePreventAction/riskLevelManage/fourColorMap/index.vue
index 5ef5f54..0383b97 100644
--- a/src/views/doublePreventAction/riskLevelManage/fourColorMap/index.vue
+++ b/src/views/doublePreventAction/riskLevelManage/fourColorMap/index.vue
@@ -1,12 +1,21 @@
<template>
- <div class="map-layout">
- <Map @init="init" :option="option" v-if="option" />
- <Tab v-if="loaded" />
- </div>
+<div style="height:1000px;width:100%;background:#FFFFFF;padding:20px">
+ <el-tabs v-model="activeName">
+ <el-tab-pane label="60万吨" name="first">
+ <sixty></sixty>
+ </el-tab-pane>
+ <el-tab-pane label="130万吨" name="second">
+ <oneHundredAndThirty></oneHundredAndThirty>
+ </el-tab-pane>
+ </el-tabs>
+</div>
+
+
</template>
<script>
- import tileset from '../../../../assets/tileset.json'
+ import sixty from './components/sixty.vue'
+ import oneHundredAndThirty from './components/oneHundredAndThirty.vue'
import Map from '../../../../components/Map';
import Tab from '../../../../components/Tab';
import { global } from '../../../../global';
@@ -20,9 +29,12 @@
components: {
Map,
Tab,
+ oneHundredAndThirty,
+ sixty
},
data() {
return {
+ activeName:'first',
loaded: false,
map: null,
option: null,
@@ -261,7 +273,7 @@
<style scoped>
.map-layout {
- height: 100%;
+ height: 920px;;
position: relative;
}
--
Gitblit v1.9.2