This commit is contained in:
@@ -162,7 +162,9 @@ export default {
|
|||||||
"Include",
|
"Include",
|
||||||
"AnyUser",
|
"AnyUser",
|
||||||
"Sort",
|
"Sort",
|
||||||
"Filter"
|
"Filter",
|
||||||
|
"GridFilterDialogAndRadioText",
|
||||||
|
"GridFilterDialogOrRadioText"
|
||||||
],
|
],
|
||||||
|
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -85,6 +85,14 @@
|
|||||||
</v-card-title>
|
</v-card-title>
|
||||||
|
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
|
<v-switch
|
||||||
|
v-model="item.include"
|
||||||
|
:label="lt('Include')"
|
||||||
|
:ref="item.key"
|
||||||
|
:disabled="item.sort != null || item.filter != null"
|
||||||
|
@change="includeChanged(item)"
|
||||||
|
></v-switch>
|
||||||
|
|
||||||
<div class="d-flex justify-space-between">
|
<div class="d-flex justify-space-between">
|
||||||
<v-btn text large @click="move('start', index)"
|
<v-btn text large @click="move('start', index)"
|
||||||
><v-icon light Large>fa-step-backward</v-icon></v-btn
|
><v-icon light Large>fa-step-backward</v-icon></v-btn
|
||||||
@@ -99,13 +107,7 @@
|
|||||||
><v-icon Large>fa-step-forward</v-icon></v-btn
|
><v-icon Large>fa-step-forward</v-icon></v-btn
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<v-switch
|
|
||||||
v-model="item.include"
|
|
||||||
:label="lt('Include')"
|
|
||||||
:ref="item.key"
|
|
||||||
:disabled="item.sort != null || item.filter != null"
|
|
||||||
@change="includeChanged(item)"
|
|
||||||
></v-switch>
|
|
||||||
<template v-if="item.isSortable">
|
<template v-if="item.isSortable">
|
||||||
<div @click="toggleSort(item)" class="pl-2 pt-2">
|
<div @click="toggleSort(item)" class="pl-2 pt-2">
|
||||||
<v-btn v-if="item.sort == null" text Large>
|
<v-btn v-if="item.sort == null" text Large>
|
||||||
@@ -134,6 +136,16 @@
|
|||||||
<label class="v-label theme--light"
|
<label class="v-label theme--light"
|
||||||
> {{ lt("Filter") }}</label
|
> {{ lt("Filter") }}</label
|
||||||
>
|
>
|
||||||
|
<v-radio-group v-model="item.filter.any" column>
|
||||||
|
<v-radio
|
||||||
|
:label="lt('GridFilterDialogAndRadioText')"
|
||||||
|
value="false"
|
||||||
|
></v-radio>
|
||||||
|
<v-radio
|
||||||
|
label="lt('GridFilterDialogOrRadioText')"
|
||||||
|
value="true"
|
||||||
|
></v-radio>
|
||||||
|
</v-radio-group>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
@@ -608,7 +620,7 @@ function initDataObject(vm) {
|
|||||||
uiFieldDataType: fld.uiFieldDataType,
|
uiFieldDataType: fld.uiFieldDataType,
|
||||||
isCustomField: fld.isCustomField,
|
isCustomField: fld.isCustomField,
|
||||||
sort: lvItem.sort || null,
|
sort: lvItem.sort || null,
|
||||||
filter: lvItem.filter || null
|
filter: lvItem.filter || { any: false, items: [] }
|
||||||
};
|
};
|
||||||
ret.push(o);
|
ret.push(o);
|
||||||
}
|
}
|
||||||
@@ -635,7 +647,7 @@ function initDataObject(vm) {
|
|||||||
uiFieldDataType: fld.uiFieldDataType,
|
uiFieldDataType: fld.uiFieldDataType,
|
||||||
isCustomField: fld.isCustomField,
|
isCustomField: fld.isCustomField,
|
||||||
sort: null,
|
sort: null,
|
||||||
filter: null
|
filter: { any: false, items: [] }
|
||||||
};
|
};
|
||||||
ret.push(o);
|
ret.push(o);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user