重新排版表单

This commit is contained in:
lai
2024-09-09 19:06:53 +08:00
parent 71338670f0
commit 9dba98e0ee

View File

@@ -638,29 +638,6 @@ onMounted(() => {
</a-select>
</a-form-item>
</a-col>
<a-col :lg="12" :md="12" :xs="24">
<a-form-item
:label="t('views.perfManage.customTarget.status')"
name="status"
>
<a-select
v-model:value="modalState.from.status"
default-value="0"
:options="[
{
label: t('views.perfManage.customTarget.active'),
value: 'Active',
},
{
label: t('views.perfManage.customTarget.inactive'),
value: 'Inactive',
},
]"
:placeholder="t('common.selectPlease')"
>
</a-select>
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="16">
@@ -686,19 +663,18 @@ onMounted(() => {
</a-col>
</a-row>
<a-form-item
:label="t('views.perfManage.customTarget.expression')"
name="expression"
:label-col="{ span: 3 }"
v-bind="modalStateFrom.validateInfos.expression"
>
<a-input v-model:value="modalState.from.expression" allow-clear>
</a-input>
</a-form-item>
<a-row :gutter="16">
<a-col :lg="16" :md="16" :xs="24">
<a-form-item
:label="t('views.perfManage.customTarget.expression')"
name="expression"
:label-col="{ span: 4 }"
v-bind="modalStateFrom.validateInfos.expression"
>
<a-input v-model:value="modalState.from.expression" allow-clear>
</a-input>
</a-form-item>
</a-col>
<a-col :lg="8" :md="8" :xs="24">
<a-col :lg="12" :md="12" :xs="24">
<a-form-item
:label="t('views.perfManage.customTarget.unit')"
name="expression"
@@ -719,6 +695,29 @@ onMounted(() => {
></a-auto-complete>
</a-form-item>
</a-col>
<a-col :lg="12" :md="12" :xs="24">
<a-form-item
:label="t('views.perfManage.customTarget.status')"
name="status"
>
<a-select
v-model:value="modalState.from.status"
default-value="0"
:options="[
{
label: t('views.perfManage.customTarget.active'),
value: 'Active',
},
{
label: t('views.perfManage.customTarget.inactive'),
value: 'Inactive',
},
]"
:placeholder="t('common.selectPlease')"
>
</a-select>
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="16">
<a-col :lg="12" :md="12" :xs="24">
@@ -733,6 +732,7 @@ onMounted(() => {
></a-select>
</a-form-item>
</a-col>
<a-col :lg="12" :md="12" :xs="24">
<a-form-item
name="perSelect"