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.
@@ -7063,7 +7063,7 @@ var es_array_push = __webpack_require__(560);
7063
7063
  getCmhkChannelMx() {
7064
7064
  const host = window.location.host;
7065
7065
  const wwwHostList = ["www.hk.chinamobile.com", "www-uat.hk.chinamobile.com", "localhost:9640", "localhost:9700", "localhost:9701"];
7066
- 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") {
7066
+ 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") {
7067
7067
  wwwHostList.push("10.0.28.161");
7068
7068
  wwwHostList.push("10.0.28.17:9602");
7069
7069
  }
@@ -8709,7 +8709,7 @@ var component = (0,componentNormalizer/* default */.Z)(
8709
8709
 
8710
8710
  /***/ }),
8711
8711
 
8712
- /***/ 5165:
8712
+ /***/ 2866:
8713
8713
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
8714
8714
 
8715
8715
  "use strict";
@@ -8721,7 +8721,7 @@ __webpack_require__.d(__webpack_exports__, {
8721
8721
  "default": function() { return /* binding */ View; }
8722
8722
  });
8723
8723
 
8724
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=c54148c0&scoped=true
8724
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
8725
8725
  var render = function render() {
8726
8726
  var _vm = this,
8727
8727
  _c = _vm._self._c;
@@ -8827,8 +8827,19 @@ var es_array_push = __webpack_require__(560);
8827
8827
  }
8828
8828
  let originUrl = `${this.$route.query.envId == 4 ? "https://omniapi.hk.chinamobile.com" : "https://omniapi-uat.hk.chinamobile.com"}`;
8829
8829
  this.baseUrl = originUrl;
8830
+ if (!this.$EventBus) {
8831
+ originUrl = `${window.location.origin}`;
8832
+ if (window.location.origin.includes("-uat")) {
8833
+ this.baseUrl = "https://omniapi-uat.hk.chinamobile.com";
8834
+ } else {
8835
+ this.baseUrl = "https://omniapi.hk.chinamobile.com";
8836
+ }
8837
+ }
8830
8838
  this.getUrl(this.lang);
8831
8839
  },
8840
+ created() {
8841
+ console.log('当前组件被重新渲染了', this.data.settings.settings[0].value.componentId || '当前组件被重新渲染了');
8842
+ },
8832
8843
  watch: {
8833
8844
  data: {
8834
8845
  handler(val) {
@@ -8895,7 +8906,7 @@ var es_array_push = __webpack_require__(560);
8895
8906
  getCmhkChannelMx() {
8896
8907
  const host = window.location.host;
8897
8908
  const wwwHostList = ["www.hk.chinamobile.com", "www-uat.hk.chinamobile.com", "localhost:9640", "localhost:9700", "localhost:9701"];
8898
- 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") {
8909
+ 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") {
8899
8910
  wwwHostList.push("10.0.28.161");
8900
8911
  wwwHostList.push("10.0.28.17:9602");
8901
8912
  }
@@ -8927,10 +8938,10 @@ var es_array_push = __webpack_require__(560);
8927
8938
  });
8928
8939
  ;// CONCATENATED MODULE: ./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
8929
8940
  /* harmony default export */ var cms_via_storedValueCard_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
8930
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=c54148c0&prod&lang=scss&scoped=true
8941
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
8931
8942
  // extracted by mini-css-extract-plugin
8932
8943
 
8933
- ;// CONCATENATED MODULE: ./package/cms-via-storedValueCard/View.vue?vue&type=style&index=0&id=c54148c0&prod&lang=scss&scoped=true
8944
+ ;// CONCATENATED MODULE: ./package/cms-via-storedValueCard/View.vue?vue&type=style&index=0&id=0bbf235b&prod&lang=scss&scoped=true
8934
8945
 
8935
8946
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
8936
8947
  var componentNormalizer = __webpack_require__(1001);
@@ -8949,7 +8960,7 @@ var component = (0,componentNormalizer/* default */.Z)(
8949
8960
  staticRenderFns,
8950
8961
  false,
8951
8962
  null,
8952
- "c54148c0",
8963
+ "0bbf235b",
8953
8964
  null
8954
8965
 
8955
8966
  )
@@ -13739,7 +13750,11 @@ service.interceptors.request.use(config => {
13739
13750
  if (urlList.some(item => item == window.location.origin)) {
13740
13751
  config.url = window.location.origin + config.url;
13741
13752
  } else {
13742
- config.url = "http://10.0.28.60:9640" + config.url;
13753
+ if (env_prod) {
13754
+ config.url = "https://omniapi.hk.chinamobile.com" + config.url;
13755
+ } else {
13756
+ config.url = "http://10.0.28.60:9640" + config.url;
13757
+ }
13743
13758
  }
13744
13759
  if (window.location.origin == "https://omniapi.hk.chinamobile.com") {
13745
13760
  config.url = "https://www.hk.chinamobile.com" + config.url;
@@ -47513,7 +47528,7 @@ var map = {
47513
47528
  "./cms-threeScroll/View.vue": 2633,
47514
47529
  "./cms-titleCenter/View.vue": 8862,
47515
47530
  "./cms-titleLeft/View.vue": 7265,
47516
- "./cms-via-storedValueCard/View.vue": 5165,
47531
+ "./cms-via-storedValueCard/View.vue": 2866,
47517
47532
  "./cms-view/View.vue": 8010
47518
47533
  };
47519
47534