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.
@@ -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:9701","VUE_APP_SCHEMA_UAT":"http://10.0.28.25:9701","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
- /***/ 1087:
8712
+ /***/ 8343:
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=65e0f0a2&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=e7c1ac6c&scoped=true
8725
8725
  var render = function render() {
8726
8726
  var _vm = this,
8727
8727
  _c = _vm._self._c;
@@ -8742,7 +8742,7 @@ var render = function render() {
8742
8742
  }, [!_vm.showWujie ? _c('div', [_vm._v("配置后才会展示内容")]) : _vm._e(), _vm.showWujie && _vm.servePlanSrc ? _c('WujieVue', {
8743
8743
  key: _vm.servePlanSrc,
8744
8744
  attrs: {
8745
- "name": `cmsacive${_vm.data.id}`,
8745
+ "name": `cmsacive${_vm.componentId}`,
8746
8746
  "url": _vm.servePlanSrc,
8747
8747
  "props": {
8748
8748
  data: _vm.propsdata5
@@ -8829,6 +8829,9 @@ var es_array_push = __webpack_require__(560);
8829
8829
  this.baseUrl = originUrl;
8830
8830
  this.getUrl(this.lang);
8831
8831
  },
8832
+ created() {
8833
+ console.log('当前组件被重新渲染了', this.data.settings.settings[0].value.componentId || '当前组件被重新渲染了');
8834
+ },
8832
8835
  watch: {
8833
8836
  data: {
8834
8837
  handler(val) {
@@ -8888,13 +8891,14 @@ var es_array_push = __webpack_require__(560);
8888
8891
  this.propsdata5 = {
8889
8892
  cmhkChannel: this.getCmhkChannelMx(),
8890
8893
  cmhkToken: sessionStorage.getItem("cmhkToken") || "",
8891
- componentId: this.viaCompInstId || this.componentId
8894
+ componentId: this.componentId,
8895
+ viaCompInstId: this.viaCompInstId
8892
8896
  };
8893
8897
  },
8894
8898
  getCmhkChannelMx() {
8895
8899
  const host = window.location.host;
8896
8900
  const wwwHostList = ["www.hk.chinamobile.com", "www-uat.hk.chinamobile.com", "localhost:9640", "localhost:9700", "localhost:9701"];
8897
- 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") {
8901
+ 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") {
8898
8902
  wwwHostList.push("10.0.28.161");
8899
8903
  wwwHostList.push("10.0.28.17:9602");
8900
8904
  }
@@ -8926,10 +8930,10 @@ var es_array_push = __webpack_require__(560);
8926
8930
  });
8927
8931
  ;// CONCATENATED MODULE: ./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
8928
8932
  /* harmony default export */ var cms_via_storedValueCard_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
8929
- ;// 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=65e0f0a2&prod&lang=scss&scoped=true
8933
+ ;// 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=e7c1ac6c&prod&lang=scss&scoped=true
8930
8934
  // extracted by mini-css-extract-plugin
8931
8935
 
8932
- ;// CONCATENATED MODULE: ./package/cms-via-storedValueCard/View.vue?vue&type=style&index=0&id=65e0f0a2&prod&lang=scss&scoped=true
8936
+ ;// CONCATENATED MODULE: ./package/cms-via-storedValueCard/View.vue?vue&type=style&index=0&id=e7c1ac6c&prod&lang=scss&scoped=true
8933
8937
 
8934
8938
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
8935
8939
  var componentNormalizer = __webpack_require__(1001);
@@ -8948,7 +8952,7 @@ var component = (0,componentNormalizer/* default */.Z)(
8948
8952
  staticRenderFns,
8949
8953
  false,
8950
8954
  null,
8951
- "65e0f0a2",
8955
+ "e7c1ac6c",
8952
8956
  null
8953
8957
 
8954
8958
  )
@@ -13738,7 +13742,11 @@ service.interceptors.request.use(config => {
13738
13742
  if (urlList.some(item => item == window.location.origin)) {
13739
13743
  config.url = window.location.origin + config.url;
13740
13744
  } else {
13741
- config.url = "http://10.0.28.60:9640" + config.url;
13745
+ if (env_prod) {
13746
+ config.url = "https://omniapi.hk.chinamobile.com" + config.url;
13747
+ } else {
13748
+ config.url = "http://10.0.28.60:9640" + config.url;
13749
+ }
13742
13750
  }
13743
13751
  if (window.location.origin == "https://omniapi.hk.chinamobile.com") {
13744
13752
  config.url = "https://www.hk.chinamobile.com" + config.url;
@@ -13749,9 +13757,9 @@ service.interceptors.request.use(config => {
13749
13757
  if (config.url.includes("omni-channel-service-console")) {
13750
13758
  if (false) {} else {
13751
13759
  if (env_prod) {
13752
- config.url = "http://10.0.28.22:9701" + config.url;
13760
+ config.url = "http://10.0.28.22:9704" + config.url;
13753
13761
  } else {
13754
- config.url = "http://10.0.28.25:9701" + config.url;
13762
+ config.url = "http://10.0.28.25:9704" + config.url;
13755
13763
  }
13756
13764
  }
13757
13765
  }
@@ -47512,7 +47520,7 @@ var map = {
47512
47520
  "./cms-threeScroll/View.vue": 2633,
47513
47521
  "./cms-titleCenter/View.vue": 8862,
47514
47522
  "./cms-titleLeft/View.vue": 7265,
47515
- "./cms-via-storedValueCard/View.vue": 1087,
47523
+ "./cms-via-storedValueCard/View.vue": 8343,
47516
47524
  "./cms-view/View.vue": 8010
47517
47525
  };
47518
47526