fix:抽参数到vux 统一管理

This commit is contained in:
zhangyu
2022-01-04 15:00:36 +08:00
parent f50db242d4
commit 87bc9aca55
4 changed files with 10 additions and 10 deletions

View File

@@ -4,8 +4,8 @@
<transition>
<div v-show="showDropdown" id="panel-calender" class="calendar">
<my-date-picker prefix-icon=" " size="mini" ref="calendar"
:value-format="timeFormatStrToDatePickFormat(multipleTime)"
:format="timeFormatStrToDatePickFormat(multipleTime)" class="panel-time-picker-hidden" @change="dateChange" v-model="startTime" type="datetime"
:value-format="timeFormatStrToDatePickFormat(timeFormatMain)"
:format="timeFormatStrToDatePickFormat(timeFormatMain)" class="panel-time-picker-hidden" @change="dateChange" v-model="startTime" type="datetime"
popper-class="panel-time-picker-popper"
align="right">
</my-date-picker>

View File

@@ -39,8 +39,8 @@
<span class="datepicker-title">{{ $t("overall.startTime") }}</span>
<my-date-picker ref="calendar" v-model="editAlertSilence.startAt" :clearable="false" :placeholder="$t('dashboard.panel.startTime')"
align="right" class=" "
:value-format="timeFormatStrToDatePickFormat(alertSilenceTime)"
:format="timeFormatStrToDatePickFormat(alertSilenceTime)"
:value-format="timeFormatStrToDatePickFormat(timeFormatMain)"
:format="timeFormatStrToDatePickFormat(timeFormatMain)"
popper-class="panel-time-picker-popper right-box-select-top"
prefix-icon=" "
size="mini"
@@ -53,8 +53,8 @@
<span class="datepicker-title">{{ $t("overall.endTime") }}</span>
<my-date-picker ref="calendar" v-model="editAlertSilence.endAt" :clearable="false" :placeholder="$t('dashboard.panel.startTime')"
align="right" class=" "
:value-format="timeFormatStrToDatePickFormat(alertSilenceTime)"
:format="timeFormatStrToDatePickFormat(alertSilenceTime)"
:value-format="timeFormatStrToDatePickFormat(timeFormatMain)"
:format="timeFormatStrToDatePickFormat(timeFormatMain)"
popper-class="panel-time-picker-popper right-box-select-top"
prefix-icon=" "
size="mini"

View File

@@ -1,8 +1,8 @@
<template>
<div id="panel-calender" :class="{'calendar--small': size === 'small'}" class="calendar">
<my-date-picker prefix-icon=" " class="panel-time-picker-hidden " size="mini" ref="calendar"
:value-format="timeFormatStrToDatePickFormat(timePicker)"
:format="timeFormatStrToDatePickFormat(timePicker)" @change="dateChange" v-model="searchTime" type="datetimerange"
:value-format="timeFormatStrToDatePickFormat(timeFormatMain)"
:format="timeFormatStrToDatePickFormat(timeFormatMain)" @change="dateChange" v-model="searchTime" type="datetimerange"
popper-class="panel-time-picker-popper time-picker-popover__select-top"
:default-time="['00:00:00', '23:59:59']"
:range-separator="$t('dashboard.panel.to')"

View File

@@ -55,8 +55,8 @@
style="width: 100%;"
v-model="scope.row[item.prop]"
prefix-icon=" " size="small" ref="calendar"
:format="timeFormatStrToDatePickFormat(apiKeyTableTime)"
:value-format="timeFormatStrToDatePickFormat(apiKeyTableTime)"
:format="timeFormatStrToDatePickFormat(timeFormatMain)"
:value-format="timeFormatStrToDatePickFormat(timeFormatMain)"
type="datetime"
popper-class="item-system-table right-public-box-dropdown-top right-box-select-top"
:picker-options="pickerOptions"