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

View File

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

View File

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

View File

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