import { _ as _extends } from './extends.js';
import 'antd/es/row/style';
import _Row from 'antd/es/row';
import 'antd/es/col/style';
import _Col from 'antd/es/col';
import 'antd/es/checkbox/style';
import _Checkbox from 'antd/es/checkbox';
import 'antd/es/button/style';
import _Button from 'antd/es/button';
import 'antd/es/switch/style';
import _Switch from 'antd/es/switch';
import 'antd/es/input-number/style';
import _InputNumber from 'antd/es/input-number';
import 'antd/es/input/style';
import _Input from 'antd/es/input';
import 'antd/es/message/style';
import _message from 'antd/es/message';
import 'antd/es/form/style';
import _Form from 'antd/es/form';
import _map from 'lodash/map';
import _isString from 'lodash/isString';
import _get from 'lodash/get';
import { s as styleInject, b as __awaiter, c as __generator } from './index.js';
import { LazyAntd, useMyEffectSafe } from '@lm_fe/components';
import { MyFormSectionForm } from '@lm_fe/components_m';
import { mchcEnv, mchcConfig, mchcDriver } from '@lm_fe/env';
import { SMchc_Common } from '@lm_fe/service';
import { lm_pdfjs_info } from '@lm_fe/static';
import { request, expect_array } from '@lm_fe/utils';
import React__default from 'react';
import 'antd/es/modal/style';
import _Modal from 'antd/es/modal';
var doctor_tabs = [{
  name: '首检信息',
  key: 'Initial'
}, {
  name: '复诊记录',
  key: 'Further'
}, {
  name: '产后复诊记录',
  key: 'Postpartum'
}, {
  name: '孕期曲线',
  key: 'Curve'
}, {
  name: '个案登记卡',
  key: 'CaseReport'
}, {
  name: '检查报告',
  key: 'ImageReport'
}, {
  name: '检验报告',
  key: 'SurveyReport'
}, {
  name: '胎监报告',
  key: 'FetalMonitor'
}, {
  name: '居家监护',
  key: 'BloodGlucose'
}, {
  name: '基本信息',
  key: 'Base'
}, {
  name: '助产士预约',
  key: '助产士预约'
}, {
  name: '孕妇学校预约',
  key: '孕妇学校预约'
}, {
  name: '文书管理',
  key: 'InformedConsent'
}, {
  name: '历次孕册',
  key: 'AllPregnancies'
}, {
  name: '产前诊断',
  key: 'PrenatalDiagnosis'
}, {
  name: mchcEnv.is('广三') ? '产前诊断病历' : '遗传咨询病历',
  key: 'GeneticCounseling'
}];
var NurseTypesMapping = [{
  key: 'firstNursing',
  name: '首次护理记录'
}, {
  key: 'preDeliverNursing',
  name: '待产记录'
}, {
  key: 'postnatalCareRecord',
  name: '产后护理记录'
}, {
  key: 'urinaryRetentionNursing',
  name: '产后尿潴留护理单'
}, {
  key: 'magnesiumNursing',
  name: '产科注射硫酸镁观察表'
}, {
  key: 'infantFeedingRecord',
  name: '婴儿喂哺记录单'
}, {
  key: 'productionTimeNursing',
  name: '产时管理卡'
}, {
  key: 'neonateScaleNursing',
  name: '新生儿量表检查'
}, {
  key: 'newbornBirthRecord',
  name: '新生儿出生记录单（二）'
}, {
  key: 'transvaginalDeviceList',
  name: '经阴道器械辅料清点记录单'
}, {
  key: 'processNursing',
  name: '产程记录'
}, {
  key: 'oxytocinNursing',
  name: '催产素点滴记录'
}, {
  key: 'pastDeliveryNursing',
  name: '产后2小时护理'
}, {
  key: 'normalNursing',
  name: '一般护理记录'
}, {
  key: 'specialNursing',
  name: '特殊护理记录'
}, {
  key: 'TemperatureNursing',
  name: '体温单'
}, {
  key: 'NeonatalCareRecord',
  name: '新生儿护理记录'
}, {
  key: 'noenateHandOverNursing',
  name: '新生儿交接记录'
}, {
  key: 'bloodSugarNursing',
  name: '血糖记录单'
}, {
  key: 'nutritionNursing',
  name: '营养护理单'
}, {
  key: 'morseNursing',
  name: 'Morse跌倒评估'
}, {
  key: 'RiskFactorsOfPipelineSlippage',
  name: '管道滑脱危险因素评估'
}, {
  key: 'vteNursing',
  name: 'VTE评估量表'
}, {
  key: 'PressureSoresNursing',
  name: '压疮评估量表'
}, {
  key: 'barthelNursing',
  name: 'Barthel评估表'
}, {
  key: 'painNursing',
  name: '疼痛评估表'
}, {
  key: 'DeliverySafetyChecklist',
  name: '分娩安全核查表'
}, {
  key: 'handOverNursing',
  name: '新生儿交接记录单'
}, {
  key: 'NurseHandOverNursing',
  name: '交接班记录'
}, {
  key: 'tocolysisNursing',
  name: '宫缩抑制剂静脉滴注观察护理记录'
}, {
  key: 'breastMilkNursing',
  name: '母婴同室母乳喂养评价登记表'
}];
var medicalTypeMapping = [{
  key: 'deliveryNursing',
  name: '分娩记录'
}, {
  key: 'deliveryNursingv2',
  name: '分娩记录v2'
}, {
  key: 'neonatalNursing',
  name: '新生儿记录'
}, {
  key: 'inducedNursing',
  name: '引产记录'
}, {
  key: 'CaesareanRecord',
  name: '剖宫产记录'
}, {
  key: 'OtherDelivery',
  name: '其他手术记录'
}, {
  key: 'tireDischargeRecord',
  name: '排胎记录单'
}];
var css_248z = ".system-config {\n  height: 100%;\n}\n.system-config > .ant-row {\n  height: 100%;\n}\n.system-config > .ant-row > .ant-col {\n  height: 100%;\n}\n.system-config-form {\n  height: 100%;\n  overflow-y: auto;\n  padding: 12px;\n  background: #fff;\n}\n.system-config-form-section {\n  position: relative;\n  padding: 12px 12px 0 12px;\n  margin-top: 12px;\n  margin-bottom: 16px;\n  border: 1px solid #ddd;\n}\n.system-config-form-section-header {\n  position: absolute;\n  top: -10px;\n  left: 12px;\n  padding: 0 12px;\n  background-color: #fff;\n  text-align: center;\n  font-weight: bold;\n}\n.version-Form {\n  min-height: 286px;\n}\n";
styleInject(css_248z);
var Item$1 = _Form.Item;
var formLayout$1 = {
  labelCol: {
    span: 8
  },
  wrapperCol: {
    span: 14
  }
};
var MAPS = [{
  label: '分支',
  value: 'git.branch'
}, {
  label: '版本号',
  value: 'git.closest.tag.name'
}, {
  label: '打包时间',
  value: 'git.build.time'
}, {
  label: '打包作者',
  value: 'git.build.user.name'
}, {
  label: '最后一次提交时间',
  value: 'git.commit.time'
}, {
  label: '最后一次提交作者',
  value: 'git.commit.user.name'
}, {
  label: '是否有未提交的commit',
  value: 'git.dirty'
}];
function VersionModal(_a) {
  var _this = this;
  var id = _a.id;
  _a.type;
  var children = _a.children;
  var form = _Form.useForm()[0];
  var _c = React__default.useState(false),
    visible = _c[0],
    setVisible = _c[1];
  var _d = React__default.useState('');
  _d[0];
  var setChangeLog = _d[1];
  React__default.useEffect(function () {
    visible && queryVersion();
  }, [visible]);
  var queryVersion = function queryVersion() {
    return __awaiter(_this, void 0, void 0, function () {
      var version, changelog;
      return __generator(this, function (_a) {
        switch (_a.label) {
          case 0:
            return [4, request.get('/api/version')];
          case 1:
            version = _a.sent();
            form.setFieldsValue(version.data);
            return [4, request.get('/api/version-release-notes')];
          case 2:
            changelog = _a.sent();
            setChangeLog(changelog.data);
            return [2];
        }
      });
    });
  };
  var showVersionModal = function showVersionModal() {
    return __awaiter(_this, void 0, void 0, function () {
      return __generator(this, function (_a) {
        setVisible(true);
        return [2];
      });
    });
  };
  var handleVersionCancel = function handleVersionCancel() {
    setVisible(false);
  };
  return /*#__PURE__*/React__default.createElement("div", {
    id: id
  }, /*#__PURE__*/React__default.createElement(_Button, {
    onClick: showVersionModal
  }, children), /*#__PURE__*/React__default.createElement(_Modal, {
    destroyOnClose: true,
    title: "\u540E\u53F0\u7248\u672C\u4FE1\u606F",
    width: 960,
    visible: visible,
    onCancel: handleVersionCancel,
    footer: /*#__PURE__*/React__default.createElement(_Button, {
      type: "primary",
      onClick: handleVersionCancel
    }, "\u786E\u5B9A")
  }, /*#__PURE__*/React__default.createElement(_Row, {
    gutter: 12
  }, /*#__PURE__*/React__default.createElement(_Col, {
    span: 12
  }, /*#__PURE__*/React__default.createElement(_Form, _extends({
    autoComplete: "off",
    form: form,
    className: "version-Form"
  }, formLayout$1), MAPS.map(function (_a) {
    var label = _a.label,
      value = _a.value;
    return /*#__PURE__*/React__default.createElement(Item$1, {
      key: value,
      label: label,
      name: value
    }, /*#__PURE__*/React__default.createElement(_Input, null));
  }))), /*#__PURE__*/React__default.createElement(_Col, {
    span: 12,
    style: {
      maxHeight: 'calc(100vh - 320px)',
      overflow: 'auto'
    }
  }))));
}
LazyAntd.Tree;
LazyAntd.TreeSelect;
var Select = LazyAntd.Select;
LazyAntd.Table;
LazyAntd.Dropdown;
LazyAntd.Pagination;
var Item = _Form.Item;
var formLayout = {
  labelCol: {
    span: 8
  },
  wrapperCol: {
    span: 15
  }
};
var tailLayout = {
  wrapperCol: {
    offset: 8,
    span: 15
  }
};
function ConfigSystem(props) {
  var _this = this;
  var dictionaries = props.dictionaries;
  var form = _Form.useForm()[0];
  var localForm = _Form.useForm()[0];
  useMyEffectSafe(props)(function () {
    (function () {
      return __awaiter(_this, void 0, void 0, function () {
        var data;
        return __generator(this, function (_b) {
          switch (_b.label) {
            case 0:
              return [4, SMchc_Common.fetch_system_config()];
            case 1:
              data = _b.sent();
              data.系统环境 = data.系统环境 || mchcEnv.appName;
              data.医生端_模块隐藏 = expect_array(data.医生端_模块隐藏).map(function (_) {
                if (_isString(_)) return {
                  value: _,
                  label: _
                };
                return _;
              });
              data.nurseHide = expect_array(data.nurseHide).map(function (_) {
                if (_isString(_)) return {
                  value: _,
                  label: _
                };
                return _;
              });
              data.medicalHide = expect_array(data.medicalHide).map(function (_) {
                if (_isString(_)) return {
                  value: _,
                  label: _
                };
                return _;
              });
              form.setFieldsValue(data);
              console.log('zzx', {
                data: data
              });
              localForm.setFieldsValue(data);
              console.log('form', {
                form: form,
                localForm: localForm,
                data: data
              });
              return [2];
          }
        });
      });
    })();
    return function () {};
  }, []);
  function handleSave() {
    return __awaiter(this, void 0, void 0, function () {
      var _id, formData;
      return __generator(this, function (_a) {
        switch (_a.label) {
          case 0:
            _id = mchcConfig.get('id');
            formData = form.getFieldsValue();
            return [4, SMchc_Common.update_system_config({
              id: _id,
              note: JSON.stringify(formData)
            })];
          case 1:
            _a.sent();
            _message.success('操作成功, 1秒后重启生效');
            setTimeout(function () {
              location.reload();
            }, 1000);
            return [2];
        }
      });
    });
  }
  function onDownload() {
    mchcDriver.download();
  }
  var versionOptions = _get(dictionaries, ['Highrisk.highriskVersion', 'enumerations']);
  return /*#__PURE__*/React__default.createElement("div", {
    style: {
      background: '#fff',
      height: '100%'
    }
  }, /*#__PURE__*/React__default.createElement(_Row, {
    gutter: 12
  }, /*#__PURE__*/React__default.createElement(_Col, {
    span: 0
  }, /*#__PURE__*/React__default.createElement(_Form, _extends({
    autoComplete: "off",
    form: form,
    className: "system-config-form"
  }, formLayout), /*#__PURE__*/React__default.createElement("div", {
    className: "system-config-form-section"
  }, /*#__PURE__*/React__default.createElement("div", {
    className: "system-config-form-section-header"
  }, "\u7CFB\u7EDF\u914D\u7F6E"), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u7CFB\u7EDF\u73AF\u5883",
    name: "\u7CFB\u7EDF\u73AF\u5883"
  }, /*#__PURE__*/React__default.createElement(Select, {
    allowClear: true,
    options: mchcEnv.all_env.map(function (value) {
      return {
        value: value,
        label: value
      };
    })
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u7CFB\u7EDF\u540D\u79F0",
    name: "systemName"
  }, /*#__PURE__*/React__default.createElement(_Input, null)), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u7CFB\u7EDF\u6A21\u5F0F",
    name: "systemMode"
  }, /*#__PURE__*/React__default.createElement(Select, {
    options: [{
      value: 'production',
      label: '生产模式'
    }, {
      value: 'devlopment',
      label: '开发模式'
    }, {
      value: 'test',
      label: '测试模式'
    }]
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "PDF\u9884\u89C8\u7EC4\u4EF6\u7248\u672C",
    name: "PDF\u9884\u89C8\u7EC4\u4EF6\u7248\u672C"
  }, /*#__PURE__*/React__default.createElement(Select, {
    options: Object.keys(lm_pdfjs_info.dirs).map(function (value) {
      return {
        label: value,
        value: value
      };
    })
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u767B\u5F55\u8FC7\u671F\u65F6\u95F4(\u79D2)",
    name: "expireTime"
  }, /*#__PURE__*/React__default.createElement(_InputNumber, {
    min: 3600,
    max: 72000
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "websocket\u670D\u52A1",
    name: "openWebsocket",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u5F00\u542F",
    unCheckedChildren: "\u5173\u95ED"
  })), /*#__PURE__*/React__default.createElement(Item, {
    noStyle: true,
    shouldUpdate: true
  }, function (_a) {
    var getFieldValue = _a.getFieldValue;
    var openWebsocket = getFieldValue('openWebsocket');
    return /*#__PURE__*/React__default.createElement(Item, {
      label: "websocket\u670D\u52A1\u5730\u5740",
      name: "websocketAddress"
    }, /*#__PURE__*/React__default.createElement(_Input, {
      disabled: !openWebsocket,
      placeholder: "\u8BF7\u8F93\u5165websocker\u670D\u52A1\u5730\u5740"
    }));
  }), /*#__PURE__*/React__default.createElement(Item, {
    label: "OBIS\u5916\u8BBE\u9A71\u52A8\u4E0B\u8F7D"
  }, /*#__PURE__*/React__default.createElement(_Button, {
    type: "primary",
    onClick: onDownload
  }, "\u4E0B\u8F7D")), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u540E\u53F0\u7248\u672C\u4FE1\u606F"
  }, /*#__PURE__*/React__default.createElement(VersionModal, {
    id: "version",
    type: "link"
  }, "\u67E5\u770B"))), /*#__PURE__*/React__default.createElement("div", {
    className: "system-config-form-section"
  }, /*#__PURE__*/React__default.createElement("div", {
    className: "system-config-form-section-header"
  }, "\u4EA7\u79D1\u95E8\u8BCA\u914D\u7F6E"), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u7981\u6B62\u7F16\u8F91\u9AD8\u5371\u7B49\u7EA7",
    name: "\u7981\u6B62\u7F16\u8F91\u9AD8\u5371\u7B49\u7EA7",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u662F",
    unCheckedChildren: "\u5426"
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u770B\u8BCA\u5BA1\u6838\u9650\u5236",
    name: "auditRestriction",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u5F00\u542F",
    unCheckedChildren: "\u5173\u95ED"
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u533B\u751F\u7AEF-\u64CD\u4F5C\u5F15\u5BFC\u63D0\u793A",
    name: "openIntro",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u5F00\u542F",
    unCheckedChildren: "\u5173\u95ED"
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u533B\u751F\u7AEF-\u80CE\u76D1\u62A5\u544A\u670D\u52A1\u5730\u5740",
    name: "fetalMonitor"
  }, /*#__PURE__*/React__default.createElement(_Input, {
    placeholder: "\u8BF7\u8F93\u5165\u80CE\u76D1\u62A5\u544A\u670D\u52A1\u5730\u5740"
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u533B\u751F\u7AEF-\u9AD8\u5371\u63D0\u9192\u529F\u80FD",
    name: "openHighriskSign",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u5F00\u542F",
    unCheckedChildren: "\u5173\u95ED"
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u533B\u751F\u7AEF-\u9AD8\u5371\u7248\u672C",
    name: "highriskVersion"
  }, /*#__PURE__*/React__default.createElement(Select, {
    options: versionOptions
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u533B\u751F\u7AEF-VTE\u9884\u9632\u7528\u836F\u7B5B\u67E5\u8868",
    name: "VTE\u9884\u9632\u7528\u836F\u7B5B\u67E5\u8868"
  }, /*#__PURE__*/React__default.createElement(Select, {
    options: ['《2015RCOG降低妊娠及产褥期静脉血栓栓塞的风险》附录1', '《2015RCOG降低妊娠及产褥期静脉血栓栓塞的风险》附录3(广三用)', '《妊娠期及产褥期静脉血栓栓塞症预防和诊治专家共识》2021中文共识(越秀妇幼用)'].map(function (_) {
      return {
        label: _,
        value: _
      };
    })
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u533B\u751F\u7AEF-\u80CE\u513F\u751F\u957F\u66F2\u7EBF\u7248\u672C",
    name: "curveVersion"
  }, /*#__PURE__*/React__default.createElement(Select, {
    options: [{
      value: 'southChina',
      label: '中国南方人群'
    }, {
      value: 'nichd',
      label: 'NICHD亚裔人群'
    }]
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u62A4\u58EB\u7AEF-\u8865\u52A9\u5238\u7BA1\u7406\u6A21\u5757",
    name: "nurseDeskVoucher",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u663E\u793A",
    unCheckedChildren: "\u9690\u85CF"
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u62A4\u58EB\u7AEF-\u7981\u6B62\u7F16\u8F91\u9AD8\u5371\u56E0\u7D20\u3001\u4F20\u67D3\u75C5",
    name: "\u62A4\u58EB\u7AEF_\u7981\u6B62\u7F16\u8F91\u9AD8\u5371\u56E0\u7D20_\u4F20\u67D3\u75C5",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u662F",
    unCheckedChildren: "\u5426"
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u4EA7\u770B\u5B55\u518C-\u9996\u68C0\u4FE1\u606F\u75C5\u5386\u98CE\u683C",
    name: "pregnancyInitial"
  }, /*#__PURE__*/React__default.createElement(Select, {
    options: [{
      value: 'tab',
      label: 'TAB风格'
    }, {
      value: 'vertical',
      label: '垂直风格'
    }]
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u6F0F\u8BCA\u548C\u9AD8\u5371\u56E0\u7D20\u6807\u8BC6\u63D0\u9192",
    name: "doctorOpenWebsocket",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u5F00\u542F",
    unCheckedChildren: "\u5173\u95ED",
    defaultChecked: true
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u4E13\u6848\u7BA1\u7406-\u7CD6\u5C3F\u75C5\u4E13\u6848",
    name: "isOpenDiabetes",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u5F00\u542F",
    unCheckedChildren: "\u5173\u95ED",
    defaultChecked: true
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u533B\u751F\u7AEF-\u9AD8\u5371\u5C55\u793A",
    name: "highriskType"
  }, /*#__PURE__*/React__default.createElement(Select, {
    defaultValue: 'highRiskDiagnosis',
    options: [{
      value: 'highRiskDiagnosis',
      label: '高危诊断'
    }, {
      value: 'highriskNote',
      label: '高危因素'
    }]
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u75A4\u75D5\u5B50\u5BAB\u8BC4\u4F30\u5B55\u5468",
    name: "ScarredUterusGestationalWeek"
  }, /*#__PURE__*/React__default.createElement(_Input, {
    placeholder: "\u8BF7\u8F93\u5165\u75A4\u75D5\u5B50\u5BAB\u8BC4\u4F30\u5B55\u5468",
    defaultValue: 32
  }))), /*#__PURE__*/React__default.createElement("div", {
    className: "system-config-form-section"
  }, /*#__PURE__*/React__default.createElement("div", {
    className: "system-config-form-section-header"
  }, "\u4EA7\u524D\u8BCA\u65AD\u914D\u7F6E"), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u533B\u751F\u7AEF-\u9ED8\u8BA4\u75C5\u5386\u98CE\u683C",
    name: "diagnosisStyle"
  }, /*#__PURE__*/React__default.createElement(Select, {
    options: [{
      value: 'tab',
      label: 'TAB风格'
    }, {
      value: 'vertical',
      label: '垂直风格'
    }]
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u533B\u751F\u7AEF-\u968F\u8BBF\u8BB0\u5F55\u6A21\u5757",
    name: "diagnosisFollowUpRecord",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u663E\u793A",
    unCheckedChildren: "\u9690\u85CF"
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u533B\u751F\u7AEF-\u5B9E\u9A8C\u5BA4\u62A5\u544A\u6A21\u5757",
    name: "diagnosisLaboratoryReport",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u663E\u793A",
    unCheckedChildren: "\u9690\u85CF"
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u533B\u751F\u7AEF-\u4EA7\u79D1\u95E8\u8BCA\u8DF3\u8F6C\u6A21\u5757",
    name: "diagnosisPrenatalVisit",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u663E\u793A",
    unCheckedChildren: "\u9690\u85CF"
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u9884\u7EA6\u62A5\u9053\u3001\u9001\u68C0\u5217\u8868\u6253\u5370\u6309\u94AE",
    name: "tablePrintBtn",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u663E\u793A",
    unCheckedChildren: "\u9690\u85CF"
  }))), /*#__PURE__*/React__default.createElement("div", {
    className: "system-config-form-section"
  }, /*#__PURE__*/React__default.createElement("div", {
    className: "system-config-form-section-header"
  }, "\u7EDF\u8BA1\u7BA1\u7406\u914D\u7F6E"), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u9996\u9875\u7EDF\u8BA1\u6A21\u5757",
    name: "homeStatistics",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u663E\u793A",
    unCheckedChildren: "\u9690\u85CF"
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u9AD8\u5371\u7EDF\u8BA1-\u5BFC\u51FA\u7EDF\u8BA1\u6309\u94AE",
    name: "highriskStatistics",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u663E\u793A",
    unCheckedChildren: "\u9690\u85CF"
  })), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u5EFA\u6863\u7EDF\u8BA1\u641C\u7D22-\u5BA2\u670D\u4E13\u5458",
    name: "customerService",
    valuePropName: "checked"
  }, /*#__PURE__*/React__default.createElement(_Switch, {
    checkedChildren: "\u663E\u793A",
    unCheckedChildren: "\u9690\u85CF"
  }))), /*#__PURE__*/React__default.createElement("div", {
    className: "system-config-form-section"
  }, /*#__PURE__*/React__default.createElement("div", {
    className: "system-config-form-section-header"
  }, "\u4EA7\u79D1\u4F4F\u9662\u914D\u7F6E"), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u62A4\u7406\u6587\u4E66\u9690\u85CF\u8868\u5355",
    name: "nurseHide"
  }, /*#__PURE__*/React__default.createElement(_Checkbox.Group, {
    style: {
      width: '100%'
    }
  }, /*#__PURE__*/React__default.createElement(_Row, null, _map(NurseTypesMapping, function (item) {
    return /*#__PURE__*/React__default.createElement(_Col, {
      span: 12
    }, /*#__PURE__*/React__default.createElement(_Checkbox, {
      value: item.key
    }, item.name));
  })))), /*#__PURE__*/React__default.createElement(Item, {
    label: "\u75C5\u5386\u6587\u4E66\u9690\u85CF\u8868\u5355",
    name: "medicalHide"
  }, /*#__PURE__*/React__default.createElement(_Checkbox.Group, {
    style: {
      width: '100%'
    }
  }, /*#__PURE__*/React__default.createElement(_Row, null, _map(medicalTypeMapping, function (item) {
    return /*#__PURE__*/React__default.createElement(_Col, {
      span: 12
    }, /*#__PURE__*/React__default.createElement(_Checkbox, {
      value: item.key
    }, item.name));
  }))))), /*#__PURE__*/React__default.createElement(Item, tailLayout, /*#__PURE__*/React__default.createElement(_Button, {
    type: "primary",
    htmlType: "submit",
    onClick: handleSave
  }, "\u4FDD\u5B58")))), /*#__PURE__*/React__default.createElement(_Col, {
    span: 24
  }, /*#__PURE__*/React__default.createElement(MyFormSectionForm, {
    style: {
      minHeight: '80vh'
    },
    targetLabelCol: 3,
    formDescriptions: function formDescriptions() {
      return import('./src.pages.system-config.js');
    },
    form: form
  }))), /*#__PURE__*/React__default.createElement(_Button, {
    block: true,
    type: "primary",
    htmlType: "submit",
    onClick: handleSave
  }, "\u4FDD\u5B58"));
}
var index = {
  __proto__: null,
  'default': ConfigSystem
};
export { NurseTypesMapping as N, doctor_tabs as d, index as i, medicalTypeMapping as m };
//# sourceMappingURL=index6.js.map
