100 lines
2.6 KiB
TypeScript
100 lines
2.6 KiB
TypeScript
import { FormSchema } from '/@/components/Form';
|
|
|
|
export const listData = [
|
|
{
|
|
id: 'asssd1d213197ua',
|
|
name: '外科',
|
|
children: [
|
|
{
|
|
id: '12edasd2145r52341d',
|
|
aImg: 'temp/20230606/45e964377e42182ea052c75c82cefcc0_1_1686038684080.jpg',
|
|
name: '张医师',
|
|
pro: '外科',
|
|
zc: '主任医师',
|
|
hospital: '三甲第一人民医院',
|
|
times: '123',
|
|
status: '1',
|
|
},
|
|
{
|
|
id: '12edasd214qwe5r52341d',
|
|
aImg: 'temp/20230606/45e964377e42182ea052c75c82cefcc0_1_1686038684080.jpg',
|
|
name: '张医师1',
|
|
pro: '外科',
|
|
zc: '主任医师',
|
|
hospital: '三甲第一人民医院',
|
|
times: '123',
|
|
status: '2',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: 'asssd1d213197ua',
|
|
name: '皮肤科',
|
|
children: [
|
|
{
|
|
id: '12edasd2145r52341d',
|
|
aImg: 'temp/20230606/45e964377e42182ea052c75c82cefcc0_1_1686038684080.jpg',
|
|
name: '王医师',
|
|
pro: '皮肤科',
|
|
zc: '主任医师',
|
|
hospital: '三甲第一人民医院',
|
|
times: '123',
|
|
status: '1',
|
|
},
|
|
{
|
|
id: '12edasd2145r5234asd1d',
|
|
aImg: 'temp/20230606/45e964377e42182ea052c75c82cefcc0_1_1686038684080.jpg',
|
|
name: '王医师1',
|
|
pro: '皮肤科',
|
|
zc: '主任医师',
|
|
hospital: '三甲第一人民医院',
|
|
times: '123',
|
|
status: '2',
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export const basicInfoInfoForm: FormSchema[] = [
|
|
{
|
|
label: '姓名',
|
|
field: 'name',
|
|
component: 'Input',
|
|
},
|
|
{
|
|
label: '性别',
|
|
field: 'gender_dictText',
|
|
component: 'Input',
|
|
},
|
|
{
|
|
label: '出生日期',
|
|
field: 'birthday',
|
|
component: 'Input',
|
|
},
|
|
{
|
|
label: '身高',
|
|
field: 'height',
|
|
component: 'Input',
|
|
componentProps: ({}) => {
|
|
return {
|
|
suffix: 'CM',
|
|
};
|
|
},
|
|
},
|
|
{
|
|
label: '体重',
|
|
field: 'weight',
|
|
component: 'Input',
|
|
componentProps: ({}) => {
|
|
return {
|
|
suffix: 'KG',
|
|
};
|
|
},
|
|
},
|
|
{
|
|
label: '住址',
|
|
field: 'address',
|
|
component: 'Input',
|
|
},
|
|
];
|