/*
 * @Author: your name
 * @Date: 2021-09-13 17:47:42
 * @LastEditTime: 2021-09-28 10:16:48
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /MedicalWisdomCheckSys/src/pages/GradeHospitalAccreditation/accreditationDetail/components/FormList/typings.d.ts
 */


declare namespace FormList {
    type MapList = {
        key: string|number,
        evaluation?: string,
        list: {
            key: string|number,
            detail: string,
            [propsName: string]: any
        }[],
        [propsName: string]: any
    }

    type SelecterItem = {
        label: string,
        value: string|number
    }
    
    type FormListProps = {
        data?: MapList[],
        selecterList: SelecterItem[],
        onFinnish?: () => void,
        [propsName: string]: any
    }
    
    type FormListRefCurrent = {
        getData: () => MapList[]
    }
}