feat
This commit is contained in:
@@ -2,7 +2,7 @@ import type { FormSchemaGetter } from '#/adapter/form';
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import {getDictOptions} from "#/utils/dict";
|
||||
import {renderDict} from "#/utils/render";
|
||||
import {personList} from '#/api/property/resident/person'
|
||||
import {resident_unitList,} from '#/api/property/resident/unit';
|
||||
|
||||
export const querySchema: FormSchemaGetter = () => [
|
||||
{
|
||||
@@ -138,7 +138,7 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '所属公司',
|
||||
label: '所属单位',
|
||||
fieldName: 'visitorUnit',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
@@ -160,10 +160,10 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
fieldName: 'interviewedUnit',
|
||||
component: 'ApiSelect',
|
||||
componentProps: {
|
||||
api: personList,
|
||||
api: resident_unitList,
|
||||
resultField: 'rows',
|
||||
labelField: 'unitName',
|
||||
valueField: 'unitName',
|
||||
labelField: 'name',
|
||||
valueField: 'name',
|
||||
placeholder: '请选择邀约单位',
|
||||
},
|
||||
rules: 'required',
|
||||
|
Reference in New Issue
Block a user