UNPKG

ming-demo3

Version:
92 lines (76 loc) 3.39 kB
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); var _react = _interopRequireWildcard(require("react")); var _baseui = require("@mdf/baseui"); var _basic = require("../basic"); var PlatformManagement = function (_Component) { (0, _inherits2["default"])(PlatformManagement, _Component); function PlatformManagement(props) { var _this; (0, _classCallCheck2["default"])(this, PlatformManagement); _this = (0, _possibleConstructorReturn2["default"])(this, (0, _getPrototypeOf2["default"])(PlatformManagement).call(this, props)); _this.viewModel = cb.loader.initMetaCommonViewModel('PlatformManagementViewModel', 'platformManagementViewModel'); return _this; } (0, _createClass2["default"])(PlatformManagement, [{ key: "render", value: function render() { return _react["default"].createElement(_baseui.Row, { className: "Platform_management" }, _react["default"].createElement(_baseui.Row, null, _react["default"].createElement("div", { className: "viewCell", style: { width: 'auto' } }, _react["default"].createElement(_baseui.Row, { style: { height: 32 } }, _react["default"].createElement("div", { className: "label-control" }, "\u81EA\u5B9A\u4E49\u9879"))), _react["default"].createElement(_basic.Button, { model: this.viewModel.get('upgradeUserDef'), value: "\u66F4\u65B0" })), _react["default"].createElement(_baseui.Row, null, _react["default"].createElement("div", { className: "viewCell", style: { width: 'auto' } }, _react["default"].createElement(_basic.CheckboxEnum, { model: this.viewModel.get('cacheType'), cShowCaption: "\u7F13\u5B58\u7C7B\u578B" })), _react["default"].createElement(_basic.Button, { className: "Platform_management_btn", model: this.viewModel.get('refreshCache'), value: "\u5237\u65B0" })), _react["default"].createElement(_baseui.Row, null, _react["default"].createElement("div", { className: "viewCell", style: { width: 'auto' } }, _react["default"].createElement(_baseui.Row, { style: { height: 32 } }, _react["default"].createElement("div", { className: "label-control" }, "\u5BA1\u6279\u6D41"))), _react["default"].createElement(_basic.Button, { model: this.viewModel.get('bpmInit'), value: "\u521D\u59CB\u5316" }))); } }]); return PlatformManagement; }(_react.Component); exports["default"] = PlatformManagement; //# sourceMappingURL=index.js.map