alarm 模块所有页面下拉框增加清空icon

This commit is contained in:
renpy 2023-08-21 17:12:51 +08:00
parent 26cc2b6a54
commit 9b5d076b06
7 changed files with 16 additions and 0 deletions

View File

@ -12,6 +12,7 @@
:maxTagCount="1" :maxTagCount="1"
:options="typeOptions" :options="typeOptions"
show-arrow show-arrow
allowClear
@change="onTypeChange" @change="onTypeChange"
> >
<img slot="suffixIcon" src="@/assets/images/global/select-down.png" alt="" /> <img slot="suffixIcon" src="@/assets/images/global/select-down.png" alt="" />
@ -36,6 +37,7 @@
placeholder="select..." placeholder="select..."
:maxTagCount="1" :maxTagCount="1"
show-arrow show-arrow
allowClear
:options="options" :options="options"
@change="onNameChange" @change="onNameChange"
> >
@ -62,6 +64,7 @@
:maxTagCount="1" :maxTagCount="1"
:filter-option="filterOption" :filter-option="filterOption"
show-arrow show-arrow
allowClear
:options="options" :options="options"
@change="onStationChange" @change="onStationChange"
> >
@ -87,6 +90,7 @@
placeholder="select..." placeholder="select..."
:maxTagCount="1" :maxTagCount="1"
show-arrow show-arrow
allowClear
:options="sourceOptions" :options="sourceOptions"
@change="onSourceChange" @change="onSourceChange"
> >

View File

@ -8,6 +8,7 @@
placeholder="select..." placeholder="select..."
:filter-option="filterOption" :filter-option="filterOption"
show-arrow show-arrow
allowClear
:options="DbOptions" :options="DbOptions"
@change="onDbChange" @change="onDbChange"
> >
@ -20,6 +21,7 @@
v-model="queryParams.timer" v-model="queryParams.timer"
placeholder="select..." placeholder="select..."
show-arrow show-arrow
allowClear
:options="timerOptions" :options="timerOptions"
@change="onTimeChange" @change="onTimeChange"
> >

View File

@ -11,6 +11,7 @@
placeholder="select..." placeholder="select..."
:filter-option="filterOption" :filter-option="filterOption"
show-arrow show-arrow
allowClear
:options="emailOptions" :options="emailOptions"
@change="onEmailChange" @change="onEmailChange"
> >
@ -108,6 +109,7 @@
v-model="date" v-model="date"
placeholder="select..." placeholder="select..."
show-arrow show-arrow
allowClear
:options="dateOptions" :options="dateOptions"
@change="onDateChange" @change="onDateChange"
> >

View File

@ -151,6 +151,7 @@
</a-form-item> </a-form-item>
<a-form-item label="Enable or not"> <a-form-item label="Enable or not">
<a-select <a-select
allowClear
v-decorator="[ v-decorator="[
'enabled', 'enabled',
{ {
@ -159,6 +160,7 @@
} }
]" ]"
> >
<img slot="suffixIcon" src="@/assets/images/global/select-down.png" alt="" />
<a-select-option :value="1"> <a-select-option :value="1">
Enable Enable
</a-select-option> </a-select-option>

View File

@ -9,6 +9,7 @@
placeholder="select..." placeholder="select..."
:filter-option="filterOption" :filter-option="filterOption"
show-arrow show-arrow
allowClear
labelInValue labelInValue
:options="serverOptions" :options="serverOptions"
@change="onServerChange" @change="onServerChange"
@ -22,6 +23,7 @@
v-model="queryParams.timer" v-model="queryParams.timer"
placeholder="select..." placeholder="select..."
show-arrow show-arrow
allowClear
:options="timerOptions" :options="timerOptions"
@change="onTimeChange" @change="onTimeChange"
> >

View File

@ -9,6 +9,7 @@
placeholder="select..." placeholder="select..."
:filter-option="filterOption" :filter-option="filterOption"
show-arrow show-arrow
allowClear
labelInValue labelInValue
:options="serverOptions" :options="serverOptions"
@change="onServerChange" @change="onServerChange"
@ -22,6 +23,7 @@
v-model="queryParams.timer" v-model="queryParams.timer"
placeholder="select..." placeholder="select..."
show-arrow show-arrow
allowClear
:options="timerOptions" :options="timerOptions"
@change="onTimeChange" @change="onTimeChange"
> >

View File

@ -9,6 +9,7 @@
placeholder="select..." placeholder="select..."
:filter-option="filterOption" :filter-option="filterOption"
show-arrow show-arrow
allowClear
:options="serverOptions" :options="serverOptions"
@change="onServerChange" @change="onServerChange"
> >
@ -21,6 +22,7 @@
v-model="queryParams.timer" v-model="queryParams.timer"
placeholder="select..." placeholder="select..."
show-arrow show-arrow
allowClear
:options="timerOptions" :options="timerOptions"
@change="onTimeChange" @change="onTimeChange"
> >