cms-chenhj-ui 1.0.40 → 1.0.42
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.umd.js
CHANGED
|
@@ -7073,7 +7073,7 @@ var es_array_push = __webpack_require__(560);
|
|
|
7073
7073
|
getCmhkChannelMx() {
|
|
7074
7074
|
const host = window.location.host;
|
|
7075
7075
|
const wwwHostList = ["www.hk.chinamobile.com", "www-uat.hk.chinamobile.com", "localhost:9640", "localhost:9700", "localhost:9701"];
|
|
7076
|
-
if (({"NODE_ENV":"production","VUE_APP_CONSOLE_PRD":"http://10.0.28.22:9700","VUE_APP_CONSOLE_UAT":"http://10.0.28.25:9700","VUE_APP_NUXT_DEV":"http://10.0.28.60:9640","VUE_APP_NUXT_PRD1":"https://www.hk.chinamobile.com","VUE_APP_NUXT_PRD2":"https://omniapi.hk.chinamobile.com","VUE_APP_NUXT_UAT1":"http://10.0.28.161","VUE_APP_NUXT_UAT2":"https://www-uat.hk.chinamobile.com","VUE_APP_NUXT_UAT3":"https://omniapi-uat.hk.chinamobile.com","VUE_APP_SCHEMA_PRD":"http://10.0.28.22:9704","VUE_APP_SCHEMA_UAT":"http://10.0.28.25:9704","BASE_URL":"/"}).MODE == "devlopment") {
|
|
7076
|
+
if (({"NODE_ENV":"production","VUE_APP_CONSOLE_PRD":"http://10.0.28.22:9700","VUE_APP_CONSOLE_UAT":"http://10.0.28.25:9700","VUE_APP_NUXT_DEV":"http://10.0.28.60:9640","VUE_APP_NUXT_PRD1":"https://www.hk.chinamobile.com","VUE_APP_NUXT_PRD2":"https://omniapi.hk.chinamobile.com","VUE_APP_NUXT_PRD3":"http://10.0.28.22:7822","VUE_APP_NUXT_UAT1":"http://10.0.28.161","VUE_APP_NUXT_UAT2":"https://www-uat.hk.chinamobile.com","VUE_APP_NUXT_UAT3":"https://omniapi-uat.hk.chinamobile.com","VUE_APP_SCHEMA_PRD":"http://10.0.28.22:9704","VUE_APP_SCHEMA_UAT":"http://10.0.28.25:9704","BASE_URL":"/"}).MODE == "devlopment") {
|
|
7077
7077
|
wwwHostList.push("10.0.28.161");
|
|
7078
7078
|
wwwHostList.push("10.0.28.17:9602");
|
|
7079
7079
|
}
|
|
@@ -8719,7 +8719,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
8719
8719
|
|
|
8720
8720
|
/***/ }),
|
|
8721
8721
|
|
|
8722
|
-
/***/
|
|
8722
|
+
/***/ 8187:
|
|
8723
8723
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8724
8724
|
|
|
8725
8725
|
"use strict";
|
|
@@ -8731,7 +8731,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
8731
8731
|
"default": function() { return /* binding */ View; }
|
|
8732
8732
|
});
|
|
8733
8733
|
|
|
8734
|
-
;// CONCATENATED MODULE: ./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=
|
|
8734
|
+
;// CONCATENATED MODULE: ./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=0bbf235b&scoped=true
|
|
8735
8735
|
var render = function render() {
|
|
8736
8736
|
var _vm = this,
|
|
8737
8737
|
_c = _vm._self._c;
|
|
@@ -8837,8 +8837,19 @@ var es_array_push = __webpack_require__(560);
|
|
|
8837
8837
|
}
|
|
8838
8838
|
let originUrl = `${this.$route.query.envId == 4 ? "https://omniapi.hk.chinamobile.com" : "https://omniapi-uat.hk.chinamobile.com"}`;
|
|
8839
8839
|
this.baseUrl = originUrl;
|
|
8840
|
+
if (!this.$EventBus) {
|
|
8841
|
+
originUrl = `${window.location.origin}`;
|
|
8842
|
+
if (window.location.origin.includes("-uat")) {
|
|
8843
|
+
this.baseUrl = "https://omniapi-uat.hk.chinamobile.com";
|
|
8844
|
+
} else {
|
|
8845
|
+
this.baseUrl = "https://omniapi.hk.chinamobile.com";
|
|
8846
|
+
}
|
|
8847
|
+
}
|
|
8840
8848
|
this.getUrl(this.lang);
|
|
8841
8849
|
},
|
|
8850
|
+
created() {
|
|
8851
|
+
console.log('当前组件被重新渲染了', this.data.settings.settings[0].value.componentId || '当前组件被重新渲染了');
|
|
8852
|
+
},
|
|
8842
8853
|
watch: {
|
|
8843
8854
|
data: {
|
|
8844
8855
|
handler(val) {
|
|
@@ -8905,7 +8916,7 @@ var es_array_push = __webpack_require__(560);
|
|
|
8905
8916
|
getCmhkChannelMx() {
|
|
8906
8917
|
const host = window.location.host;
|
|
8907
8918
|
const wwwHostList = ["www.hk.chinamobile.com", "www-uat.hk.chinamobile.com", "localhost:9640", "localhost:9700", "localhost:9701"];
|
|
8908
|
-
if (({"NODE_ENV":"production","VUE_APP_CONSOLE_PRD":"http://10.0.28.22:9700","VUE_APP_CONSOLE_UAT":"http://10.0.28.25:9700","VUE_APP_NUXT_DEV":"http://10.0.28.60:9640","VUE_APP_NUXT_PRD1":"https://www.hk.chinamobile.com","VUE_APP_NUXT_PRD2":"https://omniapi.hk.chinamobile.com","VUE_APP_NUXT_UAT1":"http://10.0.28.161","VUE_APP_NUXT_UAT2":"https://www-uat.hk.chinamobile.com","VUE_APP_NUXT_UAT3":"https://omniapi-uat.hk.chinamobile.com","VUE_APP_SCHEMA_PRD":"http://10.0.28.22:9704","VUE_APP_SCHEMA_UAT":"http://10.0.28.25:9704","BASE_URL":"/"}).MODE == "devlopment") {
|
|
8919
|
+
if (({"NODE_ENV":"production","VUE_APP_CONSOLE_PRD":"http://10.0.28.22:9700","VUE_APP_CONSOLE_UAT":"http://10.0.28.25:9700","VUE_APP_NUXT_DEV":"http://10.0.28.60:9640","VUE_APP_NUXT_PRD1":"https://www.hk.chinamobile.com","VUE_APP_NUXT_PRD2":"https://omniapi.hk.chinamobile.com","VUE_APP_NUXT_PRD3":"http://10.0.28.22:7822","VUE_APP_NUXT_UAT1":"http://10.0.28.161","VUE_APP_NUXT_UAT2":"https://www-uat.hk.chinamobile.com","VUE_APP_NUXT_UAT3":"https://omniapi-uat.hk.chinamobile.com","VUE_APP_SCHEMA_PRD":"http://10.0.28.22:9704","VUE_APP_SCHEMA_UAT":"http://10.0.28.25:9704","BASE_URL":"/"}).MODE == "devlopment") {
|
|
8909
8920
|
wwwHostList.push("10.0.28.161");
|
|
8910
8921
|
wwwHostList.push("10.0.28.17:9602");
|
|
8911
8922
|
}
|
|
@@ -8937,10 +8948,10 @@ var es_array_push = __webpack_require__(560);
|
|
|
8937
8948
|
});
|
|
8938
8949
|
;// CONCATENATED MODULE: ./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
|
|
8939
8950
|
/* harmony default export */ var cms_via_storedValueCard_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
8940
|
-
;// CONCATENATED MODULE: ./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-via-storedValueCard/View.vue?vue&type=style&index=0&id=
|
|
8951
|
+
;// CONCATENATED MODULE: ./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-via-storedValueCard/View.vue?vue&type=style&index=0&id=0bbf235b&prod&lang=scss&scoped=true
|
|
8941
8952
|
// extracted by mini-css-extract-plugin
|
|
8942
8953
|
|
|
8943
|
-
;// CONCATENATED MODULE: ./package/cms-via-storedValueCard/View.vue?vue&type=style&index=0&id=
|
|
8954
|
+
;// CONCATENATED MODULE: ./package/cms-via-storedValueCard/View.vue?vue&type=style&index=0&id=0bbf235b&prod&lang=scss&scoped=true
|
|
8944
8955
|
|
|
8945
8956
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
8946
8957
|
var componentNormalizer = __webpack_require__(1001);
|
|
@@ -8959,7 +8970,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
8959
8970
|
staticRenderFns,
|
|
8960
8971
|
false,
|
|
8961
8972
|
null,
|
|
8962
|
-
"
|
|
8973
|
+
"0bbf235b",
|
|
8963
8974
|
null
|
|
8964
8975
|
|
|
8965
8976
|
)
|
|
@@ -13749,7 +13760,11 @@ service.interceptors.request.use(config => {
|
|
|
13749
13760
|
if (urlList.some(item => item == window.location.origin)) {
|
|
13750
13761
|
config.url = window.location.origin + config.url;
|
|
13751
13762
|
} else {
|
|
13752
|
-
|
|
13763
|
+
if (env_prod) {
|
|
13764
|
+
config.url = "https://omniapi.hk.chinamobile.com" + config.url;
|
|
13765
|
+
} else {
|
|
13766
|
+
config.url = "http://10.0.28.60:9640" + config.url;
|
|
13767
|
+
}
|
|
13753
13768
|
}
|
|
13754
13769
|
if (window.location.origin == "https://omniapi.hk.chinamobile.com") {
|
|
13755
13770
|
config.url = "https://www.hk.chinamobile.com" + config.url;
|
|
@@ -47523,7 +47538,7 @@ var map = {
|
|
|
47523
47538
|
"./cms-threeScroll/View.vue": 1359,
|
|
47524
47539
|
"./cms-titleCenter/View.vue": 3583,
|
|
47525
47540
|
"./cms-titleLeft/View.vue": 3900,
|
|
47526
|
-
"./cms-via-storedValueCard/View.vue":
|
|
47541
|
+
"./cms-via-storedValueCard/View.vue": 8187,
|
|
47527
47542
|
"./cms-view/View.vue": 9984
|
|
47528
47543
|
};
|
|
47529
47544
|
|