|
|
|
|
@ -131,6 +131,8 @@ var _umi_production_exports = __webpack_require__(12712);
|
|
|
|
|
var LeftOutlined = __webpack_require__(11407);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.7@@ant-design/icons/es/icons/RightOutlined.js + 1 modules
|
|
|
|
|
var RightOutlined = __webpack_require__(88845);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
|
|
|
|
|
var modal = __webpack_require__(43418);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
|
|
|
|
var jsx_runtime = __webpack_require__(37712);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/IOT/ViewAppointment/schedule/index.tsx
|
|
|
|
|
@ -141,6 +143,9 @@ var jsx_runtime = __webpack_require__(37712);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Navigation = function Navigation(_ref) {
|
|
|
|
|
var _scheduleData$reserva, _scheduleData$reserva2;
|
|
|
|
|
var loading = _ref.loading,
|
|
|
|
|
@ -168,11 +173,11 @@ var Navigation = function Navigation(_ref) {
|
|
|
|
|
6: '六',
|
|
|
|
|
7: '日'
|
|
|
|
|
};
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
padding: 20
|
|
|
|
|
},
|
|
|
|
|
children: (scheduleData === null || scheduleData === void 0 ? void 0 : scheduleData.cweek) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [(scheduleData === null || scheduleData === void 0 ? void 0 : scheduleData.cweek) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: schedulemodules.week,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
@ -255,6 +260,9 @@ var Navigation = function Navigation(_ref) {
|
|
|
|
|
color: colorType[item2 === null || item2 === void 0 ? void 0 : item2.status],
|
|
|
|
|
background: bgcolorType[item2 === null || item2 === void 0 ? void 0 : item2.status]
|
|
|
|
|
},
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
if ((item2 === null || item2 === void 0 ? void 0 : item2.status) == 1) {}
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: (item2 === null || item2 === void 0 ? void 0 : item2.status) != 5 ? nameType[item2 === null || item2 === void 0 ? void 0 : item2.status] : "\u5269\u4F59 ".concat(item2 === null || item2 === void 0 ? void 0 : item2.num)
|
|
|
|
|
})
|
|
|
|
|
@ -264,12 +272,32 @@ var Navigation = function Navigation(_ref) {
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
|
|
|
|
|
maskClosable: false,
|
|
|
|
|
centered: true,
|
|
|
|
|
keyboard: false,
|
|
|
|
|
destroyOnClose: true,
|
|
|
|
|
className: schedulemodules.my_modal,
|
|
|
|
|
open: false,
|
|
|
|
|
title: "\u9884\u7EA6\u8BE6\u60C5",
|
|
|
|
|
width: "1057px",
|
|
|
|
|
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
|
|
|
|
while (1) switch (_context.prev = _context.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee);
|
|
|
|
|
})),
|
|
|
|
|
onCancel: function onCancel() {},
|
|
|
|
|
children: "awdawdawd"
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
/* harmony default export */ var schedule = ((0,_umi_production_exports.connect)(function (_ref2) {
|
|
|
|
|
var loading = _ref2.loading,
|
|
|
|
|
engineeringNavigtion = _ref2.engineeringNavigtion;
|
|
|
|
|
/* harmony default export */ var schedule = ((0,_umi_production_exports.connect)(function (_ref3) {
|
|
|
|
|
var loading = _ref3.loading,
|
|
|
|
|
engineeringNavigtion = _ref3.engineeringNavigtion;
|
|
|
|
|
return objectSpread2_default()({
|
|
|
|
|
loading: loading
|
|
|
|
|
}, engineeringNavigtion);
|