bxs-tools-ui 1.2.0-5 → 1.2.0-7
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/lib/add-and-take/index.css +10 -1
- package/lib/add-and-take/index.js +136 -38
- package/lib/adjust-baoe/index.js +16 -16
- package/lib/bxs-utils/index.js +1 -1
- package/lib/index.css +10 -1
- package/lib/index.js +163 -65
- package/lib/insure-calculate/index.js +5 -5
- package/lib/person-info/index.js +6 -6
- package/lib/product-info/index.js +1 -1
- package/package.json +1 -1
- package/packages/add-and-take/handler.js +2 -9
- package/packages/add-and-take/index.css +12 -1
- package/packages/add-and-take/index.vue +161 -20
- package/packages/bxs-utils/planbook/common.ts +2 -2
- package/packages/planbook-input/components/product-table.vue +2 -1
|
@@ -167,6 +167,14 @@ footer {
|
|
|
167
167
|
-moz-box-sizing: content-box;
|
|
168
168
|
box-sizing: content-box;
|
|
169
169
|
}
|
|
170
|
+
.bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-left .bxt-aat-table-content-record:not(:first-child), .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:not(:first-child) {
|
|
171
|
+
height: 41px
|
|
172
|
+
}
|
|
173
|
+
.bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-left .bxt-aat-table-content-record:not(:first-child) span, .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:not(:first-child) span {
|
|
174
|
+
display: inline-block;
|
|
175
|
+
height: 15px;
|
|
176
|
+
line-height: 15px;
|
|
177
|
+
}
|
|
170
178
|
.bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-left .bxt-aat-table-content-record:nth-child(2n) .bxt-aat-table-content-cell, .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:nth-child(2n) .bxt-aat-table-content-cell {
|
|
171
179
|
background: rgba(0, 0, 0, 0.02);
|
|
172
180
|
}
|
|
@@ -209,6 +217,7 @@ footer {
|
|
|
209
217
|
}
|
|
210
218
|
.bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record .bxt-aat-table-content-cell__purpose span:nth-child(2) {
|
|
211
219
|
display: inline-block;
|
|
220
|
+
margin-left: 5px;
|
|
212
221
|
padding: 1px 3px;
|
|
213
222
|
color: rgba(10, 100, 254, 1);
|
|
214
223
|
background: rgba(10, 100, 254, 0.1);
|
|
@@ -216,6 +225,7 @@ footer {
|
|
|
216
225
|
transform: scale(0.8334);
|
|
217
226
|
-webkit-transform-origin: left center;
|
|
218
227
|
transform-origin: left center;
|
|
228
|
+
border-radius: 2px;
|
|
219
229
|
}
|
|
220
230
|
.bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:nth-child(1) .bxt-aat-table-content-cell {
|
|
221
231
|
line-height: normal;
|
|
@@ -428,7 +438,6 @@ footer {
|
|
|
428
438
|
.bxt-add-and-take .bxt-aat-footer .bxt-aat-footer-wrapper span.bxt-aat-footer-delete-all-btn .icon-delete_rubbish {
|
|
429
439
|
margin-right: 3px;
|
|
430
440
|
font-size: 24px;
|
|
431
|
-
font-weight: bold;
|
|
432
441
|
vertical-align: middle;
|
|
433
442
|
}
|
|
434
443
|
.bxt-add-and-take .bxt-aat-footer .bxt-aat-footer-wrapper span.bxt-aat-footer-delete-all-btn em {
|
|
@@ -417,7 +417,7 @@ function calcTotalBaof(productGroupList) {
|
|
|
417
417
|
}
|
|
418
418
|
});
|
|
419
419
|
});
|
|
420
|
-
return totalBaof;
|
|
420
|
+
return totalBaof && Number(totalBaof.toFixed(2));
|
|
421
421
|
}
|
|
422
422
|
function getHuomianPeriodValue(val, pMinus, age) {
|
|
423
423
|
if (val === void 0) { val = ''; }
|
|
@@ -3010,9 +3010,7 @@ module.exports = copyObject;
|
|
|
3010
3010
|
|
|
3011
3011
|
|
|
3012
3012
|
/***/ }),
|
|
3013
|
-
/* 36
|
|
3014
|
-
/* 37 */,
|
|
3015
|
-
/* 38 */
|
|
3013
|
+
/* 36 */
|
|
3016
3014
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3017
3015
|
|
|
3018
3016
|
var baseClone = __webpack_require__(90);
|
|
@@ -3047,6 +3045,8 @@ module.exports = cloneDeep;
|
|
|
3047
3045
|
|
|
3048
3046
|
|
|
3049
3047
|
/***/ }),
|
|
3048
|
+
/* 37 */,
|
|
3049
|
+
/* 38 */,
|
|
3050
3050
|
/* 39 */
|
|
3051
3051
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3052
3052
|
|
|
@@ -6142,8 +6142,8 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
|
|
|
6142
6142
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6143
6143
|
|
|
6144
6144
|
"use strict";
|
|
6145
|
-
/* harmony import */ var
|
|
6146
|
-
/* harmony import */ var
|
|
6145
|
+
/* 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_2b0d4718_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(165);
|
|
6146
|
+
/* 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_2b0d4718_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_2b0d4718_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
6147
6147
|
/* unused harmony reexport * */
|
|
6148
6148
|
|
|
6149
6149
|
|
|
@@ -6179,7 +6179,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6179
6179
|
var defineProperty = __webpack_require__(175);
|
|
6180
6180
|
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);
|
|
6181
6181
|
|
|
6182
|
-
// 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/add-and-take/index.vue?vue&type=template&id=
|
|
6182
|
+
// 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/add-and-take/index.vue?vue&type=template&id=2b0d4718&
|
|
6183
6183
|
|
|
6184
6184
|
|
|
6185
6185
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -6200,27 +6200,33 @@ var render = function render() {
|
|
|
6200
6200
|
staticClass: "bxt-aat-table"
|
|
6201
6201
|
}, [['addAndTake', 'add', 'take'].includes(_vm.type) ? _c('ul', {
|
|
6202
6202
|
staticClass: "bxt-aat-bonus"
|
|
6203
|
-
}, [_vm._l(
|
|
6204
|
-
return [
|
|
6205
|
-
key: key
|
|
6203
|
+
}, [_vm._l(_vm.interestOptions, function (item) {
|
|
6204
|
+
return [_c('li', {
|
|
6205
|
+
key: item.key
|
|
6206
6206
|
}, [_c('header', {
|
|
6207
6207
|
staticClass: "bxt-aat-bonus-title"
|
|
6208
|
-
}, [_vm._v("\n " + _vm._s(
|
|
6208
|
+
}, [_vm._v("\n " + _vm._s(item.title) + "\n ")]), _c('div', {
|
|
6209
6209
|
staticClass: "bxt-aat-bonus-descs"
|
|
6210
|
-
}, _vm._l(
|
|
6210
|
+
}, _vm._l(item.options, function (o, i) {
|
|
6211
6211
|
return _c('span', {
|
|
6212
|
-
key: o.value,
|
|
6212
|
+
key: o.value + o.description,
|
|
6213
6213
|
class: {
|
|
6214
6214
|
'bxt-aat-bonus-desc': true,
|
|
6215
|
-
active: _vm.interestFormData[key] === o.value
|
|
6215
|
+
active: _vm.interestFormData[item.key] === o.value
|
|
6216
|
+
},
|
|
6217
|
+
attrs: {
|
|
6218
|
+
"data-stat-id": item.stat,
|
|
6219
|
+
"data-stat-ep": JSON.stringify({
|
|
6220
|
+
key: item.key === 'bonus' ? o.value : i
|
|
6221
|
+
})
|
|
6216
6222
|
},
|
|
6217
6223
|
on: {
|
|
6218
6224
|
"click": function click($event) {
|
|
6219
|
-
return _vm.onClickBonusOptions(key, o);
|
|
6225
|
+
return _vm.onClickBonusOptions(item.key, o);
|
|
6220
6226
|
}
|
|
6221
6227
|
}
|
|
6222
6228
|
}, [_vm._v("\n " + _vm._s(o.description) + "\n ")]);
|
|
6223
|
-
}), 0)])
|
|
6229
|
+
}), 0)])];
|
|
6224
6230
|
})], 2) : _vm._e(), _c('div', {
|
|
6225
6231
|
staticClass: "bxt-aat-table-content"
|
|
6226
6232
|
}, [_c('div', {
|
|
@@ -6237,7 +6243,7 @@ var render = function render() {
|
|
|
6237
6243
|
}), 0);
|
|
6238
6244
|
}), 0), _c('div', {
|
|
6239
6245
|
staticClass: "bxt-aat-table-content-right"
|
|
6240
|
-
}, _vm._l(_vm.addAndTakeTable, function (record) {
|
|
6246
|
+
}, _vm._l(_vm.addAndTakeTable, function (record, recordIndex) {
|
|
6241
6247
|
return _c('div', {
|
|
6242
6248
|
key: JSON.stringify(record),
|
|
6243
6249
|
staticClass: "bxt-aat-table-content-record"
|
|
@@ -6251,9 +6257,16 @@ var render = function render() {
|
|
|
6251
6257
|
'bxt-aat-table-content-cell__zero': !record[key],
|
|
6252
6258
|
'bxt-aat-table-content-cell__purpose': key === 'take'
|
|
6253
6259
|
},
|
|
6260
|
+
attrs: {
|
|
6261
|
+
"data-stat-id": "zjlqblsz",
|
|
6262
|
+
"data-stat-ep": JSON.stringify({
|
|
6263
|
+
key: key,
|
|
6264
|
+
type: _vm.type
|
|
6265
|
+
})
|
|
6266
|
+
},
|
|
6254
6267
|
on: {
|
|
6255
6268
|
"click": function click($event) {
|
|
6256
|
-
return _vm.onClickToForm(key, record);
|
|
6269
|
+
return _vm.onClickToForm(key, record, recordIndex);
|
|
6257
6270
|
}
|
|
6258
6271
|
}
|
|
6259
6272
|
}, [_c('span', {
|
|
@@ -6280,6 +6293,12 @@ var render = function render() {
|
|
|
6280
6293
|
staticClass: "bxt-aat-form-item-select"
|
|
6281
6294
|
}, [_c('span', {
|
|
6282
6295
|
staticClass: "bxt-aat-form-item-select__button",
|
|
6296
|
+
attrs: {
|
|
6297
|
+
"data-stat-id": "zjlqszksnf",
|
|
6298
|
+
"data-stat-ep": JSON.stringify({
|
|
6299
|
+
type: _vm.type
|
|
6300
|
+
})
|
|
6301
|
+
},
|
|
6283
6302
|
on: {
|
|
6284
6303
|
"click": function click($event) {
|
|
6285
6304
|
return _vm.onClickOpenPicker('beginYear');
|
|
@@ -6293,6 +6312,12 @@ var render = function render() {
|
|
|
6293
6312
|
staticClass: "bxt-aat-form-item-select"
|
|
6294
6313
|
}, [_c('span', {
|
|
6295
6314
|
staticClass: "bxt-aat-form-item-select__button",
|
|
6315
|
+
attrs: {
|
|
6316
|
+
"data-stat-id": "zjlqszjsnf",
|
|
6317
|
+
"data-stat-ep": JSON.stringify({
|
|
6318
|
+
type: _vm.type
|
|
6319
|
+
})
|
|
6320
|
+
},
|
|
6296
6321
|
on: {
|
|
6297
6322
|
"click": function click($event) {
|
|
6298
6323
|
return _vm.onClickOpenPicker('endYear');
|
|
@@ -6312,7 +6337,11 @@ var render = function render() {
|
|
|
6312
6337
|
attrs: {
|
|
6313
6338
|
"placeholder": "请输入金额",
|
|
6314
6339
|
"maxlength": 9,
|
|
6315
|
-
"autocomplete": "off"
|
|
6340
|
+
"autocomplete": "off",
|
|
6341
|
+
"data-stat-id": "zjlqszje",
|
|
6342
|
+
"data-stat-ep": JSON.stringify({
|
|
6343
|
+
type: _vm.type
|
|
6344
|
+
})
|
|
6316
6345
|
},
|
|
6317
6346
|
model: {
|
|
6318
6347
|
value: _vm.formData.baof,
|
|
@@ -6321,9 +6350,7 @@ var render = function render() {
|
|
|
6321
6350
|
},
|
|
6322
6351
|
expression: "formData.baof"
|
|
6323
6352
|
}
|
|
6324
|
-
}),
|
|
6325
|
-
staticClass: "bxt-aat-form-baof-tips"
|
|
6326
|
-
}, [_vm._v("\n 根据低档收益,最大领取金额约\n "), _c('span', [_vm._v(_vm._s(_vm.ensureCanTakeAmount))]), _vm._v(" 元,仅供参考,实际领取以保单账户价值为准;\n ")]) : _vm._e()], 1)]), ['take'].includes(_vm.formData.type) ? _c('bxs-form-item', {
|
|
6353
|
+
})], 1)]), ['take'].includes(_vm.formData.type) ? _c('bxs-form-item', {
|
|
6327
6354
|
staticClass: "bxt-aat-form-purpose"
|
|
6328
6355
|
}, [_c('header', {
|
|
6329
6356
|
staticClass: "bxt-aat-form-item-title"
|
|
@@ -6336,6 +6363,12 @@ var render = function render() {
|
|
|
6336
6363
|
class: {
|
|
6337
6364
|
active: _vm.formData.purpose === o.val
|
|
6338
6365
|
},
|
|
6366
|
+
attrs: {
|
|
6367
|
+
"data-stat-id": "lqszyt",
|
|
6368
|
+
"data-stat-ep": JSON.stringify({
|
|
6369
|
+
value: o.val || o.desc
|
|
6370
|
+
})
|
|
6371
|
+
},
|
|
6339
6372
|
on: {
|
|
6340
6373
|
"click": function click($event) {
|
|
6341
6374
|
_vm.formData.purpose = o.val;
|
|
@@ -6346,7 +6379,8 @@ var render = function render() {
|
|
|
6346
6379
|
attrs: {
|
|
6347
6380
|
"placeholder": "请输入,5个字以内",
|
|
6348
6381
|
"maxlength": 5,
|
|
6349
|
-
"autocomplete": "off"
|
|
6382
|
+
"autocomplete": "off",
|
|
6383
|
+
"data-stat-id": "lqszytzdytx"
|
|
6350
6384
|
},
|
|
6351
6385
|
model: {
|
|
6352
6386
|
value: _vm.formData.customPurpose,
|
|
@@ -6363,18 +6397,36 @@ var render = function render() {
|
|
|
6363
6397
|
staticClass: "bxt-aat-footer-wrapper"
|
|
6364
6398
|
}, [_vm.subName === 'Table' ? [_vm.isShowDeleteAllBtn ? _c('span', {
|
|
6365
6399
|
staticClass: "bxt-aat-footer-delete-all-btn",
|
|
6400
|
+
attrs: {
|
|
6401
|
+
"data-stat-id": "zjlqbqk",
|
|
6402
|
+
"data-stat-ep": JSON.stringify({
|
|
6403
|
+
type: _vm.type
|
|
6404
|
+
})
|
|
6405
|
+
},
|
|
6366
6406
|
on: {
|
|
6367
6407
|
"click": _vm.deleteAllData
|
|
6368
6408
|
}
|
|
6369
6409
|
}, [_c('i', {
|
|
6370
6410
|
staticClass: "iconfont icon-delete_rubbish"
|
|
6371
6411
|
}), _c('em', [_vm._v("清空")])]) : _vm._e(), ['addAndTake', 'add'].includes(_vm.type) ? _c('span', {
|
|
6412
|
+
attrs: {
|
|
6413
|
+
"data-stat-id": "zjlqbzj",
|
|
6414
|
+
"data-stat-ep": JSON.stringify({
|
|
6415
|
+
type: _vm.type
|
|
6416
|
+
})
|
|
6417
|
+
},
|
|
6372
6418
|
on: {
|
|
6373
6419
|
"click": function click($event) {
|
|
6374
6420
|
return _vm.openFormPicker('add');
|
|
6375
6421
|
}
|
|
6376
6422
|
}
|
|
6377
6423
|
}, [_vm._v("追加")]) : _vm._e(), ['addAndTake', 'take', 'reduceBaof'].includes(_vm.type) ? _c('span', {
|
|
6424
|
+
attrs: {
|
|
6425
|
+
"data-stat-id": "zjlqblq",
|
|
6426
|
+
"data-stat-ep": JSON.stringify({
|
|
6427
|
+
type: _vm.type
|
|
6428
|
+
})
|
|
6429
|
+
},
|
|
6378
6430
|
on: {
|
|
6379
6431
|
"click": function click($event) {
|
|
6380
6432
|
return _vm.openFormPicker('take');
|
|
@@ -6382,6 +6434,12 @@ var render = function render() {
|
|
|
6382
6434
|
}
|
|
6383
6435
|
}, [_vm._v("领取")]) : _vm._e(), _c('span', {
|
|
6384
6436
|
staticClass: "bxt-aat-footer-ok-btn",
|
|
6437
|
+
attrs: {
|
|
6438
|
+
"data-stat-id": "zjlqbqr",
|
|
6439
|
+
"data-stat-ep": JSON.stringify({
|
|
6440
|
+
type: _vm.type
|
|
6441
|
+
})
|
|
6442
|
+
},
|
|
6385
6443
|
on: {
|
|
6386
6444
|
"click": function click($event) {
|
|
6387
6445
|
return _vm.tableConfirm();
|
|
@@ -6398,6 +6456,12 @@ var render = function render() {
|
|
|
6398
6456
|
}
|
|
6399
6457
|
}, [_vm._v("\n 删除" + _vm._s(_vm.formData.beginYear) + "-" + _vm._s(_vm.formData.endYear) + "年记录\n ")]) : _vm._e(), _c('span', {
|
|
6400
6458
|
staticClass: "bxt-aat-footer-ok-btn",
|
|
6459
|
+
attrs: {
|
|
6460
|
+
"data-stat-id": "zjlqszqr",
|
|
6461
|
+
"data-stat-ep": JSON.stringify({
|
|
6462
|
+
type: _vm.type
|
|
6463
|
+
})
|
|
6464
|
+
},
|
|
6401
6465
|
on: {
|
|
6402
6466
|
"click": function click($event) {
|
|
6403
6467
|
return _vm.formConfirm();
|
|
@@ -6408,13 +6472,13 @@ var render = function render() {
|
|
|
6408
6472
|
|
|
6409
6473
|
var staticRenderFns = [];
|
|
6410
6474
|
|
|
6411
|
-
// CONCATENATED MODULE: ./packages/add-and-take/index.vue?vue&type=template&id=
|
|
6475
|
+
// CONCATENATED MODULE: ./packages/add-and-take/index.vue?vue&type=template&id=2b0d4718&
|
|
6412
6476
|
|
|
6413
6477
|
// EXTERNAL MODULE: ./node_modules/tslib/tslib.es6.js
|
|
6414
6478
|
var tslib_es6 = __webpack_require__(0);
|
|
6415
6479
|
|
|
6416
6480
|
// EXTERNAL MODULE: ./node_modules/lodash/cloneDeep.js
|
|
6417
|
-
var cloneDeep = __webpack_require__(
|
|
6481
|
+
var cloneDeep = __webpack_require__(36);
|
|
6418
6482
|
var cloneDeep_default = /*#__PURE__*/__webpack_require__.n(cloneDeep);
|
|
6419
6483
|
|
|
6420
6484
|
// EXTERNAL MODULE: ./node_modules/vue-property-decorator/lib/vue-property-decorator.js + 1 modules
|
|
@@ -6624,7 +6688,7 @@ function getEnsureCanTakeAmount(initialData) {
|
|
|
6624
6688
|
endYear = options.endYear;
|
|
6625
6689
|
var rate = options.rate + 1;
|
|
6626
6690
|
var accountValue = initialData.find(function (ele) {
|
|
6627
|
-
return ele.
|
|
6691
|
+
return ele.uniKey === 'account_value_1';
|
|
6628
6692
|
});
|
|
6629
6693
|
var ensureAmount = 0;
|
|
6630
6694
|
|
|
@@ -6635,15 +6699,7 @@ function getEnsureCanTakeAmount(initialData) {
|
|
|
6635
6699
|
}
|
|
6636
6700
|
}
|
|
6637
6701
|
|
|
6638
|
-
var numMaxlength = 0;
|
|
6639
|
-
|
|
6640
|
-
if (initialData) {
|
|
6641
|
-
initialData.map(function (d) {
|
|
6642
|
-
if (d.key === 'account_value' && d.values && d.values.length) {
|
|
6643
|
-
numMaxlength = d.values.length;
|
|
6644
|
-
}
|
|
6645
|
-
});
|
|
6646
|
-
}
|
|
6702
|
+
var numMaxlength = accountValue && accountValue.values ? accountValue.values.length : 0;
|
|
6647
6703
|
|
|
6648
6704
|
if (beginYear && endYear && numMaxlength && endYear <= numMaxlength) {
|
|
6649
6705
|
for (var i = endYear + 1; i <= numMaxlength; i++) {
|
|
@@ -6729,6 +6785,45 @@ var add_and_takevue_type_script_lang_ts_AddAndTake = (function (_super) {
|
|
|
6729
6785
|
enumerable: false,
|
|
6730
6786
|
configurable: true
|
|
6731
6787
|
});
|
|
6788
|
+
Object.defineProperty(AddAndTake.prototype, "interestOptions", {
|
|
6789
|
+
get: function () {
|
|
6790
|
+
var _a = this, params = _a.params, initInterestData = _a.initInterestData;
|
|
6791
|
+
if (!initInterestData) {
|
|
6792
|
+
return [];
|
|
6793
|
+
}
|
|
6794
|
+
var options = [];
|
|
6795
|
+
var bonus = initInterestData.bonus;
|
|
6796
|
+
if (bonus && bonus.opts && bonus.opts.length) {
|
|
6797
|
+
options.push({
|
|
6798
|
+
key: 'bonus',
|
|
6799
|
+
stat: 'zjlqbfhqh',
|
|
6800
|
+
title: bonus.title,
|
|
6801
|
+
options: bonus.opts
|
|
6802
|
+
});
|
|
6803
|
+
}
|
|
6804
|
+
var rate = initInterestData.rate;
|
|
6805
|
+
if (rate && rate.opts && rate.opts.length) {
|
|
6806
|
+
var tempOptions = cloneDeep_default()(rate.opts);
|
|
6807
|
+
if (!tempOptions.find(function (o) { return o.value === params.rate; })) {
|
|
6808
|
+
tempOptions.forEach(function (o, i) {
|
|
6809
|
+
if (i === 3) {
|
|
6810
|
+
o.value = params.rate;
|
|
6811
|
+
o.description = o.description.replace(/\((.+)%\)$/, "(" + (params.rate * 100).toFixed(2) + "%)");
|
|
6812
|
+
}
|
|
6813
|
+
});
|
|
6814
|
+
}
|
|
6815
|
+
options.push({
|
|
6816
|
+
key: 'rate',
|
|
6817
|
+
stat: 'zjlqblyqh',
|
|
6818
|
+
title: rate.title,
|
|
6819
|
+
options: tempOptions
|
|
6820
|
+
});
|
|
6821
|
+
}
|
|
6822
|
+
return options;
|
|
6823
|
+
},
|
|
6824
|
+
enumerable: false,
|
|
6825
|
+
configurable: true
|
|
6826
|
+
});
|
|
6732
6827
|
Object.defineProperty(AddAndTake.prototype, "addAndTakeTable", {
|
|
6733
6828
|
get: function () {
|
|
6734
6829
|
var _a = this, insuredAge = _a.insuredAge, initInterestData = _a.initInterestData, initAddAndTakeData = _a.initAddAndTakeData;
|
|
@@ -6968,8 +7063,11 @@ var add_and_takevue_type_script_lang_ts_AddAndTake = (function (_super) {
|
|
|
6968
7063
|
this.interestFormData[key] = item.value;
|
|
6969
7064
|
this.getAddAndTakeData();
|
|
6970
7065
|
};
|
|
6971
|
-
AddAndTake.prototype.onClickToForm = function (key, item) {
|
|
7066
|
+
AddAndTake.prototype.onClickToForm = function (key, item, index) {
|
|
6972
7067
|
var _this = this;
|
|
7068
|
+
if (index <= 0) {
|
|
7069
|
+
return;
|
|
7070
|
+
}
|
|
6973
7071
|
if (!['add', 'take'].includes(key)) {
|
|
6974
7072
|
return;
|
|
6975
7073
|
}
|
|
@@ -7163,8 +7261,8 @@ var add_and_takevue_type_script_lang_ts_AddAndTake = (function (_super) {
|
|
|
7163
7261
|
|
|
7164
7262
|
// CONCATENATED MODULE: ./packages/add-and-take/index.vue?vue&type=script&lang=ts&
|
|
7165
7263
|
/* harmony default export */ var packages_add_and_takevue_type_script_lang_ts_ = (add_and_takevue_type_script_lang_ts_);
|
|
7166
|
-
// EXTERNAL MODULE: ./packages/add-and-take/index.vue?vue&type=style&index=0&id=
|
|
7167
|
-
var
|
|
7264
|
+
// EXTERNAL MODULE: ./packages/add-and-take/index.vue?vue&type=style&index=0&id=2b0d4718&prod&lang=css&
|
|
7265
|
+
var add_and_takevue_type_style_index_0_id_2b0d4718_prod_lang_css_ = __webpack_require__(177);
|
|
7168
7266
|
|
|
7169
7267
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
7170
7268
|
var componentNormalizer = __webpack_require__(7);
|
package/lib/adjust-baoe/index.js
CHANGED
|
@@ -417,7 +417,7 @@ function calcTotalBaof(productGroupList) {
|
|
|
417
417
|
}
|
|
418
418
|
});
|
|
419
419
|
});
|
|
420
|
-
return totalBaof;
|
|
420
|
+
return totalBaof && Number(totalBaof.toFixed(2));
|
|
421
421
|
}
|
|
422
422
|
function getHuomianPeriodValue(val, pMinus, age) {
|
|
423
423
|
if (val === void 0) { val = ''; }
|
|
@@ -3011,19 +3011,6 @@ module.exports = copyObject;
|
|
|
3011
3011
|
|
|
3012
3012
|
/***/ }),
|
|
3013
3013
|
/* 36 */
|
|
3014
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3015
|
-
|
|
3016
|
-
"use strict";
|
|
3017
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return IS_PRODUCT_ENV; });
|
|
3018
|
-
/* unused harmony export IS_TEST_ENV */
|
|
3019
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return IS_LOCALHOST_ENV; });
|
|
3020
|
-
var IS_PRODUCT_ENV = location.hostname.search(/pbf\.winbaoxian\.com/) !== -1;
|
|
3021
|
-
var IS_TEST_ENV = location.hostname.search(/pbf\.winbaoxian\.cn/) !== -1;
|
|
3022
|
-
var IS_LOCALHOST_ENV = location.hostname.search(/localhost|192\.168|127\.0\.0\.1|0\.0\.0\.0/) !== -1;
|
|
3023
|
-
|
|
3024
|
-
/***/ }),
|
|
3025
|
-
/* 37 */,
|
|
3026
|
-
/* 38 */
|
|
3027
3014
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3028
3015
|
|
|
3029
3016
|
var baseClone = __webpack_require__(90);
|
|
@@ -3058,6 +3045,19 @@ module.exports = cloneDeep;
|
|
|
3058
3045
|
|
|
3059
3046
|
|
|
3060
3047
|
/***/ }),
|
|
3048
|
+
/* 37 */
|
|
3049
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3050
|
+
|
|
3051
|
+
"use strict";
|
|
3052
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return IS_PRODUCT_ENV; });
|
|
3053
|
+
/* unused harmony export IS_TEST_ENV */
|
|
3054
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return IS_LOCALHOST_ENV; });
|
|
3055
|
+
var IS_PRODUCT_ENV = location.hostname.search(/pbf\.winbaoxian\.com/) !== -1;
|
|
3056
|
+
var IS_TEST_ENV = location.hostname.search(/pbf\.winbaoxian\.cn/) !== -1;
|
|
3057
|
+
var IS_LOCALHOST_ENV = location.hostname.search(/localhost|192\.168|127\.0\.0\.1|0\.0\.0\.0/) !== -1;
|
|
3058
|
+
|
|
3059
|
+
/***/ }),
|
|
3060
|
+
/* 38 */,
|
|
3061
3061
|
/* 39 */
|
|
3062
3062
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3063
3063
|
|
|
@@ -8426,7 +8426,7 @@ var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
|
|
8426
8426
|
var vue_property_decorator = __webpack_require__(2);
|
|
8427
8427
|
|
|
8428
8428
|
// EXTERNAL MODULE: ./node_modules/lodash/cloneDeep.js
|
|
8429
|
-
var cloneDeep = __webpack_require__(
|
|
8429
|
+
var cloneDeep = __webpack_require__(36);
|
|
8430
8430
|
var cloneDeep_default = /*#__PURE__*/__webpack_require__.n(cloneDeep);
|
|
8431
8431
|
|
|
8432
8432
|
// EXTERNAL MODULE: external {"root":"bxs","commonjs":"bxs-ui-vue","commonjs2":"bxs-ui-vue","amd":"bxs-ui-vue"}
|
|
@@ -8439,7 +8439,7 @@ var bxs_ui_vue_lib = __webpack_require__(87);
|
|
|
8439
8439
|
var planbook = __webpack_require__(11);
|
|
8440
8440
|
|
|
8441
8441
|
// EXTERNAL MODULE: ./src/js/variables.js
|
|
8442
|
-
var variables = __webpack_require__(
|
|
8442
|
+
var variables = __webpack_require__(37);
|
|
8443
8443
|
|
|
8444
8444
|
// EXTERNAL MODULE: ./packages/components/form-item/select-item.vue + 4 modules
|
|
8445
8445
|
var select_item = __webpack_require__(16);
|
package/lib/bxs-utils/index.js
CHANGED
package/lib/index.css
CHANGED
|
@@ -167,6 +167,14 @@ footer {
|
|
|
167
167
|
-moz-box-sizing: content-box;
|
|
168
168
|
box-sizing: content-box;
|
|
169
169
|
}
|
|
170
|
+
.bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-left .bxt-aat-table-content-record:not(:first-child), .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:not(:first-child) {
|
|
171
|
+
height: 41px
|
|
172
|
+
}
|
|
173
|
+
.bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-left .bxt-aat-table-content-record:not(:first-child) span, .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:not(:first-child) span {
|
|
174
|
+
display: inline-block;
|
|
175
|
+
height: 15px;
|
|
176
|
+
line-height: 15px;
|
|
177
|
+
}
|
|
170
178
|
.bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-left .bxt-aat-table-content-record:nth-child(2n) .bxt-aat-table-content-cell, .bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:nth-child(2n) .bxt-aat-table-content-cell {
|
|
171
179
|
background: rgba(0, 0, 0, 0.02);
|
|
172
180
|
}
|
|
@@ -209,6 +217,7 @@ footer {
|
|
|
209
217
|
}
|
|
210
218
|
.bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record .bxt-aat-table-content-cell__purpose span:nth-child(2) {
|
|
211
219
|
display: inline-block;
|
|
220
|
+
margin-left: 5px;
|
|
212
221
|
padding: 1px 3px;
|
|
213
222
|
color: rgba(10, 100, 254, 1);
|
|
214
223
|
background: rgba(10, 100, 254, 0.1);
|
|
@@ -216,6 +225,7 @@ footer {
|
|
|
216
225
|
transform: scale(0.8334);
|
|
217
226
|
-webkit-transform-origin: left center;
|
|
218
227
|
transform-origin: left center;
|
|
228
|
+
border-radius: 2px;
|
|
219
229
|
}
|
|
220
230
|
.bxt-add-and-take .bxt-aat-table .bxt-aat-table-content .bxt-aat-table-content-right .bxt-aat-table-content-record:nth-child(1) .bxt-aat-table-content-cell {
|
|
221
231
|
line-height: normal;
|
|
@@ -428,7 +438,6 @@ footer {
|
|
|
428
438
|
.bxt-add-and-take .bxt-aat-footer .bxt-aat-footer-wrapper span.bxt-aat-footer-delete-all-btn .icon-delete_rubbish {
|
|
429
439
|
margin-right: 3px;
|
|
430
440
|
font-size: 24px;
|
|
431
|
-
font-weight: bold;
|
|
432
441
|
vertical-align: middle;
|
|
433
442
|
}
|
|
434
443
|
.bxt-add-and-take .bxt-aat-footer .bxt-aat-footer-wrapper span.bxt-aat-footer-delete-all-btn em {
|