This commit is contained in:
qsh
2024-08-09 11:47:56 +08:00
parent e60eb51f45
commit a3dc76e6a8
5 changed files with 21 additions and 25 deletions

View File

@@ -171,6 +171,8 @@ const formSchema = computed(() => {
it.componentProps['disabled-date'] = dateAfterToday
// it.componentProps['disabled'] = formType.value != 'create'
it.componentProps['disabled'] = true
} else if (it.field == 'convertPeople' && formType.value == 'update') {
it.componentProps['disabled'] = true
}
if (it.field == 'convertPeople') {
it.options = props.allUserOptions.map((it) => ({ ...it, name: it.nickname }))

View File

@@ -11,7 +11,7 @@
labelWidth="130px"
:defaultShow="false"
/>
<el-form :model="form" ref="formRef" :rules="rules" label-width="auto" class="mt-20px">
<el-form :model="form" ref="formRef" :rules="rules" label-width="100px" class="mt-20px">
<el-row :gutter="20">
<!-- 驾校招生模式 -->
<template v-if="appStore.getAppInfo?.instanceType == 1">
@@ -131,7 +131,7 @@
</el-form-item>
</el-col>
<el-col
:span="8"
:span="fieldItem.component == 'Editor' ? 24 : 8"
:offset="0"
v-for="fieldItem in diyFieldList"
:key="fieldItem.clueParamId"