cms-chenhj-ui 1.0.39 → 1.0.41

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.
@@ -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:9701","VUE_APP_SCHEMA_UAT":"http://10.0.28.25:9701","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
- /***/ 5486:
8722
+ /***/ 7102:
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=65e0f0a2&scoped=true
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=e7c1ac6c&scoped=true
8735
8735
  var render = function render() {
8736
8736
  var _vm = this,
8737
8737
  _c = _vm._self._c;
@@ -8752,7 +8752,7 @@ var render = function render() {
8752
8752
  }, [!_vm.showWujie ? _c('div', [_vm._v("配置后才会展示内容")]) : _vm._e(), _vm.showWujie && _vm.servePlanSrc ? _c('WujieVue', {
8753
8753
  key: _vm.servePlanSrc,
8754
8754
  attrs: {
8755
- "name": `cmsacive${_vm.data.id}`,
8755
+ "name": `cmsacive${_vm.componentId}`,
8756
8756
  "url": _vm.servePlanSrc,
8757
8757
  "props": {
8758
8758
  data: _vm.propsdata5
@@ -8839,6 +8839,9 @@ var es_array_push = __webpack_require__(560);
8839
8839
  this.baseUrl = originUrl;
8840
8840
  this.getUrl(this.lang);
8841
8841
  },
8842
+ created() {
8843
+ console.log('当前组件被重新渲染了', this.data.settings.settings[0].value.componentId || '当前组件被重新渲染了');
8844
+ },
8842
8845
  watch: {
8843
8846
  data: {
8844
8847
  handler(val) {
@@ -8898,13 +8901,14 @@ var es_array_push = __webpack_require__(560);
8898
8901
  this.propsdata5 = {
8899
8902
  cmhkChannel: this.getCmhkChannelMx(),
8900
8903
  cmhkToken: sessionStorage.getItem("cmhkToken") || "",
8901
- componentId: this.viaCompInstId || this.componentId
8904
+ componentId: this.componentId,
8905
+ viaCompInstId: this.viaCompInstId
8902
8906
  };
8903
8907
  },
8904
8908
  getCmhkChannelMx() {
8905
8909
  const host = window.location.host;
8906
8910
  const wwwHostList = ["www.hk.chinamobile.com", "www-uat.hk.chinamobile.com", "localhost:9640", "localhost:9700", "localhost:9701"];
8907
- 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:9701","VUE_APP_SCHEMA_UAT":"http://10.0.28.25:9701","BASE_URL":"/"}).MODE == "devlopment") {
8911
+ 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") {
8908
8912
  wwwHostList.push("10.0.28.161");
8909
8913
  wwwHostList.push("10.0.28.17:9602");
8910
8914
  }
@@ -8936,10 +8940,10 @@ var es_array_push = __webpack_require__(560);
8936
8940
  });
8937
8941
  ;// CONCATENATED MODULE: ./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
8938
8942
  /* harmony default export */ var cms_via_storedValueCard_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
8939
- ;// 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=65e0f0a2&prod&lang=scss&scoped=true
8943
+ ;// 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=e7c1ac6c&prod&lang=scss&scoped=true
8940
8944
  // extracted by mini-css-extract-plugin
8941
8945
 
8942
- ;// CONCATENATED MODULE: ./package/cms-via-storedValueCard/View.vue?vue&type=style&index=0&id=65e0f0a2&prod&lang=scss&scoped=true
8946
+ ;// CONCATENATED MODULE: ./package/cms-via-storedValueCard/View.vue?vue&type=style&index=0&id=e7c1ac6c&prod&lang=scss&scoped=true
8943
8947
 
8944
8948
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
8945
8949
  var componentNormalizer = __webpack_require__(1001);
@@ -8958,7 +8962,7 @@ var component = (0,componentNormalizer/* default */.Z)(
8958
8962
  staticRenderFns,
8959
8963
  false,
8960
8964
  null,
8961
- "65e0f0a2",
8965
+ "e7c1ac6c",
8962
8966
  null
8963
8967
 
8964
8968
  )
@@ -13748,7 +13752,11 @@ service.interceptors.request.use(config => {
13748
13752
  if (urlList.some(item => item == window.location.origin)) {
13749
13753
  config.url = window.location.origin + config.url;
13750
13754
  } else {
13751
- config.url = "http://10.0.28.60:9640" + config.url;
13755
+ if (env_prod) {
13756
+ config.url = "https://omniapi.hk.chinamobile.com" + config.url;
13757
+ } else {
13758
+ config.url = "http://10.0.28.60:9640" + config.url;
13759
+ }
13752
13760
  }
13753
13761
  if (window.location.origin == "https://omniapi.hk.chinamobile.com") {
13754
13762
  config.url = "https://www.hk.chinamobile.com" + config.url;
@@ -13759,9 +13767,9 @@ service.interceptors.request.use(config => {
13759
13767
  if (config.url.includes("omni-channel-service-console")) {
13760
13768
  if (false) {} else {
13761
13769
  if (env_prod) {
13762
- config.url = "http://10.0.28.22:9701" + config.url;
13770
+ config.url = "http://10.0.28.22:9704" + config.url;
13763
13771
  } else {
13764
- config.url = "http://10.0.28.25:9701" + config.url;
13772
+ config.url = "http://10.0.28.25:9704" + config.url;
13765
13773
  }
13766
13774
  }
13767
13775
  }
@@ -47522,7 +47530,7 @@ var map = {
47522
47530
  "./cms-threeScroll/View.vue": 1359,
47523
47531
  "./cms-titleCenter/View.vue": 3583,
47524
47532
  "./cms-titleLeft/View.vue": 3900,
47525
- "./cms-via-storedValueCard/View.vue": 5486,
47533
+ "./cms-via-storedValueCard/View.vue": 7102,
47526
47534
  "./cms-view/View.vue": 9984
47527
47535
  };
47528
47536