bxs-tools-ui 1.0.21 → 1.0.25
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/business-card/index.js +2 -2
- package/lib/bxs-utils/index.js +4 -3
- package/lib/canvas-poster/index.js +2 -2
- package/lib/index.css +2 -2
- package/lib/index.js +101 -115
- package/lib/insure-calculate/index.css +1 -1
- package/lib/insure-calculate/index.js +31 -61
- package/lib/person-info/index.css +1 -1
- package/lib/person-info/index.js +45 -21
- package/lib/product-info/index.css +1 -1
- package/lib/product-info/index.js +19 -24
- package/package.json +5 -15
- package/packages/business-card/demo/index.vue +2 -8
- package/packages/business-card/index.vue +6 -28
- package/packages/bxs-utils/planbook/common.js +2 -4
- package/packages/bxs-utils/planbook/insurance.js +16 -62
- package/packages/bxs-utils/planbook/person.js +22 -74
- package/packages/bxs-utils/planbook/product.js +65 -233
- package/packages/bxs-utils/trade/insureCalculate.js +11 -43
- package/packages/canvas-poster/demo/index.vue +2 -7
- package/packages/canvas-poster/index.vue +5 -37
- package/packages/components/form-item/select-item.vue +5 -17
- package/packages/components/form-item/title-item.vue +3 -8
- package/packages/insure-calculate/demo/index.vue +1 -4
- package/packages/insure-calculate/index.vue +52 -183
- package/packages/person-info/index.vue +35 -21
- package/packages/planbook-input/components/footer.vue +1 -2
- package/packages/planbook-input/components/product-table.vue +7 -17
- package/packages/planbook-input/helper.js +19 -75
- package/packages/planbook-input/index.vue +8 -28
- package/packages/product-info/demo/index.vue +2 -12
- package/packages/product-info/index.vue +8 -31
- package/src/js/md5Token.js +6 -8
- package/src/js/request.js +11 -9
- package/src/js/utils.js +3 -7
|
@@ -2092,6 +2092,7 @@ function initPersonData(inputData, verifyData) {
|
|
|
2092
2092
|
e.componentName = 'cmCommonSelect';
|
|
2093
2093
|
e.placeholder = '请选择年龄';
|
|
2094
2094
|
e.options = [];
|
|
2095
|
+
e.iconColor = '#508cee';
|
|
2095
2096
|
break;
|
|
2096
2097
|
}
|
|
2097
2098
|
}
|
|
@@ -2345,7 +2346,7 @@ function setPersonAgeOptions(personData) {
|
|
|
2345
2346
|
if (options.length && options.every(function (o) {
|
|
2346
2347
|
return o.val !== ele.value;
|
|
2347
2348
|
})) {
|
|
2348
|
-
ele.value = options[0];
|
|
2349
|
+
ele.value = options[0].val;
|
|
2349
2350
|
|
|
2350
2351
|
if (birthday) {
|
|
2351
2352
|
birthday.value = null;
|
|
@@ -2636,9 +2637,9 @@ var BASE_API = function () {
|
|
|
2636
2637
|
if (location.hostname.search(/pbf\.winbaoxian\.com/) !== -1) {
|
|
2637
2638
|
env = 'https://app.winbaoxian.com';
|
|
2638
2639
|
} else if (location.hostname.search(/pbf\.winbaoxian\.cn/) !== -1) {
|
|
2639
|
-
env = '
|
|
2640
|
+
env = 'https://app.winbaoxian.cn';
|
|
2640
2641
|
} else if (location.hostname.search(/127\.0\.0\.1|192\.168|localhost/) !== -1) {
|
|
2641
|
-
env = '
|
|
2642
|
+
env = 'https://app.winbaoxian.cn';
|
|
2642
2643
|
}
|
|
2643
2644
|
|
|
2644
2645
|
return env;
|
|
@@ -6734,12 +6735,12 @@ module.exports = function spread(callback) {
|
|
|
6734
6735
|
// ESM COMPAT FLAG
|
|
6735
6736
|
__webpack_require__.r(__webpack_exports__);
|
|
6736
6737
|
|
|
6737
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/insure-calculate/index.vue?vue&type=template&id=
|
|
6738
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/insure-calculate/index.vue?vue&type=template&id=1fa56244&
|
|
6738
6739
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bxt-calculate"},[(_vm.showHeader)?_c('div',{ref:"header"},[_vm._t("header",[_c('header',{staticClass:"bxt-component-header"},[_c('span',{staticClass:"bxt-component-header_title"},[_vm._v(_vm._s(_vm.title))]),_c('span',{on:{"click":_vm.closeInsureCalculate}},[_c('bxs-icon',{staticClass:"bxt-component-header_close",attrs:{"name":"close"}})],1)])])],2):_vm._e(),(_vm.widgets && _vm.widgets.length)?_c('div',{staticClass:"bxt-component-container",class:{ 'bxt-mb50': _vm.showFooter }},_vm._l((_vm.widgets),function(item,index){return _c('div',{key:item.label + item.riskCode + index,staticClass:"bxt-insure-calculte"},[(item.type === 'v-text' && item.hidden === 0)?_c('div',{staticClass:"bxt-block bxt-text bxt-bb1"},[_c('span',{staticClass:"bxt-mr15 bxt-flex1 bxt-fs30"},[_vm._v(_vm._s(item.label))]),_c('span',{staticClass:"bxt-fs13"},[_vm._v(_vm._s(item.name))])]):_vm._e(),(item.type === 'text' && item.hidden === 0)?_c('div',{staticClass:"bxt-block bxt-text bxt-bb1"},[_c('span',{staticClass:"bxt-mr15 bxt-flex1 bxt-fs30"},[_vm._v(_vm._s(item.label))]),_c('span',{staticClass:"bxt-fs13"},[_vm._v(_vm._s(item.name))])]):_vm._e(),(item.type === 'select_checkbox' && item.hidden === 0)?_c('div',{staticClass:"bxt-block bxt-select-content"},[_c('span',{staticClass:"bxt-mr15 bxt-flex1 bxt-fs30"},[_vm._v(_vm._s(item.label))]),_c('div',{staticClass:"bxt-select-content-box"},[_vm._l((item.opts[item.key]),function(it,optsIndex){return [(item.current && it.value === item.current.v)?_c('span',{key:it.value + optsIndex,staticClass:"bxt-select-content-item bxt-active bxt-fs13",on:{"click":function($event){return _vm.bindSelectChange(item, it)}}},[_vm._v("\n "+_vm._s(it.name)+"\n ")]):_c('span',{key:it.value + optsIndex,staticClass:"bxt-select-content-item",on:{"click":function($event){return _vm.bindSelectChange(item, it)}}},[_vm._v("\n "+_vm._s(it.name)+"\n ")])]})],2)]):_vm._e(),(item.type === 'select_picker' && item.hidden === 0)?_c('div',{staticClass:"bxt-block bxt-bb1"},[_c('span',{staticClass:"bxt-mr15 bxt-flex1 bxt-fs30"},[_vm._v(_vm._s(item.label))]),_c('div',{staticClass:"bxt-flex-center",on:{"click":function($event){return _vm.openPicker(item)}}},[_c('div',{staticClass:"bxt-select-text bxt-fs13"},[_vm._v("\n "+_vm._s(item.opts[item.key][item.index].name)+"\n ")])])]):_vm._e(),(item.type === 'select_number_range' && item.hidden === 0)?_c('div',[_c('div',{staticClass:"bxt-block bxt-bb1"},[_c('span',{staticClass:"bxt-mr15 bxt-flex1 bxt-fs30"},[_vm._v(_vm._s(item.label))]),_c('div',{staticClass:"bxt-flex-center",on:{"click":function($event){return _vm.openSelectNumberRangePicker(item)}}},[_c('div',{staticClass:"bxt-select-text bxt-fs13"},[_vm._v("\n "+_vm._s(item.opts[item.key][item.index].name)+"\n ")])])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(item.showInput),expression:"item.showInput"}]},[_c('bxs-input',{attrs:{"autosize":"","type":"textarea","placeholder":'请输入' + item.label,"label":item.label,"input-align":"bx-right","clearable":false,"error-message":item.errorMessage},on:{"change":function($event){return _vm.inputNumberChange(item)}},model:{value:(item.current.v),callback:function ($$v) {_vm.$set(item.current, "v", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:"item.current.v"}},[_c('span',{attrs:{"slot":"button"},slot:"button"},[_vm._v("元")])])],1)]):_vm._e(),(item.type === 'calendar' && item.hidden === 0)?_c('div',{staticClass:"bxt-block bxt-calendar bxt-bb1"},[_c('span',{staticClass:"bxt-mr15 bxt-flex1"},[_vm._v(_vm._s(item.label))]),_c('div',{staticClass:"bxt-flex-center bxt-calendar-text bxt-fs13",on:{"click":function($event){return _vm.openDatePicker(item)}}},[_c('div',{staticClass:"bxt-minwidth-70"},[_vm._v(_vm._s(item.current.v))]),_c('img',{staticClass:"bxt-signin",attrs:{"src":"//media.winbaoxian.com/autoUpload/common/signin_0e67230840f371a.png"}})])]):_vm._e(),(item.type === 'profession' && item.hidden === 0)?_c('div',{staticClass:"bxt-block bxt-bb1"},[_c('span',{staticClass:"bxt-mr15 bxt-flex1 bxt-fs30"},[_vm._v(_vm._s(item.label))]),_c('div',{staticClass:"bxt-flex-center bxt-fs13"},[_c('span',{staticClass:"bxt-color-3 bxt-mr15"},[_vm._v(_vm._s(item.tv))]),_c('span',{on:{"click":function($event){return _vm.showProfession(item)}}},[_vm._v("查询")])])]):_vm._e(),(item.type === 'address' && item.hidden === 0)?_c('div',{staticClass:"bxt-block bxt-bb1"},[_c('span',{staticClass:"bxt-mr15 bxt-flex1 bxt-fs30"},[_vm._v(_vm._s(item.label))]),_c('div',{staticClass:"bxt-flex-center bxt-fs13"},[_c('span',{staticClass:"bxt-color-3 bxt-red",on:{"click":function($event){return _vm.showAddress(item)}}},[_vm._v(_vm._s(item.tv || '请选择投保地区'))])])]):_vm._e(),(item.type === 'input_number_range' && item.hidden === 0)?_c('div',{staticClass:"bxt-block bxt-input bxt-bb1"},[_c('span',{staticClass:"bxt-mr15 bxt-flex1 bxt-fs30"},[_vm._v(_vm._s(item.label))]),_c('div',{staticClass:"bxt-fs13"},[_c('div',{staticClass:"bxt-input-box"},[_c('span',{staticClass:"bxt-input-content"},[_c('input',{directives:[{name:"model",rawName:"v-model.trim",value:(item.current.v),expression:"item.current.v",modifiers:{"trim":true}}],staticClass:"bxt-input-text",attrs:{"type":"text"},domProps:{"value":(item.current.v)},on:{"blur":[function($event){return _vm.inputNumberRangeBlur(item)},function($event){return _vm.$forceUpdate()}],"input":function($event){if($event.target.composing){ return; }_vm.$set(item.current, "v", $event.target.value.trim())}}})]),_c('span',{staticClass:"bxt-input-unit"},[_vm._v("份")])]),_c('div',{staticClass:"bxt-input-extra"},[_vm._v(_vm._s(item.limitInfo))])])]):_vm._e()])}),0):_vm._e(),(_vm.isShowDuty && _vm.terms && _vm.terms.length)?_vm._l((_vm.terms),function(item,termsIndex){return _c('div',{key:item.contentId + termsIndex,staticClass:"bxt-bg-f",on:{"click":function($event){return _vm.toggle(item)}}},[_c('div',{staticClass:"bxt-content bxt-bb1"},[_c('div',{staticClass:"bxt-block-term"},[_c('span',{staticClass:"bxt-mr15 bxt-flex1 bxt-fs30 bxt-lh12"},[_vm._v(_vm._s(item.name))]),_c('div',{staticClass:"bxt-flex-center bxt-fs13"},[_c('span',{staticClass:"bxt-value"},[_vm._v(_vm._s(item.termValue))]),(!!item.content)?[(item.toggle)?[_c('bxs-icon',{staticClass:"bxt-icon",attrs:{"name":"arrow-up"}})]:[_c('bxs-icon',{staticClass:"bxt-icon",attrs:{"name":"arrow-down"}})]]:_vm._e()],2)]),(!!item.content)?_c('div',{directives:[{name:"show",rawName:"v-show",value:(item.toggle),expression:"item.toggle"}],staticClass:"bxt-des",domProps:{"innerHTML":_vm._s(item.content)}}):_vm._e()])])}):_vm._e(),(_vm.showFooter)?_c('div',{ref:"footer"},[_vm._t("footer",[_c('div',{staticClass:"bxt-sheets-footer"},[_c('footer',{staticClass:"bxt-footer"},[_c('span',{staticClass:"bxt-btn",on:{"click":_vm.sureInsureCalculate}},[_vm._v("确定")])])])])],2):_vm._e(),_c('bxs-profession-list',{attrs:{"async-columns-params":_vm.asyncColumnsParams,"readonly":"","prevent-scroll-through":true},model:{value:(_vm.isShowProfession),callback:function ($$v) {_vm.isShowProfession=$$v},expression:"isShowProfession"}}),_c('bxs-area',{attrs:{"area-select":_vm.defaultArea,"area-data":_vm.areaData},on:{"confirm":_vm.confirmArea},model:{value:(_vm.isShowArea),callback:function ($$v) {_vm.isShowArea=$$v},expression:"isShowArea"}})],2)}
|
|
6739
6740
|
var staticRenderFns = []
|
|
6740
6741
|
|
|
6741
6742
|
|
|
6742
|
-
// CONCATENATED MODULE: ./packages/insure-calculate/index.vue?vue&type=template&id=
|
|
6743
|
+
// CONCATENATED MODULE: ./packages/insure-calculate/index.vue?vue&type=template&id=1fa56244&
|
|
6743
6744
|
|
|
6744
6745
|
// EXTERNAL MODULE: ./node_modules/tslib/tslib.es6.js
|
|
6745
6746
|
var tslib_es6 = __webpack_require__(0);
|
|
@@ -6873,9 +6874,7 @@ var insure_calculatevue_type_script_lang_ts_InsureCalculate = (function (_super)
|
|
|
6873
6874
|
}
|
|
6874
6875
|
this.hasInit = true;
|
|
6875
6876
|
var postParams = {
|
|
6876
|
-
current_data: this.hasCalculateData
|
|
6877
|
-
? this.calculateData.current_data
|
|
6878
|
-
: null,
|
|
6877
|
+
current_data: this.hasCalculateData ? this.calculateData.current_data : null,
|
|
6879
6878
|
product_id: this.productId,
|
|
6880
6879
|
scenario: 'h5Widget'
|
|
6881
6880
|
};
|
|
@@ -7040,20 +7039,12 @@ var insure_calculatevue_type_script_lang_ts_InsureCalculate = (function (_super)
|
|
|
7040
7039
|
var currTarget = item;
|
|
7041
7040
|
var orginTarget;
|
|
7042
7041
|
if (currTarget.duty) {
|
|
7043
|
-
orginTarget = self.widgets.find(function (item) {
|
|
7044
|
-
return item.riskCode === currTarget.riskCode &&
|
|
7045
|
-
item.key === currTarget.key &&
|
|
7046
|
-
item.duty === currTarget.duty;
|
|
7047
|
-
});
|
|
7042
|
+
orginTarget = self.widgets.find(function (item) { return item.riskCode === currTarget.riskCode && item.key === currTarget.key && item.duty === currTarget.duty; });
|
|
7048
7043
|
}
|
|
7049
7044
|
else {
|
|
7050
|
-
orginTarget = this.widgets.find(function (item) {
|
|
7051
|
-
return item.riskCode === currTarget.riskCode && item.key === currTarget.key;
|
|
7052
|
-
});
|
|
7045
|
+
orginTarget = this.widgets.find(function (item) { return item.riskCode === currTarget.riskCode && item.key === currTarget.key; });
|
|
7053
7046
|
}
|
|
7054
|
-
var defaultValue = item.index
|
|
7055
|
-
? [item.opts[item.key][item.index].name]
|
|
7056
|
-
: [null];
|
|
7047
|
+
var defaultValue = item.index ? [item.opts[item.key][item.index].name] : [null];
|
|
7057
7048
|
self.$picker({
|
|
7058
7049
|
title: item.label,
|
|
7059
7050
|
valueKey: 'name',
|
|
@@ -7077,12 +7068,8 @@ var insure_calculatevue_type_script_lang_ts_InsureCalculate = (function (_super)
|
|
|
7077
7068
|
console.log('openSelectNumberRangePicker', item);
|
|
7078
7069
|
var self = this;
|
|
7079
7070
|
var currTarget = item;
|
|
7080
|
-
var orginTarget = self.widgets.find(function (item) {
|
|
7081
|
-
|
|
7082
|
-
});
|
|
7083
|
-
var defaultValue = item.index
|
|
7084
|
-
? [item.opts[item.key][item.index].name]
|
|
7085
|
-
: [null];
|
|
7071
|
+
var orginTarget = self.widgets.find(function (item) { return item.riskCode === currTarget.riskCode && item.key === currTarget.key; });
|
|
7072
|
+
var defaultValue = item.index ? [item.opts[item.key][item.index].name] : [null];
|
|
7086
7073
|
self.$picker({
|
|
7087
7074
|
title: item.label,
|
|
7088
7075
|
valueKey: 'name',
|
|
@@ -7122,9 +7109,7 @@ var insure_calculatevue_type_script_lang_ts_InsureCalculate = (function (_super)
|
|
|
7122
7109
|
console.log('openDatePicker', item);
|
|
7123
7110
|
var self = this;
|
|
7124
7111
|
var currTarget = item;
|
|
7125
|
-
var orginTarget = self.widgets.find(function (item) {
|
|
7126
|
-
return item.riskCode === currTarget.riskCode && item.key === currTarget.key;
|
|
7127
|
-
});
|
|
7112
|
+
var orginTarget = self.widgets.find(function (item) { return item.riskCode === currTarget.riskCode && item.key === currTarget.key; });
|
|
7128
7113
|
var defaultValue = item.current && item.current.v ? new Date(item.current.v) : new Date();
|
|
7129
7114
|
self.$datetime({
|
|
7130
7115
|
title: item.label,
|
|
@@ -7144,16 +7129,10 @@ var insure_calculatevue_type_script_lang_ts_InsureCalculate = (function (_super)
|
|
|
7144
7129
|
var currClickItem = it;
|
|
7145
7130
|
var orginTarget;
|
|
7146
7131
|
if (currTarget.duty) {
|
|
7147
|
-
orginTarget = this.widgets.find(function (item) {
|
|
7148
|
-
return item.riskCode === currTarget.riskCode &&
|
|
7149
|
-
item.key === currTarget.key &&
|
|
7150
|
-
item.duty === currTarget.duty;
|
|
7151
|
-
});
|
|
7132
|
+
orginTarget = this.widgets.find(function (item) { return item.riskCode === currTarget.riskCode && item.key === currTarget.key && item.duty === currTarget.duty; });
|
|
7152
7133
|
}
|
|
7153
7134
|
else {
|
|
7154
|
-
orginTarget = this.widgets.find(function (item) {
|
|
7155
|
-
return item.riskCode === currTarget.riskCode && item.key === currTarget.key;
|
|
7156
|
-
});
|
|
7135
|
+
orginTarget = this.widgets.find(function (item) { return item.riskCode === currTarget.riskCode && item.key === currTarget.key; });
|
|
7157
7136
|
}
|
|
7158
7137
|
orginTarget.current.v = currClickItem.value;
|
|
7159
7138
|
this.handleSaveCalculate(item);
|
|
@@ -7163,8 +7142,7 @@ var insure_calculatevue_type_script_lang_ts_InsureCalculate = (function (_super)
|
|
|
7163
7142
|
var currValue = Number(item.current.v);
|
|
7164
7143
|
var self = this;
|
|
7165
7144
|
if (currValue < item.minValue || currValue > item.maxValue) {
|
|
7166
|
-
item.errorMessage =
|
|
7167
|
-
'请输入' + item.minValue + '到' + item.maxValue + '之间的整数';
|
|
7145
|
+
item.errorMessage = '请输入' + item.minValue + '到' + item.maxValue + '之间的整数';
|
|
7168
7146
|
}
|
|
7169
7147
|
else if (currValue % item.step !== 0) {
|
|
7170
7148
|
item.errorMessage = '请输入' + item.step + '的倍数';
|
|
@@ -7213,32 +7191,30 @@ var insure_calculatevue_type_script_lang_ts_InsureCalculate = (function (_super)
|
|
|
7213
7191
|
widgets.forEach(function (item) {
|
|
7214
7192
|
var current;
|
|
7215
7193
|
if (item.duty) {
|
|
7216
|
-
item.current = current = currentData.find(function (it) {
|
|
7217
|
-
return it.k === item.key && it.risk === item.riskCode && item.duty === it.d;
|
|
7218
|
-
});
|
|
7194
|
+
item.current = current = currentData.find(function (it) { return it.k === item.key && it.risk === item.riskCode && item.duty === it.d; });
|
|
7219
7195
|
}
|
|
7220
7196
|
else {
|
|
7221
7197
|
item.current = current = currentData.find(function (it) { return it.k === item.key && it.risk === item.riskCode; });
|
|
7222
7198
|
}
|
|
7223
|
-
if ((item.type === 'select' || item.type === 'input') &&
|
|
7224
|
-
item.opts &&
|
|
7225
|
-
item.opts[item.key]) {
|
|
7199
|
+
if ((item.type === 'select' || item.type === 'input') && item.opts && item.opts[item.key]) {
|
|
7226
7200
|
var isNumberRange = item.opts[item.key].some(function (it) { return it.opt_type === 'number_range'; });
|
|
7227
7201
|
if (isNumberRange) {
|
|
7228
7202
|
item.type = item.type + "_number_range";
|
|
7229
7203
|
}
|
|
7230
7204
|
}
|
|
7231
|
-
if (item.type === 'select' &&
|
|
7232
|
-
item.key === 'detail_age' &&
|
|
7233
|
-
current &&
|
|
7234
|
-
current.sv) {
|
|
7205
|
+
if (item.type === 'select' && item.key === 'detail_age' && current && current.sv) {
|
|
7235
7206
|
item.current.v = current.sv;
|
|
7236
7207
|
}
|
|
7237
7208
|
if (~item.key.indexOf('#')) {
|
|
7238
7209
|
if (!item.opts) {
|
|
7239
7210
|
item.opts = {};
|
|
7240
7211
|
}
|
|
7241
|
-
|
|
7212
|
+
else if (!item.opts[item.key]) {
|
|
7213
|
+
var key = item.key.split('#')[0];
|
|
7214
|
+
if (item.opts[key]) {
|
|
7215
|
+
item.opts[item.key] = item.opts[key];
|
|
7216
|
+
}
|
|
7217
|
+
}
|
|
7242
7218
|
}
|
|
7243
7219
|
switch (item.type) {
|
|
7244
7220
|
case 'v-text':
|
|
@@ -7470,8 +7446,7 @@ var insure_calculatevue_type_script_lang_ts_InsureCalculate = (function (_super)
|
|
|
7470
7446
|
if (item.index === undefined) {
|
|
7471
7447
|
currentData.push(item.current);
|
|
7472
7448
|
}
|
|
7473
|
-
else if ((item.index || Number(item.index) === 0) &&
|
|
7474
|
-
!item.showInput) {
|
|
7449
|
+
else if ((item.index || Number(item.index) === 0) && !item.showInput) {
|
|
7475
7450
|
var temp = JSON.parse(JSON.stringify(item.current));
|
|
7476
7451
|
temp.v = item.opts[item.key][item.index].value;
|
|
7477
7452
|
currentData.push(temp);
|
|
@@ -7508,19 +7483,14 @@ var insure_calculatevue_type_script_lang_ts_InsureCalculate = (function (_super)
|
|
|
7508
7483
|
this.isDevelop = this.isDev;
|
|
7509
7484
|
}
|
|
7510
7485
|
if (this.isDevelop) {
|
|
7511
|
-
this.getCalculateApi =
|
|
7512
|
-
|
|
7513
|
-
this.getAreaCodeApi =
|
|
7514
|
-
'https://insurance2a-api.wyins.net.cn/api/product/data/getAreaCode';
|
|
7486
|
+
this.getCalculateApi = 'https://insurance2a-api.wyins.net.cn/api/product/data/calculate';
|
|
7487
|
+
this.getAreaCodeApi = 'https://insurance2a-api.wyins.net.cn/api/product/data/getAreaCode';
|
|
7515
7488
|
this.getUuidApi = 'http://app.winbaoxian.cn/planBook/common/currentUser';
|
|
7516
7489
|
}
|
|
7517
7490
|
else {
|
|
7518
|
-
this.getCalculateApi =
|
|
7519
|
-
|
|
7520
|
-
this.
|
|
7521
|
-
'https://insurance2a-api.wyins.net/api/product/data/getAreaCode';
|
|
7522
|
-
this.getUuidApi =
|
|
7523
|
-
'https://app.winbaoxian.com/planBook/common/currentUser';
|
|
7491
|
+
this.getCalculateApi = 'https://insurance2a-api.wyins.net/api/product/data/calculate';
|
|
7492
|
+
this.getAreaCodeApi = 'https://insurance2a-api.wyins.net/api/product/data/getAreaCode';
|
|
7493
|
+
this.getUuidApi = 'https://app.winbaoxian.com/planBook/common/currentUser';
|
|
7524
7494
|
}
|
|
7525
7495
|
};
|
|
7526
7496
|
Object(tslib_es6["c" /* __decorate */])([
|