diff --git a/85454.643408fd.async.js b/85454.55013bd1.async.js
similarity index 96%
rename from 85454.643408fd.async.js
rename to 85454.55013bd1.async.js
index f40c5c2391..a82f522894 100644
--- a/85454.643408fd.async.js
+++ b/85454.55013bd1.async.js
@@ -35,7 +35,7 @@
/* harmony export */ yu: function() { return /* binding */ substance_details_create; },
/* harmony export */ zG: function() { return /* binding */ purchases_info; }
/* harmony export */ });
-/* unused harmony export substances_list */
+/* unused harmony exports substances_list, code_download, code_batch_download */
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test2_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test2_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test2_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test2_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
@@ -614,6 +614,8 @@ function _purchases_update() {
function purchases_info(_x27) {
return _purchases_info.apply(this, arguments);
}
+
+//下载条形码
function _purchases_info() {
_purchases_info = _root_workspace_ppte5yg23_local_v9_test2_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test2_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee27(params) {
return _root_workspace_ppte5yg23_local_v9_test2_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee27$(_context27) {
@@ -631,6 +633,48 @@ function _purchases_info() {
}));
return _purchases_info.apply(this, arguments);
}
+function code_download(_x28) {
+ return _code_download.apply(this, arguments);
+}
+
+//批量下载条形码
+function _code_download() {
+ _code_download = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee28(params) {
+ return _regeneratorRuntime().wrap(function _callee28$(_context28) {
+ while (1) switch (_context28.prev = _context28.next) {
+ case 0:
+ return _context28.abrupt("return", Fetch("/api/yn_classrooms/substance_details/".concat(params === null || params === void 0 ? void 0 : params.id, "/download.json"), {
+ method: 'get',
+ params: _objectSpread({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context28.stop();
+ }
+ }, _callee28);
+ }));
+ return _code_download.apply(this, arguments);
+}
+function code_batch_download(_x29) {
+ return _code_batch_download.apply(this, arguments);
+}
+function _code_batch_download() {
+ _code_batch_download = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee29(params) {
+ return _regeneratorRuntime().wrap(function _callee29$(_context29) {
+ while (1) switch (_context29.prev = _context29.next) {
+ case 0:
+ return _context29.abrupt("return", Fetch("/api/yn_classrooms/substance_details/batch_download.json", {
+ method: 'get',
+ params: _objectSpread({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context29.stop();
+ }
+ }, _callee29);
+ }));
+ return _code_batch_download.apply(this, arguments);
+}
/***/ })
diff --git a/index.html b/index.html
index 60e64f76e9..0cf09697fb 100644
--- a/index.html
+++ b/index.html
@@ -25,7 +25,7 @@
display: block !important;
}
-
+