feat : 隧道管理新增/修改框添加新字段输入框

This commit is contained in:
2024-02-29 23:26:32 +08:00
parent d11401fd12
commit b2a31c28de
10 changed files with 127 additions and 35 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="choose-time">
<div class="choose-day">
<el-date-picker
v-model="selectButton"
type="date"
@@ -7,7 +7,7 @@
size="large"
value-format="YYYY-MM-DD"
@change="dataSelect"
popper-class="choose-time-popper"
popper-class="choose-day-popper"
:disabled-date="disabledDate"
/>
</div>
@@ -41,7 +41,7 @@ defineExpose({
border: 2px solid #0F82AF !important;
}
.choose-time-popper {
.choose-day-popper {
margin-left: 0 !important;
width: auto !important;

View File

@@ -1,12 +1,12 @@
<template>
<div class="choose-time">
<div class="choose-day">
<el-date-picker
v-model="selectButton"
type="month"
placeholder="选择月"
@change="dataSelect"
value-format="YYYY-MM-DD"
popper-class="choose-time-popper"
popper-class="choose-day-popper"
:disabled-date="disabledDate"
/>
</div>

View File

@@ -33,7 +33,7 @@
<div style="width: 1px;"></div>
</div>
<div class="time-select">
<choose-time v-if="selectTimeButton===2" ref="chooseDayRef" @select="daySelect"/>
<choose-day v-if="selectTimeButton===2" ref="chooseDayRef" @select="daySelect"/>
<choose-month v-if="selectTimeButton===1" ref="chooseMonthRef" @select="monthSelect"/>
<time-range-btn
:buttonList="timeList"
@@ -53,7 +53,7 @@ import ItemInfo from "./childComps/ItemInfo.vue";
import TimeRangeBtn from "@/components/timeRangeBtn/index.vue"
import * as echarts from 'echarts';
import {getEchartsInfo} from "@/api/largeScreen";
import ChooseTime from "@/components/chooseTime/index.vue"
import ChooseDay from "@/components/chooseDay/index.vue"
import ChooseMonth from "@/components/chooseMonth/index.vue"
let myEcharts = reactive({});

View File

@@ -34,7 +34,7 @@
<div style="width: 1px"></div>
</div>
<div class="time-select">
<choose-time v-if="selectTimeButton===2" ref="chooseDayRef" @select="daySelect"/>
<choose-day v-if="selectTimeButton===2" ref="chooseDayRef" @select="daySelect"/>
<choose-month v-if="selectTimeButton===1" ref="chooseMonthRef" @select="monthSelect"/>
<time-range-btn
:buttonList="timeList"
@@ -54,7 +54,7 @@ import GasInfoItem from "./childComps/GasInfoItem.vue";
import * as echarts from "echarts";
import TimeRangeBtn from "@/components/timeRangeBtn/index.vue";
import {getBadGasEchartsInfo} from "@/api/largeScreen";
import ChooseTime from "@/components/chooseTime/index.vue"
import ChooseDay from "@/components/chooseDay/index.vue"
import ChooseMonth from "@/components/chooseMonth/index.vue"
const props = defineProps({

View File

@@ -97,7 +97,7 @@
<div style="width: 1px;"></div>
</div>
<div class="time-select">
<choose-time v-if="selectTimeButton===2" ref="chooseDayRef" @select="daySelect"/>
<choose-day v-if="selectTimeButton===2" ref="chooseDayRef" @select="daySelect"/>
<choose-month v-if="selectTimeButton===1" ref="chooseMonthRef" @select="monthSelect"/>
<time-range-btn
:buttonList="timeList"
@@ -116,7 +116,7 @@
import * as echarts from "echarts";
import FanInfoItem from "./FanInfoItem.vue";
import TimeRangeBtn from "@/components/timeRangeBtn/index.vue"
import ChooseTime from "@/components/chooseTime/index.vue"
import ChooseDay from "@/components/chooseDay/index.vue"
import ChooseMonth from "@/components/chooseMonth/index.vue"
import {
editFrequency,

View File

@@ -23,7 +23,7 @@
<div style="width: 1px;"></div>
</div>
<div class="time-select">
<choose-time v-if="selectTimeButton===2" ref="chooseDayRef" @select="daySelect"/>
<choose-day v-if="selectTimeButton===2" ref="chooseDayRef" @select="daySelect"/>
<choose-month v-if="selectTimeButton===1" ref="chooseMonthRef" @select="monthSelect"/>
<time-range-btn
:buttonList="timeList"
@@ -43,7 +43,7 @@ import WindPressureItem from "./childComps/WindPressureItem.vue";
import TimeRangeBtn from "@/components/timeRangeBtn/index.vue"
import * as echarts from 'echarts';
import {getEchartsInfo} from "@/api/largeScreen";
import ChooseTime from "@/components/chooseTime/index.vue"
import ChooseDay from "@/components/chooseDay/index.vue"
import ChooseMonth from "@/components/chooseMonth/index.vue"
const props = defineProps({