/*
 * @Author: your name
 * @Date: 2021-09-23 15:02:19
 * @LastEditTime: 2021-09-26 09:19:45
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /MedicalWisdomCheckSys/src/pages/DataManagement/publicData/typings.d.ts
 */

type ArticlesList = {
    ruleId: number,  // 条文ID
    ruleStr: string, // 四码
}

interface SelectedTreeDataType extends MccsFileTree.childTree {
    cateType?: number
}

declare namespace API {
     type GetTableListRequestType = {
        id: number,
        cateType: string,
        current?: number,
        pageSize?: number,
        keyword?: string,
        fileType?: string,
        startDate?: string,
        endDate?: string
     }

     type AddTableListRequestType = {
        parentId: number,
        name: string,
        cateType: number
     }

     type EditTableListRequestType = {
        id: number,
        name: string
     }

     type BatchConnectAccreditation = {
        articlesList: number[],
        ids: number[],
     }
}