diff --git a/82135.e664a84e.async.js b/82135.54a1ee52.async.js
similarity index 88%
rename from 82135.e664a84e.async.js
rename to 82135.54a1ee52.async.js
index 9ae0e6242a..b798308db9 100644
--- a/82135.e664a84e.async.js
+++ b/82135.54a1ee52.async.js
@@ -23,7 +23,6 @@
/* harmony export */ RW: function() { return /* binding */ device_type_table_update; },
/* harmony export */ SY: function() { return /* binding */ device_type_table_info; },
/* harmony export */ T0: function() { return /* binding */ device_tags_table_add; },
-/* harmony export */ TT: function() { return /* binding */ reservation_today_data; },
/* harmony export */ XS: function() { return /* binding */ device_tags_table_update; },
/* harmony export */ aZ: function() { return /* binding */ device_tags_table_info; },
/* harmony export */ bV: function() { return /* binding */ reservations_table_devices_info; },
@@ -45,10 +44,11 @@
/* harmony export */ rm: function() { return /* binding */ getDevicesOperationLogs; },
/* harmony export */ sT: function() { return /* binding */ support_shixuns_info; },
/* harmony export */ sp: function() { return /* binding */ device_info_table_add; },
+/* harmony export */ ul: function() { return /* binding */ getDeviceStatistics; },
/* harmony export */ uz: function() { return /* binding */ device_type_table_query; },
/* harmony export */ zZ: function() { return /* binding */ device_fault_update; }
/* harmony export */ });
-/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos */
+/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
@@ -61,16 +61,16 @@
/**
- * @description 设备管理-设备详情-生命周期
+ * @description 设备管理-在线监控-设备与设备类型统计
*/
-var getLifeCycle = /*#__PURE__*/function () {
- var _ref = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(params) {
+var getDeviceStatistics = /*#__PURE__*/function () {
+ var _ref = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(body) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
- return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params === null || params === void 0 ? void 0 : params.id, "/life_cycle.json"), {
- method: 'Get',
- params: params
+ return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/statistics/device_statistics.json", {
+ method: 'post',
+ body: body
}));
case 1:
case "end":
@@ -78,19 +78,19 @@ var getLifeCycle = /*#__PURE__*/function () {
}
}, _callee);
}));
- return function getLifeCycle(_x) {
+ return function getDeviceStatistics(_x) {
return _ref.apply(this, arguments);
};
}();
/**
- * @description 设备管理-设备操作日志
+ * @description 设备管理-设备详情-生命周期
*/
-var getDevicesOperationLogs = /*#__PURE__*/function () {
+var getLifeCycle = /*#__PURE__*/function () {
var _ref2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
- return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/yn_classrooms/operation_logs.json", {
+ return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params === null || params === void 0 ? void 0 : params.id, "/life_cycle.json"), {
method: 'Get',
params: params
}));
@@ -100,21 +100,21 @@ var getDevicesOperationLogs = /*#__PURE__*/function () {
}
}, _callee2);
}));
- return function getDevicesOperationLogs(_x2) {
+ return function getLifeCycle(_x2) {
return _ref2.apply(this, arguments);
};
}();
/**
- * @description 设备管理-设备变更状态
+ * @description 设备管理-设备操作日志
*/
-var postDevicesChangeStatus = /*#__PURE__*/function () {
- var _ref3 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(body) {
+var getDevicesOperationLogs = /*#__PURE__*/function () {
+ var _ref3 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
- return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(body === null || body === void 0 ? void 0 : body.id, "/change_status.json"), {
- method: 'post',
- body: body
+ return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/yn_classrooms/operation_logs.json", {
+ method: 'Get',
+ params: params
}));
case 1:
case "end":
@@ -122,1044 +122,1066 @@ var postDevicesChangeStatus = /*#__PURE__*/function () {
}
}, _callee3);
}));
- return function postDevicesChangeStatus(_x3) {
+ return function getDevicesOperationLogs(_x3) {
return _ref3.apply(this, arguments);
};
}();
+/**
+ * @description 设备管理-设备变更状态
+ */
+var postDevicesChangeStatus = /*#__PURE__*/function () {
+ var _ref4 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4(body) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) {
+ while (1) switch (_context4.prev = _context4.next) {
+ case 0:
+ return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(body === null || body === void 0 ? void 0 : body.id, "/change_status.json"), {
+ method: 'post',
+ body: body
+ }));
+ case 1:
+ case "end":
+ return _context4.stop();
+ }
+ }, _callee4);
+ }));
+ return function postDevicesChangeStatus(_x4) {
+ return _ref4.apply(this, arguments);
+ };
+}();
//设备标签列表查询
-function device_tags_table_query(_x4) {
+function device_tags_table_query(_x5) {
return _device_tags_table_query.apply(this, arguments);
}
//设备标签列表删除
function _device_tags_table_query() {
- _device_tags_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) {
- while (1) switch (_context4.prev = _context4.next) {
+ _device_tags_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) {
+ while (1) switch (_context5.prev = _context5.next) {
case 0:
- return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags.json", {
+ return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context4.stop();
+ return _context5.stop();
}
- }, _callee4);
+ }, _callee5);
}));
return _device_tags_table_query.apply(this, arguments);
}
-function device_tags_table_delete(_x5) {
+function device_tags_table_delete(_x6) {
return _device_tags_table_delete.apply(this, arguments);
}
//设备标签列表编辑
function _device_tags_table_delete() {
- _device_tags_table_delete = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) {
- while (1) switch (_context5.prev = _context5.next) {
+ _device_tags_table_delete = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee6(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) {
+ while (1) switch (_context6.prev = _context6.next) {
case 0:
- return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/".concat(params.id, ".json"), {
+ return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/".concat(params.id, ".json"), {
method: 'DELETE'
}));
case 1:
case "end":
- return _context5.stop();
+ return _context6.stop();
}
- }, _callee5);
+ }, _callee6);
}));
return _device_tags_table_delete.apply(this, arguments);
}
-function device_tags_table_update(_x6) {
+function device_tags_table_update(_x7) {
return _device_tags_table_update.apply(this, arguments);
}
//设备标签列表新增
function _device_tags_table_update() {
- _device_tags_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee6(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) {
- while (1) switch (_context6.prev = _context6.next) {
+ _device_tags_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee7(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee7$(_context7) {
+ while (1) switch (_context7.prev = _context7.next) {
case 0:
- return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/".concat(data.id, ".json"), {
+ return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/".concat(data.id, ".json"), {
method: 'PUT',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data)
}));
case 1:
case "end":
- return _context6.stop();
+ return _context7.stop();
}
- }, _callee6);
+ }, _callee7);
}));
return _device_tags_table_update.apply(this, arguments);
}
-function device_tags_table_add(_x7) {
+function device_tags_table_add(_x8) {
return _device_tags_table_add.apply(this, arguments);
}
//获取物理设备标签
function _device_tags_table_add() {
- _device_tags_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee7(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee7$(_context7) {
- while (1) switch (_context7.prev = _context7.next) {
+ _device_tags_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee8(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee8$(_context8) {
+ while (1) switch (_context8.prev = _context8.next) {
case 0:
- return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags.json", {
+ return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags.json", {
method: 'POST',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data)
}));
case 1:
case "end":
- return _context7.stop();
+ return _context8.stop();
}
- }, _callee7);
+ }, _callee8);
}));
return _device_tags_table_add.apply(this, arguments);
}
-function device_tags_devcie_models(_x8) {
+function device_tags_devcie_models(_x9) {
return _device_tags_devcie_models.apply(this, arguments);
}
//设备标签列表单条数据详情
function _device_tags_devcie_models() {
- _device_tags_devcie_models = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee8(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee8$(_context8) {
- while (1) switch (_context8.prev = _context8.next) {
+ _device_tags_devcie_models = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee9(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee9$(_context9) {
+ while (1) switch (_context9.prev = _context9.next) {
case 0:
- return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/get_devcie_models.json", {
+ return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/get_devcie_models.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context8.stop();
+ return _context9.stop();
}
- }, _callee8);
+ }, _callee9);
}));
return _device_tags_devcie_models.apply(this, arguments);
}
-function device_tags_table_info(_x9) {
+function device_tags_table_info(_x10) {
return _device_tags_table_info.apply(this, arguments);
}
//获取某一设备信息
function _device_tags_table_info() {
- _device_tags_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee9(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee9$(_context9) {
- while (1) switch (_context9.prev = _context9.next) {
+ _device_tags_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) {
+ while (1) switch (_context10.prev = _context10.next) {
case 0:
- return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/".concat(params, ".json"), {
+ return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_tags/".concat(params, ".json"), {
method: 'get'
}));
case 1:
case "end":
- return _context9.stop();
+ return _context10.stop();
}
- }, _callee9);
+ }, _callee10);
}));
return _device_tags_table_info.apply(this, arguments);
}
-function device_tags_device_info(_x10) {
+function device_tags_device_info(_x11) {
return _device_tags_device_info.apply(this, arguments);
}
//设备类型
function _device_tags_device_info() {
- _device_tags_device_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) {
- while (1) switch (_context10.prev = _context10.next) {
+ _device_tags_device_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
+ while (1) switch (_context11.prev = _context11.next) {
case 0:
- return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params, ".json"), {
+ return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params, ".json"), {
method: 'get'
}));
case 1:
case "end":
- return _context10.stop();
+ return _context11.stop();
}
- }, _callee10);
+ }, _callee11);
}));
return _device_tags_device_info.apply(this, arguments);
}
-function device_tags_device_type(_x11) {
+function device_tags_device_type(_x12) {
return _device_tags_device_type.apply(this, arguments);
}
//设备类型列表查询
function _device_tags_device_type() {
- _device_tags_device_type = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
- while (1) switch (_context11.prev = _context11.next) {
+ _device_tags_device_type = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
+ while (1) switch (_context12.prev = _context12.next) {
case 0:
- return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/total_data.json", {
+ return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/total_data.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context11.stop();
+ return _context12.stop();
}
- }, _callee11);
+ }, _callee12);
}));
return _device_tags_device_type.apply(this, arguments);
}
-function device_type_table_query(_x12) {
+function device_type_table_query(_x13) {
return _device_type_table_query.apply(this, arguments);
}
//设备类型列表删除
function _device_type_table_query() {
- _device_type_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
- while (1) switch (_context12.prev = _context12.next) {
+ _device_type_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
+ while (1) switch (_context13.prev = _context13.next) {
case 0:
- return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types.json", {
+ return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context12.stop();
+ return _context13.stop();
}
- }, _callee12);
+ }, _callee13);
}));
return _device_type_table_query.apply(this, arguments);
}
-function device_type_table_delete(_x13) {
+function device_type_table_delete(_x14) {
return _device_type_table_delete.apply(this, arguments);
}
//设备类型列表详情
function _device_type_table_delete() {
- _device_type_table_delete = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(params) {
- return _regeneratorRuntime().wrap(function _callee13$(_context13) {
- while (1) switch (_context13.prev = _context13.next) {
+ _device_type_table_delete = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(params) {
+ return _regeneratorRuntime().wrap(function _callee14$(_context14) {
+ while (1) switch (_context14.prev = _context14.next) {
case 0:
- return _context13.abrupt("return", Fetch("/api/zz_classrooms/device_types/".concat(params, ".json"), {
+ return _context14.abrupt("return", Fetch("/api/zz_classrooms/device_types/".concat(params, ".json"), {
method: 'DELETE'
}));
case 1:
case "end":
- return _context13.stop();
+ return _context14.stop();
}
- }, _callee13);
+ }, _callee14);
}));
return _device_type_table_delete.apply(this, arguments);
}
-function device_type_table_info(_x14) {
+function device_type_table_info(_x15) {
return _device_type_table_info.apply(this, arguments);
}
//设备类型列表修改
function _device_type_table_info() {
- _device_type_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
- while (1) switch (_context14.prev = _context14.next) {
+ _device_type_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
+ while (1) switch (_context15.prev = _context15.next) {
case 0:
- return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(params, ".json"), {
+ return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(params, ".json"), {
method: 'get'
}));
case 1:
case "end":
- return _context14.stop();
+ return _context15.stop();
}
- }, _callee14);
+ }, _callee15);
}));
return _device_type_table_info.apply(this, arguments);
}
-function device_type_table_update(_x15) {
+function device_type_table_update(_x16) {
return _device_type_table_update.apply(this, arguments);
}
//设备类型列表新增
function _device_type_table_update() {
- _device_type_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
- while (1) switch (_context15.prev = _context15.next) {
+ _device_type_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
+ while (1) switch (_context16.prev = _context16.next) {
case 0:
- return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(data.id, ".json"), {
+ return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(data.id, ".json"), {
method: 'put',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data)
}));
case 1:
case "end":
- return _context15.stop();
+ return _context16.stop();
}
- }, _callee15);
+ }, _callee16);
}));
return _device_type_table_update.apply(this, arguments);
}
-function device_type_table_add(_x16) {
+function device_type_table_add(_x17) {
return _device_type_table_add.apply(this, arguments);
}
//上下架
function _device_type_table_add() {
- _device_type_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
- while (1) switch (_context16.prev = _context16.next) {
+ _device_type_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
+ while (1) switch (_context17.prev = _context17.next) {
case 0:
- return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types.json", {
+ return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types.json", {
method: 'POST',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data)
}));
case 1:
case "end":
- return _context16.stop();
+ return _context17.stop();
}
- }, _callee16);
+ }, _callee17);
}));
return _device_type_table_add.apply(this, arguments);
}
-function device_info_use_status(_x17) {
+function device_info_use_status(_x18) {
return _device_info_use_status.apply(this, arguments);
}
//某设备所有标签记录
function _device_info_use_status() {
- _device_info_use_status = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(params) {
- return _regeneratorRuntime().wrap(function _callee17$(_context17) {
- while (1) switch (_context17.prev = _context17.next) {
+ _device_info_use_status = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18(params) {
+ return _regeneratorRuntime().wrap(function _callee18$(_context18) {
+ while (1) switch (_context18.prev = _context18.next) {
case 0:
- return _context17.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(params.id, "/update_device_use_status.json"), {
+ return _context18.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(params.id, "/update_device_use_status.json"), {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
- return _context17.stop();
+ return _context18.stop();
}
- }, _callee17);
+ }, _callee18);
}));
return _device_info_use_status.apply(this, arguments);
}
-function device_info_all_tags(_x18) {
+function device_info_all_tags(_x19) {
return _device_info_all_tags.apply(this, arguments);
}
//设备信息列表查询
function _device_info_all_tags() {
- _device_info_all_tags = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18(params) {
- return _regeneratorRuntime().wrap(function _callee18$(_context18) {
- while (1) switch (_context18.prev = _context18.next) {
+ _device_info_all_tags = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19(params) {
+ return _regeneratorRuntime().wrap(function _callee19$(_context19) {
+ while (1) switch (_context19.prev = _context19.next) {
case 0:
- return _context18.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(params, "/device_all_tags.json"), {
+ return _context19.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(params, "/device_all_tags.json"), {
method: 'get'
}));
case 1:
case "end":
- return _context18.stop();
+ return _context19.stop();
}
- }, _callee18);
+ }, _callee19);
}));
return _device_info_all_tags.apply(this, arguments);
}
-function device_info_table_query(_x19) {
+function device_info_table_query(_x20) {
return _device_info_table_query.apply(this, arguments);
}
//设备信息列表详情
function _device_info_table_query() {
- _device_info_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
- while (1) switch (_context19.prev = _context19.next) {
+ _device_info_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
+ while (1) switch (_context20.prev = _context20.next) {
case 0:
- return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices.json", {
+ return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context19.stop();
+ return _context20.stop();
}
- }, _callee19);
+ }, _callee20);
}));
return _device_info_table_query.apply(this, arguments);
}
-function device_info_table_info(_x20) {
+function device_info_table_info(_x21) {
return _device_info_table_info.apply(this, arguments);
}
//设备当前性能
function _device_info_table_info() {
- _device_info_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
- while (1) switch (_context20.prev = _context20.next) {
+ _device_info_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
+ while (1) switch (_context21.prev = _context21.next) {
case 0:
- return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params, ".json"), {
+ return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params, ".json"), {
method: 'get'
}));
case 1:
case "end":
- return _context20.stop();
+ return _context21.stop();
}
- }, _callee20);
+ }, _callee21);
}));
return _device_info_table_info.apply(this, arguments);
}
-function devices_monitor(_x21) {
+function devices_monitor(_x22) {
return _devices_monitor.apply(this, arguments);
}
//获取某个设备的维修记录
function _devices_monitor() {
- _devices_monitor = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(id) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
- while (1) switch (_context21.prev = _context21.next) {
+ _devices_monitor = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(id) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
+ while (1) switch (_context22.prev = _context22.next) {
case 0:
- return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
+ return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
method: 'get'
}));
case 1:
case "end":
- return _context21.stop();
+ return _context22.stop();
}
- }, _callee21);
+ }, _callee22);
}));
return _devices_monitor.apply(this, arguments);
}
-function device_fault_infos_content(_x22) {
+function device_fault_infos_content(_x23) {
return _device_fault_infos_content.apply(this, arguments);
}
//设备详情页图表
function _device_fault_infos_content() {
- _device_fault_infos_content = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(params) {
- return _regeneratorRuntime().wrap(function _callee22$(_context22) {
- while (1) switch (_context22.prev = _context22.next) {
+ _device_fault_infos_content = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(params) {
+ return _regeneratorRuntime().wrap(function _callee23$(_context23) {
+ while (1) switch (_context23.prev = _context23.next) {
case 0:
- return _context22.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(params, "/device_fault_infos.json"), {
+ return _context23.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(params, "/device_fault_infos.json"), {
method: 'get'
}));
case 1:
case "end":
- return _context22.stop();
+ return _context23.stop();
}
- }, _callee22);
+ }, _callee23);
}));
return _device_fault_infos_content.apply(this, arguments);
}
-function device_fault_statistics(_x23) {
+function device_fault_statistics(_x24) {
return _device_fault_statistics.apply(this, arguments);
}
//设备信息列表编辑
function _device_fault_statistics() {
- _device_fault_statistics = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
- while (1) switch (_context23.prev = _context23.next) {
+ _device_fault_statistics = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) {
+ while (1) switch (_context24.prev = _context24.next) {
case 0:
- return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params === null || params === void 0 ? void 0 : params.id, "/statistics.json"), {
+ return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params === null || params === void 0 ? void 0 : params.id, "/statistics.json"), {
method: 'get',
params: params
}));
case 1:
case "end":
- return _context23.stop();
+ return _context24.stop();
}
- }, _callee23);
+ }, _callee24);
}));
return _device_fault_statistics.apply(this, arguments);
}
-function device_info_table_update(_x24) {
+function device_info_table_update(_x25) {
return _device_info_table_update.apply(this, arguments);
}
//设备信息列表编辑
function _device_info_table_update() {
- _device_info_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) {
- while (1) switch (_context24.prev = _context24.next) {
+ _device_info_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee25(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee25$(_context25) {
+ while (1) switch (_context25.prev = _context25.next) {
case 0:
- return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(data.id, ".json"), {
+ return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(data.id, ".json"), {
method: 'put',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data)
}));
case 1:
case "end":
- return _context24.stop();
+ return _context25.stop();
}
- }, _callee24);
+ }, _callee25);
}));
return _device_info_table_update.apply(this, arguments);
}
-function device_info_table_add(_x25) {
+function device_info_table_add(_x26) {
return _device_info_table_add.apply(this, arguments);
}
//设备信息列表查询
function _device_info_table_add() {
- _device_info_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee25(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee25$(_context25) {
- while (1) switch (_context25.prev = _context25.next) {
+ _device_info_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee26(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee26$(_context26) {
+ while (1) switch (_context26.prev = _context26.next) {
case 0:
- return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices.json", {
+ return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data)
}));
case 1:
case "end":
- return _context25.stop();
+ return _context26.stop();
}
- }, _callee25);
+ }, _callee26);
}));
return _device_info_table_add.apply(this, arguments);
}
-function can_reservation_devices(_x26) {
+function can_reservation_devices(_x27) {
return _can_reservation_devices.apply(this, arguments);
}
//预约列表(预约管理, 预约审核)
function _can_reservation_devices() {
- _can_reservation_devices = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee26(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee26$(_context26) {
- while (1) switch (_context26.prev = _context26.next) {
+ _can_reservation_devices = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee27(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee27$(_context27) {
+ while (1) switch (_context27.prev = _context27.next) {
case 0:
- return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/can_reservation_devices.json", {
+ return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/can_reservation_devices.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context26.stop();
+ return _context27.stop();
}
- }, _callee26);
+ }, _callee27);
}));
return _can_reservation_devices.apply(this, arguments);
}
-function reservations_table_query(_x27) {
+function reservations_table_query(_x28) {
return _reservations_table_query.apply(this, arguments);
}
//预约列表(预约管理, 预约审核)
function _reservations_table_query() {
- _reservations_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee27(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee27$(_context27) {
- while (1) switch (_context27.prev = _context27.next) {
+ _reservations_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee28(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee28$(_context28) {
+ while (1) switch (_context28.prev = _context28.next) {
case 0:
- return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations.json", {
+ return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context27.stop();
+ return _context28.stop();
}
- }, _callee27);
+ }, _callee28);
}));
return _reservations_table_query.apply(this, arguments);
}
-function reservations_table_querys(_x28) {
+function reservations_table_querys(_x29) {
return _reservations_table_querys.apply(this, arguments);
}
//取消预约
function _reservations_table_querys() {
- _reservations_table_querys = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee28(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee28$(_context28) {
- while (1) switch (_context28.prev = _context28.next) {
+ _reservations_table_querys = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee29(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee29$(_context29) {
+ while (1) switch (_context29.prev = _context29.next) {
case 0:
- return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params.device_id, "/reservations.json"), {
+ return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params.device_id, "/reservations.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context28.stop();
+ return _context29.stop();
}
- }, _callee28);
+ }, _callee29);
}));
return _reservations_table_querys.apply(this, arguments);
}
-function reservations_table_canceled(_x29) {
+function reservations_table_canceled(_x30) {
return _reservations_table_canceled.apply(this, arguments);
}
//预约设备详情
function _reservations_table_canceled() {
- _reservations_table_canceled = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee29(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee29$(_context29) {
- while (1) switch (_context29.prev = _context29.next) {
+ _reservations_table_canceled = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee30(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee30$(_context30) {
+ while (1) switch (_context30.prev = _context30.next) {
case 0:
- return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params, "/canceled.json"), {
+ return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params, "/canceled.json"), {
method: 'get'
}));
case 1:
case "end":
- return _context29.stop();
+ return _context30.stop();
}
- }, _callee29);
+ }, _callee30);
}));
return _reservations_table_canceled.apply(this, arguments);
}
-function reservations_table_devices_info(_x30) {
+function reservations_table_devices_info(_x31) {
return _reservations_table_devices_info.apply(this, arguments);
}
//设备找可预约的实训
function _reservations_table_devices_info() {
- _reservations_table_devices_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee30(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee30$(_context30) {
- while (1) switch (_context30.prev = _context30.next) {
+ _reservations_table_devices_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee31(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee31$(_context31) {
+ while (1) switch (_context31.prev = _context31.next) {
case 0:
- return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/get_shixun_devices.json", {
+ return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/get_shixun_devices.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context30.stop();
+ return _context31.stop();
}
- }, _callee30);
+ }, _callee31);
}));
return _reservations_table_devices_info.apply(this, arguments);
}
-function reservations_table_devices_change_shixun(_x31) {
+function reservations_table_devices_change_shixun(_x32) {
return _reservations_table_devices_change_shixun.apply(this, arguments);
}
//创建预约
function _reservations_table_devices_change_shixun() {
- _reservations_table_devices_change_shixun = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee31(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee31$(_context31) {
- while (1) switch (_context31.prev = _context31.next) {
+ _reservations_table_devices_change_shixun = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee32(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee32$(_context32) {
+ while (1) switch (_context32.prev = _context32.next) {
case 0:
- return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/device_find_shixuns.json", {
+ return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/device_find_shixuns.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context31.stop();
+ return _context32.stop();
}
- }, _callee31);
+ }, _callee32);
}));
return _reservations_table_devices_change_shixun.apply(this, arguments);
}
-function reservations_table_add(_x32) {
+function reservations_table_add(_x33) {
return _reservations_table_add.apply(this, arguments);
}
// 编辑预约
function _reservations_table_add() {
- _reservations_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee32(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee32$(_context32) {
- while (1) switch (_context32.prev = _context32.next) {
+ _reservations_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee33(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee33$(_context33) {
+ while (1) switch (_context33.prev = _context33.next) {
case 0:
- return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations.json", {
+ return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data)
}));
case 1:
case "end":
- return _context32.stop();
+ return _context33.stop();
}
- }, _callee32);
+ }, _callee33);
}));
return _reservations_table_add.apply(this, arguments);
}
-function reservations_table_update(_x33) {
+function reservations_table_update(_x34) {
return _reservations_table_update.apply(this, arguments);
}
//某一预约详情
function _reservations_table_update() {
- _reservations_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee33(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee33$(_context33) {
- while (1) switch (_context33.prev = _context33.next) {
+ _reservations_table_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee34(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee34$(_context34) {
+ while (1) switch (_context34.prev = _context34.next) {
case 0:
- return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(data.id, ".json"), {
+ return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(data.id, ".json"), {
method: 'put',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data)
}));
case 1:
case "end":
- return _context33.stop();
+ return _context34.stop();
}
- }, _callee33);
+ }, _callee34);
}));
return _reservations_table_update.apply(this, arguments);
}
-function reservations_table_info(_x34) {
+function reservations_table_info(_x35) {
return _reservations_table_info.apply(this, arguments);
}
//批准or驳回预约
function _reservations_table_info() {
- _reservations_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee34(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee34$(_context34) {
- while (1) switch (_context34.prev = _context34.next) {
+ _reservations_table_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee35(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee35$(_context35) {
+ while (1) switch (_context35.prev = _context35.next) {
case 0:
- return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params, ".json"), {
+ return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params, ".json"), {
method: 'get'
}));
case 1:
case "end":
- return _context34.stop();
+ return _context35.stop();
}
- }, _callee34);
+ }, _callee35);
}));
return _reservations_table_info.apply(this, arguments);
}
-function reservations_table_reviewed(_x35) {
+function reservations_table_reviewed(_x36) {
return _reservations_table_reviewed.apply(this, arguments);
}
//每周设备预约数据
function _reservations_table_reviewed() {
- _reservations_table_reviewed = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee35(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee35$(_context35) {
- while (1) switch (_context35.prev = _context35.next) {
+ _reservations_table_reviewed = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee36(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee36$(_context36) {
+ while (1) switch (_context36.prev = _context36.next) {
case 0:
- return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params.id, "/reviewed.json"), {
+ return _context36.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/reservations/".concat(params.id, "/reviewed.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context35.stop();
+ return _context36.stop();
}
- }, _callee35);
+ }, _callee36);
}));
return _reservations_table_reviewed.apply(this, arguments);
}
-function reservations_table_week_query(_x36) {
+function reservations_table_week_query(_x37) {
return _reservations_table_week_query.apply(this, arguments);
}
//申请报废
function _reservations_table_week_query() {
- _reservations_table_week_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee36(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee36$(_context36) {
- while (1) switch (_context36.prev = _context36.next) {
+ _reservations_table_week_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee37(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee37$(_context37) {
+ while (1) switch (_context37.prev = _context37.next) {
case 0:
- return _context36.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params.id, "/reservation_detail.json"), {
+ return _context37.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(params.id, "/reservation_detail.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context36.stop();
+ return _context37.stop();
}
- }, _callee36);
+ }, _callee37);
}));
return _reservations_table_week_query.apply(this, arguments);
}
-function application_scrapped(_x37) {
+function application_scrapped(_x38) {
return _application_scrapped.apply(this, arguments);
}
//设备报废详情
function _application_scrapped() {
- _application_scrapped = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee37(data) {
- return _regeneratorRuntime().wrap(function _callee37$(_context37) {
- while (1) switch (_context37.prev = _context37.next) {
+ _application_scrapped = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee38(data) {
+ return _regeneratorRuntime().wrap(function _callee38$(_context38) {
+ while (1) switch (_context38.prev = _context38.next) {
case 0:
- return _context37.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(data.id, "/application_scrapped.json"), {
+ return _context38.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(data.id, "/application_scrapped.json"), {
method: 'post',
body: _objectSpread({}, data)
}));
case 1:
case "end":
- return _context37.stop();
+ return _context38.stop();
}
- }, _callee37);
+ }, _callee38);
}));
return _application_scrapped.apply(this, arguments);
}
-function scrapped_data_info(_x38) {
+function scrapped_data_info(_x39) {
return _scrapped_data_info.apply(this, arguments);
}
//设备类型支持的实验项目
function _scrapped_data_info() {
- _scrapped_data_info = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee38(params) {
- return _regeneratorRuntime().wrap(function _callee38$(_context38) {
- while (1) switch (_context38.prev = _context38.next) {
+ _scrapped_data_info = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee39(params) {
+ return _regeneratorRuntime().wrap(function _callee39$(_context39) {
+ while (1) switch (_context39.prev = _context39.next) {
case 0:
- return _context38.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(params, "/scrapped_data.json"), {
+ return _context39.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(params, "/scrapped_data.json"), {
method: 'get'
}));
case 1:
case "end":
- return _context38.stop();
+ return _context39.stop();
}
- }, _callee38);
+ }, _callee39);
}));
return _scrapped_data_info.apply(this, arguments);
}
-function support_shixuns_info(_x39) {
+function support_shixuns_info(_x40) {
return _support_shixuns_info.apply(this, arguments);
}
//设备类型使用率
function _support_shixuns_info() {
- _support_shixuns_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee39(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee39$(_context39) {
- while (1) switch (_context39.prev = _context39.next) {
+ _support_shixuns_info = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee40(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee40$(_context40) {
+ while (1) switch (_context40.prev = _context40.next) {
case 0:
- return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(params.id, "/support_shixuns.json"), {
+ return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_types/".concat(params.id, "/support_shixuns.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context39.stop();
+ return _context40.stop();
}
- }, _callee39);
+ }, _callee40);
}));
return _support_shixuns_info.apply(this, arguments);
}
-function used_rate(_x40) {
+function used_rate(_x41) {
return _used_rate.apply(this, arguments);
}
//设备类型历史使用记录
function _used_rate() {
- _used_rate = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee40(params) {
- return _regeneratorRuntime().wrap(function _callee40$(_context40) {
- while (1) switch (_context40.prev = _context40.next) {
+ _used_rate = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee41(params) {
+ return _regeneratorRuntime().wrap(function _callee41$(_context41) {
+ while (1) switch (_context41.prev = _context41.next) {
case 0:
- return _context40.abrupt("return", Fetch("/api/zz_classrooms/device_details/used_rate.json", {
+ return _context41.abrupt("return", Fetch("/api/zz_classrooms/device_details/used_rate.json", {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
- return _context40.stop();
+ return _context41.stop();
}
- }, _callee40);
+ }, _callee41);
}));
return _used_rate.apply(this, arguments);
}
-function shixun_use_type_records(_x41) {
+function shixun_use_type_records(_x42) {
return _shixun_use_type_records.apply(this, arguments);
}
//设备统计
function _shixun_use_type_records() {
- _shixun_use_type_records = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee41(params) {
- return _regeneratorRuntime().wrap(function _callee41$(_context41) {
- while (1) switch (_context41.prev = _context41.next) {
+ _shixun_use_type_records = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee42(params) {
+ return _regeneratorRuntime().wrap(function _callee42$(_context42) {
+ while (1) switch (_context42.prev = _context42.next) {
case 0:
- return _context41.abrupt("return", Fetch("/api/zz_classrooms/device_details/shixun_use_type_records.json", {
+ return _context42.abrupt("return", Fetch("/api/zz_classrooms/device_details/shixun_use_type_records.json", {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
- return _context41.stop();
+ return _context42.stop();
}
- }, _callee41);
+ }, _callee42);
}));
return _shixun_use_type_records.apply(this, arguments);
}
-function device_statistics(_x42) {
+function device_statistics(_x43) {
return _device_statistics.apply(this, arguments);
}
//行为统计
function _device_statistics() {
- _device_statistics = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee42(params) {
- return _regeneratorRuntime().wrap(function _callee42$(_context42) {
- while (1) switch (_context42.prev = _context42.next) {
+ _device_statistics = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee43(params) {
+ return _regeneratorRuntime().wrap(function _callee43$(_context43) {
+ while (1) switch (_context43.prev = _context43.next) {
case 0:
- return _context42.abrupt("return", Fetch("/api/zz_classrooms/device_details/device_statistics.json", {
+ return _context43.abrupt("return", Fetch("/api/zz_classrooms/device_details/device_statistics.json", {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
- return _context42.stop();
+ return _context43.stop();
}
- }, _callee42);
+ }, _callee43);
}));
return _device_statistics.apply(this, arguments);
}
-function behavior_statistics(_x43) {
+function behavior_statistics(_x44) {
return _behavior_statistics.apply(this, arguments);
}
//获取设备类型下所有设备数量与折旧率统计
function _behavior_statistics() {
- _behavior_statistics = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee43(params) {
- return _regeneratorRuntime().wrap(function _callee43$(_context43) {
- while (1) switch (_context43.prev = _context43.next) {
+ _behavior_statistics = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee44(params) {
+ return _regeneratorRuntime().wrap(function _callee44$(_context44) {
+ while (1) switch (_context44.prev = _context44.next) {
case 0:
- return _context43.abrupt("return", Fetch("/api/zz_classrooms/device_details/action_statistics.json", {
+ return _context44.abrupt("return", Fetch("/api/zz_classrooms/device_details/action_statistics.json", {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
- return _context43.stop();
+ return _context44.stop();
}
- }, _callee43);
+ }, _callee44);
}));
return _behavior_statistics.apply(this, arguments);
}
-function procure_records_device_statistics(_x44) {
+function procure_records_device_statistics(_x45) {
return _procure_records_device_statistics.apply(this, arguments);
}
//获取故障列表
function _procure_records_device_statistics() {
- _procure_records_device_statistics = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee44(params) {
- return _regeneratorRuntime().wrap(function _callee44$(_context44) {
- while (1) switch (_context44.prev = _context44.next) {
+ _procure_records_device_statistics = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee45(params) {
+ return _regeneratorRuntime().wrap(function _callee45$(_context45) {
+ while (1) switch (_context45.prev = _context45.next) {
case 0:
- return _context44.abrupt("return", Fetch("/api/zz_classrooms/procure_records/device_statistics.json", {
+ return _context45.abrupt("return", Fetch("/api/zz_classrooms/procure_records/device_statistics.json", {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
- return _context44.stop();
+ return _context45.stop();
}
- }, _callee44);
+ }, _callee45);
}));
return _procure_records_device_statistics.apply(this, arguments);
}
-function device_fault_query(_x45) {
+function device_fault_query(_x46) {
return _device_fault_query.apply(this, arguments);
}
//创建故障记录
function _device_fault_query() {
- _device_fault_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee45(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee45$(_context45) {
- while (1) switch (_context45.prev = _context45.next) {
+ _device_fault_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee46(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee46$(_context46) {
+ while (1) switch (_context46.prev = _context46.next) {
case 0:
- return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos.json", {
+ return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context45.stop();
+ return _context46.stop();
}
- }, _callee45);
+ }, _callee46);
}));
return _device_fault_query.apply(this, arguments);
}
-function device_fault_add(_x46) {
+function device_fault_add(_x47) {
return _device_fault_add.apply(this, arguments);
}
//更新故障记录
function _device_fault_add() {
- _device_fault_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee46(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee46$(_context46) {
- while (1) switch (_context46.prev = _context46.next) {
+ _device_fault_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee47(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee47$(_context47) {
+ while (1) switch (_context47.prev = _context47.next) {
case 0:
- return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos.json", {
+ return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data)
}));
case 1:
case "end":
- return _context46.stop();
+ return _context47.stop();
}
- }, _callee46);
+ }, _callee47);
}));
return _device_fault_add.apply(this, arguments);
}
-function device_fault_update(_x47) {
+function device_fault_update(_x48) {
return _device_fault_update.apply(this, arguments);
}
//获取单条故障记录
function _device_fault_update() {
- _device_fault_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee47(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee47$(_context47) {
- while (1) switch (_context47.prev = _context47.next) {
+ _device_fault_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee48(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee48$(_context48) {
+ while (1) switch (_context48.prev = _context48.next) {
case 0:
- return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
+ return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
method: 'put',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, data)
}));
case 1:
case "end":
- return _context47.stop();
+ return _context48.stop();
}
- }, _callee47);
+ }, _callee48);
}));
return _device_fault_update.apply(this, arguments);
}
-function device_fault_infos(_x48) {
+function device_fault_infos(_x49) {
return _device_fault_infos.apply(this, arguments);
}
//删除单条故障记录
function _device_fault_infos() {
- _device_fault_infos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee48(params) {
- return _regeneratorRuntime().wrap(function _callee48$(_context48) {
- while (1) switch (_context48.prev = _context48.next) {
+ _device_fault_infos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee49(params) {
+ return _regeneratorRuntime().wrap(function _callee49$(_context49) {
+ while (1) switch (_context49.prev = _context49.next) {
case 0:
- return _context48.abrupt("return", Fetch("/api/zz_classrooms/device_fault_infos/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
+ return _context49.abrupt("return", Fetch("/api/zz_classrooms/device_fault_infos/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
- return _context48.stop();
+ return _context49.stop();
}
- }, _callee48);
+ }, _callee49);
}));
return _device_fault_infos.apply(this, arguments);
}
-function device_fault_delete(_x49) {
+function device_fault_delete(_x50) {
return _device_fault_delete.apply(this, arguments);
}
// 今日预约统计
function _device_fault_delete() {
- _device_fault_delete = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee49(data) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee49$(_context49) {
- while (1) switch (_context49.prev = _context49.next) {
+ _device_fault_delete = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee50(data) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee50$(_context50) {
+ while (1) switch (_context50.prev = _context50.next) {
case 0:
- return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos/".concat(data, ".json"), {
+ return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos/".concat(data, ".json"), {
method: 'delete'
}));
case 1:
case "end":
- return _context49.stop();
+ return _context50.stop();
}
- }, _callee49);
+ }, _callee50);
}));
return _device_fault_delete.apply(this, arguments);
}
-function reservation_today_data(_x50) {
+function reservation_today_data(_x51) {
return _reservation_today_data.apply(this, arguments);
}
//消息中心列表查询
function _reservation_today_data() {
- _reservation_today_data = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee50(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee50$(_context50) {
- while (1) switch (_context50.prev = _context50.next) {
+ _reservation_today_data = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee51(params) {
+ return _regeneratorRuntime().wrap(function _callee51$(_context51) {
+ while (1) switch (_context51.prev = _context51.next) {
case 0:
- return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/zz_classrooms/reservations/reservation_data.json', {
+ return _context51.abrupt("return", Fetch('/api/zz_classrooms/reservations/reservation_data.json', {
method: 'get',
- params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ params: _objectSpread({}, params)
}));
case 1:
case "end":
- return _context50.stop();
+ return _context51.stop();
}
- }, _callee50);
+ }, _callee51);
}));
return _reservation_today_data.apply(this, arguments);
}
-function message_table_query(_x51) {
+function message_table_query(_x52) {
return _message_table_query.apply(this, arguments);
}
function _message_table_query() {
- _message_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee51(params) {
- return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee51$(_context51) {
- while (1) switch (_context51.prev = _context51.next) {
+ _message_table_query = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee52(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee52$(_context52) {
+ while (1) switch (_context52.prev = _context52.next) {
case 0:
- return _context51.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/message_centers.json", {
+ return _context52.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/message_centers.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
- return _context51.stop();
+ return _context52.stop();
}
- }, _callee51);
+ }, _callee52);
}));
return _message_table_query.apply(this, arguments);
}
diff --git a/index.html b/index.html
index 4f51a3d845..1e30bdd599 100644
--- a/index.html
+++ b/index.html
@@ -27,7 +27,7 @@
display: block !important;
}
-
+