mcrm-mobile 1.9.7 → 1.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.js CHANGED
@@ -92,7 +92,7 @@ import Tag from './tag';
92
92
  import Toast from './toast';
93
93
  import TreeSelect from './tree-select';
94
94
  import Uploader from './uploader';
95
- var version = '1.9.7';
95
+ var version = '1.9.8';
96
96
  var components = [ActionSheet, AddressPicker, Api, Badge, Biz, Button, Calendar, Card, Cell, CellGroup, Checkbox, CheckboxGroup, Circle, Col, Collapse, CollapseItem, CommonUtils, CountDown, DataProcess, DatePicker, DatetimePicker, Dialog, Directive, Divider, Drag, DropdownItem, DropdownMenu, Empty, Field, GoodsAction, GoodsActionButton, GoodsActionIcon, Grid, GridItem, Http, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, List, Loading, Local, Menu, MenuIcon, MenuJump, Menus, NavBar, NoticeBar, Notify, Overlay, Pagination, Panel, PasswordInput, Picker, Popover, Popup, Progress, PullRefresh, Radio, RadioGroup, Rank, Rate, Row, SafeKeyboard, Search, Session, ShareSheet, Sidebar, SidebarItem, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, System, Tab, Tabbar, TabbarItem, Table, TableColumn, Tabs, Tag, Toast, TreeSelect, Uploader];
97
97
 
98
98
  var install = function install(Vue) {
@@ -247,7 +247,7 @@ var getSerialNumNew = /*#__PURE__*/function () {
247
247
 
248
248
  var spliceUrl = /*#__PURE__*/function () {
249
249
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, menu, sybInfo, extraParams) {
250
- var _yield$getExpInfo2, opPhone, opId, orgId, cityCode, loginName, areaCode, areaName, orgName, userName, envType, view, billId, custUniqueId, broadBillId, imei, commBusId, kindId, campseg_id, stall_id, marketName, busiOppoId, addrId, contTel, showTab, campusCode, school_id, customerOrderId, busiFlowId, authenWorkNo, sysOpId, prodCatalog, regionCode, cartType, cartNum, funcId, recommend, feature_value, activityToken, _data$pageInfo, pageInfo, _data$urlParam, urlParam, _data$ticket, ticket, _data$sessId, sessId, _data$token, oToken, _data$header, header, secretKey, offset, isSecret, _menu$menuCode, menuCode, _menu$isOutSys, isOutSys, _menu$variable, variable, allVerifySerial, custUniqueIdVerifySerial, verifySerial, opCheck, opVerifySerial, verifyType, funcType, powerType, longitude, latitude, serialNum, msg, pageCode, menuName, sysCode, syscode, _pageInfo$params, params, otherParams, url, _pageInfo$paramsFixed, paramsFixed, token, userinfo, hideHeader, otherParamsObj, jikeParamsObj, groupParamsObj, paramsList, otherParamsList, paramsObj, context, key, iv, _iterator, _step, value, _iterator2, _step2, _value, keys, _key, variableList, _key2;
250
+ var _yield$getExpInfo2, opPhone, opId, orgId, cityCode, loginName, areaCode, areaName, orgName, userName, envType, view, billId, custUniqueId, broadBillId, imei, commBusId, kindId, campseg_id, stall_id, marketName, busiOppoId, addrId, contTel, showTab, campusCode, school_id, customerOrderId, busiFlowId, authenWorkNo, sysOpId, prodCatalog, regionCode, cartType, cartNum, funcId, recommend, feature_value, activityToken, griddingCode, _data$pageInfo, pageInfo, _data$urlParam, urlParam, _data$ticket, ticket, _data$sessId, sessId, _data$token, oToken, _data$header, header, secretKey, offset, isSecret, _menu$menuCode, menuCode, _menu$isOutSys, isOutSys, _menu$variable, variable, allVerifySerial, custUniqueIdVerifySerial, verifySerial, opCheck, opVerifySerial, verifyType, funcType, powerType, longitude, latitude, serialNum, msg, pageCode, menuName, sysCode, syscode, _pageInfo$params, params, otherParams, url, _pageInfo$paramsFixed, paramsFixed, token, userinfo, hideHeader, otherParamsObj, jikeParamsObj, groupParamsObj, paramsList, otherParamsList, paramsObj, context, key, iv, _iterator, _step, value, _iterator2, _step2, _value, keys, _key, variableList, _key2;
251
251
 
252
252
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
253
253
  while (1) {
@@ -269,7 +269,7 @@ var spliceUrl = /*#__PURE__*/function () {
269
269
  userName = _yield$getExpInfo2.userName;
270
270
  envType = _yield$getExpInfo2.envType;
271
271
  view = Local.get("lastEntryView" + "");
272
- billId = sybInfo.billId, custUniqueId = sybInfo.custUniqueId, broadBillId = sybInfo.broadBillId, imei = sybInfo.imei, commBusId = sybInfo.commBusId, kindId = sybInfo.kindId, campseg_id = sybInfo.campseg_id, stall_id = sybInfo.stall_id, marketName = sybInfo.marketName, busiOppoId = sybInfo.busiOppoId, addrId = sybInfo.addrId, contTel = sybInfo.contTel, showTab = sybInfo.showTab, campusCode = sybInfo.campusCode, school_id = sybInfo.school_id, customerOrderId = sybInfo.customerOrderId, busiFlowId = sybInfo.busiFlowId, authenWorkNo = sybInfo.authenWorkNo, sysOpId = sybInfo.sysOpId, prodCatalog = sybInfo.prodCatalog, regionCode = sybInfo.regionCode, cartType = sybInfo.cartType, cartNum = sybInfo.cartNum, funcId = sybInfo.funcId, recommend = sybInfo.recommend, feature_value = sybInfo.feature_value, activityToken = sybInfo.token;
272
+ billId = sybInfo.billId, custUniqueId = sybInfo.custUniqueId, broadBillId = sybInfo.broadBillId, imei = sybInfo.imei, commBusId = sybInfo.commBusId, kindId = sybInfo.kindId, campseg_id = sybInfo.campseg_id, stall_id = sybInfo.stall_id, marketName = sybInfo.marketName, busiOppoId = sybInfo.busiOppoId, addrId = sybInfo.addrId, contTel = sybInfo.contTel, showTab = sybInfo.showTab, campusCode = sybInfo.campusCode, school_id = sybInfo.school_id, customerOrderId = sybInfo.customerOrderId, busiFlowId = sybInfo.busiFlowId, authenWorkNo = sybInfo.authenWorkNo, sysOpId = sybInfo.sysOpId, prodCatalog = sybInfo.prodCatalog, regionCode = sybInfo.regionCode, cartType = sybInfo.cartType, cartNum = sybInfo.cartNum, funcId = sybInfo.funcId, recommend = sybInfo.recommend, feature_value = sybInfo.feature_value, activityToken = sybInfo.token, griddingCode = sybInfo.griddingCode;
273
273
  _data$pageInfo = data.pageInfo, pageInfo = _data$pageInfo === void 0 ? {} : _data$pageInfo, _data$urlParam = data.urlParam, urlParam = _data$urlParam === void 0 ? {} : _data$urlParam, _data$ticket = data.ticket, ticket = _data$ticket === void 0 ? "" : _data$ticket, _data$sessId = data.sessId, sessId = _data$sessId === void 0 ? "" : _data$sessId, _data$token = data.token, oToken = _data$token === void 0 ? "" : _data$token, _data$header = data.header, header = _data$header === void 0 ? {} : _data$header, secretKey = data.secretKey, offset = data.offset, isSecret = data.isSecret;
274
274
  _menu$menuCode = menu.menuCode, menuCode = _menu$menuCode === void 0 ? "" : _menu$menuCode, _menu$isOutSys = menu.isOutSys, isOutSys = _menu$isOutSys === void 0 ? false : _menu$isOutSys, _menu$variable = menu.variable, variable = _menu$variable === void 0 ? "" : _menu$variable;
275
275
  allVerifySerial = Session.get("allVerifySerial") || {};
@@ -408,30 +408,30 @@ var spliceUrl = /*#__PURE__*/function () {
408
408
 
409
409
  case 62:
410
410
  if ((_step = _iterator()).done) {
411
- _context2.next = 199;
411
+ _context2.next = 212;
412
412
  break;
413
413
  }
414
414
 
415
415
  value = _step.value;
416
416
  _context2.t2 = value;
417
- _context2.next = _context2.t2 === "addrId" ? 67 : _context2.t2 === "appCode" ? 69 : _context2.t2 === "sys" ? 69 : _context2.t2 === "appkey" ? 71 : _context2.t2 === "authenWorkNo" ? 73 : _context2.t2 === "billId" ? 75 : _context2.t2 === "broadBillId" ? 88 : _context2.t2 === "busiFlowId" ? 90 : _context2.t2 === "busiOppoId" ? 92 : _context2.t2 === "campseg_id" ? 94 : _context2.t2 === "campusCode" ? 96 : _context2.t2 === "custUniqueId" ? 98 : _context2.t2 === "cityCode" ? 100 : _context2.t2 === "city_id" ? 100 : _context2.t2 === "commBusId" ? 102 : _context2.t2 === "countyCode" ? 106 : _context2.t2 === "countyName" ? 108 : _context2.t2 === "contTel" ? 110 : _context2.t2 === "customerOrderId" ? 112 : _context2.t2 === "funcId" ? 114 : _context2.t2 === "funcType" ? 116 : _context2.t2 === "imei" ? 118 : _context2.t2 === "kindId" ? 120 : _context2.t2 === "latitude" ? 122 : _context2.t2 === "longitude" ? 124 : _context2.t2 === "marketName" ? 126 : _context2.t2 === "mpType" ? 128 : _context2.t2 === "opCheck" ? 130 : _context2.t2 === "opId" ? 132 : _context2.t2 === "oper_id" ? 132 : _context2.t2 === "op_id" ? 132 : _context2.t2 === "SYS_OP_ID" ? 132 : _context2.t2 === "channelId" ? 132 : _context2.t2 === "sysOpId" ? 134 : _context2.t2 === "opVerifySerial" ? 136 : _context2.t2 === "orgId" ? 138 : _context2.t2 === "org_id" ? 138 : _context2.t2 === "storeCode" ? 138 : _context2.t2 === "orgIdName" ? 140 : _context2.t2 === "storeName" ? 140 : _context2.t2 === "parameter" ? 142 : _context2.t2 === "powerType" ? 144 : _context2.t2 === "prodId" ? 146 : _context2.t2 === "prodType" ? 148 : _context2.t2 === "school_id" ? 150 : _context2.t2 === "serialNum" ? 152 : _context2.t2 === "sessId" ? 157 : _context2.t2 === "sessionId" ? 157 : _context2.t2 === "SESSID" ? 157 : _context2.t2 === "session_id" ? 157 : _context2.t2 === "showTab" ? 159 : _context2.t2 === "stall_id" ? 161 : _context2.t2 === "telNum" ? 163 : _context2.t2 === "product_no" ? 163 : _context2.t2 === "ticket" ? 165 : _context2.t2 === "timestamp" ? 167 : _context2.t2 === "userId" ? 169 : _context2.t2 === "loginName" ? 169 : _context2.t2 === "userName" ? 171 : _context2.t2 === "verifySerial" ? 173 : _context2.t2 === "verifyType" ? 175 : _context2.t2 === "idCode" ? 177 : _context2.t2 === "userCityId" ? 179 : _context2.t2 === "regionId" ? 181 : _context2.t2 === "cartType" ? 183 : _context2.t2 === "cartNum" ? 185 : _context2.t2 === "view" ? 187 : _context2.t2 === "recommend" ? 189 : _context2.t2 === "feature_value" ? 191 : _context2.t2 === "token" ? 193 : 195;
417
+ _context2.next = _context2.t2 === "addrId" ? 67 : _context2.t2 === "appCode" ? 69 : _context2.t2 === "sys" ? 69 : _context2.t2 === "appkey" ? 71 : _context2.t2 === "authenWorkNo" ? 73 : _context2.t2 === "billId" ? 75 : _context2.t2 === "broadBillId" ? 88 : _context2.t2 === "busiFlowId" ? 90 : _context2.t2 === "busiOppoId" ? 92 : _context2.t2 === "campseg_id" ? 94 : _context2.t2 === "campusCode" ? 96 : _context2.t2 === "custUniqueId" ? 98 : _context2.t2 === "cityCode" ? 100 : _context2.t2 === "city_id" ? 100 : _context2.t2 === "commBusId" ? 102 : _context2.t2 === "countyCode" ? 106 : _context2.t2 === "countyName" ? 108 : _context2.t2 === "contTel" ? 110 : _context2.t2 === "customerOrderId" ? 112 : _context2.t2 === "funcId" ? 114 : _context2.t2 === "funcType" ? 116 : _context2.t2 === "imei" ? 118 : _context2.t2 === "kindId" ? 120 : _context2.t2 === "latitude" ? 122 : _context2.t2 === "longitude" ? 124 : _context2.t2 === "marketName" ? 126 : _context2.t2 === "mpType" ? 128 : _context2.t2 === "opCheck" ? 130 : _context2.t2 === "opId" ? 132 : _context2.t2 === "oper_id" ? 132 : _context2.t2 === "op_id" ? 132 : _context2.t2 === "SYS_OP_ID" ? 132 : _context2.t2 === "channelId" ? 132 : _context2.t2 === "sysOpId" ? 134 : _context2.t2 === "opVerifySerial" ? 136 : _context2.t2 === "orgId" ? 138 : _context2.t2 === "org_id" ? 138 : _context2.t2 === "storeCode" ? 138 : _context2.t2 === "orgIdName" ? 140 : _context2.t2 === "storeName" ? 140 : _context2.t2 === "parameter" ? 142 : _context2.t2 === "powerType" ? 144 : _context2.t2 === "prodId" ? 146 : _context2.t2 === "prodType" ? 148 : _context2.t2 === "school_id" ? 150 : _context2.t2 === "serialNum" ? 152 : _context2.t2 === "sessId" ? 157 : _context2.t2 === "sessionId" ? 157 : _context2.t2 === "SESSID" ? 157 : _context2.t2 === "session_id" ? 157 : _context2.t2 === "showTab" ? 159 : _context2.t2 === "stall_id" ? 161 : _context2.t2 === "telNum" ? 163 : _context2.t2 === "product_no" ? 163 : _context2.t2 === "ticket" ? 165 : _context2.t2 === "timestamp" ? 167 : _context2.t2 === "userId" ? 169 : _context2.t2 === "loginName" ? 169 : _context2.t2 === "userName" ? 171 : _context2.t2 === "verifySerial" ? 173 : _context2.t2 === "verifyType" ? 175 : _context2.t2 === "idCode" ? 177 : _context2.t2 === "userCityId" ? 179 : _context2.t2 === "regionId" ? 181 : _context2.t2 === "cartType" ? 183 : _context2.t2 === "cartNum" ? 185 : _context2.t2 === "view" ? 187 : _context2.t2 === "recommend" ? 189 : _context2.t2 === "feature_value" ? 191 : _context2.t2 === "token" ? 193 : _context2.t2 === "griddingCode" ? 195 : 208;
418
418
  break;
419
419
 
420
420
  case 67:
421
421
  paramsObj[value] = isDef(addrId) ? addrId : "";
422
- return _context2.abrupt("break", 197);
422
+ return _context2.abrupt("break", 210);
423
423
 
424
424
  case 69:
425
425
  paramsObj[value] = "mcrm";
426
- return _context2.abrupt("break", 197);
426
+ return _context2.abrupt("break", 210);
427
427
 
428
428
  case 71:
429
429
  paramsObj[value] = "mobilecrm";
430
- return _context2.abrupt("break", 197);
430
+ return _context2.abrupt("break", 210);
431
431
 
432
432
  case 73:
433
433
  paramsObj[value] = isDef(authenWorkNo) ? authenWorkNo : "";
434
- return _context2.abrupt("break", 197);
434
+ return _context2.abrupt("break", 210);
435
435
 
436
436
  case 75:
437
437
  if (!isDef(billId)) {
@@ -444,11 +444,11 @@ var spliceUrl = /*#__PURE__*/function () {
444
444
  break;
445
445
 
446
446
  case 79:
447
- paramsObj[value] = aesEncryptBusiness(billId, data.secretKey) + "&isSecrect=1";
447
+ paramsObj[value] = aesEncryptBusiness(billId, data.secretKey);
448
448
  return _context2.abrupt("break", 84);
449
449
 
450
450
  case 81:
451
- paramsObj[value] = encodeURIComponent(aesEncryptBusinessNew(billId, secretKey, offset)) + "&isSecrect=2";
451
+ paramsObj[value] = encodeURIComponent(aesEncryptBusinessNew(billId, secretKey, offset));
452
452
  return _context2.abrupt("break", 84);
453
453
 
454
454
  case 83:
@@ -462,137 +462,137 @@ var spliceUrl = /*#__PURE__*/function () {
462
462
  paramsObj[value] = "";
463
463
 
464
464
  case 87:
465
- return _context2.abrupt("break", 197);
465
+ return _context2.abrupt("break", 210);
466
466
 
467
467
  case 88:
468
468
  // 提交
469
469
  paramsObj[value] = isDef(broadBillId) ? broadBillId : "";
470
- return _context2.abrupt("break", 197);
470
+ return _context2.abrupt("break", 210);
471
471
 
472
472
  case 90:
473
473
  paramsObj[value] = isDef(busiFlowId) ? busiFlowId : "17000003";
474
- return _context2.abrupt("break", 197);
474
+ return _context2.abrupt("break", 210);
475
475
 
476
476
  case 92:
477
477
  paramsObj[value] = isDef(busiOppoId) ? busiOppoId : "";
478
- return _context2.abrupt("break", 197);
478
+ return _context2.abrupt("break", 210);
479
479
 
480
480
  case 94:
481
481
  paramsObj[value] = isDef(campseg_id) ? campseg_id : "";
482
- return _context2.abrupt("break", 197);
482
+ return _context2.abrupt("break", 210);
483
483
 
484
484
  case 96:
485
485
  paramsObj[value] = isDef(campusCode) ? campusCode : "";
486
- return _context2.abrupt("break", 197);
486
+ return _context2.abrupt("break", 210);
487
487
 
488
488
  case 98:
489
489
  paramsObj[value] = isDef(custUniqueId) ? custUniqueId : "";
490
- return _context2.abrupt("break", 197);
490
+ return _context2.abrupt("break", 210);
491
491
 
492
492
  case 100:
493
493
  paramsObj[value] = isDef(cityCode) ? cityCode : "";
494
- return _context2.abrupt("break", 197);
494
+ return _context2.abrupt("break", 210);
495
495
 
496
496
  case 102:
497
497
  paramsObj[value] = isDef(commBusId) ? commBusId : "";
498
498
  paramsObj["isRecommEnd"] = "false";
499
499
  paramsObj["bType"] = "1";
500
- return _context2.abrupt("break", 197);
500
+ return _context2.abrupt("break", 210);
501
501
 
502
502
  case 106:
503
503
  paramsObj[value] = isDef(areaCode) ? areaCode : "";
504
- return _context2.abrupt("break", 197);
504
+ return _context2.abrupt("break", 210);
505
505
 
506
506
  case 108:
507
507
  paramsObj[value] = isDef(areaName) ? areaName : "";
508
- return _context2.abrupt("break", 197);
508
+ return _context2.abrupt("break", 210);
509
509
 
510
510
  case 110:
511
511
  paramsObj[value] = isDef(contTel) ? contTel : "";
512
- return _context2.abrupt("break", 197);
512
+ return _context2.abrupt("break", 210);
513
513
 
514
514
  case 112:
515
515
  paramsObj[value] = isDef(customerOrderId) ? customerOrderId : "";
516
- return _context2.abrupt("break", 197);
516
+ return _context2.abrupt("break", 210);
517
517
 
518
518
  case 114:
519
519
  paramsObj[value] = isDef(funcId) ? funcId : isDef(menuCode) ? menuCode : "";
520
- return _context2.abrupt("break", 197);
520
+ return _context2.abrupt("break", 210);
521
521
 
522
522
  case 116:
523
523
  paramsObj[value] = isDef(funcType) ? funcType : "";
524
- return _context2.abrupt("break", 197);
524
+ return _context2.abrupt("break", 210);
525
525
 
526
526
  case 118:
527
527
  paramsObj[value] = isDef(imei) ? imei : "";
528
- return _context2.abrupt("break", 197);
528
+ return _context2.abrupt("break", 210);
529
529
 
530
530
  case 120:
531
531
  paramsObj[value] = isDef(kindId) ? kindId : "";
532
- return _context2.abrupt("break", 197);
532
+ return _context2.abrupt("break", 210);
533
533
 
534
534
  case 122:
535
535
  paramsObj[value] = isDef(latitude) ? latitude : "";
536
- return _context2.abrupt("break", 197);
536
+ return _context2.abrupt("break", 210);
537
537
 
538
538
  case 124:
539
539
  paramsObj[value] = isDef(longitude) ? longitude : "";
540
- return _context2.abrupt("break", 197);
540
+ return _context2.abrupt("break", 210);
541
541
 
542
542
  case 126:
543
543
  paramsObj[value] = isDef(marketName) ? marketName : "";
544
- return _context2.abrupt("break", 197);
544
+ return _context2.abrupt("break", 210);
545
545
 
546
546
  case 128:
547
547
  paramsObj[value] = "";
548
- return _context2.abrupt("break", 197);
548
+ return _context2.abrupt("break", 210);
549
549
 
550
550
  case 130:
551
551
  if (opCheck !== undefined) {
552
552
  paramsObj[value] = isDef(opCheck) ? opCheck : "";
553
553
  }
554
554
 
555
- return _context2.abrupt("break", 197);
555
+ return _context2.abrupt("break", 210);
556
556
 
557
557
  case 132:
558
558
  paramsObj[value] = isDef(opId) ? opId : "";
559
- return _context2.abrupt("break", 197);
559
+ return _context2.abrupt("break", 210);
560
560
 
561
561
  case 134:
562
562
  paramsObj[value] = isDef(sysOpId) ? sysOpId : "";
563
- return _context2.abrupt("break", 197);
563
+ return _context2.abrupt("break", 210);
564
564
 
565
565
  case 136:
566
566
  paramsObj[value] = isDef(opVerifySerial) ? opVerifySerial : "";
567
- return _context2.abrupt("break", 197);
567
+ return _context2.abrupt("break", 210);
568
568
 
569
569
  case 138:
570
570
  paramsObj[value] = isDef(orgId) ? orgId : "";
571
- return _context2.abrupt("break", 197);
571
+ return _context2.abrupt("break", 210);
572
572
 
573
573
  case 140:
574
574
  paramsObj[value] = isDef(orgName) ? orgName : "";
575
- return _context2.abrupt("break", 197);
575
+ return _context2.abrupt("break", 210);
576
576
 
577
577
  case 142:
578
578
  paramsObj[value] = isDef(oToken) ? oToken : "";
579
- return _context2.abrupt("break", 197);
579
+ return _context2.abrupt("break", 210);
580
580
 
581
581
  case 144:
582
582
  paramsObj[value] = isDef(powerType) ? powerType : "";
583
- return _context2.abrupt("break", 197);
583
+ return _context2.abrupt("break", 210);
584
584
 
585
585
  case 146:
586
586
  paramsObj[value] = "";
587
- return _context2.abrupt("break", 197);
587
+ return _context2.abrupt("break", 210);
588
588
 
589
589
  case 148:
590
590
  paramsObj[value] = "";
591
- return _context2.abrupt("break", 197);
591
+ return _context2.abrupt("break", 210);
592
592
 
593
593
  case 150:
594
594
  paramsObj[value] = isDef(school_id) ? school_id : "";
595
- return _context2.abrupt("break", 197);
595
+ return _context2.abrupt("break", 210);
596
596
 
597
597
  case 152:
598
598
  _context2.next = 154;
@@ -601,219 +601,250 @@ var spliceUrl = /*#__PURE__*/function () {
601
601
  case 154:
602
602
  serialNum = _context2.sent;
603
603
  paramsObj[value] = isDef(serialNum) ? serialNum : "";
604
- return _context2.abrupt("break", 197);
604
+ return _context2.abrupt("break", 210);
605
605
 
606
606
  case 157:
607
607
  paramsObj[value] = isDef(sessId) ? sessId : "";
608
- return _context2.abrupt("break", 197);
608
+ return _context2.abrupt("break", 210);
609
609
 
610
610
  case 159:
611
611
  if (isDef(showTab)) {
612
612
  paramsObj[value] = showTab;
613
613
  }
614
614
 
615
- return _context2.abrupt("break", 197);
615
+ return _context2.abrupt("break", 210);
616
616
 
617
617
  case 161:
618
618
  paramsObj[value] = isDef(stall_id) ? stall_id : "";
619
- return _context2.abrupt("break", 197);
619
+ return _context2.abrupt("break", 210);
620
620
 
621
621
  case 163:
622
622
  paramsObj[value] = isDef(opPhone) ? opPhone : "";
623
- return _context2.abrupt("break", 197);
623
+ return _context2.abrupt("break", 210);
624
624
 
625
625
  case 165:
626
626
  paramsObj[value] = isDef(ticket) ? ticket : "";
627
- return _context2.abrupt("break", 197);
627
+ return _context2.abrupt("break", 210);
628
628
 
629
629
  case 167:
630
630
  paramsObj[value] = new Date().getTime();
631
- return _context2.abrupt("break", 197);
631
+ return _context2.abrupt("break", 210);
632
632
 
633
633
  case 169:
634
634
  paramsObj[value] = isDef(loginName) ? loginName : "";
635
- return _context2.abrupt("break", 197);
635
+ return _context2.abrupt("break", 210);
636
636
 
637
637
  case 171:
638
638
  paramsObj[value] = isDef(userName) ? userName : "";
639
- return _context2.abrupt("break", 197);
639
+ return _context2.abrupt("break", 210);
640
640
 
641
641
  case 173:
642
642
  paramsObj[value] = isDef(verifySerial) ? verifySerial : "";
643
- return _context2.abrupt("break", 197);
643
+ return _context2.abrupt("break", 210);
644
644
 
645
645
  case 175:
646
646
  paramsObj[value] = isDef(verifyType) ? verifyType : "";
647
- return _context2.abrupt("break", 197);
647
+ return _context2.abrupt("break", 210);
648
648
 
649
649
  case 177:
650
650
  paramsObj[value] = isDef(prodCatalog) ? prodCatalog : "";
651
- return _context2.abrupt("break", 197);
651
+ return _context2.abrupt("break", 210);
652
652
 
653
653
  case 179:
654
654
  paramsObj[value] = isDef(regionCode) ? regionCode : "";
655
- return _context2.abrupt("break", 197);
655
+ return _context2.abrupt("break", 210);
656
656
 
657
657
  case 181:
658
658
  paramsObj[value] = isDef(regionCode) ? regionCode : "";
659
- return _context2.abrupt("break", 197);
659
+ return _context2.abrupt("break", 210);
660
660
 
661
661
  case 183:
662
662
  paramsObj[value] = isDef(cartType) ? cartType : "";
663
- return _context2.abrupt("break", 197);
663
+ return _context2.abrupt("break", 210);
664
664
 
665
665
  case 185:
666
666
  paramsObj[value] = isDef(cartNum) ? cartNum : "";
667
- return _context2.abrupt("break", 197);
667
+ return _context2.abrupt("break", 210);
668
668
 
669
669
  case 187:
670
670
  paramsObj[value] = isDef(view) ? viewObj[view] : "";
671
- return _context2.abrupt("break", 197);
671
+ return _context2.abrupt("break", 210);
672
672
 
673
673
  case 189:
674
674
  paramsObj[value] = isDef(recommend) ? encodeURIComponent(recommend) : "";
675
- return _context2.abrupt("break", 197);
675
+ return _context2.abrupt("break", 210);
676
676
 
677
677
  case 191:
678
678
  paramsObj[value] = isDef(feature_value) ? feature_value : "";
679
- return _context2.abrupt("break", 197);
679
+ return _context2.abrupt("break", 210);
680
680
 
681
681
  case 193:
682
682
  paramsObj[value] = isDef(activityToken) ? activityToken : "";
683
- return _context2.abrupt("break", 197);
683
+ return _context2.abrupt("break", 210);
684
684
 
685
685
  case 195:
686
+ if (!isDef(griddingCode)) {
687
+ _context2.next = 206;
688
+ break;
689
+ }
690
+
691
+ _context2.t4 = isSecret;
692
+ _context2.next = _context2.t4 === "1" ? 199 : _context2.t4 === "2" ? 201 : 203;
693
+ break;
694
+
695
+ case 199:
696
+ paramsObj[value] = aesEncryptBusiness(griddingCode, data.secretKey);
697
+ return _context2.abrupt("break", 204);
698
+
699
+ case 201:
700
+ paramsObj[value] = encodeURIComponent(aesEncryptBusinessNew(griddingCode, secretKey, offset));
701
+ return _context2.abrupt("break", 204);
702
+
703
+ case 203:
704
+ paramsObj[value] = griddingCode;
705
+
706
+ case 204:
707
+ _context2.next = 207;
708
+ break;
709
+
710
+ case 206:
711
+ paramsObj[value] = "";
712
+
713
+ case 207:
714
+ return _context2.abrupt("break", 210);
715
+
716
+ case 208:
686
717
  if (isDef(sybInfo[value]) || isDef(urlParam[value])) {
687
718
  paramsObj[value] = sybInfo[value] || urlParam[value];
688
719
  } else {
689
720
  console.error("Did not match " + value);
690
721
  }
691
722
 
692
- return _context2.abrupt("break", 197);
723
+ return _context2.abrupt("break", 210);
693
724
 
694
- case 197:
725
+ case 210:
695
726
  _context2.next = 62;
696
727
  break;
697
728
 
698
- case 199:
729
+ case 212:
699
730
  _iterator2 = _createForOfIteratorHelperLoose(otherParamsList);
700
731
 
701
- case 200:
732
+ case 213:
702
733
  if ((_step2 = _iterator2()).done) {
703
- _context2.next = 224;
734
+ _context2.next = 237;
704
735
  break;
705
736
  }
706
737
 
707
738
  _value = _step2.value;
708
- _context2.t4 = _value;
709
- _context2.next = _context2.t4 === "opId" ? 205 : _context2.t4 === "opName" ? 207 : _context2.t4 === "phone" ? 209 : _context2.t4 === "orgId" ? 211 : _context2.t4 === "orgName" ? 213 : _context2.t4 === "regionId" ? 215 : _context2.t4 === "countyId" ? 217 : _context2.t4 === "sessionId" ? 219 : 221;
739
+ _context2.t5 = _value;
740
+ _context2.next = _context2.t5 === "opId" ? 218 : _context2.t5 === "opName" ? 220 : _context2.t5 === "phone" ? 222 : _context2.t5 === "orgId" ? 224 : _context2.t5 === "orgName" ? 226 : _context2.t5 === "regionId" ? 228 : _context2.t5 === "countyId" ? 230 : _context2.t5 === "sessionId" ? 232 : 234;
710
741
  break;
711
742
 
712
- case 205:
743
+ case 218:
713
744
  otherParamsObj[_value] = isDef(opId) ? opId : "";
714
- return _context2.abrupt("break", 222);
745
+ return _context2.abrupt("break", 235);
715
746
 
716
- case 207:
747
+ case 220:
717
748
  otherParamsObj[_value] = isDef(loginName) ? loginName : "";
718
- return _context2.abrupt("break", 222);
749
+ return _context2.abrupt("break", 235);
719
750
 
720
- case 209:
751
+ case 222:
721
752
  otherParamsObj[_value] = isDef(opPhone) ? opPhone : "";
722
- return _context2.abrupt("break", 222);
753
+ return _context2.abrupt("break", 235);
723
754
 
724
- case 211:
755
+ case 224:
725
756
  otherParamsObj[_value] = isDef(orgId) ? orgId : "";
726
- return _context2.abrupt("break", 222);
757
+ return _context2.abrupt("break", 235);
727
758
 
728
- case 213:
759
+ case 226:
729
760
  otherParamsObj[_value] = isDef(orgName) ? orgName : "";
730
- return _context2.abrupt("break", 222);
761
+ return _context2.abrupt("break", 235);
731
762
 
732
- case 215:
763
+ case 228:
733
764
  otherParamsObj[_value] = isDef(cityCode) ? cityCode : "";
734
- return _context2.abrupt("break", 222);
765
+ return _context2.abrupt("break", 235);
735
766
 
736
- case 217:
767
+ case 230:
737
768
  otherParamsObj[_value] = isDef(areaCode) ? areaCode : "";
738
- return _context2.abrupt("break", 222);
769
+ return _context2.abrupt("break", 235);
739
770
 
740
- case 219:
771
+ case 232:
741
772
  otherParamsObj[_value] = isDef(sessId) ? sessId : "";
742
- return _context2.abrupt("break", 222);
773
+ return _context2.abrupt("break", 235);
743
774
 
744
- case 221:
745
- return _context2.abrupt("break", 222);
775
+ case 234:
776
+ return _context2.abrupt("break", 235);
746
777
 
747
- case 222:
748
- _context2.next = 200;
778
+ case 235:
779
+ _context2.next = 213;
749
780
  break;
750
781
 
751
- case 224:
782
+ case 237:
752
783
  keys = Object.keys(paramsObj);
753
- _context2.t5 = _regeneratorRuntime.keys(extraParams);
784
+ _context2.t6 = _regeneratorRuntime.keys(extraParams);
754
785
 
755
- case 226:
756
- if ((_context2.t6 = _context2.t5()).done) {
757
- _context2.next = 249;
786
+ case 239:
787
+ if ((_context2.t7 = _context2.t6()).done) {
788
+ _context2.next = 262;
758
789
  break;
759
790
  }
760
791
 
761
- _key = _context2.t6.value;
792
+ _key = _context2.t7.value;
762
793
 
763
794
  if (keys.includes(_key)) {
764
- _context2.next = 232;
795
+ _context2.next = 245;
765
796
  break;
766
797
  }
767
798
 
768
799
  paramsObj[_key] = extraParams[_key];
769
- _context2.next = 247;
800
+ _context2.next = 260;
770
801
  break;
771
802
 
772
- case 232:
803
+ case 245:
773
804
  if (!isOutSys) {
774
- _context2.next = 247;
805
+ _context2.next = 260;
775
806
  break;
776
807
  }
777
808
 
778
809
  variableList = variable.split(",");
779
810
 
780
811
  if (!variableList.includes(_key)) {
781
- _context2.next = 247;
812
+ _context2.next = 260;
782
813
  break;
783
814
  }
784
815
 
785
816
  if (!(_key === "billId")) {
786
- _context2.next = 246;
817
+ _context2.next = 259;
787
818
  break;
788
819
  }
789
820
 
790
- _context2.t7 = isSecret;
791
- _context2.next = _context2.t7 === "1" ? 239 : _context2.t7 === "2" ? 241 : 243;
821
+ _context2.t8 = isSecret;
822
+ _context2.next = _context2.t8 === "1" ? 252 : _context2.t8 === "2" ? 254 : 256;
792
823
  break;
793
824
 
794
- case 239:
795
- paramsObj[_key] = aesEncryptBusiness(extraParams[_key], data.secretKey) + "&isSecrect=1";
796
- return _context2.abrupt("break", 244);
825
+ case 252:
826
+ paramsObj[_key] = aesEncryptBusiness(extraParams[_key], data.secretKey);
827
+ return _context2.abrupt("break", 257);
797
828
 
798
- case 241:
799
- paramsObj[_key] = encodeURIComponent(aesEncryptBusinessNew(extraParams[_key], secretKey, offset)) + "&isSecrect=2";
800
- return _context2.abrupt("break", 244);
829
+ case 254:
830
+ paramsObj[_key] = encodeURIComponent(aesEncryptBusinessNew(extraParams[_key], secretKey, offset));
831
+ return _context2.abrupt("break", 257);
801
832
 
802
- case 243:
833
+ case 256:
803
834
  paramsObj[_key] = extraParams[_key];
804
835
 
805
- case 244:
806
- _context2.next = 247;
836
+ case 257:
837
+ _context2.next = 260;
807
838
  break;
808
839
 
809
- case 246:
840
+ case 259:
810
841
  paramsObj[_key] = extraParams[_key];
811
842
 
812
- case 247:
813
- _context2.next = 226;
843
+ case 260:
844
+ _context2.next = 239;
814
845
  break;
815
846
 
816
- case 249:
847
+ case 262:
817
848
  if (!Object.keys(paramsObj).includes("verifySerial") && verifySerial) {
818
849
  paramsObj["verifySerial"] = isDef(verifySerial) ? verifySerial : "";
819
850
  }
@@ -822,6 +853,10 @@ var spliceUrl = /*#__PURE__*/function () {
822
853
  url += "&" + _key2 + "=" + paramsObj[_key2];
823
854
  }
824
855
 
856
+ if (isSecret) {
857
+ url += "&isSecret=" + isSecret;
858
+ }
859
+
825
860
  url = url.replace("?&", "?");
826
861
  return _context2.abrupt("return", {
827
862
  url: url,
@@ -832,7 +867,7 @@ var spliceUrl = /*#__PURE__*/function () {
832
867
  msg: msg
833
868
  });
834
869
 
835
- case 253:
870
+ case 267:
836
871
  case "end":
837
872
  return _context2.stop();
838
873
  }
package/lib/index.js CHANGED
@@ -377,7 +377,7 @@ var _uploader = _interopRequireDefault(require("./uploader"));
377
377
 
378
378
  exports.Uploader = _uploader.default;
379
379
  // This file is auto generated by build/build-entry.js
380
- var version = '1.9.7';
380
+ var version = '1.9.8';
381
381
  exports.version = version;
382
382
  var components = [_actionSheet.default, _addressPicker.default, _api.default, _badge.default, _biz.default, _button.default, _calendar.default, _card.default, _cell.default, _cellGroup.default, _checkbox.default, _checkboxGroup.default, _circle.default, _col.default, _collapse.default, _collapseItem.default, _commonUtils.default, _countDown.default, _dataProcess.default, _datePicker.default, _datetimePicker.default, _dialog.default, _directive.default, _divider.default, _drag.default, _dropdownItem.default, _dropdownMenu.default, _empty.default, _field.default, _goodsAction.default, _goodsActionButton.default, _goodsActionIcon.default, _grid.default, _gridItem.default, _http.default, _icon.default, _image.default, _imagePreview.default, _indexAnchor.default, _indexBar.default, _info.default, _list.default, _loading.default, _local.default, _menu.default, _menuIcon.default, _menuJump.default, _menus.default, _navBar.default, _noticeBar.default, _notify.default, _overlay.default, _pagination.default, _panel.default, _passwordInput.default, _picker.default, _popover.default, _popup.default, _progress.default, _pullRefresh.default, _radio.default, _radioGroup.default, _rank.default, _rate.default, _row.default, _safeKeyboard.default, _search.default, _session.default, _shareSheet.default, _sidebar.default, _sidebarItem.default, _slider.default, _step.default, _stepper.default, _steps.default, _sticky.default, _swipe.default, _swipeCell.default, _swipeItem.default, _switch.default, _switchCell.default, _system.default, _tab.default, _tabbar.default, _tabbarItem.default, _table.default, _tableColumn.default, _tabs.default, _tag.default, _toast.default, _treeSelect.default, _uploader.default];
383
383