mcrm-mobile 1.0.6 → 1.0.7

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.
@@ -5,8 +5,8 @@ import { raf, cancel } from "../utils/dom/raf";
5
5
  var PERIMETER = 3140;
6
6
  var uid = 0;
7
7
 
8
- function format(rate) {
9
- return Math.min(Math.max(rate, 0), 100);
8
+ function format(rate, total) {
9
+ return Math.min(Math.max(rate, 0), total);
10
10
  }
11
11
 
12
12
  function getPath(clockwise, viewBoxSize) {
@@ -94,6 +94,10 @@ export default create({
94
94
  clockwise: {
95
95
  type: Boolean,
96
96
  default: true
97
+ },
98
+ total: {
99
+ type: [Number, String],
100
+ default: 100
97
101
  }
98
102
  },
99
103
  beforeCreate: function beforeCreate() {
@@ -126,7 +130,7 @@ export default create({
126
130
  };
127
131
  },
128
132
  hoverStyle: function hoverStyle() {
129
- var offset = PERIMETER * this.value / 100;
133
+ var offset = PERIMETER * this.value / this.total;
130
134
  return {
131
135
  stroke: "" + this.color,
132
136
  strokeWidth: +this.strokeWidth + 1 + "px",
@@ -143,7 +147,7 @@ export default create({
143
147
  handler: function handler(rate) {
144
148
  this.startTime = Date.now();
145
149
  this.startRate = this.value;
146
- this.endRate = format(rate);
150
+ this.endRate = format(rate, this.total);
147
151
  this.increase = this.endRate > this.startRate;
148
152
  this.duration = Math.abs((this.startRate - this.endRate) * 1000 / this.speed);
149
153
 
@@ -162,7 +166,7 @@ export default create({
162
166
  var now = Date.now();
163
167
  var progress = Math.min((now - this.startTime) / this.duration, 1);
164
168
  var rate = progress * (this.endRate - this.startRate) + this.startRate;
165
- this.$emit("input", format(parseFloat(rate.toFixed(1))));
169
+ this.$emit("input", format(parseFloat(rate.toFixed(1)), this.total));
166
170
 
167
171
  if (this.increase ? rate < this.endRate : rate > this.endRate) {
168
172
  this.rafId = raf(this.animate);
package/es/index.js CHANGED
@@ -90,7 +90,7 @@ import Tag from './tag';
90
90
  import Toast from './toast';
91
91
  import TreeSelect from './tree-select';
92
92
  import Uploader from './uploader';
93
- var version = '1.0.6';
93
+ var version = '1.0.7';
94
94
  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, Rate, Row, SafeKeyboard, Search, Session, ShareSheet, Sidebar, SidebarItem, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, TableColumn, Tabs, Tag, Toast, TreeSelect, Uploader];
95
95
 
96
96
  var install = function install(Vue) {
@@ -218,7 +218,7 @@ var getSerialNumNew = /*#__PURE__*/function () {
218
218
 
219
219
  var spliceUrl = /*#__PURE__*/function () {
220
220
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, menu, sybInfo, extraParams) {
221
- var _yield$getExpInfo2, opPhone, opId, orgId, cityCode, loginName, areaCode, areaName, orgName, userName, envType, billId, broadBillId, imei, commBusId, kindId, campseg_id, stall_id, marketName, busiOppoId, addrId, contTel, showTab, campusCode, school_id, customerOrderId, busiFlowId, authenWorkNo, sysOpId, _data$pageInfo, pageInfo, _data$ticket, ticket, _data$sessId, sessId, _menu$menuCode, menuCode, verifySerial, opCheck, opVerifySerial, verifyType, funcType, powerType, longitude, latitude, serialNum, pageCode, menuName, sysCode, _pageInfo$params, params, otherParams, url, _pageInfo$paramsFixed, paramsFixed, token, userinfo, hideHeader, otherParamsObj, jikeParamsObj, paramsList, otherParamsList, context, _iterator, _step, value, _iterator2, _step2, _value, key;
221
+ var _yield$getExpInfo2, opPhone, opId, orgId, cityCode, loginName, areaCode, areaName, orgName, userName, envType, billId, broadBillId, imei, commBusId, kindId, campseg_id, stall_id, marketName, busiOppoId, addrId, contTel, showTab, campusCode, school_id, customerOrderId, busiFlowId, authenWorkNo, sysOpId, _data$pageInfo, pageInfo, _data$ticket, ticket, _data$sessId, sessId, _menu$menuCode, menuCode, allVerifySerial, verifySerial, opCheck, opVerifySerial, verifyType, funcType, powerType, longitude, latitude, serialNum, pageCode, menuName, sysCode, _pageInfo$params, params, otherParams, url, _pageInfo$paramsFixed, paramsFixed, token, userinfo, hideHeader, otherParamsObj, jikeParamsObj, paramsList, otherParamsList, context, _iterator, _step, value, _iterator2, _step2, _value, key;
222
222
 
223
223
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
224
224
  while (1) {
@@ -242,7 +242,8 @@ var spliceUrl = /*#__PURE__*/function () {
242
242
  billId = sybInfo.billId, 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;
243
243
  _data$pageInfo = data.pageInfo, pageInfo = _data$pageInfo === void 0 ? {} : _data$pageInfo, _data$ticket = data.ticket, ticket = _data$ticket === void 0 ? "" : _data$ticket, _data$sessId = data.sessId, sessId = _data$sessId === void 0 ? "" : _data$sessId;
244
244
  _menu$menuCode = menu.menuCode, menuCode = _menu$menuCode === void 0 ? "" : _menu$menuCode;
245
- verifySerial = Session.get("verifySerial") || "";
245
+ allVerifySerial = Session.get("allVerifySerial") || {};
246
+ verifySerial = allVerifySerial[billId] || "";
246
247
  opCheck = Session.get("opCheck");
247
248
  opVerifySerial = Session.get("opVerifySerial") || "";
248
249
  verifyType = "0";
@@ -280,12 +281,12 @@ var spliceUrl = /*#__PURE__*/function () {
280
281
  url += "?" + paramsFixed;
281
282
 
282
283
  if (!(pageCode === "hekehu_wangluotianxia")) {
283
- _context2.next = 37;
284
+ _context2.next = 38;
284
285
  break;
285
286
  }
286
287
 
287
288
  context = "accessSource=zhejiang&billId=" + opPhone;
288
- _context2.next = 37;
289
+ _context2.next = 38;
289
290
  return mcrm.util.common({
290
291
  action: "AESEncrypt",
291
292
  params: {
@@ -301,13 +302,13 @@ var spliceUrl = /*#__PURE__*/function () {
301
302
  }
302
303
  });
303
304
 
304
- case 37:
305
+ case 38:
305
306
  if (!(paramsList.indexOf("longitude") > -1)) {
306
- _context2.next = 40;
307
+ _context2.next = 41;
307
308
  break;
308
309
  }
309
310
 
310
- _context2.next = 40;
311
+ _context2.next = 41;
311
312
  return mcrm.device.getLocation({
312
313
  onSuccess: function onSuccess(res) {
313
314
  longitude = res.longitude;
@@ -318,270 +319,270 @@ var spliceUrl = /*#__PURE__*/function () {
318
319
  }
319
320
  });
320
321
 
321
- case 40:
322
+ case 41:
322
323
  _iterator = _createForOfIteratorHelperLoose(paramsList);
323
324
 
324
- case 41:
325
+ case 42:
325
326
  if ((_step = _iterator()).done) {
326
- _context2.next = 143;
327
+ _context2.next = 144;
327
328
  break;
328
329
  }
329
330
 
330
331
  value = _step.value;
331
332
  _context2.t0 = value;
332
- _context2.next = _context2.t0 === "addrId" ? 46 : _context2.t0 === "appCode" ? 48 : _context2.t0 === "sys" ? 48 : _context2.t0 === "appkey" ? 50 : _context2.t0 === "authenWorkNo" ? 52 : _context2.t0 === "billId" ? 54 : _context2.t0 === "broadBillId" ? 56 : _context2.t0 === "busiFlowId" ? 58 : _context2.t0 === "busiOppoId" ? 60 : _context2.t0 === "campseg_id" ? 62 : _context2.t0 === "campusCode" ? 64 : _context2.t0 === "cityCode" ? 66 : _context2.t0 === "city_id" ? 66 : _context2.t0 === "commBusId" ? 68 : _context2.t0 === "countyCode" ? 70 : _context2.t0 === "countyName" ? 72 : _context2.t0 === "contTel" ? 74 : _context2.t0 === "customerOrderId" ? 76 : _context2.t0 === "funcId" ? 78 : _context2.t0 === "funcType" ? 80 : _context2.t0 === "imei" ? 82 : _context2.t0 === "kindId" ? 84 : _context2.t0 === "latitude" ? 86 : _context2.t0 === "longitude" ? 88 : _context2.t0 === "marketName" ? 90 : _context2.t0 === "mpType" ? 92 : _context2.t0 === "opCheck" ? 94 : _context2.t0 === "opId" ? 96 : _context2.t0 === "oper_id" ? 96 : _context2.t0 === "op_id" ? 96 : _context2.t0 === "SYS_OP_ID" ? 96 : _context2.t0 === "channelId" ? 96 : _context2.t0 === "sysOpId" ? 98 : _context2.t0 === "opVerifySerial" ? 100 : _context2.t0 === "orgId" ? 102 : _context2.t0 === "org_id" ? 102 : _context2.t0 === "storeCode" ? 102 : _context2.t0 === "orgIdName" ? 104 : _context2.t0 === "storeName" ? 104 : _context2.t0 === "powerType" ? 106 : _context2.t0 === "prodId" ? 108 : _context2.t0 === "prodType" ? 110 : _context2.t0 === "school_id" ? 112 : _context2.t0 === "serialNum" ? 114 : _context2.t0 === "sessId" ? 119 : _context2.t0 === "sessionId" ? 119 : _context2.t0 === "SESSID" ? 119 : _context2.t0 === "session_id" ? 119 : _context2.t0 === "showTab" ? 121 : _context2.t0 === "stall_id" ? 123 : _context2.t0 === "telNum" ? 125 : _context2.t0 === "product_no" ? 125 : _context2.t0 === "ticket" ? 127 : _context2.t0 === "timestamp" ? 129 : _context2.t0 === "userId" ? 131 : _context2.t0 === "loginName" ? 131 : _context2.t0 === "userName" ? 133 : _context2.t0 === "verifySerial" ? 135 : _context2.t0 === "verifyType" ? 137 : 139;
333
+ _context2.next = _context2.t0 === "addrId" ? 47 : _context2.t0 === "appCode" ? 49 : _context2.t0 === "sys" ? 49 : _context2.t0 === "appkey" ? 51 : _context2.t0 === "authenWorkNo" ? 53 : _context2.t0 === "billId" ? 55 : _context2.t0 === "broadBillId" ? 57 : _context2.t0 === "busiFlowId" ? 59 : _context2.t0 === "busiOppoId" ? 61 : _context2.t0 === "campseg_id" ? 63 : _context2.t0 === "campusCode" ? 65 : _context2.t0 === "cityCode" ? 67 : _context2.t0 === "city_id" ? 67 : _context2.t0 === "commBusId" ? 69 : _context2.t0 === "countyCode" ? 71 : _context2.t0 === "countyName" ? 73 : _context2.t0 === "contTel" ? 75 : _context2.t0 === "customerOrderId" ? 77 : _context2.t0 === "funcId" ? 79 : _context2.t0 === "funcType" ? 81 : _context2.t0 === "imei" ? 83 : _context2.t0 === "kindId" ? 85 : _context2.t0 === "latitude" ? 87 : _context2.t0 === "longitude" ? 89 : _context2.t0 === "marketName" ? 91 : _context2.t0 === "mpType" ? 93 : _context2.t0 === "opCheck" ? 95 : _context2.t0 === "opId" ? 97 : _context2.t0 === "oper_id" ? 97 : _context2.t0 === "op_id" ? 97 : _context2.t0 === "SYS_OP_ID" ? 97 : _context2.t0 === "channelId" ? 97 : _context2.t0 === "sysOpId" ? 99 : _context2.t0 === "opVerifySerial" ? 101 : _context2.t0 === "orgId" ? 103 : _context2.t0 === "org_id" ? 103 : _context2.t0 === "storeCode" ? 103 : _context2.t0 === "orgIdName" ? 105 : _context2.t0 === "storeName" ? 105 : _context2.t0 === "powerType" ? 107 : _context2.t0 === "prodId" ? 109 : _context2.t0 === "prodType" ? 111 : _context2.t0 === "school_id" ? 113 : _context2.t0 === "serialNum" ? 115 : _context2.t0 === "sessId" ? 120 : _context2.t0 === "sessionId" ? 120 : _context2.t0 === "SESSID" ? 120 : _context2.t0 === "session_id" ? 120 : _context2.t0 === "showTab" ? 122 : _context2.t0 === "stall_id" ? 124 : _context2.t0 === "telNum" ? 126 : _context2.t0 === "product_no" ? 126 : _context2.t0 === "ticket" ? 128 : _context2.t0 === "timestamp" ? 130 : _context2.t0 === "userId" ? 132 : _context2.t0 === "loginName" ? 132 : _context2.t0 === "userName" ? 134 : _context2.t0 === "verifySerial" ? 136 : _context2.t0 === "verifyType" ? 138 : 140;
333
334
  break;
334
335
 
335
- case 46:
336
+ case 47:
336
337
  url += "&" + value + "=" + (isDef(addrId) ? addrId : "");
337
- return _context2.abrupt("break", 141);
338
+ return _context2.abrupt("break", 142);
338
339
 
339
- case 48:
340
+ case 49:
340
341
  url += "&" + value + "=mcrm";
341
- return _context2.abrupt("break", 141);
342
+ return _context2.abrupt("break", 142);
342
343
 
343
- case 50:
344
+ case 51:
344
345
  url += "&" + value + "=mobilecrm";
345
- return _context2.abrupt("break", 141);
346
+ return _context2.abrupt("break", 142);
346
347
 
347
- case 52:
348
+ case 53:
348
349
  url += "&" + value + "=" + (isDef(authenWorkNo) ? authenWorkNo : "");
349
- return _context2.abrupt("break", 141);
350
+ return _context2.abrupt("break", 142);
350
351
 
351
- case 54:
352
+ case 55:
352
353
  url += "&" + value + "=" + (isDef(billId) ? billId : "");
353
- return _context2.abrupt("break", 141);
354
+ return _context2.abrupt("break", 142);
354
355
 
355
- case 56:
356
+ case 57:
356
357
  url += "&" + value + "=" + (isDef(broadBillId) ? broadBillId : "");
357
- return _context2.abrupt("break", 141);
358
+ return _context2.abrupt("break", 142);
358
359
 
359
- case 58:
360
+ case 59:
360
361
  url += "&" + value + "=" + (isDef(busiFlowId) ? busiFlowId : "17000003");
361
- return _context2.abrupt("break", 141);
362
+ return _context2.abrupt("break", 142);
362
363
 
363
- case 60:
364
+ case 61:
364
365
  url += "&" + value + "=" + (isDef(busiOppoId) ? busiOppoId : "");
365
- return _context2.abrupt("break", 141);
366
+ return _context2.abrupt("break", 142);
366
367
 
367
- case 62:
368
+ case 63:
368
369
  url += "&" + value + "=" + (isDef(campseg_id) ? campseg_id : "");
369
- return _context2.abrupt("break", 141);
370
+ return _context2.abrupt("break", 142);
370
371
 
371
- case 64:
372
+ case 65:
372
373
  url += "&" + value + "=" + (isDef(campusCode) ? campusCode : "");
373
- return _context2.abrupt("break", 141);
374
+ return _context2.abrupt("break", 142);
374
375
 
375
- case 66:
376
+ case 67:
376
377
  url += "&" + value + "=" + (isDef(cityCode) ? cityCode : "");
377
- return _context2.abrupt("break", 141);
378
+ return _context2.abrupt("break", 142);
378
379
 
379
- case 68:
380
+ case 69:
380
381
  url += "&" + value + "=" + (isDef(commBusId) ? commBusId : "") + "&isRecommEnd=false&bType=1";
381
- return _context2.abrupt("break", 141);
382
+ return _context2.abrupt("break", 142);
382
383
 
383
- case 70:
384
+ case 71:
384
385
  url += "&" + value + "=" + (isDef(areaCode) ? areaCode : "");
385
- return _context2.abrupt("break", 141);
386
+ return _context2.abrupt("break", 142);
386
387
 
387
- case 72:
388
+ case 73:
388
389
  url += "&" + value + "=" + (isDef(areaName) ? areaName : "");
389
- return _context2.abrupt("break", 141);
390
+ return _context2.abrupt("break", 142);
390
391
 
391
- case 74:
392
+ case 75:
392
393
  url += "&" + value + "=" + (isDef(contTel) ? contTel : "");
393
- return _context2.abrupt("break", 141);
394
+ return _context2.abrupt("break", 142);
394
395
 
395
- case 76:
396
+ case 77:
396
397
  url += "&" + value + "=" + (isDef(customerOrderId) ? customerOrderId : "");
397
- return _context2.abrupt("break", 141);
398
+ return _context2.abrupt("break", 142);
398
399
 
399
- case 78:
400
+ case 79:
400
401
  url += "&" + value + "=" + (isDef(menuCode) ? menuCode : "");
401
- return _context2.abrupt("break", 141);
402
+ return _context2.abrupt("break", 142);
402
403
 
403
- case 80:
404
+ case 81:
404
405
  url += "&" + value + "=" + (isDef(funcType) ? funcType : "");
405
- return _context2.abrupt("break", 141);
406
+ return _context2.abrupt("break", 142);
406
407
 
407
- case 82:
408
+ case 83:
408
409
  url += "&" + value + "=" + (isDef(imei) ? imei : "");
409
- return _context2.abrupt("break", 141);
410
+ return _context2.abrupt("break", 142);
410
411
 
411
- case 84:
412
+ case 85:
412
413
  url += "&" + value + "=" + (isDef(kindId) ? kindId : "");
413
- return _context2.abrupt("break", 141);
414
+ return _context2.abrupt("break", 142);
414
415
 
415
- case 86:
416
+ case 87:
416
417
  url += "&" + value + "=" + (isDef(latitude) ? latitude : "");
417
- return _context2.abrupt("break", 141);
418
+ return _context2.abrupt("break", 142);
418
419
 
419
- case 88:
420
+ case 89:
420
421
  url += "&" + value + "=" + (isDef(longitude) ? longitude : "");
421
- return _context2.abrupt("break", 141);
422
+ return _context2.abrupt("break", 142);
422
423
 
423
- case 90:
424
+ case 91:
424
425
  url += "&" + value + "=" + (isDef(marketName) ? marketName : "");
425
- return _context2.abrupt("break", 141);
426
+ return _context2.abrupt("break", 142);
426
427
 
427
- case 92:
428
+ case 93:
428
429
  url += "&" + value + "=";
429
- return _context2.abrupt("break", 141);
430
+ return _context2.abrupt("break", 142);
430
431
 
431
- case 94:
432
+ case 95:
432
433
  url += "&" + value + "=" + (isDef(opCheck) ? opCheck : "");
433
- return _context2.abrupt("break", 141);
434
+ return _context2.abrupt("break", 142);
434
435
 
435
- case 96:
436
+ case 97:
436
437
  url += "&" + value + "=" + (isDef(opId) ? opId : "");
437
- return _context2.abrupt("break", 141);
438
+ return _context2.abrupt("break", 142);
438
439
 
439
- case 98:
440
+ case 99:
440
441
  url += "&" + value + "=" + (isDef(sysOpId) ? sysOpId : "");
441
- return _context2.abrupt("break", 141);
442
+ return _context2.abrupt("break", 142);
442
443
 
443
- case 100:
444
+ case 101:
444
445
  url += "&" + value + "=" + (isDef(opVerifySerial) ? opVerifySerial : "");
445
- return _context2.abrupt("break", 141);
446
+ return _context2.abrupt("break", 142);
446
447
 
447
- case 102:
448
+ case 103:
448
449
  url += "&" + value + "=" + (isDef(orgId) ? orgId : "");
449
- return _context2.abrupt("break", 141);
450
+ return _context2.abrupt("break", 142);
450
451
 
451
- case 104:
452
+ case 105:
452
453
  url += "&" + value + "=" + (isDef(orgName) ? orgName : "");
453
- return _context2.abrupt("break", 141);
454
+ return _context2.abrupt("break", 142);
454
455
 
455
- case 106:
456
+ case 107:
456
457
  url += "&" + value + "=" + (isDef(powerType) ? powerType : "");
457
- return _context2.abrupt("break", 141);
458
+ return _context2.abrupt("break", 142);
458
459
 
459
- case 108:
460
+ case 109:
460
461
  url += "&" + value + "=";
461
- return _context2.abrupt("break", 141);
462
+ return _context2.abrupt("break", 142);
462
463
 
463
- case 110:
464
+ case 111:
464
465
  url += "&" + value + "=";
465
- return _context2.abrupt("break", 141);
466
+ return _context2.abrupt("break", 142);
466
467
 
467
- case 112:
468
+ case 113:
468
469
  url += "&" + value + "=" + (isDef(school_id) ? school_id : "");
469
- return _context2.abrupt("break", 141);
470
+ return _context2.abrupt("break", 142);
470
471
 
471
- case 114:
472
- _context2.next = 116;
472
+ case 115:
473
+ _context2.next = 117;
473
474
  return getSerialNumNew(menu, sybInfo);
474
475
 
475
- case 116:
476
+ case 117:
476
477
  serialNum = _context2.sent;
477
478
  url += "&" + value + "=" + (isDef(serialNum) ? serialNum : "");
478
- return _context2.abrupt("break", 141);
479
+ return _context2.abrupt("break", 142);
479
480
 
480
- case 119:
481
+ case 120:
481
482
  url += "&" + value + "=" + (isDef(sessId) ? sessId : "");
482
- return _context2.abrupt("break", 141);
483
+ return _context2.abrupt("break", 142);
483
484
 
484
- case 121:
485
+ case 122:
485
486
  if (isDef(showTab)) {
486
487
  url += "&" + value + "=" + showTab;
487
488
  }
488
489
 
489
- return _context2.abrupt("break", 141);
490
+ return _context2.abrupt("break", 142);
490
491
 
491
- case 123:
492
+ case 124:
492
493
  url += "&" + value + "=" + (isDef(stall_id) ? stall_id : "");
493
- return _context2.abrupt("break", 141);
494
+ return _context2.abrupt("break", 142);
494
495
 
495
- case 125:
496
+ case 126:
496
497
  url += "&" + value + "=" + (isDef(opPhone) ? opPhone : "");
497
- return _context2.abrupt("break", 141);
498
+ return _context2.abrupt("break", 142);
498
499
 
499
- case 127:
500
+ case 128:
500
501
  url += "&" + value + "=" + (isDef(ticket) ? ticket : "");
501
- return _context2.abrupt("break", 141);
502
+ return _context2.abrupt("break", 142);
502
503
 
503
- case 129:
504
+ case 130:
504
505
  url += "&" + value + "=" + new Date().getTime();
505
- return _context2.abrupt("break", 141);
506
+ return _context2.abrupt("break", 142);
506
507
 
507
- case 131:
508
+ case 132:
508
509
  url += "&" + value + "=" + (isDef(loginName) ? loginName : "");
509
- return _context2.abrupt("break", 141);
510
+ return _context2.abrupt("break", 142);
510
511
 
511
- case 133:
512
+ case 134:
512
513
  url += "&" + value + "=" + (isDef(userName) ? userName : "");
513
- return _context2.abrupt("break", 141);
514
+ return _context2.abrupt("break", 142);
514
515
 
515
- case 135:
516
+ case 136:
516
517
  url += "&" + value + "=" + (isDef(verifySerial) ? verifySerial : "");
517
- return _context2.abrupt("break", 141);
518
+ return _context2.abrupt("break", 142);
518
519
 
519
- case 137:
520
+ case 138:
520
521
  url += "&" + value + "=" + (isDef(verifyType) ? verifyType : "");
521
- return _context2.abrupt("break", 141);
522
+ return _context2.abrupt("break", 142);
522
523
 
523
- case 139:
524
+ case 140:
524
525
  console.error("Did not match " + value);
525
- return _context2.abrupt("break", 141);
526
+ return _context2.abrupt("break", 142);
526
527
 
527
- case 141:
528
- _context2.next = 41;
528
+ case 142:
529
+ _context2.next = 42;
529
530
  break;
530
531
 
531
- case 143:
532
+ case 144:
532
533
  _iterator2 = _createForOfIteratorHelperLoose(otherParamsList);
533
534
 
534
- case 144:
535
+ case 145:
535
536
  if ((_step2 = _iterator2()).done) {
536
- _context2.next = 168;
537
+ _context2.next = 169;
537
538
  break;
538
539
  }
539
540
 
540
541
  _value = _step2.value;
541
542
  _context2.t1 = _value;
542
- _context2.next = _context2.t1 === "opId" ? 149 : _context2.t1 === "opName" ? 151 : _context2.t1 === "phone" ? 153 : _context2.t1 === "orgId" ? 155 : _context2.t1 === "orgName" ? 157 : _context2.t1 === "regionId" ? 159 : _context2.t1 === "countyId" ? 161 : _context2.t1 === "sessionId" ? 163 : 165;
543
+ _context2.next = _context2.t1 === "opId" ? 150 : _context2.t1 === "opName" ? 152 : _context2.t1 === "phone" ? 154 : _context2.t1 === "orgId" ? 156 : _context2.t1 === "orgName" ? 158 : _context2.t1 === "regionId" ? 160 : _context2.t1 === "countyId" ? 162 : _context2.t1 === "sessionId" ? 164 : 166;
543
544
  break;
544
545
 
545
- case 149:
546
+ case 150:
546
547
  otherParamsObj[_value] = isDef(opId) ? opId : "";
547
- return _context2.abrupt("break", 166);
548
+ return _context2.abrupt("break", 167);
548
549
 
549
- case 151:
550
+ case 152:
550
551
  otherParamsObj[_value] = isDef(loginName) ? loginName : "";
551
- return _context2.abrupt("break", 166);
552
+ return _context2.abrupt("break", 167);
552
553
 
553
- case 153:
554
+ case 154:
554
555
  otherParamsObj[_value] = isDef(opPhone) ? opPhone : "";
555
- return _context2.abrupt("break", 166);
556
+ return _context2.abrupt("break", 167);
556
557
 
557
- case 155:
558
+ case 156:
558
559
  otherParamsObj[_value] = isDef(orgId) ? orgId : "";
559
- return _context2.abrupt("break", 166);
560
+ return _context2.abrupt("break", 167);
560
561
 
561
- case 157:
562
+ case 158:
562
563
  otherParamsObj[_value] = isDef(orgName) ? orgName : "";
563
- return _context2.abrupt("break", 166);
564
+ return _context2.abrupt("break", 167);
564
565
 
565
- case 159:
566
+ case 160:
566
567
  otherParamsObj[_value] = isDef(cityCode) ? cityCode : "";
567
- return _context2.abrupt("break", 166);
568
+ return _context2.abrupt("break", 167);
568
569
 
569
- case 161:
570
+ case 162:
570
571
  otherParamsObj[_value] = isDef(areaCode) ? areaCode : "";
571
- return _context2.abrupt("break", 166);
572
+ return _context2.abrupt("break", 167);
572
573
 
573
- case 163:
574
+ case 164:
574
575
  otherParamsObj[_value] = isDef(sessId) ? sessId : "";
575
- return _context2.abrupt("break", 166);
576
-
577
- case 165:
578
- return _context2.abrupt("break", 166);
576
+ return _context2.abrupt("break", 167);
579
577
 
580
578
  case 166:
581
- _context2.next = 144;
579
+ return _context2.abrupt("break", 167);
580
+
581
+ case 167:
582
+ _context2.next = 145;
582
583
  break;
583
584
 
584
- case 168:
585
+ case 169:
585
586
  for (key in extraParams) {
586
587
  if (url.indexOf("&" + key) < 0) {
587
588
  url += "&" + key + "=" + extraParams[key];
@@ -600,7 +601,7 @@ var spliceUrl = /*#__PURE__*/function () {
600
601
  jikeParamsObj: jikeParamsObj
601
602
  });
602
603
 
603
- case 172:
604
+ case 173:
604
605
  case "end":
605
606
  return _context2.stop();
606
607
  }
@@ -623,7 +624,7 @@ var spliceUrl = /*#__PURE__*/function () {
623
624
 
624
625
  var spliceParams = /*#__PURE__*/function () {
625
626
  var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(data, sybInfo, extraParams) {
626
- var _data$pageInfo2, pageInfo, sessId, _pageInfo$paramsFixed2, paramsFixed, _pageInfo$params2, params, paramsFixedList, paramsList, paramsObj, _yield$getExpInfo3, uuid, deviceUniqueId, areaCode, loginName, orgName, qryType, loginWay, billId, isBroadbandPhone, verifySerial;
627
+ var _data$pageInfo2, pageInfo, sessId, _pageInfo$paramsFixed2, paramsFixed, _pageInfo$params2, params, paramsFixedList, paramsList, paramsObj, _yield$getExpInfo3, uuid, deviceUniqueId, areaCode, loginName, orgName, qryType, loginWay, billId, isBroadbandPhone, allVerifySerial, verifySerial;
627
628
 
628
629
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
629
630
  while (1) {
@@ -645,7 +646,8 @@ var spliceParams = /*#__PURE__*/function () {
645
646
  loginName = _yield$getExpInfo3.loginName;
646
647
  orgName = _yield$getExpInfo3.orgName;
647
648
  qryType = sybInfo.qryType, loginWay = sybInfo.loginWay, billId = sybInfo.billId, isBroadbandPhone = sybInfo.isBroadbandPhone;
648
- verifySerial = Session.get("verifySerial") || "";
649
+ allVerifySerial = Session.get("allVerifySerial") || {};
650
+ verifySerial = allVerifySerial[billId] || "";
649
651
  paramsFixedList.forEach(function (value) {
650
652
  var arr = value.split("=");
651
653
  paramsObj[arr[0]] = arr[1];
@@ -703,7 +705,7 @@ var spliceParams = /*#__PURE__*/function () {
703
705
  });
704
706
  return _context3.abrupt("return", _extends(paramsObj, extraParams));
705
707
 
706
- case 18:
708
+ case 19:
707
709
  case "end":
708
710
  return _context3.stop();
709
711
  }
@@ -829,13 +831,15 @@ var onAuth = function onAuth(menu, sybInfo) {
829
831
  }
830
832
 
831
833
  if (verifySerial) {
832
- Session.set("verifySerial", verifySerial);
834
+ var allVerifySerial = Session.get("allVerifySerial") || {};
835
+ allVerifySerial[sybInfo.billId] = verifySerial;
836
+ Session.set("allVerifySerial", allVerifySerial);
833
837
  mcrm.util.setCache({
834
- cacheKey: "verifySerial",
838
+ cacheKey: "allVerifySerial",
835
839
  // 必传
836
840
  type: "1",
837
841
  cacheValue: {
838
- text: res.verifySerial
842
+ text: allVerifySerial
839
843
  } // 必传
840
844
 
841
845
  });
@@ -1050,7 +1054,7 @@ var openPage = /*#__PURE__*/function () {
1050
1054
 
1051
1055
  var verify = /*#__PURE__*/function () {
1052
1056
  var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee10(menu, sybInfo) {
1053
- var _menu$menuCode2, menuCode, _sybInfo, _sybInfo$billId, billId, verifyLogId, opVerifyLogId, opSys, funcId, funcType, _yield$getExpInfo5, _yield$getExpInfo5$ap, appVersion, body;
1057
+ var _menu$menuCode2, menuCode, _sybInfo, _sybInfo$billId, billId, allVerifySerial, verifyLogId, opVerifyLogId, opSys, funcId, funcType, _yield$getExpInfo5, _yield$getExpInfo5$ap, appVersion, body;
1054
1058
 
1055
1059
  return _regeneratorRuntime.wrap(function _callee10$(_context10) {
1056
1060
  while (1) {
@@ -1062,15 +1066,16 @@ var verify = /*#__PURE__*/function () {
1062
1066
 
1063
1067
  _menu$menuCode2 = menu.menuCode, menuCode = _menu$menuCode2 === void 0 ? "" : _menu$menuCode2;
1064
1068
  _sybInfo = sybInfo, _sybInfo$billId = _sybInfo.billId, billId = _sybInfo$billId === void 0 ? "" : _sybInfo$billId;
1065
- verifyLogId = Session.get("verifySerial") || "";
1069
+ allVerifySerial = Session.get("allVerifySerial") || {};
1070
+ verifyLogId = allVerifySerial[billId] || "";
1066
1071
  opVerifyLogId = Session.get("opVerifySerial") || "";
1067
1072
  opSys = CommonUtils.isIos() ? "ios" : "android";
1068
1073
  funcId = menuCode;
1069
1074
  funcType = "1";
1070
- _context10.next = 10;
1075
+ _context10.next = 11;
1071
1076
  return getExpInfo();
1072
1077
 
1073
- case 10:
1078
+ case 11:
1074
1079
  _yield$getExpInfo5 = _context10.sent;
1075
1080
  _yield$getExpInfo5$ap = _yield$getExpInfo5.appVersion;
1076
1081
  appVersion = _yield$getExpInfo5$ap === void 0 ? "" : _yield$getExpInfo5$ap;
@@ -1128,12 +1133,12 @@ var verify = /*#__PURE__*/function () {
1128
1133
  isClear = authVerify.isClear, isOpVerify = authVerify.isOpVerify, isVerify = authVerify.isVerify;
1129
1134
 
1130
1135
  if (isClear === "1") {
1131
- Session.remove("verifySerial");
1136
+ Session.remove("allVerifySerial");
1132
1137
  mcrm.util.setCache({
1133
- cacheKey: "verifySerial",
1138
+ cacheKey: "allVerifySerial",
1134
1139
  type: "1",
1135
1140
  cacheValue: {
1136
- text: ""
1141
+ text: {}
1137
1142
  }
1138
1143
  });
1139
1144
  }
@@ -1213,7 +1218,7 @@ var verify = /*#__PURE__*/function () {
1213
1218
  });
1214
1219
  }));
1215
1220
 
1216
- case 15:
1221
+ case 16:
1217
1222
  case "end":
1218
1223
  return _context10.stop();
1219
1224
  }