bxs-tools-ui 3.1.2 → 3.2.0-0
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/es/add-and-take/index.js +2 -4
- package/es/adjust-baoe/index.js +2 -4
- package/es/index.css +1 -1
- package/es/index.js +264 -66
- package/es/insure-calculate/index.js +2 -4
- package/es/person-info/index.js +185 -21
- package/es/product-info/index.js +244 -43
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.js +4 -11
- package/es/utils/index.js +191 -25
- package/lib/add-and-take/index.js +2 -4
- package/lib/adjust-baoe/index.js +2 -4
- package/lib/index.css +1 -1
- package/lib/index.js +264 -66
- package/lib/insure-calculate/index.js +2 -4
- package/lib/person-info/index.js +185 -21
- package/lib/product-info/index.js +244 -43
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.js +4 -11
- package/lib/utils/index.js +194 -24
- package/package.json +1 -1
- package/packages/add-and-take/demo/index.vue +2 -2
- package/packages/bxs-utils/planbook/common.ts +144 -0
- package/packages/bxs-utils/planbook/index.ts +1 -4
- package/packages/bxs-utils/planbook/person.ts +2 -4
- package/packages/bxs-utils/planbook/product.ts +21 -20
- package/packages/index.ts +1 -1
- package/packages/planbook-input/components/product-table.vue +8 -9
- package/packages/planbook-input/helper.js +134 -11
- package/packages/planbook-input/index.vue +39 -9
- package/packages/product-info/index.vue +42 -8
- package/packages/share-sheet/index.css +1 -3
- package/packages/share-sheet/index.vue +2 -5
- package/packages/share-sheet/readme.md +99 -61
package/lib/index.js
CHANGED
|
@@ -8615,6 +8615,14 @@
|
|
|
8615
8615
|
desc: '自定义'
|
|
8616
8616
|
}];
|
|
8617
8617
|
|
|
8618
|
+
var enableLizhaoDebug = document && document.cookie && document.cookie.match('ENABLE_LIZHAO_DEBUG=1');
|
|
8619
|
+
function consoleLogWhenEnable() {
|
|
8620
|
+
if (enableLizhaoDebug) {
|
|
8621
|
+
var _console;
|
|
8622
|
+
(_console = console).log.apply(_console, arguments);
|
|
8623
|
+
}
|
|
8624
|
+
}
|
|
8625
|
+
|
|
8618
8626
|
/**
|
|
8619
8627
|
* **将对象下的 eleOrderList 数组中的子元素下的 value,转换为 key-value 键值对**
|
|
8620
8628
|
* @author Lizhao <lz@winbaoxian.com>
|
|
@@ -8877,6 +8885,167 @@
|
|
|
8877
8885
|
}
|
|
8878
8886
|
return text;
|
|
8879
8887
|
}
|
|
8888
|
+
function getExpressionParamMap(personData, product, ins, options) {
|
|
8889
|
+
var map = {
|
|
8890
|
+
planbookId: null,
|
|
8891
|
+
// 计划书id
|
|
8892
|
+
productId: null,
|
|
8893
|
+
// 产品id
|
|
8894
|
+
insured: {},
|
|
8895
|
+
// 被保人
|
|
8896
|
+
insured2: {},
|
|
8897
|
+
// 第二被保人
|
|
8898
|
+
applicant: {},
|
|
8899
|
+
// 投保人
|
|
8900
|
+
recipient: {},
|
|
8901
|
+
// 收件人
|
|
8902
|
+
p: {},
|
|
8903
|
+
// 当前产品
|
|
8904
|
+
m: {},
|
|
8905
|
+
// 主险
|
|
8906
|
+
me: {},
|
|
8907
|
+
// 当前险种
|
|
8908
|
+
common: {},
|
|
8909
|
+
// 通用信息
|
|
8910
|
+
customVariable: null,
|
|
8911
|
+
// 自定义变量
|
|
8912
|
+
cv: null // 简写,自定义变量
|
|
8913
|
+
};
|
|
8914
|
+
if (personData) {
|
|
8915
|
+
var insuredInfo = (personData.personOrderList || []).find(function (p) {
|
|
8916
|
+
return p.key === 'insuredInfo';
|
|
8917
|
+
});
|
|
8918
|
+
var insured2Info = (personData.personOrderList || []).find(function (p) {
|
|
8919
|
+
return p.key === 'insured2Info';
|
|
8920
|
+
});
|
|
8921
|
+
var applicantInfo = (personData.personOrderList || []).find(function (p) {
|
|
8922
|
+
return p.key === 'applicantInfo';
|
|
8923
|
+
});
|
|
8924
|
+
var recipientInfo = personData !== null && personData !== void 0 && personData.recipientInfo ? personData.recipientInfo : null;
|
|
8925
|
+
map.insured = insuredInfo ? convertEleOrderListToObj(insuredInfo) : {};
|
|
8926
|
+
map.insured2 = insured2Info ? convertEleOrderListToObj(insured2Info) : {};
|
|
8927
|
+
map.applicant = applicantInfo ? convertEleOrderListToObj(applicantInfo) : {};
|
|
8928
|
+
map.recipient = recipientInfo ? convertEleOrderListToObj(recipientInfo) : {};
|
|
8929
|
+
}
|
|
8930
|
+
if (ins) {
|
|
8931
|
+
map.me = ins ? convertEleOrderListToObj(ins) : {};
|
|
8932
|
+
map["i".concat(ins.key)] = ins;
|
|
8933
|
+
}
|
|
8934
|
+
if (product) {
|
|
8935
|
+
map.productId = product.key;
|
|
8936
|
+
Object.keys(product).filter(function (k) {
|
|
8937
|
+
return !['mulInsOrderList'].includes(k);
|
|
8938
|
+
}).forEach(function (k) {
|
|
8939
|
+
map.p[k] = product[k];
|
|
8940
|
+
});
|
|
8941
|
+
if (Array.isArray(product.mulInsOrderList)) {
|
|
8942
|
+
var common = product.mulInsOrderList.find(function (item) {
|
|
8943
|
+
return item.key === 'common';
|
|
8944
|
+
});
|
|
8945
|
+
var insuranceList = product.mulInsOrderList.filter(function (item) {
|
|
8946
|
+
return !['common'].includes(item.key);
|
|
8947
|
+
}).map(function (item) {
|
|
8948
|
+
return convertEleOrderListToObj(item);
|
|
8949
|
+
});
|
|
8950
|
+
map.m = insuranceList[0] ? insuranceList[0] : {};
|
|
8951
|
+
map.me = ins && ins.key ? insuranceList.find(function (e) {
|
|
8952
|
+
return e.key === ins.key;
|
|
8953
|
+
}) || {} : {};
|
|
8954
|
+
map.common = common ? convertEleOrderListToObj(common) : {};
|
|
8955
|
+
insuranceList.forEach(function (item) {
|
|
8956
|
+
map["i".concat(item.key)] = item;
|
|
8957
|
+
});
|
|
8958
|
+
}
|
|
8959
|
+
}
|
|
8960
|
+
if (options && options.planbookId) {
|
|
8961
|
+
map.planbookId = options.planbookId;
|
|
8962
|
+
}
|
|
8963
|
+
if (ins && ins.customVariableExp) {
|
|
8964
|
+
var exp = ins.customVariableExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'map.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'map.$2');
|
|
8965
|
+
map.customVariable = eval(exp);
|
|
8966
|
+
map.cv = map.customVariable;
|
|
8967
|
+
}
|
|
8968
|
+
return map;
|
|
8969
|
+
}
|
|
8970
|
+
function executeElementRule(personData, product, ins, ele) {
|
|
8971
|
+
var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};
|
|
8972
|
+
var paramMap = getExpressionParamMap(personData, product, ins, options);
|
|
8973
|
+
var newEleMap = {};
|
|
8974
|
+
if (paramMap) {
|
|
8975
|
+
if (['cmCommonTitle'].includes(ele.componentName)) {
|
|
8976
|
+
if (ele.underwriteExp) {
|
|
8977
|
+
var exp = ele.underwriteExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
8978
|
+
var evalValue = eval(exp);
|
|
8979
|
+
if (Array.isArray(evalValue)) {
|
|
8980
|
+
if ([0, 1].includes(evalValue[0])) {
|
|
8981
|
+
newEleMap.value = evalValue[0] === 1;
|
|
8982
|
+
}
|
|
8983
|
+
if ([0, 1].includes(evalValue[1])) {
|
|
8984
|
+
newEleMap.isDisabled = evalValue[1] === 0;
|
|
8985
|
+
}
|
|
8986
|
+
}
|
|
8987
|
+
consoleLogWhenEnable("".concat(ele.key, ": underwriteExp"), exp, evalValue);
|
|
8988
|
+
}
|
|
8989
|
+
}
|
|
8990
|
+
if (['cmCommonSelect', 'cmCommonRadioBtn', 'cmCommonRadio', 'cmCommonCheckbox'].includes(ele.componentName)) {
|
|
8991
|
+
if (ele.defaultValueExp) {
|
|
8992
|
+
if (ele.value !== 0 && !ele.value) {
|
|
8993
|
+
var _exp = ele.defaultValueExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
8994
|
+
newEleMap.value = eval(_exp);
|
|
8995
|
+
consoleLogWhenEnable("".concat(ele.key, ": defaultValueExp"), _exp, newEleMap.value);
|
|
8996
|
+
}
|
|
8997
|
+
}
|
|
8998
|
+
if (ele.underwriteExp) {
|
|
8999
|
+
var _exp2 = ele.underwriteExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
9000
|
+
var _evalValue = eval(_exp2);
|
|
9001
|
+
if (Array.isArray(_evalValue) && Array.isArray(ele.opts)) {
|
|
9002
|
+
if (_evalValue.length === 2) {
|
|
9003
|
+
newEleMap.opts = (ele.opts || []).filter(function (o) {
|
|
9004
|
+
return o.val >= _evalValue[0] && o.val <= _evalValue[1];
|
|
9005
|
+
});
|
|
9006
|
+
} else {
|
|
9007
|
+
newEleMap.opts = (ele.opts || []).filter(function (o) {
|
|
9008
|
+
return _evalValue.includes(o.val);
|
|
9009
|
+
});
|
|
9010
|
+
}
|
|
9011
|
+
}
|
|
9012
|
+
if (Array.isArray(newEleMap.opts)) {
|
|
9013
|
+
if (newEleMap.opts.length && !newEleMap.opts.some(function (o) {
|
|
9014
|
+
return o.val === ele.value;
|
|
9015
|
+
})) {
|
|
9016
|
+
newEleMap.value = newEleMap.opts[0].val;
|
|
9017
|
+
}
|
|
9018
|
+
}
|
|
9019
|
+
consoleLogWhenEnable("".concat(ele.key, ": underwriteExp"), _exp2, _evalValue);
|
|
9020
|
+
}
|
|
9021
|
+
}
|
|
9022
|
+
if (['cmCommonInput'].includes(ele.componentName)) {
|
|
9023
|
+
if (ele.defaultValueExp) {
|
|
9024
|
+
if (!ele.value) {
|
|
9025
|
+
var _exp3 = ele.defaultValueExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
9026
|
+
newEleMap.value = eval(_exp3);
|
|
9027
|
+
consoleLogWhenEnable("".concat(ele.key, ": defaultValueExp"), _exp3, newEleMap.value);
|
|
9028
|
+
}
|
|
9029
|
+
}
|
|
9030
|
+
if (ele.minExp) {
|
|
9031
|
+
var _exp4 = ele.minExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
9032
|
+
newEleMap.min = eval(_exp4);
|
|
9033
|
+
consoleLogWhenEnable("".concat(ele.key, ": minExp"), _exp4, newEleMap.min);
|
|
9034
|
+
}
|
|
9035
|
+
if (ele.maxExp) {
|
|
9036
|
+
var _exp5 = ele.maxExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
9037
|
+
newEleMap.max = eval(_exp5);
|
|
9038
|
+
consoleLogWhenEnable("".concat(ele.key, ": maxExp"), _exp5, newEleMap.max);
|
|
9039
|
+
}
|
|
9040
|
+
if (ele.multiExp) {
|
|
9041
|
+
var _exp6 = ele.multiExp.replace(/(%)(\d+)(\.*\w*)(%)/g, 'paramMap.i$2$3').replace(/(%)(\w*\.*\w*)(%)/g, 'paramMap.$2');
|
|
9042
|
+
newEleMap.multi = eval(_exp6);
|
|
9043
|
+
consoleLogWhenEnable("".concat(ele.key, ": multiExp"), _exp6, newEleMap.multi);
|
|
9044
|
+
}
|
|
9045
|
+
}
|
|
9046
|
+
}
|
|
9047
|
+
return newEleMap;
|
|
9048
|
+
}
|
|
8880
9049
|
|
|
8881
9050
|
/**
|
|
8882
9051
|
* **初始化人员数据**
|
|
@@ -9180,9 +9349,7 @@
|
|
|
9180
9349
|
prod.mulInsOrderList.forEach(function (ins) {
|
|
9181
9350
|
// 险种是否有费率
|
|
9182
9351
|
if (!verifyData[prod.key][ins.key]) {
|
|
9183
|
-
|
|
9184
|
-
console.log("".concat(prod.titleName, "-").concat(prod.key, " -> ").concat(ins.name, "-").concat(ins.key, ": \u5F53\u524D\u9669\u79CD\u6CA1\u6709\u8D39\u7387\u8868"));
|
|
9185
|
-
}
|
|
9352
|
+
consoleLogWhenEnable("".concat(prod.titleName, "-").concat(prod.key, " -> ").concat(ins.name, "-").concat(ins.key, ": \u5F53\u524D\u9669\u79CD\u6CA1\u6709\u8D39\u7387\u8868"));
|
|
9186
9353
|
return;
|
|
9187
9354
|
}
|
|
9188
9355
|
// 产品中是否有必选险种
|
|
@@ -9367,8 +9534,8 @@
|
|
|
9367
9534
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$1(r, e) || _nonIterableRest();
|
|
9368
9535
|
}
|
|
9369
9536
|
|
|
9370
|
-
function ownKeys$
|
|
9371
|
-
function _objectSpread$
|
|
9537
|
+
function ownKeys$5(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9538
|
+
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$5(Object(t), true).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$5(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9372
9539
|
|
|
9373
9540
|
/**
|
|
9374
9541
|
* **初始化险种数据**
|
|
@@ -9446,7 +9613,7 @@
|
|
|
9446
9613
|
}
|
|
9447
9614
|
if (e.opts && e.opts.length) {
|
|
9448
9615
|
e.opts = e.opts.map(function (o) {
|
|
9449
|
-
return _objectSpread$
|
|
9616
|
+
return _objectSpread$4(_objectSpread$4({}, o), {}, {
|
|
9450
9617
|
desc: o.desc || o.val,
|
|
9451
9618
|
isHide: o.isHide || null,
|
|
9452
9619
|
isDisabled: o.isDisabled || null,
|
|
@@ -9676,7 +9843,7 @@
|
|
|
9676
9843
|
var insuranceInfo = convertEleOrderListToObj(insData);
|
|
9677
9844
|
var insVerifyData;
|
|
9678
9845
|
if (insuredInfo) {
|
|
9679
|
-
insVerifyData = _objectSpread$
|
|
9846
|
+
insVerifyData = _objectSpread$4({
|
|
9680
9847
|
sex: insuredInfo.sex,
|
|
9681
9848
|
age: insuredInfo.age
|
|
9682
9849
|
}, insuranceInfo);
|
|
@@ -9734,8 +9901,8 @@
|
|
|
9734
9901
|
return errorMsg;
|
|
9735
9902
|
}
|
|
9736
9903
|
|
|
9737
|
-
function ownKeys$
|
|
9738
|
-
function _objectSpread$
|
|
9904
|
+
function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9905
|
+
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), true).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9739
9906
|
|
|
9740
9907
|
/**
|
|
9741
9908
|
* **初始化产品数据(单个)**
|
|
@@ -9835,8 +10002,8 @@
|
|
|
9835
10002
|
insuranceDataHandler(ins, prodData);
|
|
9836
10003
|
var insuranceVerifyData = productVerifyData[ins.key];
|
|
9837
10004
|
if (!insuranceVerifyData) {
|
|
9838
|
-
if (
|
|
9839
|
-
|
|
10005
|
+
if (ins.key !== 'common') {
|
|
10006
|
+
consoleLogWhenEnable("".concat(prodData.titleName, "-").concat(prodData.key, " -> ").concat(ins.name, "-").concat(ins.key, ": \u5F53\u524D\u9669\u79CD\u6CA1\u6709\u8D39\u7387\u8868"));
|
|
9840
10007
|
}
|
|
9841
10008
|
return;
|
|
9842
10009
|
}
|
|
@@ -9888,9 +10055,7 @@
|
|
|
9888
10055
|
if (isNotAllowSelect) {
|
|
9889
10056
|
eleTitle.isDisabled = true;
|
|
9890
10057
|
eleTitle.value = false;
|
|
9891
|
-
|
|
9892
|
-
console.log(curCondition ? "".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u5B58\u5728\uFF01\u4F46\u6295\u4FDD\u4EBA\u672A\u9009\u4E2D\u6216\u6295\u88AB\u4FDD\u4EBA\u4E3A\u540C\u4E00\u4EBA\uFF0C\u8BE5\u8C41\u514D\u9669\uFF08\u4E0D\u80FD\u9644\u52A0\u5230\u88AB\u4FDD\u4EBA\uFF09\u4E0D\u53EF\u9009") : "".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u4E0D\u5B58\u5728\uFF01"));
|
|
9893
|
-
}
|
|
10058
|
+
consoleLogWhenEnable(curCondition ? "".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u5B58\u5728\uFF01\u4F46\u6295\u4FDD\u4EBA\u672A\u9009\u4E2D\u6216\u6295\u88AB\u4FDD\u4EBA\u4E3A\u540C\u4E00\u4EBA\uFF0C\u8BE5\u8C41\u514D\u9669\uFF08\u4E0D\u80FD\u9644\u52A0\u5230\u88AB\u4FDD\u4EBA\uFF09\u4E0D\u53EF\u9009") : "".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u4E0D\u5B58\u5728\uFF01"));
|
|
9894
10059
|
} else {
|
|
9895
10060
|
// 存在费率,险种可选
|
|
9896
10061
|
eleTitle.isDisabled = false;
|
|
@@ -9898,9 +10063,7 @@
|
|
|
9898
10063
|
if (ins.required && (!ins.groupKey || ins.isCheckbox)) {
|
|
9899
10064
|
eleTitle.value = true;
|
|
9900
10065
|
eleTitle.isDisabled = true;
|
|
9901
|
-
|
|
9902
|
-
console.log("".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u5B58\u5728\uFF0C\u9669\u79CD\u4E3A\u5FC5\u9009\u9669\u4E14(\u4E3A\u975E\u7EC4\u5408\u9669\u6216\u4E3A\u591A\u9009\u4E00\u9669\u79CD)"));
|
|
9903
|
-
}
|
|
10066
|
+
consoleLogWhenEnable("".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u5B58\u5728\uFF0C\u9669\u79CD\u4E3A\u5FC5\u9009\u9669\u4E14(\u4E3A\u975E\u7EC4\u5408\u9669\u6216\u4E3A\u591A\u9009\u4E00\u9669\u79CD)"));
|
|
9904
10067
|
}
|
|
9905
10068
|
}
|
|
9906
10069
|
if (!curCondition) {
|
|
@@ -9919,9 +10082,7 @@
|
|
|
9919
10082
|
});
|
|
9920
10083
|
}
|
|
9921
10084
|
if (!eleData) {
|
|
9922
|
-
|
|
9923
|
-
console.log("".concat(ins.name, " - ").concat(curCondition && curCondition.key, "\u5143\u7D20\u4E0D\u5B58\u5728\uFF1A"));
|
|
9924
|
-
}
|
|
10085
|
+
consoleLogWhenEnable("".concat(ins.name, " - ").concat(curCondition && curCondition.key, "\u5143\u7D20\u4E0D\u5B58\u5728\uFF1A"));
|
|
9925
10086
|
curCondition = null;
|
|
9926
10087
|
return 0; // break
|
|
9927
10088
|
}
|
|
@@ -9950,9 +10111,7 @@
|
|
|
9950
10111
|
eleData.value = refEleData.value;
|
|
9951
10112
|
}
|
|
9952
10113
|
} else {
|
|
9953
|
-
|
|
9954
|
-
console.log("".concat(ins.name, "-").concat(ins.key, "\uFF1A\u5173\u8054\u9669\u79CD").concat(ins.refInsuranceId, "\u4E0D\u5B58\u5728"));
|
|
9955
|
-
}
|
|
10114
|
+
consoleLogWhenEnable("".concat(ins.name, "-").concat(ins.key, "\uFF1A\u5173\u8054\u9669\u79CD").concat(ins.refInsuranceId, "\u4E0D\u5B58\u5728"));
|
|
9956
10115
|
}
|
|
9957
10116
|
} else {
|
|
9958
10117
|
var backupOpts = eleData.opts && eleData.opts.length ? eleData.opts.slice(0) : [];
|
|
@@ -10021,9 +10180,7 @@
|
|
|
10021
10180
|
if (!curCondition) {
|
|
10022
10181
|
eleTitle.isDisabled = true;
|
|
10023
10182
|
eleTitle.value = false;
|
|
10024
|
-
|
|
10025
|
-
console.log("".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u4E0D\u5B58\u5728\uFF01"));
|
|
10026
|
-
}
|
|
10183
|
+
consoleLogWhenEnable("".concat(eleTitle.labelName, "-").concat(ins.key, ": \u8D39\u7387\u4E0D\u5B58\u5728\uFF01"));
|
|
10027
10184
|
}
|
|
10028
10185
|
|
|
10029
10186
|
// 如果当前元素是隐藏的且不可修改,则过滤上一元素的选项,即,删除上一元素中不包含当前元素值的选项。
|
|
@@ -10060,6 +10217,15 @@
|
|
|
10060
10217
|
_ret = _loop2();
|
|
10061
10218
|
if (_ret === 0) break;
|
|
10062
10219
|
} while (curCondition && curCondition.key && curCondition[curCondition.key]);
|
|
10220
|
+
if (Array.isArray(ins.eleOrderList)) {
|
|
10221
|
+
ins.eleOrderList.forEach(function (ele) {
|
|
10222
|
+
var newEleMap = executeElementRule(personData, prodData, ins, ele, parmas);
|
|
10223
|
+
for (var k in newEleMap) {
|
|
10224
|
+
ele[k] = newEleMap[k];
|
|
10225
|
+
}
|
|
10226
|
+
});
|
|
10227
|
+
insuranceDataHandler(ins, prodData);
|
|
10228
|
+
}
|
|
10063
10229
|
});
|
|
10064
10230
|
}
|
|
10065
10231
|
setGroupInsurance(prodData);
|
|
@@ -10208,10 +10374,10 @@
|
|
|
10208
10374
|
var insuranceInfo = {};
|
|
10209
10375
|
insurances.forEach(function (ins) {
|
|
10210
10376
|
if (['common', option.insuranceKey].includes(ins.key)) {
|
|
10211
|
-
insuranceInfo = _objectSpread$
|
|
10377
|
+
insuranceInfo = _objectSpread$3(_objectSpread$3({}, insuranceInfo), convertEleOrderListToObj(ins));
|
|
10212
10378
|
}
|
|
10213
10379
|
});
|
|
10214
|
-
insuranceInfo = _objectSpread$
|
|
10380
|
+
insuranceInfo = _objectSpread$3(_objectSpread$3({}, insuranceInfo), option);
|
|
10215
10381
|
var temp = verify;
|
|
10216
10382
|
var hasElementKey = verify.key === option.elementKey;
|
|
10217
10383
|
while (temp && temp.key && temp.key !== option.elementKey) {
|
|
@@ -10729,7 +10895,7 @@
|
|
|
10729
10895
|
if (!prodData.mulInsOrderList) {
|
|
10730
10896
|
return prodData;
|
|
10731
10897
|
}
|
|
10732
|
-
var productData = _objectSpread$
|
|
10898
|
+
var productData = _objectSpread$3(_objectSpread$3({}, prodData), {}, {
|
|
10733
10899
|
common: {},
|
|
10734
10900
|
mulInsOrderList: []
|
|
10735
10901
|
});
|
|
@@ -10803,22 +10969,22 @@
|
|
|
10803
10969
|
return productData;
|
|
10804
10970
|
}
|
|
10805
10971
|
|
|
10806
|
-
if (document && document.cookie && document.cookie.match('LIZHAO_DEBUG_CONSOLE_FLAG=1')) {
|
|
10807
|
-
window.DEBUG_TEMP_CONSOLE_FLAG = true;
|
|
10808
|
-
}
|
|
10809
|
-
|
|
10810
10972
|
var planbook = /*#__PURE__*/Object.freeze({
|
|
10811
10973
|
__proto__: null,
|
|
10812
10974
|
calcTotalBaof: calcTotalBaof,
|
|
10813
10975
|
clearAddAndTakeAndAdjustBaoeData: clearAddAndTakeAndAdjustBaoeData,
|
|
10976
|
+
consoleLogWhenEnable: consoleLogWhenEnable,
|
|
10814
10977
|
converUnit10000: converUnit10000,
|
|
10815
10978
|
convertEleOrderListToObj: convertEleOrderListToObj,
|
|
10816
10979
|
convertPersonData: convertPersonData,
|
|
10817
10980
|
convertProductData: convertProductData,
|
|
10818
10981
|
deepCopy: deepCopy,
|
|
10982
|
+
enableLizhaoDebug: enableLizhaoDebug,
|
|
10983
|
+
executeElementRule: executeElementRule,
|
|
10819
10984
|
formatNumberToThousand: formatNumberToThousand,
|
|
10820
10985
|
getAgeFromBirth: getAgeFromBirth,
|
|
10821
10986
|
getElementVerifyFromProductVerify: getElementVerifyFromProductVerify,
|
|
10987
|
+
getExpressionParamMap: getExpressionParamMap,
|
|
10822
10988
|
getHuomianPeriodValue: getHuomianPeriodValue,
|
|
10823
10989
|
getInsuredAgeRange: getInsuredAgeRange,
|
|
10824
10990
|
getNumberFromYear: getNumberFromYear,
|
|
@@ -13572,8 +13738,8 @@
|
|
|
13572
13738
|
}
|
|
13573
13739
|
|
|
13574
13740
|
var _dec$7, _dec2$7, _dec3$7, _dec4$6, _dec5$5, _dec6$5, _class$7, _class2$7, _descriptor$7, _descriptor2$7, _descriptor3$6, _descriptor4$4;
|
|
13575
|
-
function ownKeys$
|
|
13576
|
-
function _objectSpread$
|
|
13741
|
+
function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13742
|
+
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), true).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13577
13743
|
function _callSuper$7(t, o, e) { return o = _getPrototypeOf$1(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$8() ? Reflect.construct(o, e || [], _getPrototypeOf$1(t).constructor) : o.apply(t, e)); }
|
|
13578
13744
|
function _isNativeReflectConstruct$8() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$8 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
13579
13745
|
Vue.use(_Toast);
|
|
@@ -13657,7 +13823,7 @@
|
|
|
13657
13823
|
if (!(productData && productData.mulInsOrderList && productData.mulInsOrderList.length)) {
|
|
13658
13824
|
return null;
|
|
13659
13825
|
}
|
|
13660
|
-
var options = [_objectSpread$
|
|
13826
|
+
var options = [_objectSpread$2({
|
|
13661
13827
|
year: '年度',
|
|
13662
13828
|
age: '年龄'
|
|
13663
13829
|
}, adjustBaoeInsTitles)];
|
|
@@ -13677,7 +13843,7 @@
|
|
|
13677
13843
|
}
|
|
13678
13844
|
}
|
|
13679
13845
|
}
|
|
13680
|
-
options.push(_objectSpread$
|
|
13846
|
+
options.push(_objectSpread$2(_objectSpread$2({}, adjustRecord || defaultAdjustRecord), {}, {
|
|
13681
13847
|
year: options.length,
|
|
13682
13848
|
age: k
|
|
13683
13849
|
}));
|
|
@@ -13805,7 +13971,7 @@
|
|
|
13805
13971
|
},
|
|
13806
13972
|
productGroupList: [{
|
|
13807
13973
|
key: params.groupKey,
|
|
13808
|
-
prodOrderList: [_objectSpread$
|
|
13974
|
+
prodOrderList: [_objectSpread$2(_objectSpread$2({}, cloneProductData), {}, {
|
|
13809
13975
|
adjustBaoeData: this.adjustBaoeData
|
|
13810
13976
|
})]
|
|
13811
13977
|
}]
|
|
@@ -13871,7 +14037,7 @@
|
|
|
13871
14037
|
if (index === 0) {
|
|
13872
14038
|
return;
|
|
13873
14039
|
}
|
|
13874
|
-
var temp = _objectSpread$
|
|
14040
|
+
var temp = _objectSpread$2({}, item);
|
|
13875
14041
|
delete temp.year;
|
|
13876
14042
|
for (var k in temp) {
|
|
13877
14043
|
if (!['age'].includes(k)) {
|
|
@@ -21667,14 +21833,14 @@
|
|
|
21667
21833
|
};
|
|
21668
21834
|
|
|
21669
21835
|
// all object keys, includes non-enumerable and symbols
|
|
21670
|
-
var ownKeys$
|
|
21836
|
+
var ownKeys$2 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
21671
21837
|
var keys = objectGetOwnPropertyNames.f(anObject$1(it));
|
|
21672
21838
|
var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
|
|
21673
21839
|
return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
|
|
21674
21840
|
};
|
|
21675
21841
|
|
|
21676
21842
|
var copyConstructorProperties = function (target, source) {
|
|
21677
|
-
var keys = ownKeys$
|
|
21843
|
+
var keys = ownKeys$2(source);
|
|
21678
21844
|
var defineProperty = objectDefineProperty$1.f;
|
|
21679
21845
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor$1.f;
|
|
21680
21846
|
for (var i = 0; i < keys.length; i++) {
|
|
@@ -43485,8 +43651,8 @@
|
|
|
43485
43651
|
};
|
|
43486
43652
|
|
|
43487
43653
|
var _dec$4, _dec2$4, _dec3$4, _dec4$4, _dec5$4, _dec6$4, _dec7$2, _dec8$1, _dec9$1, _dec0$1, _dec1$1, _dec10$1, _dec11, _class$4, _class2$4, _descriptor$4, _descriptor2$4, _descriptor3$4, _descriptor4$3, _descriptor5$3, _descriptor6$2, _descriptor7$1, _descriptor8$1, _descriptor9$1, _descriptor0$1, _descriptor1, _descriptor10;
|
|
43488
|
-
function ownKeys$
|
|
43489
|
-
function _objectSpread$
|
|
43654
|
+
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
43655
|
+
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), true).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43490
43656
|
function _callSuper$4(t, o, e) { return o = _getPrototypeOf$1(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$4() ? Reflect.construct(o, e || [], _getPrototypeOf$1(t).constructor) : o.apply(t, e)); }
|
|
43491
43657
|
function _isNativeReflectConstruct$4() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$4 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
43492
43658
|
Vue.use(_Toast);
|
|
@@ -44249,7 +44415,7 @@
|
|
|
44249
44415
|
vm.getArea(item.children, tempDes, res);
|
|
44250
44416
|
} else {
|
|
44251
44417
|
var _tempDes = "".concat(des).concat(item.areaName);
|
|
44252
|
-
res.push(_objectSpread$
|
|
44418
|
+
res.push(_objectSpread$1(_objectSpread$1({}, item), {}, {
|
|
44253
44419
|
des: _tempDes
|
|
44254
44420
|
}));
|
|
44255
44421
|
}
|
|
@@ -46485,8 +46651,8 @@
|
|
|
46485
46651
|
staticRenderFns: __vue_staticRenderFns__$2
|
|
46486
46652
|
}, __vue_inject_styles__$2, __vue_script__$2);
|
|
46487
46653
|
|
|
46488
|
-
function ownKeys
|
|
46489
|
-
function _objectSpread
|
|
46654
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
46655
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
46490
46656
|
function createMd5Token(reqData, obj) {
|
|
46491
46657
|
var personList = reqData.personData.personOrderList;
|
|
46492
46658
|
var signInfo = {};
|
|
@@ -46545,7 +46711,7 @@
|
|
|
46545
46711
|
// signMd5: MD5(signInfoTx)
|
|
46546
46712
|
// }))
|
|
46547
46713
|
|
|
46548
|
-
return CryptoJS.AES.encrypt(JSON.stringify(_objectSpread
|
|
46714
|
+
return CryptoJS.AES.encrypt(JSON.stringify(_objectSpread(_objectSpread({}, signInfo), {}, {
|
|
46549
46715
|
signMd5: MD5(signInfoTx)
|
|
46550
46716
|
})), CryptoJS.enc.Utf8.parse('67u3Dg5fcc06UntP'), {
|
|
46551
46717
|
mode: CryptoJS.mode.ECB,
|
|
@@ -46638,8 +46804,6 @@
|
|
|
46638
46804
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: true } : { done: false, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = true, u = false; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = true, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
46639
46805
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
46640
46806
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
46641
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
46642
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
46643
46807
|
function _callSuper(t, o, e) { return o = _getPrototypeOf$1(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf$1(t).constructor) : o.apply(t, e)); }
|
|
46644
46808
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
46645
46809
|
var BxtProductInfo = (_dec = Component({
|
|
@@ -46835,27 +46999,66 @@
|
|
|
46835
46999
|
key: "changeProduct",
|
|
46836
47000
|
value: function () {
|
|
46837
47001
|
var _changeProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(productData, options) {
|
|
47002
|
+
var _this5 = this;
|
|
47003
|
+
var $listeners, inputData, verifyData, personData, groupKey, productKey, params, type, insData, eleData, planbookId, publicPbUuid, productVerifyData, errorMsg, hasRevalidateFlag;
|
|
46838
47004
|
return _regeneratorRuntime.wrap(function (_context3) {
|
|
46839
47005
|
while (1) switch (_context3.prev = _context3.next) {
|
|
46840
47006
|
case 0:
|
|
46841
|
-
|
|
47007
|
+
$listeners = this.$listeners, inputData = this.inputData, verifyData = this.verifyData, personData = this.personData, groupKey = this.groupKey, productKey = this.productKey, params = this.params;
|
|
47008
|
+
type = options.type, insData = options.insData, eleData = options.eleData;
|
|
47009
|
+
planbookId = lodash.get(params, 'planbookId');
|
|
47010
|
+
publicPbUuid = lodash.get(params, 'publicPbUuid');
|
|
47011
|
+
productVerifyData = lodash.get(verifyData, "[".concat(productKey, "]"));
|
|
47012
|
+
if (type === 'change') {
|
|
46842
47013
|
clearAddAndTakeAndAdjustBaoeData(productData);
|
|
46843
47014
|
}
|
|
46844
47015
|
_context3.next = 1;
|
|
46845
|
-
return productDataHandler(productData,
|
|
46846
|
-
planbookId:
|
|
47016
|
+
return productDataHandler(productData, productVerifyData, personData, {
|
|
47017
|
+
planbookId: planbookId
|
|
46847
47018
|
});
|
|
46848
47019
|
case 1:
|
|
46849
|
-
if (
|
|
46850
|
-
this.createInsuranceInputResultEle(
|
|
47020
|
+
if (type === 'change') {
|
|
47021
|
+
this.createInsuranceInputResultEle(insData, eleData);
|
|
46851
47022
|
} else {
|
|
46852
47023
|
this.createInsuranceInputResultEle();
|
|
46853
47024
|
}
|
|
46854
|
-
|
|
46855
|
-
personData:
|
|
46856
|
-
productData: productData
|
|
46857
|
-
|
|
47025
|
+
errorMsg = verifyProductRules({
|
|
47026
|
+
personData: personData,
|
|
47027
|
+
productData: productData,
|
|
47028
|
+
insData: insData,
|
|
47029
|
+
eleData: eleData
|
|
47030
|
+
});
|
|
47031
|
+
if (errorMsg) {
|
|
47032
|
+
_context3.next = 3;
|
|
47033
|
+
break;
|
|
47034
|
+
}
|
|
47035
|
+
hasRevalidateFlag = (lodash.get(productData, 'mulInsOrderList') || []).some(function (ins) {
|
|
47036
|
+
return ins.revalidateFlag;
|
|
47037
|
+
});
|
|
47038
|
+
if (!(hasRevalidateFlag && $listeners.reCalculate)) {
|
|
47039
|
+
_context3.next = 3;
|
|
47040
|
+
break;
|
|
47041
|
+
}
|
|
47042
|
+
_context3.next = 2;
|
|
47043
|
+
return new Promise(function (resolve, reject) {
|
|
47044
|
+
_this5.$emit('reCalculate', inputData, {
|
|
47045
|
+
planbookId: planbookId,
|
|
47046
|
+
publicPbUuid: publicPbUuid,
|
|
47047
|
+
groupKey: groupKey,
|
|
47048
|
+
productKey: productKey,
|
|
47049
|
+
isIgnoreError: true
|
|
47050
|
+
}, resolve, reject);
|
|
47051
|
+
}).catch(function (err) {
|
|
47052
|
+
errorMsg = lodash.get(err, '[0].message') || lodash.get(err, 'message');
|
|
47053
|
+
});
|
|
46858
47054
|
case 2:
|
|
47055
|
+
_context3.next = 3;
|
|
47056
|
+
return productDataHandler(productData, productVerifyData, personData, {
|
|
47057
|
+
planbookId: planbookId
|
|
47058
|
+
});
|
|
47059
|
+
case 3:
|
|
47060
|
+
return _context3.abrupt("return", errorMsg);
|
|
47061
|
+
case 4:
|
|
46859
47062
|
case "end":
|
|
46860
47063
|
return _context3.stop();
|
|
46861
47064
|
}
|
|
@@ -47856,11 +48059,6 @@
|
|
|
47856
48059
|
});
|
|
47857
48060
|
}
|
|
47858
48061
|
return options;
|
|
47859
|
-
},
|
|
47860
|
-
actionTypeLength: function actionTypeLength() {
|
|
47861
|
-
return [this.shareOptions, this.actionOptions].filter(function (e) {
|
|
47862
|
-
return e.length;
|
|
47863
|
-
}).length;
|
|
47864
48062
|
}
|
|
47865
48063
|
},
|
|
47866
48064
|
created: function created() {
|
|
@@ -48015,7 +48213,7 @@
|
|
|
48015
48213
|
staticClass: "bxt-share bxt-bottom-border"
|
|
48016
48214
|
}, [_c('div', {
|
|
48017
48215
|
staticClass: "bxt-share-wrapper",
|
|
48018
|
-
class: [_vm.shareOptions.length > 4
|
|
48216
|
+
class: [_vm.shareOptions.length > 4 ? 'more' : '']
|
|
48019
48217
|
}, _vm._l(_vm.shareOptions, function (o) {
|
|
48020
48218
|
return _c('figure', {
|
|
48021
48219
|
key: o.action,
|
|
@@ -48036,7 +48234,7 @@
|
|
|
48036
48234
|
staticClass: "bxt-share bxt-bottom-border"
|
|
48037
48235
|
}, [_c('div', {
|
|
48038
48236
|
staticClass: "bxt-share-wrapper",
|
|
48039
|
-
class: [_vm.actionOptions.length > 4
|
|
48237
|
+
class: [_vm.actionOptions.length > 4 ? 'more' : '']
|
|
48040
48238
|
}, _vm._l(_vm.actionOptions, function (o) {
|
|
48041
48239
|
return _c('figure', {
|
|
48042
48240
|
key: o.action,
|
|
@@ -48109,7 +48307,7 @@
|
|
|
48109
48307
|
install(window.Vue);
|
|
48110
48308
|
}
|
|
48111
48309
|
var index = {
|
|
48112
|
-
version: '3.
|
|
48310
|
+
version: '3.2.0-0',
|
|
48113
48311
|
install: install
|
|
48114
48312
|
};
|
|
48115
48313
|
|
|
@@ -37348,6 +37348,8 @@
|
|
|
37348
37348
|
install$1(window.Vue);
|
|
37349
37349
|
}
|
|
37350
37350
|
|
|
37351
|
+
document && document.cookie && document.cookie.match('ENABLE_LIZHAO_DEBUG=1');
|
|
37352
|
+
|
|
37351
37353
|
/**
|
|
37352
37354
|
* **多被保人,获取并缓存多个险种信息的费率信息**
|
|
37353
37355
|
* @author Lizhao <lz@winbaoxian.com>
|
|
@@ -37379,10 +37381,6 @@
|
|
|
37379
37381
|
return QS.stringify(params);
|
|
37380
37382
|
});
|
|
37381
37383
|
|
|
37382
|
-
if (document && document.cookie && document.cookie.match('LIZHAO_DEBUG_CONSOLE_FLAG=1')) {
|
|
37383
|
-
window.DEBUG_TEMP_CONSOLE_FLAG = true;
|
|
37384
|
-
}
|
|
37385
|
-
|
|
37386
37384
|
function showLoading() {
|
|
37387
37385
|
if (IS_CPPOC_HOST) {
|
|
37388
37386
|
_Toast.loading({
|