Auto Submit

dev_local_v9_test4
autosubmit 2 years ago
parent e6b4ba8a3a
commit 0d380081e5

@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.7410eac7.js"></script>
<script src="/react/build/umi.0fb8d078.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -2876,6 +2876,10 @@ var BookingManage = function BookingManage(_ref) {
daishenghe = _useState4[0],
setDaishenghe = _useState4[1];
var params = (0,_umi_production_exports.useParams)();
var _useState5 = (0,_react_17_0_2_react.useState)(0),
_useState6 = slicedToArray_default()(_useState5, 2),
domKey = _useState6[0],
setDomKey = _useState6[1];
var items = [{
label: '预约管理',
key: 'info-list',
@ -2909,12 +2913,13 @@ var BookingManage = function BookingManage(_ref) {
};
var onChange = function onChange(key) {
setActiveKey(key);
setDomKey(domKey + 1);
};
return /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z, {
onChange: onChange,
activeKey: activeKey,
items: items
});
}, domKey);
};
/* harmony default export */ var Equipment_BookingManage = ((0,_umi_production_exports.connect)(function (_ref2) {
var loading = _ref2.loading,

@ -519,7 +519,7 @@ var Details = function Details(_ref) {
} else if ((data === null || data === void 0 ? void 0 : data.life_cycle_type) == 2) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", {
children: "\u6807\u7B7E\u53D8\u66F4"
children: "\u8BBE\u5907\u6807\u7B7E\u53D8\u66F4"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("p", {
children: data === null || data === void 0 ? void 0 : data.content
})]
@ -549,7 +549,7 @@ var Details = function Details(_ref) {
} else if ((data === null || data === void 0 ? void 0 : data.life_cycle_type) == 1) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("h3", {
children: "\u65B0\u589E"
children: "\u63A5\u5165\u6210\u529F"
})
});
} else {

@ -588,7 +588,8 @@ var InfoList = function InfoList(_ref) {
type_id: (info === null || info === void 0 ? void 0 : info.type_id) || '',
use_status: (info === null || info === void 0 ? void 0 : info.use_status) || '',
scrapped: 0,
status: (info === null || info === void 0 ? void 0 : info.status) || ''
status: (info === null || info === void 0 ? void 0 : info.status) || '',
forbidden: true
}).then(function (res) {
setTableData(res === null || res === void 0 ? void 0 : res.devices);
setTotal(res === null || res === void 0 ? void 0 : res.devices_count);

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save