KeyListDict = {
    "TeamList":
        ['id', 'name', 'type', 'team_headman', 'member', 'car_number', 'leader'],
    "TeamScheduleList": ['id', 'team', 'schedule_date'],
    "ElectricityUserList": [
        'id', 'customer', 'number', 'addr', 'type',
        'trusteeship_num', 'created_time'
    ],
    "ElectricityUserDetail": [
        'id', 'customer', 'number', 'city_code', 'ad_code', 'addr',
        'transformer_capacity', 'real_capacity', 'voltage_level',
        'magnification', 'power_number', 'ep_factor', 'type',
        'trusteeship_num', 'station_num', 'longitude', 'latitude',
        'householder', 'phone'
    ],
    "HandOverList":
        ['id', 'transfer_team', 'recieve_team', 'type', 'handover_time'],
    "CustomerList": [
        'id', 'name', 'type', 'industry', 'scale', 'asset', 'customer_admin',
        'address', 'electricityuser_num'
    ],
    "PowerstationList": [
        'id', 'customer', 'electricity_user', 'name', 'service_staff',
        'inspections_number', 'addr'
    ],
    "EquipmentList": [
        'id', 'name', 'type', 'factory', 'model', 'price', 'code', 'voltage',
        'electricity', 'production_code', 'production_date', 'operation_date',
        'status', 'station', 'parent_id', 'transformer_capacity', 'file',
        'line_type'
    ],
    "OrderList": [
        "id", "name", "customer_name", "type", "status", "team_headman",
        "task_id", "task_type", "task_status", "task_confirm", "created_time"
    ],
    "InspectionTaskList": [
        "id", "name", "station_name", "customer_name", "status",
        "team_headman", "work_date", "assign_date"
    ],
    "TaskList": [
        "dispatcher", "source", "date", "contacts", "create_time",
        "assign_time", "arrive_time", "finish_time", "customer", "addr",
        "service_staff", "customer_type", "describe", "team_headman",
        "add_user", "result", "equipment", "customer_had", "remarks"
    ],
    "DefectList": [
        "customer", "ele_user", "content", "proposal", "level", "possible_result",
        "follow_up", "remark", "status", "created_time"

    ]
}

KeyMapDict = {
    "Team_map": {
        'road_name': '路线',
        'bus_plate': '车牌',
        'timeline': '时间',
        'road_type': '方向',
        'site': '站点'
    },
    "ElectricityUserList_map": {
        'customer': '客户',
        'number': '户号',
        'service_staff': '客户代表',
        'addr': '用电地址',
        'type': '用电类型',
        'trusteeship_num': '托管电站数',
        'created_time': '创建时间'
    },
    "TeamSchedule_map": {
        'team': '班组名称',
        'schedule_date': '排班日期'
    },
    "HandOver_map": {
        'transfer_team': '交班班组',
        'recieve_team': '接班班组',
        'type': '类型',
        'handover_time': '交接班时间'
    },
    "Customer_map": {
        'name': '用户名',
        'type': '用户类型',
        'industry': '所属行业',
        'scale': '企业规模',
        'asset': '资产规模',
        'customer_admin': '管理员',
        'address': '地址',
        'electricityuser_num': '户号数'
    },
    "Powerstation_list_map": {
        'customer': '客户',
        'electricity_user': '户号',
        'name': '电站名',
        'service_staff': '客户代表',
        'addr': '电站地址',
        'inspections_number': '巡检次数'
    },
    "Equipment_list_map": {
        'name': "设备名称",
        'type': "设备类型",
        'factory': "厂商",
        'model': "型号",
        'price': "价格",
        'code': "设备编号",
        'voltage': "额定电压",
        'electricity': "额定电流",
        'production_code': "出厂号",
        'production_date': "出厂日期",
        'operation_date': "投运日期",
        'status': "运行状态",
        'station': "所属电站",
        'parent_id': "上级设备id",
        'transformer_capacity': "变压容量",
        'file': "铭牌图片",
        'line_type': "接线方式"
    },
    "OrderListMap": {
        "id": "id",
        "name": "名称",
        "customer_name": "客户名称",
        "type": "工单类型",
        "status": "当前状态",
        "team_headman": "处理人",
        "task_id": "关联任务",
        "task_type": "任务类型",
        "task_status": "任务状态",
        "task_confirm": "客户确认",
        "created_time": "创建时间"
    },
    "InspectionTaskListMap": {
        "id": "id",
        "name": "名称",
        "station_name": "电站名称",
        "customer_name": "客户名称",
        "status": "当前状态",
        "team_headman": "领取人",
        "work_date": "巡检日期",
        "assign_date": "领取日期"
    },
    "TaskListMap": {
        "dispatcher": "值班调度",
        "source": "报修来源",
        "date": "日期",
        "contacts": "联系人",
        "create_time": "报修时间",
        "assign_time": "抢修派出时间",
        "arrive_time": "到达时间",
        "finish_time": "抢修完成时间",
        "customer": "户名",
        "addr": "用户详细地址",
        "service_staff": "客户代表",
        "customer_type": "是否托管",
        "describe": "用户故障描述",
        "team_headman": "抢修现场负责人",
        "add_user": "后续增援人员情况",
        "result": "处理结果",
        "equipment": "更换设备",
        "customer_had": "用户是否自备",
        "remarks": "备注"
    },
    "Defect_map": {
        "customer": "客户",
        "ele_user": "户号",
        "content": "缺陷描述",
        "proposal": "建议措施",
        "level": "缺陷等级",
        "possible_result": "可能导致后果",
        "follow_up": "跟进情况",
        "status": "处理状态",
        "created_time": "缺陷发现时间",
        "remark": "备注"
    }
}
