refactor: refs #8472 unified styling for the more-create-dialog slot to ensure consistency across all scenarios
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
a06cfa12a4
commit
812d68e295
|
@ -721,12 +721,16 @@ es:
|
||||||
|
|
||||||
.grid-create {
|
.grid-create {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
|
grid-template-columns: 1fr 1fr;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
grid-gap: 20px;
|
grid-gap: 20px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.q-span-2 {
|
||||||
|
grid-column: span 2;
|
||||||
|
}
|
||||||
|
|
||||||
.flex-one {
|
.flex-one {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row wrap;
|
flex-flow: row wrap;
|
||||||
|
|
|
@ -167,14 +167,12 @@ function exprBuilder(param, value) {
|
||||||
:right-search="false"
|
:right-search="false"
|
||||||
>
|
>
|
||||||
<template #more-create-dialog="{ data }">
|
<template #more-create-dialog="{ data }">
|
||||||
<QCardSection>
|
|
||||||
<VnInputPassword
|
<VnInputPassword
|
||||||
:label="t('Password')"
|
:label="t('Password')"
|
||||||
v-model="data.password"
|
v-model="data.password"
|
||||||
:required="true"
|
:required="true"
|
||||||
autocomplete="new-password"
|
autocomplete="new-password"
|
||||||
/>
|
/>
|
||||||
</QCardSection>
|
|
||||||
</template>
|
</template>
|
||||||
</VnTable>
|
</VnTable>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -232,7 +232,7 @@ watchEffect(selectedRows);
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template #more-create-dialog="{ data }">
|
<template #more-create-dialog="{ data }">
|
||||||
<div class="row q-col-gutter-xs">
|
<div class="row q-col-gutter-xs q-span-2">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="q-col-gutter-xs">
|
<div class="q-col-gutter-xs">
|
||||||
<VnRow fixed>
|
<VnRow fixed>
|
||||||
|
@ -430,6 +430,7 @@ watchEffect(selectedRows);
|
||||||
flex: 0.75;
|
flex: 0.75;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<i18n>
|
<i18n>
|
||||||
|
|
|
@ -133,8 +133,10 @@ const columns = computed(() => [
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
<template #more-create-dialog="{ data }">
|
<template #more-create-dialog="{ data }">
|
||||||
<VnInput :label="t('globals.name')" v-model="data.socialName" :uppercase="true" />
|
<div class="q-span-2">
|
||||||
</template>
|
<VnInput :label="t('globals.name')" v-model="data.socialName" :uppercase="true" />
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
</VnTable>
|
</VnTable>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -111,7 +111,6 @@ async function remove(row) {
|
||||||
>
|
>
|
||||||
<template #more-create-dialog="{ data }">
|
<template #more-create-dialog="{ data }">
|
||||||
<VnInput
|
<VnInput
|
||||||
filled
|
|
||||||
v-model="data.label"
|
v-model="data.label"
|
||||||
:label="t('wagon.create.label')"
|
:label="t('wagon.create.label')"
|
||||||
type="number"
|
type="number"
|
||||||
|
@ -119,13 +118,11 @@ async function remove(row) {
|
||||||
:rules="[(val) => !!val || t('wagon.warnings.labelNotEmpty')]"
|
:rules="[(val) => !!val || t('wagon.warnings.labelNotEmpty')]"
|
||||||
/>
|
/>
|
||||||
<VnInput
|
<VnInput
|
||||||
filled
|
|
||||||
v-model="data.plate"
|
v-model="data.plate"
|
||||||
:label="t('wagon.list.plate')"
|
:label="t('wagon.list.plate')"
|
||||||
:rules="[(val) => !!val || t('wagon.warnings.plateNotEmpty')]"
|
:rules="[(val) => !!val || t('wagon.warnings.plateNotEmpty')]"
|
||||||
/>
|
/>
|
||||||
<VnInput
|
<VnInput
|
||||||
filled
|
|
||||||
v-model="data.volume"
|
v-model="data.volume"
|
||||||
:label="t('wagon.list.volume')"
|
:label="t('wagon.list.volume')"
|
||||||
type="number"
|
type="number"
|
||||||
|
@ -134,7 +131,6 @@ async function remove(row) {
|
||||||
/>
|
/>
|
||||||
<VnSelect
|
<VnSelect
|
||||||
url="WagonTypes"
|
url="WagonTypes"
|
||||||
filled
|
|
||||||
v-model="data.typeFk"
|
v-model="data.typeFk"
|
||||||
use-input
|
use-input
|
||||||
fill-input
|
fill-input
|
||||||
|
|
|
@ -223,7 +223,7 @@ async function autofillBic(worker) {
|
||||||
:right-search="false"
|
:right-search="false"
|
||||||
>
|
>
|
||||||
<template #more-create-dialog="{ data }">
|
<template #more-create-dialog="{ data }">
|
||||||
<div class="q-pa-lg full-width">
|
<div class="q-span-2">
|
||||||
<VnRadio
|
<VnRadio
|
||||||
v-model="data.isFreelance"
|
v-model="data.isFreelance"
|
||||||
:val="false"
|
:val="false"
|
||||||
|
|
Loading…
Reference in New Issue