mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-04 04:59:48 +08:00
style: 高级搜索-数字类型的通过率加上单位
--bug=1047800 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001047800
This commit is contained in:
parent
83ca47c242
commit
a98f8bc20f
@ -401,6 +401,7 @@
|
||||
type: FilterType.NUMBER,
|
||||
numberProps: {
|
||||
min: 0,
|
||||
suffix: '%',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -368,6 +368,7 @@
|
||||
type: FilterType.NUMBER,
|
||||
numberProps: {
|
||||
min: 0,
|
||||
suffix: '%',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -88,7 +88,11 @@
|
||||
:max-length="255"
|
||||
:placeholder="t('common.pleaseInput')"
|
||||
v-bind="item.numberProps"
|
||||
/>
|
||||
>
|
||||
<template v-if="item.numberProps?.suffix" #suffix>
|
||||
{{ item.numberProps.suffix }}
|
||||
</template>
|
||||
</a-input-number>
|
||||
<MsTagsInput
|
||||
v-else-if="item.type === FilterType.TAGS_INPUT&& ![OperatorEnum.COUNT_LT, OperatorEnum.COUNT_GT].includes(item.operator as OperatorEnum)"
|
||||
v-model:model-value="item.value"
|
||||
|
@ -31,6 +31,7 @@ export interface NumberProps {
|
||||
mode: 'embed' | 'button';
|
||||
precision: number;
|
||||
step: number;
|
||||
suffix: string;
|
||||
}
|
||||
|
||||
export interface FilterFormItem {
|
||||
|
@ -759,6 +759,7 @@
|
||||
type: FilterType.NUMBER,
|
||||
numberProps: {
|
||||
min: 0,
|
||||
suffix: '%',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -1027,6 +1027,7 @@
|
||||
type: FilterType.NUMBER,
|
||||
numberProps: {
|
||||
min: 0,
|
||||
suffix: '%',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -671,6 +671,7 @@
|
||||
type: FilterType.NUMBER,
|
||||
numberProps: {
|
||||
min: 0,
|
||||
suffix: '%',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -663,6 +663,7 @@
|
||||
type: FilterType.NUMBER,
|
||||
numberProps: {
|
||||
min: 0,
|
||||
suffix: '%',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user