"use strict";
const frontEndConfig = {
  // 固定的GlobalData配置信息，只存在本地代码',
  fixedAppjsGlobalData: {
    // 防止页面并发调用登录接口，默认判断5次',
    retryNum: 5,
    // 院区Id 如果院区ID有值 queryBHospitalList和挂号流程 会使用此ID, 默认取DIY配置 院区列表中第一个院区ID',
    districtId: "",
    // 医院Id   demo 1024727 43',
    hosId: "1024727",
    // 小程序登录configKey',
    configKey: "WXTEST001",
    // *配置appId，后端分配',
    appId: "KASITE-CLIENT-SMALLPRO.WECHATCENTE",
    // 公众号授权地址configKey',
    wechatConfigKey: "kasite_demo",
    // 请求接口需要加密请求的秘钥，要与配置的相同',
    apiSecretKey: "sdf67UI23f123",
    // 不需要加密的请求接口',
    noNeedSecretKeyApiArr: []
  },
  // 可配置修改的GlobalData配置信息，与下方的webDiy配置一起配置后台配置系统内',
  appjsGlobalData: {
    // 存储医院信息经纬度，在开发是先找项目经理要，用于来院导航、与在线签到',
    hospitalInfo: {
      Wd: "26.06063",
      Jd: "119.26848",
      HospitalAddress: "福建省福州市仓山区",
      HospitalAlias: "福州智医科技(演示医院)"
    },
    // 判断当前服务器是否更新，主要用于上线项目，后端全量更新时使用',
    updateOrNot: false,
    // 是否区分院区',
    hasDistrict: false,
    // 是否开启公众号授权',
    officialAuthOn: true,
    // 是否允许无卡预约',
    withoutCard: true,
    // 是否需要互联网Websocket',
    hasWebsocket: true,
    // 是否需要适老版',
    hasSlb: true,
    // 上门护理配置信息',
    nurseConfig: {},
    // 上门护理默认HosId',
    nurseHosId: "1024727",
    // 是否开启AI智能客服',
    showAICustomerService: true
  },
  webUiDiy: {
    pageConfiguration: {
      currency_config: {
        remark: "通用配置",
        remarkMsg: "authBusinessPage:要授权的业务页面;",
        authBusinessPage: {
          remarkMsg: "pageName:授权业务页面名称；levelNum:授权页面需求用户等级1:短信验证；2人脸认证；[reportIndex:报告查询]",
          pageName: "levelNum",
          reportIndex: "1"
        }
      },
      login_config: {
        messageSys: true
      },
      homePage_config: {
        remark: "就诊人列表 页面个性化",
        remarkMsg: "medicalBtn:展示医保电子",
        medicalBtn: false
      },
      memberList_config: {
        remark: "就诊人列表 页面个性化",
        remarkMsg: "idCodeShow:是否展示电子就诊码;",
        isCodeShow: true
      },
      hospitalDistrict_config: {
        remark: "院区选择 页面个性化配置",
        remarkMsg: "districtList:院区列表;districImg:院区图片;districtName: 院区名称;districtId：院区ID",
        districtList: [
          {
            districImg: "https://demo.kasitesoft.com/uploadFile/ui/image/menu/homePage_menuYygk.png",
            districtName: "智医科技体验医院",
            districtId: "1024727"
          },
          {
            districImg: "https://demo.kasitesoft.com/uploadFile/ui/image/menu/homePage_menuLcfb.png",
            districtName: "智医科技体验医院分院",
            districtId: "10247271"
          }
        ]
      },
      yyghDeptList_config: {
        remark: "科室列表 页面个性化配置",
        remarkMsg: "aiMode:ai到诊配置模块;showDeptSec:是否展示二级科室;deptShowMode:查看具体科室排班时弹窗提示;modalData:弹窗内容具体配置信息查看[pages.st1.components.richTextModal.richTextModal]",
        aiMode: {
          showAi: true,
          appId: "wxba22f1a66a3af7aa",
          path: "pages/index?appid=wx3f6fa5f164160c4b"
        },
        showDeptSec: false,
        deptShowMode: {
          科室code: "特殊科室提示内容"
        },
        modalData: {
          showModal: false,
          title: "预约须知",
          content: "",
          contentAlign: "",
          styleType: "bottom",
          articleId: "70a53d226c5e41149b6e9d7f9863cbd4",
          showCancel: false,
          cancelText: "取消",
          cancelColor: "red",
          confirmText: "确定",
          showCancelBtn: true
        }
      },
      yyghDoctorList_config: {
        remark: "医生列表 页面个性化配置",
        remarkMsg: "hasAllSchedules:排班时间是否有全部选项;",
        hasAllSchedules: true
      },
      yyghClinicMsg_config: {
        remark: "确认挂号 页面个性化配置",
        remarkMsg: "numberType:号源展示  1方块格式  2列表格式;",
        numberType: "1"
      },
      payState_config: {
        remark: "订单成功页面个性化配置",
        remarkMsg: "isAiBtn:预约挂号AI预问诊是否展示;tip:预约挂号注意事项；tips：用于有用预约配置信息时，把内容复制到tip上,signInQueue:签单成功是否展示候诊",
        isAiBtn: true,
        tips: [
          [
            "1、签到取号：",
            "于就诊当日到院签到，支持微信签到、自助机、服务台签到取号，可提前90分钟或延迟30分钟（超过30分钟则预约无效，需要重新排号）；"
          ],
          ["2、退号：", "如您无法按时就诊，请至少提前1天取消，以免因为爽约影响下次预约；"],
          ["3、首次就诊患者：", "需要带身份证原件办理开卡；"],
          [
            "未实名制的复诊患者：",
            "在就诊前需要持本人有效身份证证件进行实名认证，否则无法就诊；有效证件类型包括：身份证、社保卡、户口簿（仅限未成年）、护照、驾驶证、港澳台通行证、老人证、军官证、出生证（仅限新生儿）。"
          ]
        ],
        signInQueue: true
      },
      authorizeMode_config: {
        remark: "授权组件 页面个性化配置",
        remarkMsg: "face:是否有人脸识别授权;code:是否有短信验证码授权;",
        face: true,
        code: true
      },
      signInList_config: {
        remark: "在线签到 页面个性化配置",
        remarkMsg: "allowedSignAfter:允许超时多久还可签到;allowedSignBefore:就诊前多久可签到;signDistance:签到距离;signReason:签到接口入参1旧接口2星网锐捷",
        allowedSignAfter: 30,
        allowedSignBefore: 30,
        signDistance: 1,
        signReason: 2
      },
      orderPayment_config: {
        remark: "门诊结算 页面个性化配置",
        remarkMsg: "orderPaymentMode:订单缴费模式  1预交金  2线上支付;consolidationPayment:是否合并支付;",
        orderPaymentMode: "2",
        consolidationPayment: false
      },
      payMent_config: {
        remark: "支付倒计时 页面个性化配置",
        remarkMsg: "payWay:支付方式：1为单个支付方式；2为多个支付方式选择;",
        payWay: "1"
      },
      inspectTestReportDetails_config: {
        remark: "检查报告单详情 页面个性化配置",
        remarkMsg: "showCloudFilm:是否展示云胶片按钮;",
        showCloudFilm: false
      },
      topUpRecord_screening: {
        remark: "充值记录筛选",
        remarkMsg: "title(标题名称),key(参数 字段名),single(选择类型，true:单选，false:多选,默认多选),options(标题名称对应的筛选条件)",
        value: [
          {
            title: "订单状态",
            key: "payState",
            single: true,
            options: [
              {
                name: "全部",
                check: true,
                value: {
                  OverState: "",
                  PayState: "",
                  BizState: ""
                }
              },
              {
                name: "未支付",
                check: false,
                value: {
                  OverState: "0",
                  PayState: "0",
                  BizState: "0"
                }
              },
              {
                name: "已支付",
                check: false,
                value: {
                  OverState: "0",
                  PayState: "2",
                  BizState: "1"
                }
              },
              {
                name: "支付中",
                check: false,
                value: {
                  OverState: "0",
                  PayState: "1",
                  BizState: "0"
                }
              },
              {
                name: "已取消",
                check: false,
                value: {
                  OverState: "5",
                  PayState: "0",
                  BizState: "0"
                }
              }
            ]
          },
          {
            title: "订单类型",
            key: "serviceId",
            options: [
              {
                name: "全部",
                check: true,
                value: "006,007"
              },
              {
                name: "门诊充值",
                check: false,
                value: "006"
              },
              {
                name: "住院充值",
                check: false,
                value: "007"
              }
            ]
          }
        ]
      },
      appointmentRecord_screening: {
        remark: "预约记录筛选",
        remarkMsg: "type(选择类型，0:单选，1:多选,2:输入)；title(标题名称)；value(标题名称对应的筛选条件),parameter(参数 字段名)",
        value: [
          {
            type: 0,
            title: "预约记录",
            selected: [
              {
                key: 0,
                name: "全部",
                options: {
                  OverState: "",
                  PayState: "",
                  BizState: ""
                }
              }
            ],
            value: [
              {
                key: 0,
                name: "全部",
                options: {
                  OverState: "",
                  PayState: "",
                  BizState: ""
                }
              },
              {
                key: 1,
                name: "已挂号",
                options: {
                  OverState: "0",
                  PayState: "0",
                  BizState: "1"
                }
              },
              {
                key: 2,
                name: "已退号",
                options: {
                  OverState: "0",
                  PayState: "0",
                  BizState: "2"
                }
              }
            ]
          }
        ]
      }
    },
    net_pageConfiguration_patient: {
      currency_config: {
        remark: "通用配置",
        remarkMsg: "useMenuOnLine:是否从后台获取menu菜单; officialAuthOn:是否开启公众号授权;isVisitMode:是否为就诊人模式;withoutCard:就诊人模式是否允许无卡预约;queryMemberList:是否使用queryMemberList查询就诊人;hospitalAddress:来源自取地址;",
        iniHighAppraiseCount: 0,
        consultIsOnlinePay: "1",
        hospitalAddress: "福建省福州市仓山区"
      },
      reportIndex_config: {
        remark: "查报告单 页面个性化配置",
        remarkMsg: "auth:是否需要授权;typeShow:报告查询两种模式: 1 tab切换模式； 2 列表选择",
        auth: true,
        typeShow: "2"
      },
      authorizeMode_config: {
        remark: "授权组件 页面个性化配置",
        remarkMsg: "face:是否有人脸识别授权;code:是否有短信验证码授权;",
        face: false,
        code: true
      },
      inspectTestReportDetails_config: {
        remark: "检查报告单详情 页面个性化配置",
        remarkMsg: "showCloudFilm:是否展示云胶片按钮;",
        showCloudFilm: true
      },
      doctorList_screening: {
        remark: "推荐医生筛选",
        remarkMsg: "type(选择类型，0:单选，1:多选,2:输入,3:日期选择)；title(标题名称)；value(标题名称对应的筛选条件)",
        value: [
          {
            type: "0",
            title: "开处方状态",
            selectedInd: [0],
            list: [
              {
                key: 0,
                name: "全部状态",
                options: {
                  DoctorService1004: ""
                }
              },
              {
                key: 0,
                name: "可开处方",
                options: {
                  DoctorService1004: "1"
                }
              },
              {
                key: 0,
                name: "不可开处方",
                options: {
                  DoctorService1004: "0"
                }
              }
            ]
          },
          {
            type: "0",
            title: "服务模式",
            selectedInd: [0],
            list: [
              {
                key: 0,
                name: "全部方式",
                options: {
                  ConsultType: ""
                }
              },
              {
                key: 0,
                name: "图文咨询",
                options: {
                  ConsultType: "1"
                }
              },
              {
                key: 0,
                name: "视频咨询",
                options: {
                  ConsultType: "2"
                }
              }
            ]
          }
        ]
      },
      enquireList_screening: {
        remark: "咨询中筛选",
        remarkMsg: "type(选择类型，0:单选，1:多选,2:输入,3:日期选择)；title(标题名称)；value(标题名称对应的筛选条件)",
        value: [
          {
            type: "1",
            title: "咨询状态",
            selectedInd: [0],
            list: [
              {
                key: 0,
                name: "全部状态",
                options: {
                  ConsultStatus: ""
                }
              },
              {
                key: 0,
                name: "待支付",
                options: {
                  ConsultStatus: "0"
                }
              },
              {
                key: 0,
                name: "待接单",
                options: {
                  ConsultStatus: "1"
                }
              },
              {
                key: 0,
                name: "进行中",
                options: {
                  ConsultStatus: "2"
                }
              },
              {
                key: 0,
                name: "已结束",
                options: {
                  ConsultStatus: "3"
                }
              },
              {
                key: 0,
                name: "已评价",
                options: {
                  ConsultStatus: "5"
                }
              }
            ]
          }
        ]
      },
      logisticsRecord_screening: {
        remark: "物流记录筛选",
        remarkMsg: "type(选择类型，0:单选，1:多选,2:输入,3:日期选择)；title(标题名称)；value(标题名称对应的筛选条件)",
        value: [
          {
            type: "1",
            title: "物流状态",
            selectedInd: [0],
            list: [
              {
                key: 0,
                name: "全部状态",
                options: {
                  ConsultStatus: ""
                }
              },
              {
                key: 0,
                name: "待自取",
                options: {
                  ConsultStatus: "1"
                }
              },
              {
                key: 0,
                name: "已取药(已签收)",
                options: {
                  ConsultStatus: "2"
                }
              },
              {
                key: 0,
                name: "配送中",
                options: {
                  ConsultStatus: "0"
                }
              }
            ]
          }
        ]
      },
      rechargeRecord_screening: {
        remark: "充值记录筛选",
        remarkMsg: "type(选择类型，0:单选，1:多选,2:输入)；title(标题名称)；value(标题名称对应的筛选条件),options(参数 字段名)",
        value: []
      },
      report_screening: {
        remark: "报告单查询筛选",
        state: "type(选择类型，0:单选，1:多选,2:输入)；title(标题名称)；value(标题名称对应的筛选条件),options(参数 字段名)",
        value: [
          {
            type: 0,
            title: "报告单类型",
            selected: [
              {
                key: 0,
                name: "全部",
                options: {
                  ReportType: ""
                }
              }
            ],
            value: [
              {
                key: 0,
                name: "全部",
                options: {
                  ReportType: ""
                }
              },
              {
                key: 0,
                name: "检验报告单",
                options: {
                  ReportType: "1"
                }
              },
              {
                key: 1,
                name: "检查报告单",
                options: {
                  ReportType: "2"
                }
              }
            ]
          }
        ]
      }
    }
  }
};
exports.frontEndConfig = frontEndConfig;
//# sourceMappingURL=../../.sourcemap/mp-alipay/config/frontEndConfig.js.map
