|
@@ -20841,6 +20841,37 @@ function getChecklistByQr(ocId, targetId, checklistId) {
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
+/***/ 418:
|
|
|
+/*!**************************************************************!*\
|
|
|
+ !*** E:/work/Project_newGit/hptwxMiniProgram/utils/index.js ***!
|
|
|
+ \**************************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+
|
|
|
+
|
|
|
+var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
|
|
+Object.defineProperty(exports, "__esModule", {
|
|
|
+ value: true
|
|
|
+});
|
|
|
+exports.getQueryParams = getQueryParams;
|
|
|
+var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
|
|
|
+function getQueryParams(url) {
|
|
|
+ var paramArr = url.slice(url.indexOf("?") + 1).split("&");
|
|
|
+ var params = {};
|
|
|
+ paramArr.map(function (param) {
|
|
|
+ var _param$split = param.split("="),
|
|
|
+ _param$split2 = (0, _slicedToArray2.default)(_param$split, 2),
|
|
|
+ key = _param$split2[0],
|
|
|
+ val = _param$split2[1];
|
|
|
+ params[key] = decodeURIComponent(val);
|
|
|
+ });
|
|
|
+ return params;
|
|
|
+}
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
/***/ 42:
|
|
|
/*!****************************************************************!*\
|
|
|
!*** E:/work/Project_newGit/hptwxMiniProgram/utils/request.js ***!
|