cms-chenhj-ui 2.0.4 → 2.0.5
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/cms-chenhj-ui.common.js +367 -364
- package/cms-chenhj-ui.common.js.map +1 -1
- package/cms-chenhj-ui.css +1 -1
- package/cms-chenhj-ui.umd.js +452 -449
- package/cms-chenhj-ui.umd.js.map +1 -1
- package/cms-chenhj-ui.umd.min.js +2 -2
- package/cms-chenhj-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
package/cms-chenhj-ui.umd.js
CHANGED
|
@@ -21329,166 +21329,6 @@ var userAgent = navigator && navigator.userAgent;
|
|
|
21329
21329
|
module.exports = userAgent ? String(userAgent) : '';
|
|
21330
21330
|
|
|
21331
21331
|
|
|
21332
|
-
/***/ }),
|
|
21333
|
-
|
|
21334
|
-
/***/ 2928:
|
|
21335
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
21336
|
-
|
|
21337
|
-
"use strict";
|
|
21338
|
-
// ESM COMPAT FLAG
|
|
21339
|
-
__webpack_require__.r(__webpack_exports__);
|
|
21340
|
-
|
|
21341
|
-
// EXPORTS
|
|
21342
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
21343
|
-
"default": function() { return /* binding */ View; }
|
|
21344
|
-
});
|
|
21345
|
-
|
|
21346
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-via-storedValueCard/View.vue?vue&type=template&id=183f20d8&scoped=true
|
|
21347
|
-
var render = function render() {
|
|
21348
|
-
var _vm = this,
|
|
21349
|
-
_c = _vm._self._c;
|
|
21350
|
-
return _c('BaseComp', _vm._b({
|
|
21351
|
-
attrs: {
|
|
21352
|
-
"data": _vm.data,
|
|
21353
|
-
"nowCompId": _vm.nowCompId,
|
|
21354
|
-
"isOpcacity": _vm.isOpcacity,
|
|
21355
|
-
"lang": _vm.lang
|
|
21356
|
-
},
|
|
21357
|
-
on: {
|
|
21358
|
-
"getConfigData": _vm.getConfigData
|
|
21359
|
-
}
|
|
21360
|
-
}, 'BaseComp', _vm.$attrs, false), [!_vm.showWujie ? _c('div', [_vm._v("配置后才会展示内容")]) : _vm._e(), _vm.showWujie && _vm.wujieCompUrl ? _c('WujieVue', {
|
|
21361
|
-
key: _vm.data.componentId,
|
|
21362
|
-
attrs: {
|
|
21363
|
-
"name": `cmsacive${_vm.data.componentId}`,
|
|
21364
|
-
"url": _vm.wujieCompUrl,
|
|
21365
|
-
"props": {
|
|
21366
|
-
data: _vm.propsdata5
|
|
21367
|
-
}
|
|
21368
|
-
}
|
|
21369
|
-
}) : _vm._e()], 1);
|
|
21370
|
-
};
|
|
21371
|
-
var staticRenderFns = [];
|
|
21372
|
-
|
|
21373
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
21374
|
-
var baseComp = __webpack_require__(2950);
|
|
21375
|
-
// EXTERNAL MODULE: ./package/patch.js + 1 modules
|
|
21376
|
-
var patch = __webpack_require__(7890);
|
|
21377
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
|
|
21378
|
-
|
|
21379
|
-
|
|
21380
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
21381
|
-
name: "cms-via-storedValueCard",
|
|
21382
|
-
components: {
|
|
21383
|
-
BaseComp: baseComp/* default */.A
|
|
21384
|
-
},
|
|
21385
|
-
props: {
|
|
21386
|
-
data: {
|
|
21387
|
-
type: Object,
|
|
21388
|
-
default: () => {
|
|
21389
|
-
return {};
|
|
21390
|
-
}
|
|
21391
|
-
},
|
|
21392
|
-
nowCompId: {
|
|
21393
|
-
type: [String, Number],
|
|
21394
|
-
default: ""
|
|
21395
|
-
},
|
|
21396
|
-
isOpcacity: {
|
|
21397
|
-
type: Boolean,
|
|
21398
|
-
default: true
|
|
21399
|
-
},
|
|
21400
|
-
lang: {
|
|
21401
|
-
type: String,
|
|
21402
|
-
default: ""
|
|
21403
|
-
}
|
|
21404
|
-
},
|
|
21405
|
-
data() {
|
|
21406
|
-
return {
|
|
21407
|
-
wujieCompUrl: "",
|
|
21408
|
-
propsdata5: {},
|
|
21409
|
-
showWujie: false,
|
|
21410
|
-
compBaseUrl: this.$route.query.envId == 4 ? "https://omniapi.hk.chinamobile.com" : "https://omniapi-uat.hk.chinamobile.com",
|
|
21411
|
-
componentUrl: "",
|
|
21412
|
-
componentId: "",
|
|
21413
|
-
viaCompInstId: ""
|
|
21414
|
-
};
|
|
21415
|
-
},
|
|
21416
|
-
async mounted() {
|
|
21417
|
-
if (!this.$EventBus) {
|
|
21418
|
-
if (window.location.origin.includes("-uat")) {
|
|
21419
|
-
this.compBaseUrl = "https://omniapi-uat.hk.chinamobile.com";
|
|
21420
|
-
} else {
|
|
21421
|
-
this.compBaseUrl = "https://omniapi.hk.chinamobile.com";
|
|
21422
|
-
}
|
|
21423
|
-
}
|
|
21424
|
-
this.getUrl(this.lang);
|
|
21425
|
-
},
|
|
21426
|
-
created() {},
|
|
21427
|
-
methods: {
|
|
21428
|
-
getConfigData() {
|
|
21429
|
-
const wujieConfig = this.data.wujieConfig;
|
|
21430
|
-
this.componentUrl = wujieConfig.componentUrl;
|
|
21431
|
-
this.componentId = wujieConfig.componentId;
|
|
21432
|
-
this.viaCompInstId = wujieConfig.viaCompInstId;
|
|
21433
|
-
this.getUrl(this.lang);
|
|
21434
|
-
if (this.componentId) {
|
|
21435
|
-
setTimeout(() => {
|
|
21436
|
-
this.showWujie = true;
|
|
21437
|
-
});
|
|
21438
|
-
}
|
|
21439
|
-
},
|
|
21440
|
-
wujieFetchMx(url, options) {
|
|
21441
|
-
return window.fetch(url, {
|
|
21442
|
-
...options,
|
|
21443
|
-
credentials: "include"
|
|
21444
|
-
});
|
|
21445
|
-
},
|
|
21446
|
-
getUrl(lang) {
|
|
21447
|
-
const langMap = {
|
|
21448
|
-
"zh-CN": "sc",
|
|
21449
|
-
"zh-HK": "tc",
|
|
21450
|
-
"en-US": "en"
|
|
21451
|
-
};
|
|
21452
|
-
const langTag = this.$EventBus ? "tc" : langMap[lang];
|
|
21453
|
-
const curCompUrl = this.componentUrl.replace("langTag", langTag);
|
|
21454
|
-
this.wujieCompUrl = `${this.compBaseUrl}${curCompUrl}`;
|
|
21455
|
-
console.log("wujieCompUrl", this.wujieCompUrl);
|
|
21456
|
-
this.propsdata5 = {
|
|
21457
|
-
orgId: sessionStorage.getItem("orgId") || "",
|
|
21458
|
-
staffId: sessionStorage.getItem("staffId") || "",
|
|
21459
|
-
cmhkChannel: (0,patch/* getCmhkChannelMx */.u)(),
|
|
21460
|
-
cmhkToken: sessionStorage.getItem("cmhkToken") || "",
|
|
21461
|
-
componentId: this.componentId,
|
|
21462
|
-
viaCompInstId: this.viaCompInstId
|
|
21463
|
-
};
|
|
21464
|
-
}
|
|
21465
|
-
}
|
|
21466
|
-
});
|
|
21467
|
-
;// ./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
|
|
21468
|
-
/* harmony default export */ var cms_via_storedValueCard_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
21469
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
21470
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
21471
|
-
;// ./package/cms-via-storedValueCard/View.vue
|
|
21472
|
-
|
|
21473
|
-
|
|
21474
|
-
|
|
21475
|
-
|
|
21476
|
-
|
|
21477
|
-
/* normalize component */
|
|
21478
|
-
;
|
|
21479
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
21480
|
-
cms_via_storedValueCard_Viewvue_type_script_lang_js,
|
|
21481
|
-
render,
|
|
21482
|
-
staticRenderFns,
|
|
21483
|
-
false,
|
|
21484
|
-
null,
|
|
21485
|
-
"183f20d8",
|
|
21486
|
-
null
|
|
21487
|
-
|
|
21488
|
-
)
|
|
21489
|
-
|
|
21490
|
-
/* harmony default export */ var View = (component.exports);
|
|
21491
|
-
|
|
21492
21332
|
/***/ }),
|
|
21493
21333
|
|
|
21494
21334
|
/***/ 2946:
|
|
@@ -30674,80 +30514,240 @@ function decodeJumpUrl(jumpUrl, $router) {
|
|
|
30674
30514
|
|
|
30675
30515
|
/***/ }),
|
|
30676
30516
|
|
|
30677
|
-
/***/
|
|
30678
|
-
/***/ (function(__unused_webpack_module,
|
|
30517
|
+
/***/ 4109:
|
|
30518
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
30679
30519
|
|
|
30680
30520
|
"use strict";
|
|
30521
|
+
// ESM COMPAT FLAG
|
|
30522
|
+
__webpack_require__.r(__webpack_exports__);
|
|
30681
30523
|
|
|
30682
|
-
|
|
30683
|
-
|
|
30684
|
-
|
|
30685
|
-
var setArrayLength = __webpack_require__(4527);
|
|
30686
|
-
var doesNotExceedSafeInteger = __webpack_require__(6837);
|
|
30687
|
-
var fails = __webpack_require__(9039);
|
|
30688
|
-
|
|
30689
|
-
var INCORRECT_TO_LENGTH = fails(function () {
|
|
30690
|
-
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
30524
|
+
// EXPORTS
|
|
30525
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
30526
|
+
"default": function() { return /* binding */ View; }
|
|
30691
30527
|
});
|
|
30692
30528
|
|
|
30693
|
-
|
|
30694
|
-
|
|
30695
|
-
var
|
|
30696
|
-
|
|
30697
|
-
|
|
30698
|
-
|
|
30699
|
-
|
|
30700
|
-
|
|
30701
|
-
|
|
30702
|
-
|
|
30703
|
-
|
|
30704
|
-
|
|
30705
|
-
|
|
30706
|
-
// `Array.prototype.push` method
|
|
30707
|
-
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
30708
|
-
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
30709
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
30710
|
-
push: function push(item) {
|
|
30711
|
-
var O = toObject(this);
|
|
30712
|
-
var len = lengthOfArrayLike(O);
|
|
30713
|
-
var argCount = arguments.length;
|
|
30714
|
-
doesNotExceedSafeInteger(len + argCount);
|
|
30715
|
-
for (var i = 0; i < argCount; i++) {
|
|
30716
|
-
O[len] = arguments[i];
|
|
30717
|
-
len++;
|
|
30529
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-via-storedValueCard/View.vue?vue&type=template&id=6f691fe1&scoped=true
|
|
30530
|
+
var render = function render() {
|
|
30531
|
+
var _vm = this,
|
|
30532
|
+
_c = _vm._self._c;
|
|
30533
|
+
return _c('BaseComp', _vm._b({
|
|
30534
|
+
attrs: {
|
|
30535
|
+
"data": _vm.data,
|
|
30536
|
+
"nowCompId": _vm.nowCompId,
|
|
30537
|
+
"isOpcacity": _vm.isOpcacity,
|
|
30538
|
+
"lang": _vm.lang
|
|
30539
|
+
},
|
|
30540
|
+
on: {
|
|
30541
|
+
"getConfigData": _vm.getConfigData
|
|
30718
30542
|
}
|
|
30719
|
-
|
|
30720
|
-
|
|
30721
|
-
|
|
30722
|
-
}
|
|
30723
|
-
|
|
30724
|
-
|
|
30725
|
-
|
|
30726
|
-
|
|
30727
|
-
|
|
30728
|
-
|
|
30729
|
-
|
|
30730
|
-
"use strict";
|
|
30731
|
-
|
|
30732
|
-
// we can't use just `it == null` since of `document.all` special case
|
|
30733
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
30734
|
-
module.exports = function (it) {
|
|
30735
|
-
return it === null || it === undefined;
|
|
30543
|
+
}, 'BaseComp', _vm.$attrs, false), [!_vm.showWujie ? _c('div', [_vm._v("配置后才会展示内容")]) : _vm._e(), _vm.showWujie && _vm.wujieCompUrl ? _c('WujieVue', {
|
|
30544
|
+
key: _vm.data.componentId,
|
|
30545
|
+
attrs: {
|
|
30546
|
+
"name": `cmsacive${_vm.data.componentId}`,
|
|
30547
|
+
"url": _vm.wujieCompUrl,
|
|
30548
|
+
"props": {
|
|
30549
|
+
data: _vm.propsdata5
|
|
30550
|
+
}
|
|
30551
|
+
}
|
|
30552
|
+
}) : _vm._e()], 1);
|
|
30736
30553
|
};
|
|
30554
|
+
var staticRenderFns = [];
|
|
30555
|
+
|
|
30556
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
30557
|
+
var baseComp = __webpack_require__(2950);
|
|
30558
|
+
// EXTERNAL MODULE: ./package/patch.js + 1 modules
|
|
30559
|
+
var patch = __webpack_require__(7890);
|
|
30560
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
|
|
30561
|
+
|
|
30562
|
+
|
|
30563
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
30564
|
+
name: "cms-via-storedValueCard",
|
|
30565
|
+
components: {
|
|
30566
|
+
BaseComp: baseComp/* default */.A
|
|
30567
|
+
},
|
|
30568
|
+
props: {
|
|
30569
|
+
data: {
|
|
30570
|
+
type: Object,
|
|
30571
|
+
default: () => {
|
|
30572
|
+
return {};
|
|
30573
|
+
}
|
|
30574
|
+
},
|
|
30575
|
+
nowCompId: {
|
|
30576
|
+
type: [String, Number],
|
|
30577
|
+
default: ""
|
|
30578
|
+
},
|
|
30579
|
+
isOpcacity: {
|
|
30580
|
+
type: Boolean,
|
|
30581
|
+
default: true
|
|
30582
|
+
},
|
|
30583
|
+
lang: {
|
|
30584
|
+
type: String,
|
|
30585
|
+
default: ""
|
|
30586
|
+
}
|
|
30587
|
+
},
|
|
30588
|
+
data() {
|
|
30589
|
+
return {
|
|
30590
|
+
wujieCompUrl: "",
|
|
30591
|
+
propsdata5: {},
|
|
30592
|
+
showWujie: false,
|
|
30593
|
+
compBaseUrl: this.$route.query.envId == 4 ? "https://omniapi.hk.chinamobile.com" : "https://omniapi-uat.hk.chinamobile.com",
|
|
30594
|
+
componentUrl: "",
|
|
30595
|
+
componentId: "",
|
|
30596
|
+
viaCompInstId: ""
|
|
30597
|
+
};
|
|
30598
|
+
},
|
|
30599
|
+
async mounted() {
|
|
30600
|
+
if (!this.$EventBus) {
|
|
30601
|
+
if (["https://omniapi.hk.chinamobile.com", "https://www.hk.chinamobile.com"].includes(window.location.origin)) {
|
|
30602
|
+
this.compBaseUrl = "https://omniapi.hk.chinamobile.com";
|
|
30603
|
+
} else {
|
|
30604
|
+
this.compBaseUrl = "https://omniapi-uat.hk.chinamobile.com";
|
|
30605
|
+
}
|
|
30606
|
+
}
|
|
30607
|
+
this.getUrl(this.lang);
|
|
30608
|
+
},
|
|
30609
|
+
created() {},
|
|
30610
|
+
methods: {
|
|
30611
|
+
getConfigData() {
|
|
30612
|
+
const wujieConfig = this.data.wujieConfig;
|
|
30613
|
+
this.componentUrl = wujieConfig.componentUrl;
|
|
30614
|
+
this.componentId = wujieConfig.componentId;
|
|
30615
|
+
this.viaCompInstId = wujieConfig.viaCompInstId;
|
|
30616
|
+
this.getUrl(this.lang);
|
|
30617
|
+
if (this.componentId) {
|
|
30618
|
+
setTimeout(() => {
|
|
30619
|
+
this.showWujie = true;
|
|
30620
|
+
});
|
|
30621
|
+
}
|
|
30622
|
+
},
|
|
30623
|
+
wujieFetchMx(url, options) {
|
|
30624
|
+
return window.fetch(url, {
|
|
30625
|
+
...options,
|
|
30626
|
+
credentials: "include"
|
|
30627
|
+
});
|
|
30628
|
+
},
|
|
30629
|
+
getUrl(lang) {
|
|
30630
|
+
const langMap = {
|
|
30631
|
+
"zh-CN": "sc",
|
|
30632
|
+
"zh-HK": "tc",
|
|
30633
|
+
"en-US": "en"
|
|
30634
|
+
};
|
|
30635
|
+
const langTag = this.$EventBus ? "tc" : langMap[lang];
|
|
30636
|
+
const curCompUrl = this.componentUrl.replace("langTag", langTag);
|
|
30637
|
+
this.wujieCompUrl = `${this.compBaseUrl}${curCompUrl}`;
|
|
30638
|
+
console.log("wujieCompUrl", this.wujieCompUrl);
|
|
30639
|
+
this.propsdata5 = {
|
|
30640
|
+
orgId: sessionStorage.getItem("orgId") || "",
|
|
30641
|
+
staffId: sessionStorage.getItem("staffId") || "",
|
|
30642
|
+
cmhkChannel: (0,patch/* getCmhkChannelMx */.u)(),
|
|
30643
|
+
cmhkToken: sessionStorage.getItem("cmhkToken") || "",
|
|
30644
|
+
componentId: this.componentId,
|
|
30645
|
+
viaCompInstId: this.viaCompInstId
|
|
30646
|
+
};
|
|
30647
|
+
}
|
|
30648
|
+
}
|
|
30649
|
+
});
|
|
30650
|
+
;// ./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
|
|
30651
|
+
/* harmony default export */ var cms_via_storedValueCard_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
30652
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
30653
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
30654
|
+
;// ./package/cms-via-storedValueCard/View.vue
|
|
30655
|
+
|
|
30656
|
+
|
|
30657
|
+
|
|
30658
|
+
|
|
30659
|
+
|
|
30660
|
+
/* normalize component */
|
|
30661
|
+
;
|
|
30662
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
30663
|
+
cms_via_storedValueCard_Viewvue_type_script_lang_js,
|
|
30664
|
+
render,
|
|
30665
|
+
staticRenderFns,
|
|
30666
|
+
false,
|
|
30667
|
+
null,
|
|
30668
|
+
"6f691fe1",
|
|
30669
|
+
null
|
|
30670
|
+
|
|
30671
|
+
)
|
|
30672
|
+
|
|
30673
|
+
/* harmony default export */ var View = (component.exports);
|
|
30674
|
+
|
|
30675
|
+
/***/ }),
|
|
30676
|
+
|
|
30677
|
+
/***/ 4114:
|
|
30678
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
30679
|
+
|
|
30680
|
+
"use strict";
|
|
30681
|
+
|
|
30682
|
+
var $ = __webpack_require__(6518);
|
|
30683
|
+
var toObject = __webpack_require__(8981);
|
|
30684
|
+
var lengthOfArrayLike = __webpack_require__(6198);
|
|
30685
|
+
var setArrayLength = __webpack_require__(4527);
|
|
30686
|
+
var doesNotExceedSafeInteger = __webpack_require__(6837);
|
|
30687
|
+
var fails = __webpack_require__(9039);
|
|
30688
|
+
|
|
30689
|
+
var INCORRECT_TO_LENGTH = fails(function () {
|
|
30690
|
+
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
30691
|
+
});
|
|
30692
|
+
|
|
30693
|
+
// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
|
|
30694
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
30695
|
+
var properErrorOnNonWritableLength = function () {
|
|
30696
|
+
try {
|
|
30697
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
30698
|
+
Object.defineProperty([], 'length', { writable: false }).push();
|
|
30699
|
+
} catch (error) {
|
|
30700
|
+
return error instanceof TypeError;
|
|
30701
|
+
}
|
|
30702
|
+
};
|
|
30703
|
+
|
|
30704
|
+
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
30705
|
+
|
|
30706
|
+
// `Array.prototype.push` method
|
|
30707
|
+
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
30708
|
+
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
30709
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
30710
|
+
push: function push(item) {
|
|
30711
|
+
var O = toObject(this);
|
|
30712
|
+
var len = lengthOfArrayLike(O);
|
|
30713
|
+
var argCount = arguments.length;
|
|
30714
|
+
doesNotExceedSafeInteger(len + argCount);
|
|
30715
|
+
for (var i = 0; i < argCount; i++) {
|
|
30716
|
+
O[len] = arguments[i];
|
|
30717
|
+
len++;
|
|
30718
|
+
}
|
|
30719
|
+
setArrayLength(O, len);
|
|
30720
|
+
return len;
|
|
30721
|
+
}
|
|
30722
|
+
});
|
|
30723
|
+
|
|
30724
|
+
|
|
30725
|
+
/***/ }),
|
|
30726
|
+
|
|
30727
|
+
/***/ 4117:
|
|
30728
|
+
/***/ (function(module) {
|
|
30729
|
+
|
|
30730
|
+
"use strict";
|
|
30731
|
+
|
|
30732
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
30733
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
30734
|
+
module.exports = function (it) {
|
|
30735
|
+
return it === null || it === undefined;
|
|
30736
|
+
};
|
|
30737
|
+
|
|
30738
|
+
|
|
30739
|
+
/***/ }),
|
|
30740
|
+
|
|
30741
|
+
/***/ 4188:
|
|
30742
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
30743
|
+
|
|
30744
|
+
"use strict";
|
|
30745
|
+
__webpack_require__.r(__webpack_exports__);
|
|
30746
|
+
/* harmony import */ var core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8111);
|
|
30747
|
+
/* harmony import */ var core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
30748
|
+
/* harmony import */ var core_js_modules_es_iterator_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8237);
|
|
30749
|
+
/* harmony import */ var core_js_modules_es_iterator_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_iterator_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
30737
30750
|
|
|
30738
|
-
|
|
30739
|
-
/***/ }),
|
|
30740
|
-
|
|
30741
|
-
/***/ 4188:
|
|
30742
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
30743
|
-
|
|
30744
|
-
"use strict";
|
|
30745
|
-
__webpack_require__.r(__webpack_exports__);
|
|
30746
|
-
/* harmony import */ var core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8111);
|
|
30747
|
-
/* harmony import */ var core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
30748
|
-
/* harmony import */ var core_js_modules_es_iterator_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8237);
|
|
30749
|
-
/* harmony import */ var core_js_modules_es_iterator_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_iterator_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
30750
|
-
|
|
30751
30751
|
|
|
30752
30752
|
|
|
30753
30753
|
|
|
@@ -33106,13 +33106,13 @@ var map = {
|
|
|
33106
33106
|
"./cms-productDetails/View.vue": 7793,
|
|
33107
33107
|
"./cms-question/View.vue": 6287,
|
|
33108
33108
|
"./cms-richText/View.vue": 5713,
|
|
33109
|
-
"./cms-servePlan-tab/View.vue":
|
|
33109
|
+
"./cms-servePlan-tab/View.vue": 7639,
|
|
33110
33110
|
"./cms-servePlan-text/View.vue": 4726,
|
|
33111
33111
|
"./cms-termsAndConditions/View.vue": 7060,
|
|
33112
33112
|
"./cms-threeScroll/View.vue": 8687,
|
|
33113
33113
|
"./cms-titleCenter/View.vue": 4003,
|
|
33114
33114
|
"./cms-titleLeft/View.vue": 4598,
|
|
33115
|
-
"./cms-via-storedValueCard/View.vue":
|
|
33115
|
+
"./cms-via-storedValueCard/View.vue": 4109,
|
|
33116
33116
|
"./cms-view/View.vue": 3774
|
|
33117
33117
|
};
|
|
33118
33118
|
|
|
@@ -37142,35 +37142,238 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
37142
37142
|
|
|
37143
37143
|
/***/ }),
|
|
37144
37144
|
|
|
37145
|
-
/***/
|
|
37146
|
-
/***/ (function(__unused_webpack_module,
|
|
37145
|
+
/***/ 7639:
|
|
37146
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
37147
37147
|
|
|
37148
37148
|
"use strict";
|
|
37149
|
+
// ESM COMPAT FLAG
|
|
37150
|
+
__webpack_require__.r(__webpack_exports__);
|
|
37149
37151
|
|
|
37150
|
-
|
|
37151
|
-
|
|
37152
|
-
|
|
37153
|
-
|
|
37154
|
-
var INCORRECT = !setMethodAcceptSetLike('difference', function (result) {
|
|
37155
|
-
return result.size === 0;
|
|
37152
|
+
// EXPORTS
|
|
37153
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
37154
|
+
"default": function() { return /* binding */ View; }
|
|
37156
37155
|
});
|
|
37157
37156
|
|
|
37158
|
-
|
|
37159
|
-
|
|
37160
|
-
|
|
37161
|
-
|
|
37162
|
-
|
|
37157
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-servePlan-tab/View.vue?vue&type=template&id=43da1b27&scoped=true
|
|
37158
|
+
var render = function render() {
|
|
37159
|
+
var _vm = this,
|
|
37160
|
+
_c = _vm._self._c;
|
|
37161
|
+
return _c('BaseComp', _vm._b({
|
|
37162
|
+
attrs: {
|
|
37163
|
+
"data": _vm.data,
|
|
37164
|
+
"nowCompId": _vm.nowCompId,
|
|
37165
|
+
"isOpcacity": _vm.isOpcacity,
|
|
37166
|
+
"lang": _vm.lang
|
|
37167
|
+
},
|
|
37168
|
+
on: {
|
|
37169
|
+
"getConfigData": _vm.getConfigData
|
|
37170
|
+
}
|
|
37171
|
+
}, 'BaseComp', _vm.$attrs, false), [!_vm.showWujie ? _c('iframe', {
|
|
37172
|
+
ref: "iframeRef",
|
|
37173
|
+
staticClass: "iframBox",
|
|
37174
|
+
attrs: {
|
|
37175
|
+
"src": _vm.servePlanSrcIframe,
|
|
37176
|
+
"scrolling": "no",
|
|
37177
|
+
"frameborder": "0"
|
|
37178
|
+
}
|
|
37179
|
+
}) : _vm._e(), _vm.showWujie && _vm.servePlanSrc ? _c('WujieVue', {
|
|
37180
|
+
key: _vm.servePlanSrc,
|
|
37181
|
+
attrs: {
|
|
37182
|
+
"fetch": _vm.wujieFetchMx,
|
|
37183
|
+
"name": `cmsacive${_vm.data.componentId}`,
|
|
37184
|
+
"url": _vm.servePlanSrc,
|
|
37185
|
+
"props": {
|
|
37186
|
+
data: _vm.propsdata5
|
|
37187
|
+
}
|
|
37188
|
+
}
|
|
37189
|
+
}) : _vm._e()], 1);
|
|
37190
|
+
};
|
|
37191
|
+
var staticRenderFns = [];
|
|
37163
37192
|
|
|
37193
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
37194
|
+
var es_iterator_constructor = __webpack_require__(8111);
|
|
37195
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.reduce.js
|
|
37196
|
+
var es_iterator_reduce = __webpack_require__(8237);
|
|
37197
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
37198
|
+
var baseComp = __webpack_require__(2950);
|
|
37199
|
+
// EXTERNAL MODULE: ./package/patch.js + 1 modules
|
|
37200
|
+
var patch = __webpack_require__(7890);
|
|
37201
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-servePlan-tab/View.vue?vue&type=script&lang=js
|
|
37164
37202
|
|
|
37165
|
-
/***/ }),
|
|
37166
37203
|
|
|
37167
|
-
/***/ 7657:
|
|
37168
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
37169
37204
|
|
|
37170
|
-
"use strict";
|
|
37171
37205
|
|
|
37172
|
-
|
|
37173
|
-
|
|
37206
|
+
|
|
37207
|
+
|
|
37208
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
37209
|
+
name: "cms-servePlan-tab",
|
|
37210
|
+
components: {
|
|
37211
|
+
BaseComp: baseComp/* default */.A
|
|
37212
|
+
},
|
|
37213
|
+
props: {
|
|
37214
|
+
data: {
|
|
37215
|
+
type: Object,
|
|
37216
|
+
default: () => {
|
|
37217
|
+
return {};
|
|
37218
|
+
}
|
|
37219
|
+
},
|
|
37220
|
+
nowCompId: {
|
|
37221
|
+
type: [String, Number],
|
|
37222
|
+
default: ""
|
|
37223
|
+
},
|
|
37224
|
+
isOpcacity: {
|
|
37225
|
+
type: Boolean,
|
|
37226
|
+
default: true
|
|
37227
|
+
},
|
|
37228
|
+
lang: {
|
|
37229
|
+
type: String,
|
|
37230
|
+
default: ""
|
|
37231
|
+
}
|
|
37232
|
+
},
|
|
37233
|
+
data() {
|
|
37234
|
+
return {
|
|
37235
|
+
servePlanSrc: "",
|
|
37236
|
+
routeLang: "tc",
|
|
37237
|
+
configData: {},
|
|
37238
|
+
parentShopCategoryId: "",
|
|
37239
|
+
propsdata5: {},
|
|
37240
|
+
showWujie: false,
|
|
37241
|
+
servePlanSrcIframe: "",
|
|
37242
|
+
compBaseUrl: this.$route.query.envId == 4 ? "https://omniapi.hk.chinamobile.com" : "https://omniapi-uat.hk.chinamobile.com"
|
|
37243
|
+
};
|
|
37244
|
+
},
|
|
37245
|
+
mounted() {
|
|
37246
|
+
if (this.$EventBus && this.isOpcacity) {
|
|
37247
|
+
window.addEventListener("message", this.handleMessage, false);
|
|
37248
|
+
} else {
|
|
37249
|
+
if (!this.$EventBus) {
|
|
37250
|
+
if (["https://omniapi.hk.chinamobile.com", "https://www.hk.chinamobile.com"].includes(window.location.origin)) {
|
|
37251
|
+
this.compBaseUrl = "https://omniapi.hk.chinamobile.com";
|
|
37252
|
+
} else {
|
|
37253
|
+
this.compBaseUrl = "https://omniapi-uat.hk.chinamobile.com";
|
|
37254
|
+
}
|
|
37255
|
+
}
|
|
37256
|
+
this.showWujie = true;
|
|
37257
|
+
const vm = this;
|
|
37258
|
+
const _window = window;
|
|
37259
|
+
const jumpOriginUrl = this.$EventBus ? this.compBaseUrl : window.location.origin;
|
|
37260
|
+
this.$wujieBus.$on("jumpToServicePlanDetail", val => {
|
|
37261
|
+
let url = `${jumpOriginUrl}/${vm.routeLang}/home/plan/detail?commodityId=${val.commodityId}&isBr=${val.isBr}&cmhkChannel=${(0,patch/* getCmhkChannelMx */.u)()}`;
|
|
37262
|
+
_window.location.href = url;
|
|
37263
|
+
});
|
|
37264
|
+
}
|
|
37265
|
+
this.getUrl(this.lang);
|
|
37266
|
+
},
|
|
37267
|
+
watch: {},
|
|
37268
|
+
methods: {
|
|
37269
|
+
getConfigData(configData) {
|
|
37270
|
+
this.configData = configData;
|
|
37271
|
+
this.parentShopCategoryId = configData.argument1;
|
|
37272
|
+
this.getUrl(this.lang);
|
|
37273
|
+
},
|
|
37274
|
+
wujieFetchMx(url, options) {
|
|
37275
|
+
return window.fetch(url, {
|
|
37276
|
+
...options,
|
|
37277
|
+
credentials: "include"
|
|
37278
|
+
});
|
|
37279
|
+
},
|
|
37280
|
+
getUrl(lang) {
|
|
37281
|
+
const langMap = {
|
|
37282
|
+
"zh-CN": "sc",
|
|
37283
|
+
"zh-HK": "tc",
|
|
37284
|
+
"en-US": "en"
|
|
37285
|
+
};
|
|
37286
|
+
this.routeLang = langMap[lang];
|
|
37287
|
+
this.servePlanSrc = `${this.compBaseUrl}/${this.routeLang}/home/plan`;
|
|
37288
|
+
const busiData = {
|
|
37289
|
+
parentShopCategoryId: this.parentShopCategoryId,
|
|
37290
|
+
onlyShowList: true
|
|
37291
|
+
};
|
|
37292
|
+
if (this.$EventBus) {
|
|
37293
|
+
const queryStr = Object.keys(busiData).reduce((pre, cur) => {
|
|
37294
|
+
if (busiData[cur]) return `${pre}&${cur}=${busiData[cur]}`;
|
|
37295
|
+
return pre;
|
|
37296
|
+
}, "");
|
|
37297
|
+
this.servePlanSrcIframe = `${this.servePlanSrc}?cmhkChannel=WWW${queryStr}`;
|
|
37298
|
+
}
|
|
37299
|
+
this.propsdata5 = {
|
|
37300
|
+
orgId: sessionStorage.getItem("orgId") || "",
|
|
37301
|
+
staffId: sessionStorage.getItem("staffId") || "",
|
|
37302
|
+
cmhkChannel: (0,patch/* getCmhkChannelMx */.u)(),
|
|
37303
|
+
cmhkToken: sessionStorage.getItem("cmhkToken") || "",
|
|
37304
|
+
busiData: busiData
|
|
37305
|
+
};
|
|
37306
|
+
},
|
|
37307
|
+
handleMessage(e) {
|
|
37308
|
+
console.log(e.data, "789");
|
|
37309
|
+
const iframe = this.$refs.iframeRef;
|
|
37310
|
+
if (!iframe) return;
|
|
37311
|
+
iframe.style && (iframe.style.height = e.data + "px");
|
|
37312
|
+
}
|
|
37313
|
+
}
|
|
37314
|
+
});
|
|
37315
|
+
;// ./package/cms-servePlan-tab/View.vue?vue&type=script&lang=js
|
|
37316
|
+
/* harmony default export */ var cms_servePlan_tab_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
37317
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-42.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-servePlan-tab/View.vue?vue&type=style&index=0&id=43da1b27&prod&lang=scss&scoped=true
|
|
37318
|
+
// extracted by mini-css-extract-plugin
|
|
37319
|
+
|
|
37320
|
+
;// ./package/cms-servePlan-tab/View.vue?vue&type=style&index=0&id=43da1b27&prod&lang=scss&scoped=true
|
|
37321
|
+
|
|
37322
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
37323
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
37324
|
+
;// ./package/cms-servePlan-tab/View.vue
|
|
37325
|
+
|
|
37326
|
+
|
|
37327
|
+
|
|
37328
|
+
;
|
|
37329
|
+
|
|
37330
|
+
|
|
37331
|
+
/* normalize component */
|
|
37332
|
+
|
|
37333
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
37334
|
+
cms_servePlan_tab_Viewvue_type_script_lang_js,
|
|
37335
|
+
render,
|
|
37336
|
+
staticRenderFns,
|
|
37337
|
+
false,
|
|
37338
|
+
null,
|
|
37339
|
+
"43da1b27",
|
|
37340
|
+
null
|
|
37341
|
+
|
|
37342
|
+
)
|
|
37343
|
+
|
|
37344
|
+
/* harmony default export */ var View = (component.exports);
|
|
37345
|
+
|
|
37346
|
+
/***/ }),
|
|
37347
|
+
|
|
37348
|
+
/***/ 7642:
|
|
37349
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
37350
|
+
|
|
37351
|
+
"use strict";
|
|
37352
|
+
|
|
37353
|
+
var $ = __webpack_require__(6518);
|
|
37354
|
+
var difference = __webpack_require__(3440);
|
|
37355
|
+
var setMethodAcceptSetLike = __webpack_require__(4916);
|
|
37356
|
+
|
|
37357
|
+
var INCORRECT = !setMethodAcceptSetLike('difference', function (result) {
|
|
37358
|
+
return result.size === 0;
|
|
37359
|
+
});
|
|
37360
|
+
|
|
37361
|
+
// `Set.prototype.difference` method
|
|
37362
|
+
// https://tc39.es/ecma262/#sec-set.prototype.difference
|
|
37363
|
+
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
37364
|
+
difference: difference
|
|
37365
|
+
});
|
|
37366
|
+
|
|
37367
|
+
|
|
37368
|
+
/***/ }),
|
|
37369
|
+
|
|
37370
|
+
/***/ 7657:
|
|
37371
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
37372
|
+
|
|
37373
|
+
"use strict";
|
|
37374
|
+
|
|
37375
|
+
var fails = __webpack_require__(9039);
|
|
37376
|
+
var isCallable = __webpack_require__(4901);
|
|
37174
37377
|
var isObject = __webpack_require__(34);
|
|
37175
37378
|
var create = __webpack_require__(2360);
|
|
37176
37379
|
var getPrototypeOf = __webpack_require__(2787);
|
|
@@ -37317,206 +37520,6 @@ module.exports = function (namespace, method) {
|
|
|
37317
37520
|
};
|
|
37318
37521
|
|
|
37319
37522
|
|
|
37320
|
-
/***/ }),
|
|
37321
|
-
|
|
37322
|
-
/***/ 7762:
|
|
37323
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
37324
|
-
|
|
37325
|
-
"use strict";
|
|
37326
|
-
// ESM COMPAT FLAG
|
|
37327
|
-
__webpack_require__.r(__webpack_exports__);
|
|
37328
|
-
|
|
37329
|
-
// EXPORTS
|
|
37330
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
37331
|
-
"default": function() { return /* binding */ View; }
|
|
37332
|
-
});
|
|
37333
|
-
|
|
37334
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-servePlan-tab/View.vue?vue&type=template&id=6f279e8a&scoped=true
|
|
37335
|
-
var render = function render() {
|
|
37336
|
-
var _vm = this,
|
|
37337
|
-
_c = _vm._self._c;
|
|
37338
|
-
return _c('BaseComp', _vm._b({
|
|
37339
|
-
attrs: {
|
|
37340
|
-
"data": _vm.data,
|
|
37341
|
-
"nowCompId": _vm.nowCompId,
|
|
37342
|
-
"isOpcacity": _vm.isOpcacity,
|
|
37343
|
-
"lang": _vm.lang
|
|
37344
|
-
},
|
|
37345
|
-
on: {
|
|
37346
|
-
"getConfigData": _vm.getConfigData
|
|
37347
|
-
}
|
|
37348
|
-
}, 'BaseComp', _vm.$attrs, false), [!_vm.showWujie ? _c('iframe', {
|
|
37349
|
-
ref: "iframeRef",
|
|
37350
|
-
staticClass: "iframBox",
|
|
37351
|
-
attrs: {
|
|
37352
|
-
"src": _vm.servePlanSrcIframe,
|
|
37353
|
-
"scrolling": "no",
|
|
37354
|
-
"frameborder": "0"
|
|
37355
|
-
}
|
|
37356
|
-
}) : _vm._e(), _vm.showWujie && _vm.servePlanSrc ? _c('WujieVue', {
|
|
37357
|
-
key: _vm.servePlanSrc,
|
|
37358
|
-
attrs: {
|
|
37359
|
-
"fetch": _vm.wujieFetchMx,
|
|
37360
|
-
"name": `cmsacive${_vm.data.componentId}`,
|
|
37361
|
-
"url": _vm.servePlanSrc,
|
|
37362
|
-
"props": {
|
|
37363
|
-
data: _vm.propsdata5
|
|
37364
|
-
}
|
|
37365
|
-
}
|
|
37366
|
-
}) : _vm._e()], 1);
|
|
37367
|
-
};
|
|
37368
|
-
var staticRenderFns = [];
|
|
37369
|
-
|
|
37370
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
37371
|
-
var es_iterator_constructor = __webpack_require__(8111);
|
|
37372
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.reduce.js
|
|
37373
|
-
var es_iterator_reduce = __webpack_require__(8237);
|
|
37374
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
37375
|
-
var baseComp = __webpack_require__(2950);
|
|
37376
|
-
// EXTERNAL MODULE: ./package/patch.js + 1 modules
|
|
37377
|
-
var patch = __webpack_require__(7890);
|
|
37378
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-servePlan-tab/View.vue?vue&type=script&lang=js
|
|
37379
|
-
|
|
37380
|
-
|
|
37381
|
-
|
|
37382
|
-
|
|
37383
|
-
|
|
37384
|
-
|
|
37385
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
37386
|
-
name: "cms-servePlan-tab",
|
|
37387
|
-
components: {
|
|
37388
|
-
BaseComp: baseComp/* default */.A
|
|
37389
|
-
},
|
|
37390
|
-
props: {
|
|
37391
|
-
data: {
|
|
37392
|
-
type: Object,
|
|
37393
|
-
default: () => {
|
|
37394
|
-
return {};
|
|
37395
|
-
}
|
|
37396
|
-
},
|
|
37397
|
-
nowCompId: {
|
|
37398
|
-
type: [String, Number],
|
|
37399
|
-
default: ""
|
|
37400
|
-
},
|
|
37401
|
-
isOpcacity: {
|
|
37402
|
-
type: Boolean,
|
|
37403
|
-
default: true
|
|
37404
|
-
},
|
|
37405
|
-
lang: {
|
|
37406
|
-
type: String,
|
|
37407
|
-
default: ""
|
|
37408
|
-
}
|
|
37409
|
-
},
|
|
37410
|
-
data() {
|
|
37411
|
-
return {
|
|
37412
|
-
servePlanSrc: "",
|
|
37413
|
-
routeLang: "tc",
|
|
37414
|
-
configData: {},
|
|
37415
|
-
parentShopCategoryId: "",
|
|
37416
|
-
propsdata5: {},
|
|
37417
|
-
showWujie: false,
|
|
37418
|
-
servePlanSrcIframe: "",
|
|
37419
|
-
compBaseUrl: this.$route.query.envId == 4 ? "https://omniapi.hk.chinamobile.com" : "https://omniapi-uat.hk.chinamobile.com"
|
|
37420
|
-
};
|
|
37421
|
-
},
|
|
37422
|
-
mounted() {
|
|
37423
|
-
if (this.$EventBus && this.isOpcacity) {
|
|
37424
|
-
window.addEventListener("message", this.handleMessage, false);
|
|
37425
|
-
} else {
|
|
37426
|
-
if (window.location.origin.includes("-uat")) {
|
|
37427
|
-
this.compBaseUrl = "https://omniapi-uat.hk.chinamobile.com";
|
|
37428
|
-
} else {
|
|
37429
|
-
this.compBaseUrl = "https://omniapi.hk.chinamobile.com";
|
|
37430
|
-
}
|
|
37431
|
-
this.showWujie = true;
|
|
37432
|
-
const vm = this;
|
|
37433
|
-
const _window = window;
|
|
37434
|
-
this.$wujieBus.$on("jumpToServicePlanDetail", val => {
|
|
37435
|
-
let url = `${_window.location.origin}/${vm.routeLang}/home/plan/detail?commodityId=${val.commodityId}&isBr=${val.isBr}&cmhkChannel=${(0,patch/* getCmhkChannelMx */.u)()}`;
|
|
37436
|
-
_window.location.href = url;
|
|
37437
|
-
});
|
|
37438
|
-
}
|
|
37439
|
-
this.getUrl(this.lang);
|
|
37440
|
-
},
|
|
37441
|
-
watch: {},
|
|
37442
|
-
methods: {
|
|
37443
|
-
getConfigData(configData) {
|
|
37444
|
-
this.configData = configData;
|
|
37445
|
-
this.parentShopCategoryId = configData.argument1;
|
|
37446
|
-
this.getUrl(this.lang);
|
|
37447
|
-
},
|
|
37448
|
-
wujieFetchMx(url, options) {
|
|
37449
|
-
return window.fetch(url, {
|
|
37450
|
-
...options,
|
|
37451
|
-
credentials: "include"
|
|
37452
|
-
});
|
|
37453
|
-
},
|
|
37454
|
-
getUrl(lang) {
|
|
37455
|
-
const langMap = {
|
|
37456
|
-
"zh-CN": "sc",
|
|
37457
|
-
"zh-HK": "tc",
|
|
37458
|
-
"en-US": "en"
|
|
37459
|
-
};
|
|
37460
|
-
this.routeLang = langMap[lang];
|
|
37461
|
-
this.servePlanSrc = `${this.compBaseUrl}/${this.routeLang}/home/plan`;
|
|
37462
|
-
const busiData = {
|
|
37463
|
-
parentShopCategoryId: this.parentShopCategoryId,
|
|
37464
|
-
onlyShowList: true
|
|
37465
|
-
};
|
|
37466
|
-
if (this.$EventBus) {
|
|
37467
|
-
const queryStr = Object.keys(busiData).reduce((pre, cur) => {
|
|
37468
|
-
if (busiData[cur]) return `${pre}&${cur}=${busiData[cur]}`;
|
|
37469
|
-
return pre;
|
|
37470
|
-
}, "");
|
|
37471
|
-
this.servePlanSrcIframe = `${this.servePlanSrc}?cmhkChannel=WWW${queryStr}`;
|
|
37472
|
-
}
|
|
37473
|
-
this.propsdata5 = {
|
|
37474
|
-
orgId: sessionStorage.getItem("orgId") || "",
|
|
37475
|
-
staffId: sessionStorage.getItem("staffId") || "",
|
|
37476
|
-
cmhkChannel: (0,patch/* getCmhkChannelMx */.u)(),
|
|
37477
|
-
cmhkToken: sessionStorage.getItem("cmhkToken") || "",
|
|
37478
|
-
busiData: busiData
|
|
37479
|
-
};
|
|
37480
|
-
},
|
|
37481
|
-
handleMessage(e) {
|
|
37482
|
-
console.log(e.data, "789");
|
|
37483
|
-
const iframe = this.$refs.iframeRef;
|
|
37484
|
-
if (!iframe) return;
|
|
37485
|
-
iframe.style && (iframe.style.height = e.data + "px");
|
|
37486
|
-
}
|
|
37487
|
-
}
|
|
37488
|
-
});
|
|
37489
|
-
;// ./package/cms-servePlan-tab/View.vue?vue&type=script&lang=js
|
|
37490
|
-
/* harmony default export */ var cms_servePlan_tab_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
37491
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-42.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-servePlan-tab/View.vue?vue&type=style&index=0&id=6f279e8a&prod&lang=scss&scoped=true
|
|
37492
|
-
// extracted by mini-css-extract-plugin
|
|
37493
|
-
|
|
37494
|
-
;// ./package/cms-servePlan-tab/View.vue?vue&type=style&index=0&id=6f279e8a&prod&lang=scss&scoped=true
|
|
37495
|
-
|
|
37496
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
37497
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
37498
|
-
;// ./package/cms-servePlan-tab/View.vue
|
|
37499
|
-
|
|
37500
|
-
|
|
37501
|
-
|
|
37502
|
-
;
|
|
37503
|
-
|
|
37504
|
-
|
|
37505
|
-
/* normalize component */
|
|
37506
|
-
|
|
37507
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
37508
|
-
cms_servePlan_tab_Viewvue_type_script_lang_js,
|
|
37509
|
-
render,
|
|
37510
|
-
staticRenderFns,
|
|
37511
|
-
false,
|
|
37512
|
-
null,
|
|
37513
|
-
"6f279e8a",
|
|
37514
|
-
null
|
|
37515
|
-
|
|
37516
|
-
)
|
|
37517
|
-
|
|
37518
|
-
/* harmony default export */ var View = (component.exports);
|
|
37519
|
-
|
|
37520
37523
|
/***/ }),
|
|
37521
37524
|
|
|
37522
37525
|
/***/ 7793:
|
|
@@ -37949,7 +37952,7 @@ var utils = __webpack_require__(9563);
|
|
|
37949
37952
|
|
|
37950
37953
|
|
|
37951
37954
|
const baseConfig = {
|
|
37952
|
-
cmhkChannelConfList: ["
|
|
37955
|
+
cmhkChannelConfList: ["ALL"],
|
|
37953
37956
|
//从接口获取全部的渠道,避免硬编码需要手动新增渠道
|
|
37954
37957
|
startTime: "",
|
|
37955
37958
|
endTime: ""
|
|
@@ -43996,7 +43999,7 @@ service.interceptors.request.use(config => {
|
|
|
43996
43999
|
if (config.url.includes("/ecosp-console")) {
|
|
43997
44000
|
document.cookie = "JSESSIONID=node017nm2falxdfe8c1parzfv9ilr29.node0";
|
|
43998
44001
|
} else if (config.url.includes("omni-channel-service-console")) {
|
|
43999
|
-
document.cookie = "JSESSIONID=
|
|
44002
|
+
document.cookie = "JSESSIONID=78E8137DAEC4660E6E4A6310CAB2B300";
|
|
44000
44003
|
}
|
|
44001
44004
|
} else {
|
|
44002
44005
|
if (config.url.includes("/api/") && is_cmsComp) {
|