# coding:utf-8
"""名医大赏相关配置"""

# 名医大赏报名项目
famous_doctors_items = [
    {"id": 1, "order": 1, "name": "人气"},
    {"id": 2, "order": 2, "name": "口碑"},
    {"id": 3, "order": 3, "name": "实力"},
    {"id": 4, "order": 4, "name": "鼻部"},
    {"id": 5, "order": 5, "name": "眼部"},
    {"id": 6, "order": 6, "name": "颌面"},
    {"id": 7, "order": 7, "name": "皮肤"},
    {"id": 8, "order": 8, "name": "抗衰"},
    {"id": 9, "order": 9, "name": "胸部"},
    {"id": 10, "order": 10, "name": "脂肪"},
    {"id": 11, "order": 11, "name": "私密"},
    {"id": 12, "order": 12, "name": "毛发"},
]


# 获奖医生、医院名单
# prize_doctors = [
#     {"item_id": 1, "doctor_ids": ["9b0b1b2af41411e6903d0242c0a8020b"], "prize_name": "2019-年度人气整形医生"},
#     {"item_id": 2, "doctor_ids": ["7159e636b5f711e6903d0242c0a8020b"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 3, "doctor_ids": ["0a6d3de0d89511e6903d0242c0a8020b"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 4, "doctor_ids": ["fb084922d24411e6903d0242c0a8020b", "75c4ec00d22d11e6903d0242c0a8020b"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 5, "doctor_ids": ["f7de082172b240e4adc3d1f92e484c33"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 6, "doctor_ids": ["01e397d9fb1f4bc3805a40dddaa77a6d"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 7, "doctor_ids": ["72d685b4759a4dd2a60dc237d002ecb0"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 8, "doctor_ids": ["3433497941fb4a589381b9eb8bc261d9"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 9, "doctor_ids": ["b3f371906891420fa0307616e4bb1fce"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 10, "doctor_ids": ["7ed90e9f339043168647c52fe7a1870a"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 11, "doctor_ids": ["f7ebc4a724094549a2d8d6b57ee4d02e"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 12, "doctor_ids": ["d099b8e49d6447f180d3a8b3078ce3bd"], "prize_name": "金牌眼部整形医生奖"},
# ]

prize_doctors = [
    {"item_id": 1, "doctor_ids": ["15aa962cf6074c93b9654f9aaa6d991b", "4a41e57457504ca28a29190bb4cf6d2d", "ba5987d3940d432eaf7963725fc08ea0"], "prize_name": "2019-年度人气整形医生"},
    {"item_id": 2, "doctor_ids": ["6ca9d1f0c87d4d0288aa854f6c9b2cbe"], "prize_name": "2019-年度口碑整形医生"},
    {"item_id": 3, "doctor_ids": ["xurongyang"], "prize_name": "2019-年度实力整形医生"},
    {"item_id": 4, "doctor_ids": ["7c9e39ec203a48fd8c8b48bdbaa38e24"], "prize_name": "2019-年度优秀鼻部整形医生"},
    {"item_id": 5, "doctor_ids": ["02d70c57ffd042cb9eff23016514db2d"], "prize_name": "2019-年度优秀眼部整形医生"},
    {"item_id": 6, "doctor_ids": ["6ca9d1f0c87d4d0288aa854f6c9b2cbe"], "prize_name": "2019-年度优秀颌面整形医生"},
    {"item_id": 7, "doctor_ids": ["75338901104f48b5a726004523c2817b"], "prize_name": "2019-年度优秀皮肤管理医生"},
    {"item_id": 8, "doctor_ids": ["205f4562ad5c4d5f934e3ad41636572a"], "prize_name": "2019-年度优秀抗衰管理医生"},
    {"item_id": 9, "doctor_ids": ["2ff1b82408d544bd85ff500527b97c41"], "prize_name": "2019-年度优秀胸部整形医生"},
    {"item_id": 10, "doctor_ids": ["6786cb80650f11e6a42100163e001c72", "7413e93128be4da8a1111616d1649f0d"], "prize_name": "2019-年度优秀脂肪管理医生"},
    {"item_id": 11, "doctor_ids": ["9ad334757bd8472891c9d9226981dfd1"], "prize_name": "2019-年度优秀私密整形医生"},
    {"item_id": 12, "doctor_ids": ["f4018b64fd314a869abe180adbbd7eb4"], "prize_name": "2019-年度优秀毛发整形医生"},
]

# prize_hospitals = [
#     {"item_id": 1, "hospital_ids": ["bbsdsrmyysszxk", "bbsdyrmyyzxwk",], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 2, "hospital_ids": ["bbszyyy", "bbyxydefsyy", "bbyxydefsyyzxsswk",], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 3, "hospital_ids": ["bbyxyfsyyzxwk"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 4, "hospital_ids": ["bc58c1de4e2611e6a8c4f45c899f5365", "BCCKGJLS", "BCCKGJLSCD"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 5, "hospital_ids": ["BCCKGJLSHZ", "bcqzzzxzyy", "bcyjylmrmz"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 6, "hospital_ids": ["bdbtylmrzs", "bdcgm", "bdchpingan"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 7, "hospital_ids": ["bdckylmrzs", "bdczx"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 8, "hospital_ids": ["bdebhzkyy", "bdfyylmrzs"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 9, "hospital_ids": ["bdhmylmrzs", "bdldylmrzs"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 10, "hospital_ids": ["bdlshylmrzxzs", "bdlsylmrzs"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 11, "hospital_ids": ["bdmcxyy", "bdmwylmrzs", "bdpjylmrzs"], "prize_name": "金牌眼部整形医生奖"},
#     {"item_id": 12, "hospital_ids": ["bdrenmin", "bdsdeyyylmrk", "bdsdwyysszxmrk"], "prize_name": "金牌眼部整形医生奖"},
# ]

prize_hospitals = [
    {"item_id": 1, "hospital_ids": ["96ea37eef81d11e692f800163e000a4a", "a6e68171d66c4fb69275c82f76541c48", "839d8c47ff7c4c4cb82e617383926118"], "prize_name": "2019-年度人气整形机构"},
    {"item_id": 2, "hospital_ids": ["fb38be6e52b34b6d8efe7a30d2c93022", "whmjyylmrmzb3281", "b0b115d0804c458c9eb9b833fc94364b", "schmzx",], "prize_name": "2019-年度口碑整形机构"},
    {"item_id": 3, "hospital_ids": ["scjdyxyjfsyy"], "prize_name": "2019-年度实力整形机构"},
    {"item_id": 4, "hospital_ids": ["fb32833d473240fba50e4afa764a7d00"], "prize_name": "2019-年度优秀鼻部整形机构"},
    {"item_id": 5, "hospital_ids": ["shhhuamei"], "prize_name": "2019-年度优秀眼部整形机构"},
    {"item_id": 6, "hospital_ids": ["GZMEYXMR", "shrayy", "shmlcylmryy", "6c3ca49451474edf803101d13ed12896"], "prize_name": "2019-年度优秀颌面整形机构"},
    {"item_id": 7, "hospital_ids": ["shhhuamei"], "prize_name": "2019-年度优秀皮肤管理机构"},
    {"item_id": 8, "hospital_ids": ["szghmzb"], "prize_name": "2019-年度优秀抗衰管理机构"},
    {"item_id": 9, "hospital_ids": ["shyxylmryy2203"], "prize_name": "2019-年度优秀胸部整形机构"},
    {"item_id": 10, "hospital_ids": ["4d97a366e69311e5ae9100163e00062b"], "prize_name": "2019-年度优秀脂肪管理机构"},
    {"item_id": 11, "hospital_ids": ["c614856fe7c847c9b7f8a25f1aed40b8"], "prize_name": "2019-年度优秀私密整形机构"},
    {"item_id": 12, "hospital_ids": ["8981117cec0711e5977700163e000a4a"], "prize_name": "2019-年度优秀毛发整形机构"},
]


def list_items():

    famous_doctors_items.sort(key=lambda item: item["order"])

    return famous_doctors_items

def get_items_dict_info():

    res = {}
    for item in famous_doctors_items:
        res[item["id"]] = item

    return res