bxs-tools-ui 1.5.6 → 1.5.8

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.
@@ -1768,6 +1768,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
1768
1768
  if (!(personOrderList && personOrderList.length)) {
1769
1769
  return null;
1770
1770
  }
1771
+ var pbId = prodData.isTemp || (prodData.policyType === 'single_insurance') ? null : parmas.planbookId;
1772
+ var productId = prodData.policyType === 'single_insurance' ? null : prodData.key;
1771
1773
  var insuredList = personOrderList
1772
1774
  .filter(function (p) { return ['insuredInfo', 'insured2Info'].includes(p.key) && p.eleOrderList; })
1773
1775
  .filter(function (p) {
@@ -1788,8 +1790,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
1788
1790
  return ins.key === 'common' || ins.isGroup ? list : list.concat(ins.key);
1789
1791
  }, []);
1790
1792
  return getAndCacheInsurancesVerifyData({
1791
- pbId: prodData.isTemp ? null : parmas.planbookId,
1792
- productId: prodData.key,
1793
+ pbId: pbId,
1794
+ productId: productId,
1793
1795
  insuredList: insuredList,
1794
1796
  insuranceIdList: insuranceIdList
1795
1797
  });
@@ -19916,6 +19916,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
19916
19916
  if (!(personOrderList && personOrderList.length)) {
19917
19917
  return null;
19918
19918
  }
19919
+ var pbId = prodData.isTemp || (prodData.policyType === 'single_insurance') ? null : parmas.planbookId;
19920
+ var productId = prodData.policyType === 'single_insurance' ? null : prodData.key;
19919
19921
  var insuredList = personOrderList
19920
19922
  .filter(function (p) { return ['insuredInfo', 'insured2Info'].includes(p.key) && p.eleOrderList; })
19921
19923
  .filter(function (p) {
@@ -19936,8 +19938,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
19936
19938
  return ins.key === 'common' || ins.isGroup ? list : list.concat(ins.key);
19937
19939
  }, []);
19938
19940
  return getAndCacheInsurancesVerifyData({
19939
- pbId: prodData.isTemp ? null : parmas.planbookId,
19940
- productId: prodData.key,
19941
+ pbId: pbId,
19942
+ productId: productId,
19941
19943
  insuredList: insuredList,
19942
19944
  insuranceIdList: insuranceIdList
19943
19945
  });
@@ -20179,6 +20179,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
20179
20179
  if (!(personOrderList && personOrderList.length)) {
20180
20180
  return null;
20181
20181
  }
20182
+ var pbId = prodData.isTemp || (prodData.policyType === 'single_insurance') ? null : parmas.planbookId;
20183
+ var productId = prodData.policyType === 'single_insurance' ? null : prodData.key;
20182
20184
  var insuredList = personOrderList
20183
20185
  .filter(function (p) { return ['insuredInfo', 'insured2Info'].includes(p.key) && p.eleOrderList; })
20184
20186
  .filter(function (p) {
@@ -20199,8 +20201,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
20199
20201
  return ins.key === 'common' || ins.isGroup ? list : list.concat(ins.key);
20200
20202
  }, []);
20201
20203
  return getAndCacheInsurancesVerifyData({
20202
- pbId: prodData.isTemp ? null : parmas.planbookId,
20203
- productId: prodData.key,
20204
+ pbId: pbId,
20205
+ productId: productId,
20204
20206
  insuredList: insuredList,
20205
20207
  insuranceIdList: insuranceIdList
20206
20208
  });
package/lib/index.js CHANGED
@@ -23241,6 +23241,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
23241
23241
  if (!(personOrderList && personOrderList.length)) {
23242
23242
  return null;
23243
23243
  }
23244
+ var pbId = prodData.isTemp || (prodData.policyType === 'single_insurance') ? null : parmas.planbookId;
23245
+ var productId = prodData.policyType === 'single_insurance' ? null : prodData.key;
23244
23246
  var insuredList = personOrderList
23245
23247
  .filter(function (p) { return ['insuredInfo', 'insured2Info'].includes(p.key) && p.eleOrderList; })
23246
23248
  .filter(function (p) {
@@ -23261,8 +23263,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
23261
23263
  return ins.key === 'common' || ins.isGroup ? list : list.concat(ins.key);
23262
23264
  }, []);
23263
23265
  return getAndCacheInsurancesVerifyData({
23264
- pbId: prodData.isTemp ? null : parmas.planbookId,
23265
- productId: prodData.key,
23266
+ pbId: pbId,
23267
+ productId: productId,
23266
23268
  insuredList: insuredList,
23267
23269
  insuranceIdList: insuranceIdList
23268
23270
  });
@@ -34059,8 +34061,8 @@ function isSlowBuffer (obj) {
34059
34061
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
34060
34062
 
34061
34063
  "use strict";
34062
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7bc8e2d3_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92);
34063
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7bc8e2d3_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7bc8e2d3_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
34064
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_202d36f6_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92);
34065
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_202d36f6_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_202d36f6_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
34064
34066
  /* unused harmony reexport * */
34065
34067
 
34066
34068
 
@@ -40508,8 +40510,8 @@ var person_info_component = normalizeComponent(
40508
40510
  )
40509
40511
 
40510
40512
  /* harmony default export */ var person_info = (person_info_component.exports);
40511
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options!./packages/product-info/index.vue?vue&type=template&id=7bc8e2d3&
40512
- var product_infovue_type_template_id_7bc8e2d3_render = function render() {
40513
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options!./packages/product-info/index.vue?vue&type=template&id=202d36f6&
40514
+ var product_infovue_type_template_id_202d36f6_render = function render() {
40513
40515
  var _vm = this,
40514
40516
  _c = _vm._self._c,
40515
40517
  _setup = _vm._self._setupProxy;
@@ -40624,7 +40626,7 @@ var product_infovue_type_template_id_7bc8e2d3_render = function render() {
40624
40626
  "disabled": !!ele.isDisabled,
40625
40627
  "readonly": !!ele.isDisabled,
40626
40628
  "maxlength": ele.maxlength || 9,
40627
- "right-icon": !ele.isDisabled ? null : {
40629
+ "right-icon": !!ele.isDisabled ? null : {
40628
40630
  prefix: 'icon',
40629
40631
  name: 'edit2 iconfont'
40630
40632
  }
@@ -40819,9 +40821,9 @@ var product_infovue_type_template_id_7bc8e2d3_render = function render() {
40819
40821
  })], 2)];
40820
40822
  })], 2) : _vm._e();
40821
40823
  };
40822
- var product_infovue_type_template_id_7bc8e2d3_staticRenderFns = [];
40824
+ var product_infovue_type_template_id_202d36f6_staticRenderFns = [];
40823
40825
 
40824
- // CONCATENATED MODULE: ./packages/product-info/index.vue?vue&type=template&id=7bc8e2d3&
40826
+ // CONCATENATED MODULE: ./packages/product-info/index.vue?vue&type=template&id=202d36f6&
40825
40827
 
40826
40828
  // EXTERNAL MODULE: ./node_modules/md5/md5.js
40827
40829
  var md5 = __webpack_require__(50);
@@ -41832,8 +41834,8 @@ var product_infovue_type_script_lang_ts_BxtProductInfo = (function (_super) {
41832
41834
 
41833
41835
  // CONCATENATED MODULE: ./packages/product-info/index.vue?vue&type=script&lang=ts&
41834
41836
  /* harmony default export */ var packages_product_infovue_type_script_lang_ts_ = (product_infovue_type_script_lang_ts_);
41835
- // EXTERNAL MODULE: ./packages/product-info/index.vue?vue&type=style&index=0&id=7bc8e2d3&prod&lang=css&
41836
- var product_infovue_type_style_index_0_id_7bc8e2d3_prod_lang_css_ = __webpack_require__(232);
41837
+ // EXTERNAL MODULE: ./packages/product-info/index.vue?vue&type=style&index=0&id=202d36f6&prod&lang=css&
41838
+ var product_infovue_type_style_index_0_id_202d36f6_prod_lang_css_ = __webpack_require__(232);
41837
41839
 
41838
41840
  // CONCATENATED MODULE: ./packages/product-info/index.vue
41839
41841
 
@@ -41846,8 +41848,8 @@ var product_infovue_type_style_index_0_id_7bc8e2d3_prod_lang_css_ = __webpack_re
41846
41848
 
41847
41849
  var product_info_component = normalizeComponent(
41848
41850
  packages_product_infovue_type_script_lang_ts_,
41849
- product_infovue_type_template_id_7bc8e2d3_render,
41850
- product_infovue_type_template_id_7bc8e2d3_staticRenderFns,
41851
+ product_infovue_type_template_id_202d36f6_render,
41852
+ product_infovue_type_template_id_202d36f6_staticRenderFns,
41851
41853
  false,
41852
41854
  null,
41853
41855
  null,
@@ -20909,6 +20909,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
20909
20909
  if (!(personOrderList && personOrderList.length)) {
20910
20910
  return null;
20911
20911
  }
20912
+ var pbId = prodData.isTemp || (prodData.policyType === 'single_insurance') ? null : parmas.planbookId;
20913
+ var productId = prodData.policyType === 'single_insurance' ? null : prodData.key;
20912
20914
  var insuredList = personOrderList
20913
20915
  .filter(function (p) { return ['insuredInfo', 'insured2Info'].includes(p.key) && p.eleOrderList; })
20914
20916
  .filter(function (p) {
@@ -20929,8 +20931,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
20929
20931
  return ins.key === 'common' || ins.isGroup ? list : list.concat(ins.key);
20930
20932
  }, []);
20931
20933
  return getAndCacheInsurancesVerifyData({
20932
- pbId: prodData.isTemp ? null : parmas.planbookId,
20933
- productId: prodData.key,
20934
+ pbId: pbId,
20935
+ productId: productId,
20934
20936
  insuredList: insuredList,
20935
20937
  insuranceIdList: insuranceIdList
20936
20938
  });
@@ -20909,6 +20909,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
20909
20909
  if (!(personOrderList && personOrderList.length)) {
20910
20910
  return null;
20911
20911
  }
20912
+ var pbId = prodData.isTemp || (prodData.policyType === 'single_insurance') ? null : parmas.planbookId;
20913
+ var productId = prodData.policyType === 'single_insurance' ? null : prodData.key;
20912
20914
  var insuredList = personOrderList
20913
20915
  .filter(function (p) { return ['insuredInfo', 'insured2Info'].includes(p.key) && p.eleOrderList; })
20914
20916
  .filter(function (p) {
@@ -20929,8 +20931,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
20929
20931
  return ins.key === 'common' || ins.isGroup ? list : list.concat(ins.key);
20930
20932
  }, []);
20931
20933
  return getAndCacheInsurancesVerifyData({
20932
- pbId: prodData.isTemp ? null : parmas.planbookId,
20933
- productId: prodData.key,
20934
+ pbId: pbId,
20935
+ productId: productId,
20934
20936
  insuredList: insuredList,
20935
20937
  insuranceIdList: insuranceIdList
20936
20938
  });
@@ -21666,6 +21666,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
21666
21666
  if (!(personOrderList && personOrderList.length)) {
21667
21667
  return null;
21668
21668
  }
21669
+ var pbId = prodData.isTemp || (prodData.policyType === 'single_insurance') ? null : parmas.planbookId;
21670
+ var productId = prodData.policyType === 'single_insurance' ? null : prodData.key;
21669
21671
  var insuredList = personOrderList
21670
21672
  .filter(function (p) { return ['insuredInfo', 'insured2Info'].includes(p.key) && p.eleOrderList; })
21671
21673
  .filter(function (p) {
@@ -21686,8 +21688,8 @@ function getSingleInsurancesVerifyData(prodData, personData, parmas) {
21686
21688
  return ins.key === 'common' || ins.isGroup ? list : list.concat(ins.key);
21687
21689
  }, []);
21688
21690
  return getAndCacheInsurancesVerifyData({
21689
- pbId: prodData.isTemp ? null : parmas.planbookId,
21690
- productId: prodData.key,
21691
+ pbId: pbId,
21692
+ productId: productId,
21691
21693
  insuredList: insuredList,
21692
21694
  insuranceIdList: insuranceIdList
21693
21695
  });
@@ -32556,8 +32558,8 @@ function isSlowBuffer (obj) {
32556
32558
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
32557
32559
 
32558
32560
  "use strict";
32559
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7bc8e2d3_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(135);
32560
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7bc8e2d3_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7bc8e2d3_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
32561
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_202d36f6_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(135);
32562
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_202d36f6_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_202d36f6_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
32561
32563
  /* unused harmony reexport * */
32562
32564
 
32563
32565
 
@@ -32571,7 +32573,7 @@ function isSlowBuffer (obj) {
32571
32573
  // ESM COMPAT FLAG
32572
32574
  __webpack_require__.r(__webpack_exports__);
32573
32575
 
32574
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options!./packages/product-info/index.vue?vue&type=template&id=7bc8e2d3&
32576
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options!./packages/product-info/index.vue?vue&type=template&id=202d36f6&
32575
32577
  var render = function render() {
32576
32578
  var _vm = this,
32577
32579
  _c = _vm._self._c,
@@ -32687,7 +32689,7 @@ var render = function render() {
32687
32689
  "disabled": !!ele.isDisabled,
32688
32690
  "readonly": !!ele.isDisabled,
32689
32691
  "maxlength": ele.maxlength || 9,
32690
- "right-icon": !ele.isDisabled ? null : {
32692
+ "right-icon": !!ele.isDisabled ? null : {
32691
32693
  prefix: 'icon',
32692
32694
  name: 'edit2 iconfont'
32693
32695
  }
@@ -32884,7 +32886,7 @@ var render = function render() {
32884
32886
  };
32885
32887
  var staticRenderFns = [];
32886
32888
 
32887
- // CONCATENATED MODULE: ./packages/product-info/index.vue?vue&type=template&id=7bc8e2d3&
32889
+ // CONCATENATED MODULE: ./packages/product-info/index.vue?vue&type=template&id=202d36f6&
32888
32890
 
32889
32891
  // EXTERNAL MODULE: ./node_modules/tslib/tslib.es6.js
32890
32892
  var tslib_es6 = __webpack_require__(0);
@@ -33935,8 +33937,8 @@ var product_infovue_type_script_lang_ts_BxtProductInfo = (function (_super) {
33935
33937
 
33936
33938
  // CONCATENATED MODULE: ./packages/product-info/index.vue?vue&type=script&lang=ts&
33937
33939
  /* harmony default export */ var packages_product_infovue_type_script_lang_ts_ = (product_infovue_type_script_lang_ts_);
33938
- // EXTERNAL MODULE: ./packages/product-info/index.vue?vue&type=style&index=0&id=7bc8e2d3&prod&lang=css&
33939
- var product_infovue_type_style_index_0_id_7bc8e2d3_prod_lang_css_ = __webpack_require__(240);
33940
+ // EXTERNAL MODULE: ./packages/product-info/index.vue?vue&type=style&index=0&id=202d36f6&prod&lang=css&
33941
+ var product_infovue_type_style_index_0_id_202d36f6_prod_lang_css_ = __webpack_require__(240);
33940
33942
 
33941
33943
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
33942
33944
  var componentNormalizer = __webpack_require__(9);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bxs-tools-ui",
3
- "version": "1.5.6",
3
+ "version": "1.5.8",
4
4
  "description": "微易前端业务组件",
5
5
  "main": "lib/index.js",
6
6
  "files": [
@@ -320,7 +320,8 @@ function getSingleInsurancesVerifyData (prodData : IPbProduct, personData : IPbP
320
320
  if (!(personOrderList && personOrderList.length)) {
321
321
  return null
322
322
  }
323
-
323
+ const pbId = prodData.isTemp || (prodData.policyType === 'single_insurance') ? null : parmas.planbookId
324
+ const productId = prodData.policyType === 'single_insurance' ? null : prodData.key
324
325
  const insuredList = personOrderList
325
326
  .filter((p : IPbPerson) => ['insuredInfo', 'insured2Info'].includes(p.key) && p.eleOrderList )
326
327
  .filter((p : IPbPerson) => {
@@ -339,8 +340,8 @@ function getSingleInsurancesVerifyData (prodData : IPbProduct, personData : IPbP
339
340
  return ins.key === 'common' || ins.isGroup ? list : list.concat(ins.key)
340
341
  }, []);
341
342
  return getAndCacheInsurancesVerifyData({
342
- pbId: prodData.isTemp ? null : parmas.planbookId,
343
- productId: prodData.key,
343
+ pbId,
344
+ productId,
344
345
  insuredList,
345
346
  insuranceIdList
346
347
  })
@@ -68,7 +68,7 @@
68
68
  :readonly="!!ele.isDisabled"
69
69
  :maxlength="ele.maxlength || 9"
70
70
  :right-icon="
71
- !ele.isDisabled
71
+ !!ele.isDisabled
72
72
  ? null
73
73
  : {
74
74
  prefix: 'icon',