参与人类型

说明

参与人类型与行程类型类似,在每刻系统内需要配置单独的参与人表单,具体字段的参数,以表单内的开发者模式下的模板数据为准,此处仅罗列了所有可能出现的固定字段的数据结构。

参数示例

{
  "externalTravelPartner": [{
    "name": { //员工姓名
      "label" : "姓名",
      "type": "SingleTextInput",
      "value": {
        "text": "张三"
      }
    },
    "employeeId": { //工号
      "label" : "工号",
      "type": "SingleTextInput",
      "value": {
        "text": "MK001"
      }
    },
    "department": { //部门
      "label" : "部门",
      "type": "DepartmentInput",
      "value": {
        "businessCode":"BM001", // 部门编码
        "fullName":["每刻科技","每刻研发部"], // 部门全路径名称
        "text":"每刻科技|||每刻研发部", // 部门全路径名称
        "name": "每刻研发部"
      }
    },
    "classPosition": { //职级
      "label" : "职级",
      "type": "ClassPositionInput",
      "value": {
        "name": "P1", //职级名称
        "businessCode": "BIZ001",
        "description": "职级描述"
      }
    },
    "gender": { //性别
      "label" : "性别",
      "type": "SingleTextInput",
      "value": {
        "text": "MAN" //MAN-男,WOMAN-女
      }
    },
    "enName": { //英文名
      "label" : "英文名",
      "type": "EnNameInput",
      "value": {
        "firstName": "firstName",
        "middleName": "middleName",
        "lastName": "lastName"
      }
    },
    "idInfo": { //证件信息
      "label" : "证件号",
      "type": "IdInfoInput",
      "value": {
        "idType": "备注信息", //ID_CARD-身份证,GATResidencePermit-港澳台居民居住证,WGRResidenceIdCard-外国人永久居留身份证,GATMainlandPass-港澳居民来往内地通行证,TAIWAN_TravellingPass-台湾居民来往大陆通行证,Protection-护照 
        "idNum": "备注信息"
      }
    },
    .... //后省略自定义字段
  }],
  "externalTravelPartner": [{
    "name": { //员工姓名
      "label" : "姓名",
      "type": "SingleTextInput",
      "value": {
        "text": "张三"
      }
    },
    "gender": { //性别
      "label" : "性别",
      "type": "SingleTextInput",
      "value": {
        "text": "MAN" //MAN-男,WOMAN-女
      }
    },
    "enName": { //英文名
      "label" : "英文名",
      "type": "EnNameInput",
      "value": {
        "firstName": "firstName",
        "middleName": "middleName",
        "lastName": "lastName"
      }
    },
    "peopleNum": { //人数
      "label" : "人数",
      "type": "SingleTextInput",
      "value": {
        "text": "1"
      }
    },
    "idInfo": { //证件信息
      "label" : "证件号",
      "type": "IdInfoInput",
      "value": {
        "idType": "备注信息", //ID_CARD-身份证,GATResidencePermit-港澳台居民居住证,WGRResidenceIdCard-外国人永久居留身份证,GATMainlandPass-港澳居民来往内地通行证,TAIWAN_TravellingPass-台湾居民来往大陆通行证,Protection-护照 
        "idNum": "备注信息"
      }
    },
    .... //后省略自定义字段
  }]
}
Copyright © 杭州每刻科技有限公司 www.maycur.com all right reserved,powered by Gitbook该文件修订时间: 2024-11-20 10:52:00

results matching ""

    No results matching ""

    results matching ""

      No results matching ""