/*
 * @Author: your name
 * @Date: 2021-09-14 10:22:42
 * @LastEditTime: 2021-09-28 11:43:14
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /MedicalWisdomCheckSys/src/pages/GradeHospitalAccreditation/articleManagement/typings.d.ts
 */




declare namespace API {

     type RecordsItemType = {
      evaluation: string,
      details: {
         userName: string,
         fileName: string,
         fileUrl: string,
         createTime: string,
         recordTypeName: string
      }[]
     }

     type LeafDataType = {
        id: number,	
        numStr: string,	
        name: string,	
        accountType: string,
        responsibilityDepartmentName: number,	
        responsibilityUserName: string,
        selfEvaluation: string,	
        targetEvaluation: string,
        systemEvaluation: string,
        siteEvaluation: string,
        records?: RecordsItemType[]
     }


     type settingArticlePostDataType = {
      id: number,  // maybe 0
      ruleId: number,
      responsibilityDepartmentId: number,
      responsibilityDepartmentName: string,
      responsibilityUserId: number,
      responsibilityUserName: string,
      targetEvaluation: string,
      articleType: string
     }

     type batchSettingArticleType = {
      ruleIds: number[]|string[]|[],
      responsibilityDepartmentId: number,
      responsibilityDepartmentName: string,
      responsibilityUserId: number,
      responsibilityUserName: string,
      targetEvaluation: string,
      articleType: string
     }

}