Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sfp-program
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
sfp-program
Commits
df8a9104
Commit
df8a9104
authored
Sep 07, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并代码
parent
c6f148ca
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
35 additions
and
25 deletions
+35
-25
pages/dataImport/data-import.vue
+1
-1
pages/index/index.vue
+32
-18
unpackage/dist/build/h5/assets/data-import.6523d743.js
+0
-1
unpackage/dist/build/h5/assets/data-import.f36ec532.css
+0
-1
unpackage/dist/build/h5/assets/index.634611b2.css
+0
-1
unpackage/dist/build/h5/assets/index.cca14f49.js
+0
-0
unpackage/dist/build/h5/assets/pages-index-index.2ea10b0d.js
+0
-1
unpackage/dist/build/h5/index.html
+2
-2
No files found.
pages/dataImport/data-import.vue
View file @
df8a9104
...
...
@@ -23,7 +23,7 @@
<view
class=
"dataOptionContainer"
>
<!-- 粘贴数据区域 -->
<view
class=
"uni-textarea"
>
<textarea
v-model=
"pasteData"
placeholder-style=
"color:#999999;font-size:14px;padding-left:9px;padding-top:3px"
placeholder=
"请根据左侧保单年度进行现金价值数据粘贴"
/>
<textarea
v-model=
"pasteData"
placeholder-style=
"color:#999999;font-size:14px;padding-left:9px;padding-top:3px"
placeholder=
"请根据左侧保单年度进行现金价值数据粘贴
,或直接输入,数据需进行换行分隔
"
/>
<button
class=
"mini-btn pasteDiscernment"
type=
"default"
size=
"mini"
@
click=
"pasteDataDistinguish"
>
粘贴并识别
</button>
</view>
<!-- 批量数据输入区域 -->
...
...
pages/index/index.vue
View file @
df8a9104
...
...
@@ -30,7 +30,7 @@
<text>
交费年限:
</text>
<view
class=
"inputContent"
>
<input
class=
"uni-input"
type=
"number"
placeholder=
"请输入"
v-model
=
"irrAndSimpleCalcuteParam.paymentPeriod
"
v-model
.
trim=
"irrAndSimpleCalcuteParam.paymentPeriod"
maxlength=
"3
"
/><label
for=
""
>
年
</label>
</view>
</view>
...
...
@@ -38,7 +38,7 @@
<text>
年交保费:
</text>
<view
class=
"inputContent"
>
<input
class=
"uni-input"
type=
"digit"
placeholder=
"请输入"
v-model=
"irrAndSimpleCalcuteParam.annualPremium"
v-model
.
trim
=
"irrAndSimpleCalcuteParam.annualPremium"
/><label
for=
""
>
元
</label>
</view>
</view>
...
...
@@ -46,22 +46,28 @@
<text>
万能账户首年交费
<text
style=
"font-size: 24rpx;"
>
(如有)
</text>
:
</text>
<view
class=
"inputContent"
>
<input
class=
"uni-input"
type=
"number"
placeholder=
"请输入"
v-model
=
"irrAndSimpleCalcuteParam.allFirstPayment"
@
blur
=
"withdrawalTypeInit()"
v-model
.
trim=
"irrAndSimpleCalcuteParam.allFirstPayment"
@
input
=
"withdrawalTypeInit()"
/><label
for=
""
>
元
</label>
</view>
</view>
</view>
<!-- 提领信息 -->
<view
class=
"claimInfomationContent"
v-if=
"!(calcuteType==='2' && irrAndSimpleCalcuteParam.allFirstPayment)"
>
<view
class=
"claimInfomationContent"
v-if=
"!irrAndSimpleCalcuteParam.allFirstPayment || irrAndSimpleCalcuteParam.allFirstPayment=='' || irrAndSimpleCalcuteParam.allFirstPayment==0"
>
<view
class=
"title"
>
<text>
提领信息
</text>
<view
style=
"display: flex;"
@
click=
"changeWithdrawalType()"
v-show=
"calcuteType==='1'"
>
<view
class=
"radioButton"
:class=
"
{'selected':!withdrawalType}">
</view>
<text
style=
"margin-left: 10rpx;"
>
减保取现
</text>
<view
style=
"display: flex;flex-direction: column;align-items: flex-end;"
@
click=
"changeWithdrawalType()"
v-if=
"calcuteType=='1'"
>
<view
style=
"display: flex;"
>
<view
class=
"radioButton"
:class=
"
{'selected':!withdrawalType}">
</view>
<text
style=
"margin-left: 10rpx;"
>
减保取现
</text>
</view>
<view>
<text>
(如有,请点击按钮进行填写提领信息)
</text>
</view>
</view>
</view>
<!-- 年金提领信息 -->
<view
class=
"annuityContent"
v-
show=
"calcuteType==='2' && !irrAndSimpleCalcuteParam.allFirstPayment
"
>
<view
class=
"annuityContent"
v-
if=
"calcuteType==='2'
"
>
<view
v-for=
"item in yearWithdrawalInfos"
>
<view
class=
"inputItem"
>
<text>
从第几个保单年度开始提取:
</text>
...
...
@@ -81,7 +87,7 @@
</view>
<!-- 增额减保取现 -->
<view
class=
"reduceInsuranceContent"
v-
show
=
"!withdrawalType && calcuteType==='1'"
>
<view
class=
"reduceInsuranceContent"
v-
if
=
"!withdrawalType && calcuteType==='1'"
>
<view
class=
"tableTh"
>
<text>
起领年度(年初)
</text>
<text>
止领年度(年末)
</text>
...
...
@@ -122,7 +128,7 @@
</view>
</view>
<view
class=
"inputItem"
>
<text>
总生存利益
<text
style=
"font-size: 14px;"
>
{{
irrAndSimpleCalcuteParam
.
allFirstPayment
>
0
?
'(万能账户现价+现金价值)'
:
'(现金价值)'
}}
</text>
:
</text>
<text>
{{
irrAndSimpleCalcuteParam
.
allFirstPayment
>
0
?
'总生存利益(万能账户现价+现金价值)'
:
'现金价值'
}}
:
</text>
<view
class=
"inputContent"
>
<input
class=
"uni-input"
type=
"number"
placeholder=
"请输入"
min=
'1'
v-model=
"irrAndSimple.cashValue"
/>
...
...
@@ -242,7 +248,7 @@
this
.
isNeedOfficialAccountQrcode
=
false
;
}
if
(
dataHandling
.
getQueryString
(
'openId'
))
{
uni
.
setStorageSync
(
'openId'
,
dataHandling
.
getQueryString
(
'openId'
))
}
else
if
(
!
uni
.
getStorageSync
(
'openId'
)){
...
...
@@ -267,6 +273,10 @@
withdrawalTypeInit
(){
if
(
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
>
0
)
{
this
.
yearWithdrawalInfos
=
null
}
else
{
this
.
yearWithdrawalInfos
=
[].
concat
([{
withdrawalType
:
'1'
,
withdrawalStart
:
null
,
yearWithdrawalAmount
:
null
}]);
}
},
switchTab
(
e
){
...
...
@@ -287,13 +297,12 @@
},
// calcuteMethod判断单次还是批量;businessType判断保存还是计算
calcute
(
businessType
){
console
.
log
(
this
.
businessType
)
if
(
this
.
calcuteMethod
===
'1'
){
// 计算
this
.
irrAndSimpleCalte
();
}
else
if
(
this
.
calcuteMethod
===
'2'
){
//批量
if
(
!
this
.
irrAndSimpleCalcuteParam
.
paymentPeriod
||
this
.
irrAndSimpleCalcuteParam
.
paymentPeriod
<
1
){
if
(
!
this
.
irrAndSimpleCalcuteParam
.
paymentPeriod
){
uni
.
showToast
({
title
:
'请填写交费年限且交费年限必须大于0'
,
duration
:
2000
,
...
...
@@ -405,23 +414,28 @@
icon
:
'none'
})
return
;
}
else
{
if
(
this
.
irrAndSimpleCalcuteParam
.
annualPremium
>
1000000000
){
}
else
if
(
this
.
irrAndSimpleCalcuteParam
.
annualPremium
>
1000000000
){
uni
.
showToast
({
title
:
'年交保费不能大于1,000,000,000'
,
duration
:
2000
,
icon
:
'none'
})
return
;
}
if
(
this
.
irrAndSimpleCalcuteParam
.
annualPremium
<
0
){
}
else
if
(
this
.
irrAndSimpleCalcuteParam
.
annualPremium
<
0
){
uni
.
showToast
({
title
:
'年交保费不能小于0'
,
duration
:
2000
,
icon
:
'none'
})
return
;
}
}
if
(
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
&&
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
<
0
){
uni
.
showToast
({
title
:
'万能账户首年交费信息须大于或等于0'
,
duration
:
2000
,
icon
:
'none'
})
return
;
}
if
(
this
.
businessType
==
2
){
if
(
!
this
.
mobile
){
...
...
unpackage/dist/build/h5/assets/data-import.6523d743.js
deleted
100644 → 0
View file @
c6f148ca
var
e
=
Object
.
defineProperty
,
t
=
Object
.
defineProperties
,
a
=
Object
.
getOwnPropertyDescriptors
,
l
=
Object
.
getOwnPropertySymbols
,
i
=
Object
.
prototype
.
hasOwnProperty
,
s
=
Object
.
prototype
.
propertyIsEnumerable
,
n
=
(
t
,
a
,
l
)
=>
a
in
t
?
e
(
t
,
a
,{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
l
}):
t
[
a
]
=
l
,
o
=
(
e
,
t
)
=>
{
for
(
var
a
in
t
||
(
t
=
{}))
i
.
call
(
t
,
a
)
&&
n
(
e
,
a
,
t
[
a
]);
if
(
l
)
for
(
var
a
of
l
(
t
))
s
.
call
(
t
,
a
)
&&
n
(
e
,
a
,
t
[
a
]);
return
e
};
import
{
y
as
c
,
z
as
r
,
g
as
u
,
A
as
p
,
s
as
d
,
B
as
h
,
C
as
f
,
D
as
m
,
a
as
y
,
o
as
g
,
i
as
_
,
d
as
Y
,
b
as
C
,
h
as
P
,
t
as
b
,
c
as
S
,
e
as
v
,
j
as
A
,
F
as
I
,
f
as
k
,
k
as
L
,
p
as
x
,
m
as
D
,
E
as
R
,
u
as
w
,
G
as
z
,
S
as
O
,
H
as
V
,
I
as
T
}
from
"./index.cca14f49.js"
;
const
j
=
[
"/api/authorize/obtainToken"
];
var
M
=
(
e
,
t
,
a
)
=>
(
c
(
"request"
,{
invoke
(
e
){
if
(
r
({
title
:
"加载中..."
}),
!
u
(
"uni-token"
)
&&!
j
.
includes
(
e
.
url
))
return
new
Promise
(((
e
,
t
)
=>
(
p
({
url
:
"/api/authorize/obtainToken"
,
method
:
"POST"
,
data
:{
ticket
:
"uni-app"
},
success
:
e
=>
{
200
===
e
.
statusCode
&&
(
d
(
"uni-token"
,
e
.
data
.
data
.
token
),
window
.
location
.
href
=
window
.
location
.
href
+
"?t_reload="
+
(
new
Date
).
getTime
())},
fail
(
e
){
t
(
e
)}}),
h
(),
!
1
)));
e
.
header
=
{
"content-type"
:
"POST"
===
e
.
method
?
"application/json"
:
"application/x-www-form-urlencoded"
,
"X-Authorization"
:
u
(
"uni-token"
)}},
success
(
e
){
h
(),
console
.
log
(
e
)},
fail
(
e
){
console
.
log
(
"interceptor-fail"
,
e
),
console
.
log
(
"请求失败"
),
h
()},
complete
(
e
){
h
()}}),
new
Promise
(((
l
,
i
)
=>
{
p
({
url
:
e
,
method
:
t
,
data
:
o
({},
a
),
success
(
e
){
l
(
e
.
data
)},
fail
(
e
){
i
(
e
)},
complete
(){
h
()}})})));
let
U
=
{
dev
:{
base_url
:
"https://mdev.zuihuibi.cn"
,
api_url
:
"https://mdev.zuihuibi.cn/api"
,
sfp_url
:
"https://mdev.zuihuibi.cn/api/sfp"
},
stage
:{
base_url
:
"https://mstage.zuihuibi.cn"
,
api_url
:
"https://mstage.zuihuibi.cn/api"
,
sfp_url
:
"https://mstage.zuihuibi.cn/api/sfp"
},
prod
:{
base_url
:
"https://m.zuihuibi.cn"
,
api_url
:
"https://m.zuihuibi.cn/api"
,
sfp_url
:
"https://m.zuihuibi.cn/api/sfp"
}}.
dev
.
base_url
;
var
F
=
{
irrAndSimpleCalcute
:
e
=>
M
(
`
${
U
}
/api/sfp/calcuteUtil/irrAndSimpleCalcute`
,
"POST"
,
e
),
getWxUserInfo
:
e
=>
M
(
`
${
U
}
/api/getWxUserInfo`
,
"POST"
,
e
),
queryIrrAndSimple
:
e
=>
M
(
`
${
U
}
/api/sfp/calcuteUtil/queryIrrAndSimple`
,
"POST"
,
e
)},
q
=
(
e
,
t
)
=>
{
const
a
=
e
.
__vccOpts
||
e
;
for
(
const
[
l
,
i
]
of
t
)
a
[
l
]
=
i
;
return
a
};
var
E
=
q
({
data
:()
=>
({
index
:
0
,
stepLists
:[
1
,
5
,
10
,
15
,
20
],
pasteData
:
""
,
irrAndSimpleInfos
:[{
nyear
:
1
,
cashValue
:
""
}],
customPolicyYearRange
:
0
,
customPolicyYearRangeCount
:
40
,
maxPolicyYear
:
105
,
policyYearLists
:[{
nyear
:
1
,
isActived
:
!
0
,
cashValue
:
""
}],
policyYearModalFlag
:
!
1
,
calcuteData
:
null
}),
name
:
"dataImport"
,
onLoad
(){
this
.
bindPickerChange
({
detail
:{
value
:
this
.
index
}}),
this
.
calcuteData
=
u
(
"calcuteData"
)},
methods
:{
bindPickerChange
(
e
){
this
.
index
=
e
.
detail
.
value
;
const
t
=
1
===
this
.
stepLists
[
this
.
index
]?
2
:
1
;
this
.
policyYearLists
=
[{
nyear
:
1
,
isActived
:
!
0
,
cashValue
:
""
}];
for
(
let
a
=
t
;
a
<=
this
.
maxPolicyYear
;
a
++
){
let
e
=
this
.
stepLists
[
this
.
index
]
*
a
;
if
(
!
(
e
<=
this
.
maxPolicyYear
))
break
;
this
.
policyYearLists
=
this
.
policyYearLists
.
concat
([{
nyear
:
e
,
cashValue
:
""
}])}
this
.
irrAndSimpleInfos
=
this
.
policyYearLists
.
concat
([])},
selectCustomPolicyYear
(){
this
.
policyYearModalFlag
=!
0
,
this
.
irrAndSimpleInfos
=
this
.
policyYearLists
=
[],
console
.
log
(
this
.
irrAndSimpleInfos
)},
selectPolicyYearRange
(
e
){
this
.
customPolicyYearRange
=
e
},
selectCustomPolicyYears
(
e
){
this
.
policyYearLists
.
filter
((
t
=>
t
.
nyear
==
e
)).
pop
()?
this
.
policyYearLists
.
filter
((
t
=>
t
.
nyear
==
e
)).
pop
().
isActived
=!
this
.
policyYearLists
.
filter
((
t
=>
t
.
nyear
==
e
)).
pop
().
isActived
:
this
.
policyYearLists
.
push
({
nyear
:
e
,
isActived
:
!
0
,
cashValue
:
""
})},
getActiveStatus
(
e
){
let
t
=!
1
;
return
this
.
policyYearLists
.
filter
((
t
=>
t
.
nyear
==
e
)).
pop
()
&&
(
t
=
this
.
policyYearLists
.
filter
((
t
=>
t
.
nyear
==
e
)).
pop
().
isActived
),
t
},
confirmPolicyYears
(){
this
.
policyYearModalFlag
=!
1
,
this
.
policyYearLists
.
length
>
0
&&
this
.
policyYearLists
.
sort
(((
e
,
t
)
=>
e
.
nyear
-
t
.
nyear
)),
this
.
irrAndSimpleInfos
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
policyYearLists
))},
pasteDataDistinguish
(){
const
e
=
this
.
pasteData
.
trim
().
split
(
"
\
n"
);
console
.
log
(
e
),
e
.
length
<=
0
||
e
.
every
((
e
=>
""
==
e
))?
f
({
title
:
"数据识别结果"
,
content
:
"检测到您并没有导入数据,请重新操作"
,
success
:
function
(
e
){
e
.
confirm
?
console
.
log
(
"用户点击确定"
):
e
.
cancel
&&
console
.
log
(
"用户点击取消"
)}}):
e
.
length
!==
this
.
irrAndSimpleInfos
.
length
&&
f
({
title
:
"数据识别结果"
,
content
:
"检测到您导入的数据条数和选择的保单年度数量不一致,系统将从上到下依次填入,请确认是否继续"
,
success
:
t
=>
{
if
(
t
.
confirm
){
if
(
console
.
log
(
"用户点击确定"
),
this
.
irrAndSimpleInfos
.
length
>
0
){
const
t
=
Math
.
min
(
e
.
length
,
this
.
irrAndSimpleInfos
.
length
);
console
.
log
(
t
);
for
(
let
a
=
0
;
a
<
t
;
a
++
)
this
.
irrAndSimpleInfos
[
a
].
cashValue
=
e
[
a
]}}
else
t
.
cancel
&&
console
.
log
(
"用户点击取消"
)}})},
clearData
(){
this
.
pasteData
=
""
,
this
.
irrAndSimpleInfos
.
forEach
((
e
=>
e
.
cashValue
=
""
))},
calcuteIrr
(){
this
.
policyYearLists
=
this
.
irrAndSimpleInfos
;
const
e
=
(
l
=
o
({},
this
.
calcuteData
),
i
=
{
calcuteMethod
:
2
,
decimal
:
5
,
irrAndSimpleInfos
:
this
.
policyYearLists
},
t
(
l
,
a
(
i
)));
var
l
,
i
;
F
.
irrAndSimpleCalcute
(
e
).
then
((
e
=>
{
!
0
===
e
.
success
?(
this
.
irrAndSimpleResInfos
=
e
.
data
.
irrAndSimpleResInfos
,
d
(
"resIrrAndSimpleResInfos"
,
this
.
irrAndSimpleResInfos
),
m
({
delta
:
1
})):
y
({
title
:
e
.
message
,
duration
:
2
e3
,
icon
:
"none"
})}))}}},[[
"render"
,
function
(
e
,
t
,
a
,
l
,
i
,
s
){
const
n
=
x
,
o
=
D
,
c
=
R
,
r
=
w
,
u
=
z
,
p
=
T
,
d
=
O
,
h
=
V
;
return
g
(),
_
(
o
,{
class
:
"batchDataImportContainer"
},{
default
:
Y
((()
=>
[
C
(
o
,{
class
:
"selectStepContainer"
},{
default
:
Y
((()
=>
[
C
(
o
,{
class
:
"selectStepContent"
},{
default
:
Y
((()
=>
[
C
(
n
,
null
,{
default
:
Y
((()
=>
[
P
(
"我想测算每隔"
)])),
_
:
1
}),
C
(
o
,{
class
:
"stepContent"
},{
default
:
Y
((()
=>
[
C
(
c
,{
onChange
:
s
.
bindPickerChange
,
value
:
i
.
index
,
range
:
i
.
stepLists
},{
default
:
Y
((()
=>
[
C
(
o
,{
class
:
"uni-input"
},{
default
:
Y
((()
=>
[
P
(
b
(
i
.
stepLists
[
i
.
index
]),
1
)])),
_
:
1
})])),
_
:
1
},
8
,[
"onChange"
,
"value"
,
"range"
]),(
g
(),
S
(
"svg"
,{
t
:
"1661847421137"
,
class
:
"icon"
,
viewBox
:
"0 0 1024 1024"
,
version
:
"1.1"
,
xmlns
:
"http://www.w3.org/2000/svg"
,
"p-id"
:
"1364"
,
width
:
"16"
,
height
:
"16"
},[
v
(
"path"
,{
d
:
"M917.4 302.8c-14.2-14.2-37.2-14.2-51.4 0L518.6 650.3c-2.9 2.8-7.5 2.8-10.3 0L160.8 302.8c-14.2-14.2-37.2-14.2-51.4 0-14.2 14.2-14.2 37.2 0 51.4l347.4 347.4c15.6 15.6 36 23.4 56.5 23.4s41-7.8 56.5-23.4l347.4-347.4c14.3-14.2 14.3-37.2 0.2-51.4z"
,
"p-id"
:
"1365"
,
fill
:
"#666666"
})]))])),
_
:
1
}),
C
(
n
,
null
,{
default
:
Y
((()
=>
[
P
(
"年的单利复利"
)])),
_
:
1
})])),
_
:
1
}),
C
(
o
,
null
,{
default
:
Y
((()
=>
[
C
(
r
,{
class
:
"mini-btn"
,
type
:
"default"
,
size
:
"mini"
,
onClick
:
s
.
selectCustomPolicyYear
},{
default
:
Y
((()
=>
[
P
(
"自定义"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
}),
C
(
o
,{
class
:
"tips"
},{
default
:
Y
((()
=>
[
C
(
n
,
null
,{
default
:
Y
((()
=>
[
P
(
"(如需指定任意保单年度,可通过点击右上角"
),
C
(
n
,
null
,{
default
:
Y
((()
=>
[
P
(
"“自定义”"
)])),
_
:
1
}),
P
(
"按钮完成)"
)])),
_
:
1
})])),
_
:
1
}),
C
(
o
,{
class
:
"dataOptionContainer"
},{
default
:
Y
((()
=>
[
C
(
o
,{
class
:
"uni-textarea"
},{
default
:
Y
((()
=>
[
C
(
u
,{
modelValue
:
i
.
pasteData
,
"onUpdate:modelValue"
:
t
[
0
]
||
(
t
[
0
]
=
e
=>
i
.
pasteData
=
e
),
"placeholder-style"
:
"color:#999999;font-size:14px;padding-left:9px;padding-top:3px"
,
placeholder
:
"请根据左侧保单年度进行现金价值数据粘贴"
},
null
,
8
,[
"modelValue"
]),
C
(
r
,{
class
:
"mini-btn pasteDiscernment"
,
type
:
"default"
,
size
:
"mini"
,
onClick
:
s
.
pasteDataDistinguish
},{
default
:
Y
((()
=>
[
P
(
"粘贴并识别"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
}),
C
(
o
,{
class
:
"batchDataLists"
},{
default
:
Y
((()
=>
[
C
(
o
,{
class
:
"batchDataTh"
},{
default
:
Y
((()
=>
[
C
(
n
,
null
,{
default
:
Y
((()
=>
[
P
(
"保单年度"
)])),
_
:
1
}),
C
(
n
,
null
,{
default
:
Y
((()
=>
[
P
(
"现金价值"
)])),
_
:
1
})])),
_
:
1
}),
C
(
d
,{
"scroll-y"
:
"true"
,
style
:{
height
:
"560rpx"
}},{
default
:
Y
((()
=>
[(
g
(
!
0
),
S
(
I
,
null
,
A
(
i
.
irrAndSimpleInfos
,(
e
=>
(
g
(),
_
(
o
,{
class
:
"batchDataTd"
},{
default
:
Y
((()
=>
[
C
(
n
,
null
,{
default
:
Y
((()
=>
[
P
(
b
(
e
.
nyear
),
1
)])),
_
:
2
},
1024
),
C
(
p
,{
class
:
"uni-input"
,
style
:{
height
:
"100%"
},
type
:
"digit"
,
modelValue
:
e
.
cashValue
,
"onUpdate:modelValue"
:
t
=>
e
.
cashValue
=
t
,
placeholder
:
"请输入纯数字"
},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
])])),
_
:
2
},
1024
)))),
256
))])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
C
(
o
,{
class
:
"optionContent"
},{
default
:
Y
((()
=>
[
C
(
r
,{
type
:
"default"
,
plain
:
"true"
,
"form-type"
:
"reset"
,
onClick
:
s
.
clearData
},{
default
:
Y
((()
=>
[
P
(
"全部清空"
)])),
_
:
1
},
8
,[
"onClick"
]),
C
(
r
,{
type
:
"default"
,
plain
:
"true"
,
onClick
:
t
[
1
]
||
(
t
[
1
]
=
e
=>
s
.
calcuteIrr
())},{
default
:
Y
((()
=>
[
P
(
b
(
"2"
==
e
.
calcuteMethod
?
"输入批量数据"
:
"开始计算"
),
1
)])),
_
:
1
})])),
_
:
1
}),
i
.
policyYearModalFlag
?(
g
(),
_
(
o
,{
key
:
0
,
class
:
"policySelectContainer"
},{
default
:
Y
((()
=>
[
C
(
o
,{
class
:
"policyYearContainer"
},{
default
:
Y
((()
=>
[
C
(
o
,{
class
:
"modalTitle"
},{
default
:
Y
((()
=>
[
C
(
n
),
C
(
n
,
null
,{
default
:
Y
((()
=>
[
P
(
"选择保单年度"
),
C
(
n
,
null
,{
default
:
Y
((()
=>
[
P
(
"(可多选)"
)])),
_
:
1
})])),
_
:
1
}),
C
(
h
,{
type
:
"clear"
,
size
:
"26"
,
onClick
:
t
[
2
]
||
(
t
[
2
]
=
e
=>
i
.
policyYearModalFlag
=!
1
)})])),
_
:
1
}),
C
(
o
,{
class
:
"policyStepContainer"
},{
default
:
Y
((()
=>
[
C
(
r
,{
type
:
"default"
,
plain
:
"true"
,
class
:
k
({
actived
:
0
===
i
.
customPolicyYearRange
}),
onClick
:
t
[
3
]
||
(
t
[
3
]
=
e
=>
s
.
selectPolicyYearRange
(
0
))},{
default
:
Y
((()
=>
[
P
(
"1~40"
)])),
_
:
1
},
8
,[
"class"
]),
C
(
r
,{
type
:
"default"
,
plain
:
"true"
,
class
:
k
({
actived
:
1
===
i
.
customPolicyYearRange
}),
onClick
:
t
[
4
]
||
(
t
[
4
]
=
e
=>
s
.
selectPolicyYearRange
(
1
))},{
default
:
Y
((()
=>
[
P
(
"41~80"
)])),
_
:
1
},
8
,[
"class"
]),
C
(
r
,{
type
:
"default"
,
plain
:
"true"
,
class
:
k
({
actived
:
2
===
i
.
customPolicyYearRange
}),
onClick
:
t
[
5
]
||
(
t
[
5
]
=
e
=>
s
.
selectPolicyYearRange
(
2
))},{
default
:
Y
((()
=>
[
P
(
"81~105"
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
}),
C
(
o
,{
class
:
"policyYearItemContainer"
},{
default
:
Y
((()
=>
[(
g
(
!
0
),
S
(
I
,
null
,
A
(
i
.
customPolicyYearRangeCount
,(
e
=>
(
g
(),
_
(
o
,{
onClick
:
t
=>
s
.
selectCustomPolicyYears
(
e
+
i
.
customPolicyYearRange
*
i
.
customPolicyYearRangeCount
),
class
:
k
({
actived
:
s
.
getActiveStatus
(
e
+
i
.
customPolicyYearRange
*
i
.
customPolicyYearRangeCount
)})},{
default
:
Y
((()
=>
[
C
(
n
,
null
,{
default
:
Y
((()
=>
[
P
(
b
(
e
+
i
.
customPolicyYearRange
*
i
.
customPolicyYearRangeCount
>
this
.
maxPolicyYear
?
""
:
e
+
i
.
customPolicyYearRange
*
i
.
customPolicyYearRangeCount
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"onClick"
,
"class"
])))),
256
))])),
_
:
1
}),
C
(
o
,{
class
:
"confirm"
},{
default
:
Y
((()
=>
[
C
(
r
,{
type
:
"default"
,
plain
:
"true"
,
onClick
:
t
[
6
]
||
(
t
[
6
]
=
e
=>
s
.
confirmPolicyYears
())},{
default
:
Y
((()
=>
[
P
(
"确定"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
L
(
""
,
!
0
)])),
_
:
1
})}],[
"__scopeId"
,
"data-v-46b5b512"
]]),
$
=
Object
.
freeze
({
__proto__
:
null
,[
Symbol
.
toStringTag
]:
"Module"
,
default
:
E
});
export
{
q
as
_
,
F
as
a
,
$
as
b
,
E
as
d
};
unpackage/dist/build/h5/assets/data-import.f36ec532.css
deleted
100644 → 0
View file @
c6f148ca
.policySelectContainer
[
data-v-46b5b512
]
{
position
:
fixed
;
z-index
:
2
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.35
)}
.policySelectContainer
.policyYearContainer
[
data-v-46b5b512
]
{
position
:
absolute
;
bottom
:
0
;
left
:
0
;
width
:
100%
;
height
:
57%
;
background-color
:
#fff
;
border-top-left-radius
:
1.25rem
;
border-top-right-radius
:
1.25rem
;
padding
:
.625rem
.9375rem
0
;
box-sizing
:
border-box
}
.policyYearContainer
.modalTitle
[
data-v-46b5b512
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
font-weight
:
700
}
.policyYearContainer
.modalTitle
uni-text
[
data-v-46b5b512
]
:last-child
{
color
:
red
}
.policyYearItemContainer
[
data-v-46b5b512
]
{
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
space-around
}
.policyYearItemContainer
uni-view
[
data-v-46b5b512
]
{
width
:
9%
;
height
:
0
;
padding-bottom
:
9%
;
margin
:
.625rem
.1875rem
.625rem
0
;
color
:
#fff
;
border-radius
:
50%
;
position
:
relative
;
color
:
#333
;
font-weight
:
700
}
.policyYearItemContainer
uni-view
.actived
[
data-v-46b5b512
]
{
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
color
:
#6b4000
}
.policyYearItemContainer
uni-view
uni-text
[
data-v-46b5b512
]
{
position
:
absolute
;
left
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-55%
)}
.policyStepContainer
[
data-v-46b5b512
]
{
display
:
flex
;
justify-content
:
space-around
;
margin-top
:
1.25rem
}
.policyStepContainer
uni-button
[
data-v-46b5b512
]
{
flex
:
0
0
30%
;
font-size
:
1rem
;
color
:
#000
;
font-weight
:
700
;
border
:
1px
solid
#CEB07D
}
.policyStepContainer
uni-button
[
data-v-46b5b512
]
:after
{
border
:
1px
solid
#CEB07D
}
.policyStepContainer
uni-button
.actived
[
data-v-46b5b512
]
{
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
color
:
#6b4000
}
.policyStepContainer
uni-button
.actived
[
data-v-46b5b512
],
.policyStepContainer
uni-button
.actived
[
data-v-46b5b512
]
:after
{
border
:
none
}
.confirm
uni-button
[
data-v-46b5b512
]
{
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
color
:
#6b4000
;
font-weight
:
700
;
font-size
:
1.125rem
;
margin-top
:
1.75rem
;
width
:
9.375rem
}
.confirm
uni-button
[
data-v-46b5b512
],
.confirm
uni-button
[
data-v-46b5b512
]
:after
{
border
:
none
}
.uni-textarea
[
data-v-46b5b512
]
{
position
:
relative
}
.pasteDiscernment
[
data-v-46b5b512
]
{
position
:
absolute
;
right
:
0
;
bottom
:
0
;
height
:
1.5625rem
;
background
:
#9B8055
;
border-radius
:
100px
;
color
:
#fff
;
font-size
:
.75rem
}
.batchDataImportContainer
[
data-v-46b5b512
]
{
background-color
:
#fbfbfb
;
height
:
90vh
}
.batchDataLists
[
data-v-46b5b512
]
{
margin-top
:
.625rem
;
background
:
#fff
}
.batchDataLists
uni-view
[
data-v-46b5b512
]
{
display
:
flex
;
text-align
:
center
;
border-bottom
:
1px
solid
#e4e4e4
}
.batchDataLists
uni-view
uni-text
[
data-v-46b5b512
]
:first-child
{
width
:
0
;
flex
:
0
0
35%
;
border-right
:
1px
solid
#e4e4e4
}
.batchDataLists
uni-view
uni-text
[
data-v-46b5b512
]
:last-child
{
width
:
0
;
flex
:
0
0
65%
}
.batchDataLists
uni-view
.batchDataTh
[
data-v-46b5b512
]
{
height
:
1.875rem
;
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
line-height
:
1.875rem
;
border-top-left-radius
:
.375rem
;
border-top-right-radius
:
.375rem
}
.batchDataLists
uni-view
.batchDataTd
[
data-v-46b5b512
]
{
height
:
2.5rem
;
line-height
:
2.5rem
}
.dataOptionContainer
[
data-v-46b5b512
]
{
margin
:
.625rem
.625rem
1.0625rem
}
.dataOptionContainer
.uni-textarea
[
data-v-46b5b512
]
{
background-color
:
#fff
;
margin-bottom
:
.625rem
}
.tips
[
data-v-46b5b512
]
{
font-size
:
.75rem
;
color
:
#666
;
padding
:
0
.625rem
.625rem
;
background-color
:
#fff
}
.tips
uni-text
uni-text
[
data-v-46b5b512
]
{
font-size
:
.875rem
;
color
:
#9b8055
;
font-weight
:
700
}
.selectStepContent
[
data-v-46b5b512
],
.selectStepContainer
[
data-v-46b5b512
]
{
display
:
flex
;
align-items
:
center
}
.selectStepContainer
[
data-v-46b5b512
]
{
justify-content
:
space-between
;
padding
:
.625rem
.625rem
0
;
background-color
:
#fff
}
.stepContent
[
data-v-46b5b512
]
{
display
:
flex
;
align-items
:
center
;
border-bottom
:
1px
solid
#e4e4e4
;
padding
:
0
5px
}
.selectStepContainer
uni-button
[
data-v-46b5b512
]
{
background-color
:
transparent
}
.selectStepContainer
uni-button
[
data-v-46b5b512
]
:after
{
border
:
1px
solid
#CEB07D
}
.optionContent
[
data-v-46b5b512
]
{
position
:
fixed
;
bottom
:
0
;
left
:
0
;
width
:
100%
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
background-color
:
#fff
}
.optionContent
uni-button
[
data-v-46b5b512
]
{
flex
:
0
0
46%
;
border
:
.0625rem
solid
#e7c793
;
color
:
#6b4000
;
font-size
:
1.125rem
}
.optionContent
uni-button
[
data-v-46b5b512
]
:last-child
{
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
border
:
none
}
.batchDataTd
uni-input
[
data-v-46b5b512
]
{
height
:
100%
}
unpackage/dist/build/h5/assets/index.634611b2.css
deleted
100644 → 0
View file @
c6f148ca
.batchCalculateContent
[
data-v-8f921164
]
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
}
.radioButton
[
data-v-8f921164
]
{
position
:
relative
;
width
:
1.25rem
;
height
:
1.25rem
;
border-radius
:
50%
;
border
:
1px
solid
#CEB07D
}
.radioButton.selected
[
data-v-8f921164
]
:after
{
content
:
""
;
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
.625rem
;
height
:
.625rem
;
transform
:
translate
(
.3125rem
,
.3125rem
);
border-radius
:
50%
;
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
)}
.logo
[
data-v-8f921164
]
{
width
:
100%
}
.banner
[
data-v-8f921164
]
{
height
:
12.5rem
}
.banner
img
[
data-v-8f921164
]
{
max-width
:
100%
}
.tabTitle
[
data-v-8f921164
]
{
display
:
flex
;
justify-content
:
space-around
;
font-size
:
16px
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-weight
:
400
;
color
:
#333
}
.tabTitle
uni-text
[
data-v-8f921164
]
{
position
:
relative
}
.tabTitle
uni-text
.actived
[
data-v-8f921164
]
:after
{
position
:
absolute
;
bottom
:
-.125rem
;
left
:
0
;
content
:
""
;
width
:
100%
;
height
:
.125rem
;
background
:
linear-gradient
(
125deg
,
#CEB07D
,
#FED597
)}
.formInfoContainer
[
data-v-8f921164
]
{
background
:
#fff
;
margin-top
:
-1rem
;
position
:
relative
;
z-index
:
2
;
border-top-right-radius
:
.9375rem
;
border-top-left-radius
:
.9375rem
;
padding
:
.9375rem
;
box-sizing
:
border-box
;
font-size
:
.9375rem
;
color
:
#333
}
.title
[
data-v-8f921164
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
color
:
#ceb07d
;
font-weight
:
700
;
font-size
:
1rem
;
position
:
relative
;
padding-left
:
.875rem
;
margin
:
.625rem
0
;
height
:
1.5625rem
}
.title
[
data-v-8f921164
]
:before
{
content
:
""
;
position
:
absolute
;
left
:
0
;
top
:
.46875rem
;
width
:
.1875rem
;
height
:
.625rem
;
background-color
:
#ceb07d
;
border-radius
:
.25rem
}
.inputItem
[
data-v-8f921164
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
height
:
2.75rem
;
border-bottom
:
1px
solid
#E4E4E4
}
.inputItem
.inputContent
[
data-v-8f921164
]
{
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-end
;
flex
:
0
0
51%
}
.inputContent
.uni-input
[
data-v-8f921164
]
{
margin-right
:
.625rem
;
text-align
:
right
}
.inputItem
uni-text
[
data-v-8f921164
]
{
flex
:
0
0
49%
}
.simpleDataResult
[
data-v-8f921164
]
{
background
:
#FFFFFF
;
box-shadow
:
0
0
.34375rem
rgba
(
0
,
0
,
0
,
.1
);
border-radius
:
.15625rem
;
opacity
:
1
;
margin
:
.9375rem
.46875rem
1.75rem
;
padding
:
.46875rem
.53125rem
}
.simpleDataResult
.resultTitle
[
data-v-8f921164
]
{
font-size
:
1rem
;
font-weight
:
700
;
color
:
#ceb07d
}
.simpleDataResult
.calcNumber
[
data-v-8f921164
]
{
text-align
:
right
;
font-size
:
20px
}
.simpleDataResult
.inputItem
[
data-v-8f921164
]
:last-child
{
border
:
none
}
.simpleDataResult
.inputItem
.title
[
data-v-8f921164
]
{
color
:
#ceb07d
;
font-weight
:
700
}
.reduceInsuranceContent
.tableTh
[
data-v-8f921164
],
.reduceInsuranceContent
.tableTd
[
data-v-8f921164
]
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
margin-bottom
:
.5rem
}
.reduceInsuranceContent
.tableTh
uni-text
[
data-v-8f921164
]
{
flex
:
1
}
.reduceInsuranceContent
.tableTh
uni-text
.withdrawNumber
[
data-v-8f921164
],
.reduceInsuranceContent
.tableTd
uni-text
.withdrawNumber
[
data-v-8f921164
]
{
flex
:
2
}
.reduceInsuranceContent
.tableTd
.uni-input
[
data-v-8f921164
],
.reduceInsuranceContent
.tableTh
uni-text
[
data-v-8f921164
]
{
text-align
:
center
;
border-bottom
:
1px
solid
#E4E4E4
;
padding
:
.1875rem
.75rem
;
margin-right
:
.625rem
}
.reduceInsuranceContent
.tableTh
uni-text
[
data-v-8f921164
]
{
border
:
none
;
white-space
:
nowrap
;
color
:
#333
}
.reduceInsuranceContent
.tableTd
[
data-v-8f921164
]
:last-child
{
margin-bottom
:
.625rem
}
.resultContent
[
data-v-8f921164
]
{
margin-bottom
:
1.875rem
;
padding-bottom
:
1.875rem
}
.optionContent
[
data-v-8f921164
]
{
position
:
fixed
;
bottom
:
.9375rem
;
left
:
0
;
width
:
100%
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
background-color
:
#fff
}
.optionContent
uni-button
[
data-v-8f921164
]
{
flex
:
0
0
46%
;
border
:
.0625rem
solid
#e7c793
;
font-size
:
1.125rem
}
.btn
[
data-v-8f921164
]
{
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
border
:
none
;
color
:
#6b4000
}
.batchDataResult
[
data-v-8f921164
]
{
box-shadow
:
0
0
11px
rgba
(
0
,
0
,
0
,
.1
);
margin-top
:
1rem
}
.batchDataResult
.resultTh
[
data-v-8f921164
]
{
height
:
1.875rem
;
line-height
:
1.875rem
;
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
border-top-left-radius
:
.375rem
;
border-top-right-radius
:
.375rem
;
color
:
#6b4000
;
font-weight
:
700
;
display
:
flex
}
.batchDataResult
.resultTd
[
data-v-8f921164
]
{
display
:
flex
;
height
:
1.875rem
;
align-items
:
center
;
border-bottom
:
1px
solid
#E4E4E4
}
.batchDataResult
.resultTd
[
data-v-8f921164
]
:last-child
{
border-bottom
:
none
}
.batchDataResult
.resultTh
uni-text
[
data-v-8f921164
],
.batchDataResult
.resultTd
uni-text
[
data-v-8f921164
]
{
flex
:
1
;
text-align
:
center
;
font-weight
:
700
;
color
:
#333
}
.batchDataResult
.resultTd
uni-text
.resultNumber
[
data-v-8f921164
]
{
color
:
#ceb07d
}
.cashValueContent
.title
uni-button
[
data-v-8f921164
]
{
background-color
:
transparent
;
font-size
:
.9375rem
;
color
:
#333
;
box-sizing
:
border-box
;
line-height
:
initial
}
.cashValueContent
.title
uni-button
[
data-v-8f921164
]
:after
{
border
:
1px
solid
#CEB07D
;
border-radius
:
.375rem
}
.cashValueContent
.title
uni-button
[
data-v-8f921164
]
:first-child
{
margin-right
:
1.25rem
}
.cashValueContent
.title
uni-button
.actived
[
data-v-8f921164
]
{
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
color
:
#6b4000
}
.reduceInsuranceContent
uni-text
[
data-v-8f921164
]
{
display
:
inline-block
;
width
:
1.25rem
!important
;
height
:
1.25rem
!important
;
line-height
:
1.25rem
!important
;
text-align
:
center
;
border
:
.09375rem
#CEB07D
solid
;
color
:
#ceb07d
;
border-radius
:
50%
;
font-size
:
.75rem
}
.qrcodeContainer
[
data-v-8f921164
]
{
width
:
100%
;
height
:
100vh
;
overflow
:
hidden
}
.qrcodeContainer
img
[
data-v-8f921164
]
{
max-width
:
100%
}
unpackage/dist/build/h5/assets/index.cca14f49.js
deleted
100644 → 0
View file @
c6f148ca
This source diff could not be displayed because it is too large. You can
view the blob
instead.
unpackage/dist/build/h5/assets/pages-index-index.2ea10b0d.js
deleted
100644 → 0
View file @
c6f148ca
var
e
=
Object
.
defineProperty
,
a
=
Object
.
defineProperties
,
l
=
Object
.
getOwnPropertyDescriptors
,
t
=
Object
.
getOwnPropertySymbols
,
i
=
Object
.
prototype
.
hasOwnProperty
,
s
=
Object
.
prototype
.
propertyIsEnumerable
,
n
=
(
a
,
l
,
t
)
=>
l
in
a
?
e
(
a
,
l
,{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
t
}):
a
[
l
]
=
t
,
r
=
(
e
,
a
)
=>
{
for
(
var
l
in
a
||
(
a
=
{}))
i
.
call
(
a
,
l
)
&&
n
(
e
,
l
,
a
[
l
]);
if
(
t
)
for
(
var
l
of
t
(
a
))
s
.
call
(
a
,
l
)
&&
n
(
e
,
l
,
a
[
l
]);
return
e
},
u
=
(
e
,
t
)
=>
a
(
e
,
l
(
t
));
import
{
r
as
d
,
g
as
o
,
s
as
c
,
a
as
p
,
n
as
m
,
o
as
h
,
c
as
f
,
w
as
y
,
v
as
w
,
b
as
_
,
d
as
S
,
e
as
I
,
f
as
b
,
h
as
A
,
i
as
g
,
F
as
C
,
j
as
T
,
k
as
V
,
l
as
P
,
t
as
W
,
m
as
v
,
p
as
R
,
I
as
N
,
q
as
F
,
u
as
U
,
S
as
x
,
x
as
M
}
from
"./index.cca14f49.js"
;
import
{
_
as
O
,
d
as
k
,
a
as
Q
}
from
"./data-import.6523d743.js"
;
var
j
=
{
getQueryString
(
e
){
const
a
=
new
RegExp
(
"(^|&)"
+
e
+
"=([^&]*)(&|$)"
),
l
=
decodeURIComponent
(
window
.
location
.
search
).
substr
(
1
).
match
(
a
);
return
null
!=
l
?
l
[
2
]:
null
}};
var
E
=
O
({
data
:()
=>
({
isNeedOfficialAccountQrcode
:
!
0
,
calcuteType
:
"1"
,
withdrawalType
:
"1"
,
resultShowFlag
:
!
1
,
calcuteMethod
:
"1"
,
businessType
:
1
,
mobile
:
void
0
,
irrAndSimpleCalcuteParam
:{},
yearWithdrawal
:{
withdrawalType
:
void
0
,
withdrawalStart
:
void
0
,
withdrawalEnd
:
void
0
,
yearWithdrawalAmount
:
void
0
},
irrAndSimple
:{
nyear
:
void
0
,
cashValue
:
void
0
},
yearWithdrawalInfos
:[],
irrAndSimpleInfos
:[],
irrAndSimpleResInfos
:[],
resIrrAndSimpleResInfos
:[],
irrFlag
:
Boolean
=!
1
}),
components
:{
dataImport
:
k
},
onLoad
(){
d
(
"resIrrAndSimpleResInfos"
),
o
(
"businessNo"
)?
this
.
businessNo
=
o
(
"businessNo"
):
c
(
"businessNo"
,((
e
=
21
)
=>
crypto
.
getRandomValues
(
new
Uint8Array
(
e
)).
reduce
(((
e
,
a
)
=>
e
+
((
a
&=
63
)
<
36
?
a
.
toString
(
36
):
a
<
62
?(
a
-
26
).
toString
(
36
).
toUpperCase
():
a
>
62
?
"-"
:
"_"
)),
""
))().
replace
(
/
\_
/g
,
""
)),
0
==
j
.
getQueryString
(
"subscribe"
)?
this
.
isNeedOfficialAccountQrcode
=!
0
:
this
.
isNeedOfficialAccountQrcode
=!
1
,
j
.
getQueryString
(
"openId"
)?
c
(
"openId"
,
j
.
getQueryString
(
"openId"
)):
o
(
"openId"
)
||
Q
.
getWxUserInfo
({
userApplyType
:
"1"
,
businessNo
:
o
(
"businessNo"
)}).
then
((
e
=>
{
console
.
log
(
e
),
e
.
success
&&
(
window
.
location
.
href
=
e
.
data
.
paymentForm
.
action
)})),
0
!=
j
.
getQueryString
(
"subscribe"
)
&&
o
(
"openId"
)?
this
.
isNeedOfficialAccountQrcode
=!
1
:
this
.
isNeedOfficialAccountQrcode
=!
0
,
this
.
yearWithdrawal
.
length
>
0
&&
this
.
yearWithdrawalInfos
.
push
(
u
(
r
({},
this
.
yearWithdrawal
),{
withdrawalType
:
this
.
withdrawalType
?
"1"
:
"2"
}))},
methods
:{
switchTab
(
e
){
this
.
calcuteType
!=
e
&&
(
this
.
calcuteType
=
e
,
"2"
==
e
&&
(
this
.
yearWithdrawalInfos
=
[].
concat
([{
withdrawalType
:
"1"
,
withdrawalStart
:
null
,
yearWithdrawalAmount
:
null
}])),
this
.
resultShowFlag
=!
1
)},
calcute
(
e
){
if
(
console
.
log
(
this
.
businessType
),
"1"
===
this
.
calcuteMethod
)
this
.
irrAndSimpleCalte
();
else
if
(
"2"
===
this
.
calcuteMethod
){
if
(
!
this
.
irrAndSimpleCalcuteParam
.
paymentPeriod
||
this
.
irrAndSimpleCalcuteParam
.
paymentPeriod
<
1
)
return
void
p
({
title
:
"请填写交费年限且交费年限必须大于0"
,
duration
:
2
e3
,
icon
:
"none"
});
if
(
!
this
.
irrAndSimpleCalcuteParam
.
annualPremium
)
return
void
p
({
title
:
"请填写年交保费"
,
duration
:
2
e3
,
icon
:
"none"
});
const
e
=
{
paymentPeriod
:
this
.
irrAndSimpleCalcuteParam
.
paymentPeriod
,
annualPremium
:
this
.
irrAndSimpleCalcuteParam
.
annualPremium
,
allFirstPayment
:
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
,
yearWithdrawalInfos
:
this
.
yearWithdrawalInfos
,
calcuteType
:
this
.
calcuteType
,
businessNo
:
this
.
businessNo
,
businessType
:
this
.
businessType
};
c
(
"calcuteData"
,
e
),
m
({
url
:
"/pages/dataImport/data-import"
})}},
initCashValue
(
e
){
this
.
calcuteMethod
!=
e
&&
(
this
.
calcuteMethod
=
e
,
"1"
===
e
&&
(
this
.
irrAndSimple
=
{
nyear
:
null
,
cashValue
:
null
},
this
.
irrAndSimpleInfos
=
[].
concat
([{
nyear
:
null
,
cashValue
:
null
}]),
console
.
log
(
this
.
irrAndSimple
)),
this
.
resultShowFlag
=!
1
)},
changeWithdrawalType
(){
this
.
withdrawalType
=!
this
.
withdrawalType
,
console
.
log
(
this
.
withdrawalType
),
this
.
withdrawalType
?
this
.
yearWithdrawalInfos
=
[]:(
this
.
yearWithdrawalInfos
=
[].
concat
([{
withdrawalType
:
"2"
,
withdrawalStart
:
null
,
withdrawalEnd
:
null
,
yearWithdrawalAmount
:
null
}]),
console
.
log
(
this
.
yearWithdrawalInfos
))},
add
(){
this
.
yearWithdrawalInfos
.
push
({
withdrawalType
:
void
0
,
withdrawalStart
:
void
0
,
withdrawalEnd
:
void
0
,
yearWithdrawalAmount
:
void
0
,
withdrawalType
:
this
.
withdrawalType
?
"1"
:
"2"
})},
reduce
(
e
){
this
.
yearWithdrawalInfos
.
length
>
1
&&
this
.
yearWithdrawalInfos
.
splice
(
e
,
1
)},
irrAndSimpleCalte
(){
if
(
!
this
.
irrAndSimpleCalcuteParam
.
paymentPeriod
)
return
void
p
({
title
:
"请填写交费年限"
,
duration
:
2
e3
,
icon
:
"none"
});
if
(
!
this
.
irrAndSimpleCalcuteParam
.
annualPremium
)
return
void
p
({
title
:
"请填写年交保费"
,
duration
:
2
e3
,
icon
:
"none"
});
if
(
2
==
this
.
businessType
&&!
this
.
mobile
)
return
void
p
({
title
:
"保存时手机号必填"
,
duration
:
2
e3
,
icon
:
"none"
});
if
(
1
==
this
.
calcuteMethod
){
if
(
!
this
.
irrAndSimple
.
nyear
)
return
void
p
({
title
:
"现金价值年度未输入!"
,
duration
:
2
e3
,
icon
:
"none"
});
if
(
!
this
.
irrAndSimple
.
nyear
)
return
void
p
({
title
:
"生存总利益未输入!"
,
duration
:
2
e3
,
icon
:
"none"
});
2
==
this
.
calcuteType
&&
this
.
yearWithdrawalInfos
.
length
>
0
&&
(
this
.
yearWithdrawalInfos
[
0
].
withdrawalEnd
=
Number
(
this
.
irrAndSimple
.
nyear
)
+
1
)}
const
e
=
u
(
r
({},
this
.
irrAndSimpleCalcuteParam
),{
calcuteType
:
this
.
calcuteType
,
businessType
:
this
.
businessType
,
calcuteMethod
:
this
.
calcuteMethod
,
businessNo
:
o
(
"businessNo"
),
mobile
:
null
,
loginNo
:
null
,
wechat_openid
:
o
(
"openId"
)
||
""
,
yearWithdrawalInfos
:
this
.
yearWithdrawalInfos
,
irrAndSimpleInfos
:[].
concat
([
this
.
irrAndSimple
]),
withdrawalType
:
this
.
withdrawalType
?
"1"
:
"2"
,
decimal
:
5
});
Q
.
irrAndSimpleCalcute
(
e
).
then
((
e
=>
{
console
.
log
(
e
),
!
0
===
e
.
success
?
e
.
data
.
irrAndSimpleResInfos
?(
this
.
irrAndSimpleResInfos
=
e
.
data
.
irrAndSimpleResInfos
,
this
.
resultShowFlag
=!
0
):
this
.
irrAndSimpleResInfos
=
[]:(
this
.
irrAndSimpleResInfos
=
[],
p
({
title
:
e
.
message
,
duration
:
2
e3
,
icon
:
"none"
}))}))}},
onShow
(){
o
(
"resIrrAndSimpleResInfos"
)
&&
(
this
.
resIrrAndSimpleResInfos
=
o
(
"resIrrAndSimpleResInfos"
),
this
.
calcuteMethod
=
"2"
,
this
.
resultShowFlag
=!
0
)}},[[
"render"
,
function
(
e
,
a
,
l
,
t
,
i
,
s
){
const
n
=
v
,
r
=
R
,
u
=
N
,
d
=
F
,
o
=
U
,
c
=
x
,
p
=
M
;
return
h
(),
f
(
C
,
null
,[
y
(
_
(
n
,{
class
:
"qrcodeContainer"
},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"qrcodeContent"
},{
default
:
S
((()
=>
[
I
(
"img"
,{
src
:
"/sfp/assets/qrcodeBg.672cc012.png"
,
alt
:
""
,
srcset
:
""
})])),
_
:
1
})])),
_
:
1
},
512
),[[
w
,
i
.
isNeedOfficialAccountQrcode
]]),
y
(
_
(
n
,{
class
:
"content"
},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"banner"
},{
default
:
S
((()
=>
[
I
(
"img"
,{
src
:
"/sfp/assets/policyIrrBanner.05908eaf.png"
,
alt
:
""
,
srcset
:
""
})])),
_
:
1
}),
_
(
c
,{
"scroll-y"
:
"true"
,
class
:
"formInfoContainer"
},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"tabTitle"
},{
default
:
S
((()
=>
[
_
(
r
,{
onClick
:
a
[
0
]
||
(
a
[
0
]
=
e
=>
s
.
switchTab
(
"1"
)),
class
:
b
({
actived
:
"1"
===
i
.
calcuteType
})},{
default
:
S
((()
=>
[
A
(
"增额"
)])),
_
:
1
},
8
,[
"class"
]),
_
(
r
,{
onClick
:
a
[
1
]
||
(
a
[
1
]
=
e
=>
s
.
switchTab
(
"2"
)),
class
:
b
({
actived
:
"2"
===
i
.
calcuteType
})},{
default
:
S
((()
=>
[
A
(
"年金"
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
}),
_
(
p
,{
onSubmit
:
e
.
formSubmit
,
onReset
:
e
.
formReset
},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"policyInfoContent"
},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"title"
},{
default
:
S
((()
=>
[
_
(
n
,
null
,{
default
:
S
((()
=>
[
A
(
"保单信息"
)])),
_
:
1
})])),
_
:
1
}),
_
(
n
,{
class
:
"inputItem"
},{
default
:
S
((()
=>
[
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"交费年限:"
)])),
_
:
1
}),
_
(
n
,{
class
:
"inputContent"
},{
default
:
S
((()
=>
[
_
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
i
.
irrAndSimpleCalcuteParam
.
paymentPeriod
,
"onUpdate:modelValue"
:
a
[
2
]
||
(
a
[
2
]
=
e
=>
i
.
irrAndSimpleCalcuteParam
.
paymentPeriod
=
e
)},
null
,
8
,[
"modelValue"
]),
_
(
d
,{
for
:
""
},{
default
:
S
((()
=>
[
A
(
"年"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
_
(
n
,{
class
:
"inputItem"
},{
default
:
S
((()
=>
[
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"年交保费:"
)])),
_
:
1
}),
_
(
n
,{
class
:
"inputContent"
},{
default
:
S
((()
=>
[
_
(
u
,{
class
:
"uni-input"
,
type
:
"digit"
,
placeholder
:
"请输入"
,
modelValue
:
i
.
irrAndSimpleCalcuteParam
.
annualPremium
,
"onUpdate:modelValue"
:
a
[
3
]
||
(
a
[
3
]
=
e
=>
i
.
irrAndSimpleCalcuteParam
.
annualPremium
=
e
)},
null
,
8
,[
"modelValue"
]),
_
(
d
,{
for
:
""
},{
default
:
S
((()
=>
[
A
(
"元"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
y
(
_
(
n
,{
class
:
"inputItem"
},{
default
:
S
((()
=>
[
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"万能账户首年交费"
),
_
(
r
,{
style
:{
"font-size"
:
"24rpx"
}},{
default
:
S
((()
=>
[
A
(
"(如有)"
)])),
_
:
1
}),
A
(
":"
)])),
_
:
1
}),
_
(
n
,{
class
:
"inputContent"
},{
default
:
S
((()
=>
[
_
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
i
.
irrAndSimpleCalcuteParam
.
allFirstPayment
,
"onUpdate:modelValue"
:
a
[
4
]
||
(
a
[
4
]
=
e
=>
i
.
irrAndSimpleCalcuteParam
.
allFirstPayment
=
e
)},
null
,
8
,[
"modelValue"
]),
_
(
d
,{
for
:
""
},{
default
:
S
((()
=>
[
A
(
"元"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
512
),[[
w
,
"2"
===
i
.
calcuteType
]])])),
_
:
1
}),
"2"
===
i
.
calcuteType
&&
i
.
irrAndSimpleCalcuteParam
.
allFirstPayment
?
V
(
""
,
!
0
):(
h
(),
g
(
n
,{
key
:
0
,
class
:
"claimInfomationContent"
},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"title"
},{
default
:
S
((()
=>
[
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"提领信息"
)])),
_
:
1
}),
y
(
_
(
n
,{
style
:{
display
:
"flex"
},
onClick
:
a
[
5
]
||
(
a
[
5
]
=
e
=>
s
.
changeWithdrawalType
())},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
b
([
"radioButton"
,{
selected
:
!
i
.
withdrawalType
}])},
null
,
8
,[
"class"
]),
_
(
r
,{
style
:{
"margin-left"
:
"10rpx"
}},{
default
:
S
((()
=>
[
A
(
"减保取现"
)])),
_
:
1
})])),
_
:
1
},
512
),[[
w
,
"1"
===
i
.
calcuteType
]])])),
_
:
1
}),
y
(
_
(
n
,{
class
:
"annuityContent"
},{
default
:
S
((()
=>
[(
h
(
!
0
),
f
(
C
,
null
,
T
(
i
.
yearWithdrawalInfos
,(
e
=>
(
h
(),
g
(
n
,
null
,{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"inputItem"
},{
default
:
S
((()
=>
[
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"从第几个保单年度开始提取:"
)])),
_
:
1
}),
_
(
n
,{
class
:
"inputContent"
},{
default
:
S
((()
=>
[
_
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
e
.
withdrawalStart
,
"onUpdate:modelValue"
:
a
=>
e
.
withdrawalStart
=
a
},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
]),
_
(
d
,{
for
:
""
},{
default
:
S
((()
=>
[
A
(
"年"
)])),
_
:
1
})])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
_
(
n
,{
class
:
"inputItem"
},{
default
:
S
((()
=>
[
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"每年提取金额:"
)])),
_
:
1
}),
_
(
n
,{
class
:
"inputContent"
},{
default
:
S
((()
=>
[
_
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
e
.
yearWithdrawalAmount
,
"onUpdate:modelValue"
:
a
=>
e
.
yearWithdrawalAmount
=
a
},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
]),
_
(
d
,{
for
:
""
},{
default
:
S
((()
=>
[
A
(
"元"
)])),
_
:
1
})])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
256
))])),
_
:
1
},
512
),[[
w
,
"2"
===
i
.
calcuteType
]]),
y
(
_
(
n
,{
class
:
"reduceInsuranceContent"
},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"tableTh"
},{
default
:
S
((()
=>
[
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"起领年度(年初)"
)])),
_
:
1
}),
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"止领年度(年末)"
)])),
_
:
1
}),
_
(
r
,{
class
:
"withdrawNumber"
},{
default
:
S
((()
=>
[
A
(
"年提取金额(元)"
)])),
_
:
1
})])),
_
:
1
}),(
h
(
!
0
),
f
(
C
,
null
,
T
(
i
.
yearWithdrawalInfos
,((
e
,
a
)
=>
(
h
(),
g
(
n
,{
class
:
"tableTd"
},{
default
:
S
((()
=>
[
_
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
e
.
withdrawalStart
,
"onUpdate:modelValue"
:
a
=>
e
.
withdrawalStart
=
a
},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
]),
_
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
e
.
withdrawalEnd
,
"onUpdate:modelValue"
:
a
=>
e
.
withdrawalEnd
=
a
},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
]),
_
(
u
,{
class
:
"uni-input withdrawNumber"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
e
.
yearWithdrawalAmount
,
"onUpdate:modelValue"
:
a
=>
e
.
yearWithdrawalAmount
=
a
},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
]),
y
(
_
(
n
,
null
,{
default
:
S
((()
=>
[
_
(
r
,{
onClick
:
e
=>
s
.
reduce
(
a
)},{
default
:
S
((()
=>
[
A
(
"-"
)])),
_
:
2
},
1032
,[
"onClick"
])])),
_
:
2
},
1536
),[[
w
,
i
.
yearWithdrawalInfos
.
length
>
1
]])])),
_
:
2
},
1024
)))),
256
)),
_
(
r
,{
onClick
:
a
[
6
]
||
(
a
[
6
]
=
e
=>
s
.
add
()),
style
:{
position
:
"absolute"
,
right
:
"0"
}},{
default
:
S
((()
=>
[
A
(
"+"
)])),
_
:
1
})])),
_
:
1
},
512
),[[
w
,
!
i
.
withdrawalType
&&
"1"
===
i
.
calcuteType
]])])),
_
:
1
})),
_
(
n
,{
class
:
"cashValueContent"
,
style
:
P
({
marginTop
:
"1"
==
i
.
calcuteType
?
"80rpx"
:
"40rpx"
})},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"title"
},{
default
:
S
((()
=>
[
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"现金价值"
)])),
_
:
1
}),
_
(
n
,{
class
:
"calcTypeOption"
},{
default
:
S
((()
=>
[
_
(
o
,{
class
:
b
([
"mini-btn"
,{
actived
:
"1"
==
i
.
calcuteMethod
}]),
type
:
"default"
,
size
:
"mini"
,
onClick
:
a
[
7
]
||
(
a
[
7
]
=
e
=>
s
.
initCashValue
(
"1"
))},{
default
:
S
((()
=>
[
A
(
"单次"
)])),
_
:
1
},
8
,[
"class"
]),
_
(
o
,{
class
:
b
([
"mini-btn"
,{
actived
:
"2"
==
i
.
calcuteMethod
}]),
type
:
"default"
,
size
:
"mini"
,
onClick
:
a
[
8
]
||
(
a
[
8
]
=
e
=>
s
.
initCashValue
(
"2"
))},{
default
:
S
((()
=>
[
A
(
"批量"
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
})])),
_
:
1
}),
y
(
_
(
n
,{
class
:
"simpleCalculateContent"
},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"inputItem"
},{
default
:
S
((()
=>
[
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"第:"
)])),
_
:
1
}),
_
(
n
,{
class
:
"inputContent"
},{
default
:
S
((()
=>
[
_
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
min
:
"1"
,
modelValue
:
i
.
irrAndSimple
.
nyear
,
"onUpdate:modelValue"
:
a
[
9
]
||
(
a
[
9
]
=
e
=>
i
.
irrAndSimple
.
nyear
=
e
)},
null
,
8
,[
"modelValue"
]),
_
(
d
,{
for
:
""
},{
default
:
S
((()
=>
[
A
(
"年"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
_
(
n
,{
class
:
"inputItem"
},{
default
:
S
((()
=>
[
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"总生存利益"
),
_
(
r
,{
style
:{
"font-size"
:
"14px"
}},{
default
:
S
((()
=>
[
A
(
"(总领取金额+现金价值)"
)])),
_
:
1
}),
A
(
":"
)])),
_
:
1
}),
_
(
n
,{
class
:
"inputContent"
},{
default
:
S
((()
=>
[
_
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
min
:
"1"
,
modelValue
:
i
.
irrAndSimple
.
cashValue
,
"onUpdate:modelValue"
:
a
[
10
]
||
(
a
[
10
]
=
e
=>
i
.
irrAndSimple
.
cashValue
=
e
)},
null
,
8
,[
"modelValue"
]),
_
(
d
,{
for
:
""
},{
default
:
S
((()
=>
[
A
(
"元"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
512
),[[
w
,
"1"
===
i
.
calcuteMethod
]]),
y
(
_
(
n
,{
class
:
"batchCalculateContent"
},{
default
:
S
((()
=>
[
I
(
"img"
,{
src
:
"/sfp/assets/batchFileImport.f45bf5a6.png"
,
alt
:
""
,
style
:{
width
:
"50%"
}}),
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"暂无数据"
)])),
_
:
1
}),
_
(
r
,{
style
:{
"font-size"
:
"14px"
,
"margin-top"
:
"10rpx"
}},{
default
:
S
((()
=>
[
A
(
"点击下方按钮输入批量数据"
)])),
_
:
1
})])),
_
:
1
},
512
),[[
w
,
!
i
.
resultShowFlag
&&
"2"
===
i
.
calcuteMethod
]])])),
_
:
1
},
8
,[
"style"
]),
_
(
n
,{
class
:
"resultContent"
},{
default
:
S
((()
=>
[
i
.
resultShowFlag
&&
"1"
==
i
.
calcuteMethod
?(
h
(),
g
(
n
,{
key
:
0
,
class
:
"simpleDataResult"
},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"inputItem"
},{
default
:
S
((()
=>
[
_
(
r
,{
class
:
"resultTitle"
},{
default
:
S
((()
=>
[
A
(
"IRR复利"
)])),
_
:
1
}),
_
(
r
,{
class
:
"calcNumber"
},{
default
:
S
((()
=>
[
A
(
W
(
i
.
irrAndSimpleResInfos
.
length
>
0
?(
100
*
i
.
irrAndSimpleResInfos
[
0
].
irrValue
).
toFixed
(
5
):
null
)
+
"%"
,
1
)])),
_
:
1
})])),
_
:
1
}),
_
(
n
,{
class
:
"inputItem"
},{
default
:
S
((()
=>
[
_
(
r
,{
class
:
"resultTitle"
},{
default
:
S
((()
=>
[
A
(
"单利"
)])),
_
:
1
}),
_
(
r
,{
class
:
"calcNumber"
},{
default
:
S
((()
=>
[
A
(
W
(
i
.
irrAndSimpleResInfos
.
length
>
0
?(
100
*
i
.
irrAndSimpleResInfos
[
0
].
simpleValue
).
toFixed
(
5
):
null
)
+
"%"
,
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
V
(
""
,
!
0
),
i
.
resultShowFlag
&&
"2"
==
i
.
calcuteMethod
?(
h
(),
g
(
n
,{
key
:
1
,
class
:
"batchDataResult"
},{
default
:
S
((()
=>
[
_
(
c
,{
"scroll-y"
:
"true"
,
class
:
"scroll-Y"
},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"scroll-view-item"
},{
default
:
S
((()
=>
[
_
(
n
,{
class
:
"resultTh"
},{
default
:
S
((()
=>
[
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"保单年度"
)])),
_
:
1
}),
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"现金价值"
)])),
_
:
1
}),
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"IRR复利"
)])),
_
:
1
}),
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
"单利"
)])),
_
:
1
})])),
_
:
1
}),(
h
(
!
0
),
f
(
C
,
null
,
T
(
i
.
resIrrAndSimpleResInfos
,(
e
=>
(
h
(),
g
(
n
,{
class
:
"resultTd"
},{
default
:
S
((()
=>
[
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
W
(
e
.
nyear
),
1
)])),
_
:
2
},
1024
),
_
(
r
,
null
,{
default
:
S
((()
=>
[
A
(
W
(
e
.
cashValue
),
1
)])),
_
:
2
},
1024
),
_
(
r
,{
class
:
"resultNumber"
},{
default
:
S
((()
=>
[
A
(
W
((
100
*
e
.
simpleValue
).
toFixed
(
5
))
+
"%"
,
1
)])),
_
:
2
},
1024
),
_
(
r
,{
class
:
"resultNumber"
},{
default
:
S
((()
=>
[
A
(
W
((
100
*
e
.
irrValue
).
toFixed
(
5
))
+
"%"
,
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
256
))])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
V
(
""
,
!
0
)])),
_
:
1
}),
_
(
n
,{
class
:
"optionContent"
},{
default
:
S
((()
=>
[
_
(
o
,{
type
:
"default"
,
plain
:
"true"
,
"form-type"
:
"reset"
},{
default
:
S
((()
=>
[
A
(
"清空"
)])),
_
:
1
}),
y
(
_
(
o
,{
type
:
"default"
,
plain
:
"true"
,
class
:
"btn"
,
onClick
:
a
[
11
]
||
(
a
[
11
]
=
e
=>
s
.
calcute
(
2
))},{
default
:
S
((()
=>
[
A
(
"输入批量数据"
)])),
_
:
1
},
512
),[[
w
,
2
==
i
.
calcuteMethod
]]),
y
(
_
(
o
,{
type
:
"default"
,
plain
:
"true"
,
class
:
"btn"
,
onClick
:
a
[
12
]
||
(
a
[
12
]
=
e
=>
s
.
calcute
(
1
))},{
default
:
S
((()
=>
[
A
(
"开始计算"
)])),
_
:
1
},
512
),[[
w
,
1
==
i
.
calcuteMethod
]])])),
_
:
1
})])),
_
:
1
},
8
,[
"onSubmit"
,
"onReset"
])])),
_
:
1
})])),
_
:
1
},
512
),[[
w
,
!
i
.
isNeedOfficialAccountQrcode
]])],
64
)}],[
"__scopeId"
,
"data-v-8f921164"
]]);
export
{
E
as
default
};
unpackage/dist/build/h5/index.html
View file @
df8a9104
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<link
rel=
"stylesheet"
href=
"/sfp/assets/uni.
fae7f8c0
.css"
>
<link
rel=
"stylesheet"
href=
"/sfp/assets/uni.
42592f11
.css"
>
<meta
charset=
"UTF-8"
/>
<script>
...
...
@@ -14,7 +14,7 @@
<title>
sfp
</title>
<!--preload-links-->
<!--app-context-->
<script
type=
"module"
crossorigin
src=
"/sfp/assets/index.
cca14f49
.js"
></script>
<script
type=
"module"
crossorigin
src=
"/sfp/assets/index.
33444e48
.js"
></script>
<link
rel=
"stylesheet"
href=
"/sfp/assets/index.13d2da89.css"
>
</head>
<body>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment