refactor: refs #7318 update order prop type to string and improve conditional rendering for zone
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
f6e53e478f
commit
1f1fa1e2b6
|
@ -42,8 +42,8 @@ const props = defineProps({
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
order: {
|
order: {
|
||||||
type: Array,
|
type: String,
|
||||||
default: [],
|
default: '',
|
||||||
},
|
},
|
||||||
limit: {
|
limit: {
|
||||||
type: Number,
|
type: Number,
|
||||||
|
|
|
@ -86,7 +86,7 @@ onMounted(async () => {
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</VnLv>
|
</VnLv>
|
||||||
<VnLv v-if="entity.ticket?.zone" :label="t('claim.zone')">
|
<VnLv v-if="entity.ticket?.zone?.id" :label="t('claim.zone')">
|
||||||
<template #value>
|
<template #value>
|
||||||
<span class="link">
|
<span class="link">
|
||||||
{{ entity.ticket?.zone?.name }}
|
{{ entity.ticket?.zone?.name }}
|
||||||
|
|
|
@ -131,7 +131,7 @@ const STATE_COLOR = {
|
||||||
prefix="claim"
|
prefix="claim"
|
||||||
:array-data-props="{
|
:array-data-props="{
|
||||||
url: 'Claims/filter',
|
url: 'Claims/filter',
|
||||||
order: ['cs.priority ASC', 'created ASC'],
|
order: 'cs.priority ASC, created ASC',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<template #advanced-menu>
|
<template #advanced-menu>
|
||||||
|
|
Loading…
Reference in New Issue