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
f1c3f8b4
Commit
f1c3f8b4
authored
Sep 07, 2022
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitignore
parent
ade2161f
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
31 additions
and
6 deletions
+31
-6
.gitignore
+22
-0
pages/index/index.vue
+4
-0
unpackage/dist/build/h5/assets/data-import.6523d743.js
+1
-0
unpackage/dist/build/h5/assets/data-import.ce8b85a7.css
+0
-1
unpackage/dist/build/h5/assets/data-import.f36ec532.css
+1
-0
unpackage/dist/build/h5/assets/index.634611b2.css
+1
-0
unpackage/dist/build/h5/assets/index.724bc5f8.css
+0
-1
unpackage/dist/build/h5/assets/index.cca14f49.js
+0
-0
unpackage/dist/build/h5/assets/pages-dataImport-data-import.56b4905e.js
+0
-1
unpackage/dist/build/h5/assets/pages-index-index.0fcbca2a.js
+0
-1
unpackage/dist/build/h5/assets/pages-index-index.2ea10b0d.js
+1
-0
unpackage/dist/build/h5/assets/plugin-vue_export-helper.4a7acdcb.js
+0
-1
unpackage/dist/build/h5/index.html
+1
-1
No files found.
.gitignore
0 → 100644
View file @
f1c3f8b4
.DS_Store
node_modules
/unpackagegit
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
\ No newline at end of file
pages/index/index.vue
View file @
f1c3f8b4
...
...
@@ -266,6 +266,10 @@
this
.
yearWithdrawalInfos
=
[].
concat
([{
withdrawalType
:
'1'
,
withdrawalStart
:
null
,
yearWithdrawalAmount
:
null
}]);
}
else
{
//年金切换到增额时万能账户清空,提领信息清空
this
.
irrAndSimpleCalcuteParam
.
allFirstPayment
=
null
;
this
.
yearWithdrawalInfos
=
[];
}
this
.
resultShowFlag
=
false
;
}
...
...
unpackage/dist/build/h5/assets/data-import.6523d743.js
0 → 100644
View file @
f1c3f8b4
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.ce8b85a7.css
deleted
100644 → 0
View file @
ade2161f
.policySelectContainer
[
data-v-bc9909ba
]
{
position
:
fixed
;
z-index
:
2
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.35
)}
.policySelectContainer
.policyYearContainer
[
data-v-bc9909ba
]
{
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-bc9909ba
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
font-weight
:
700
}
.policyYearContainer
.modalTitle
uni-text
[
data-v-bc9909ba
]
:last-child
{
color
:
red
}
.policyYearItemContainer
[
data-v-bc9909ba
]
{
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
space-around
}
.policyYearItemContainer
uni-view
[
data-v-bc9909ba
]
{
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-bc9909ba
]
{
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
color
:
#6b4000
}
.policyYearItemContainer
uni-view
uni-text
[
data-v-bc9909ba
]
{
position
:
absolute
;
left
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-55%
)}
.policyStepContainer
[
data-v-bc9909ba
]
{
display
:
flex
;
justify-content
:
space-around
;
margin-top
:
1.25rem
}
.policyStepContainer
uni-button
[
data-v-bc9909ba
]
{
flex
:
0
0
30%
;
font-size
:
1rem
;
color
:
#000
;
font-weight
:
700
;
border
:
1px
solid
#CEB07D
}
.policyStepContainer
uni-button
[
data-v-bc9909ba
]
:after
{
border
:
1px
solid
#CEB07D
}
.policyStepContainer
uni-button
.actived
[
data-v-bc9909ba
]
{
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
color
:
#6b4000
}
.policyStepContainer
uni-button
.actived
[
data-v-bc9909ba
],
.policyStepContainer
uni-button
.actived
[
data-v-bc9909ba
]
:after
{
border
:
none
}
.confirm
uni-button
[
data-v-bc9909ba
]
{
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-bc9909ba
],
.confirm
uni-button
[
data-v-bc9909ba
]
:after
{
border
:
none
}
.uni-textarea
[
data-v-bc9909ba
]
{
position
:
relative
}
.pasteDiscernment
[
data-v-bc9909ba
]
{
position
:
absolute
;
right
:
0
;
bottom
:
0
;
height
:
1.5625rem
;
background
:
#9B8055
;
border-radius
:
100px
;
color
:
#fff
;
font-size
:
.75rem
}
.batchDataImportContainer
[
data-v-bc9909ba
]
{
background-color
:
#fbfbfb
;
height
:
90vh
}
.batchDataLists
[
data-v-bc9909ba
]
{
margin-top
:
.625rem
;
background
:
#fff
}
.batchDataLists
uni-view
[
data-v-bc9909ba
]
{
display
:
flex
;
text-align
:
center
;
border-bottom
:
1px
solid
#e4e4e4
}
.batchDataLists
uni-view
uni-text
[
data-v-bc9909ba
]
:first-child
{
width
:
0
;
flex
:
0
0
35%
;
border-right
:
1px
solid
#e4e4e4
}
.batchDataLists
uni-view
uni-text
[
data-v-bc9909ba
]
:last-child
{
width
:
0
;
flex
:
0
0
65%
}
.batchDataLists
uni-view
.batchDataTh
[
data-v-bc9909ba
]
{
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-bc9909ba
]
{
height
:
2.5rem
;
line-height
:
2.5rem
}
.dataOptionContainer
[
data-v-bc9909ba
]
{
margin
:
.625rem
.625rem
1.0625rem
}
.dataOptionContainer
.uni-textarea
[
data-v-bc9909ba
]
{
background-color
:
#fff
;
margin-bottom
:
.625rem
}
.tips
[
data-v-bc9909ba
]
{
font-size
:
.75rem
;
color
:
#666
;
padding
:
0
.625rem
.625rem
;
background-color
:
#fff
}
.tips
uni-text
uni-text
[
data-v-bc9909ba
]
{
font-size
:
.875rem
;
color
:
#9b8055
;
font-weight
:
700
}
.selectStepContent
[
data-v-bc9909ba
],
.selectStepContainer
[
data-v-bc9909ba
]
{
display
:
flex
;
align-items
:
center
}
.selectStepContainer
[
data-v-bc9909ba
]
{
justify-content
:
space-between
;
padding
:
.625rem
.625rem
0
;
background-color
:
#fff
}
.stepContent
[
data-v-bc9909ba
]
{
display
:
flex
;
align-items
:
center
;
border-bottom
:
1px
solid
#e4e4e4
;
padding
:
0
5px
}
.selectStepContainer
uni-button
[
data-v-bc9909ba
]
{
background-color
:
transparent
}
.selectStepContainer
uni-button
[
data-v-bc9909ba
]
:after
{
border
:
1px
solid
#CEB07D
}
.optionContent
[
data-v-bc9909ba
]
{
position
:
fixed
;
bottom
:
0
;
left
:
0
;
width
:
100%
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
background-color
:
#fff
}
.optionContent
uni-button
[
data-v-bc9909ba
]
{
flex
:
0
0
46%
;
border
:
.0625rem
solid
#e7c793
;
color
:
#6b4000
;
font-size
:
1.125rem
}
.optionContent
uni-button
[
data-v-bc9909ba
]
:last-child
{
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
border
:
none
}
.batchDataTd
uni-input
[
data-v-bc9909ba
]
{
height
:
100%
}
unpackage/dist/build/h5/assets/data-import.f36ec532.css
0 → 100644
View file @
f1c3f8b4
.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
0 → 100644
View file @
f1c3f8b4
.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.724bc5f8.css
deleted
100644 → 0
View file @
ade2161f
.batchCalculateContent
[
data-v-f1bced56
]
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
}
.radioButton
[
data-v-f1bced56
]
{
position
:
relative
;
width
:
1.25rem
;
height
:
1.25rem
;
border-radius
:
50%
;
border
:
1px
solid
#CEB07D
}
.radioButton.selected
[
data-v-f1bced56
]
: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-f1bced56
]
{
width
:
100%
}
.banner
[
data-v-f1bced56
]
{
height
:
12.5rem
}
.banner
img
[
data-v-f1bced56
]
{
max-width
:
100%
}
.tabTitle
[
data-v-f1bced56
]
{
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-f1bced56
]
{
position
:
relative
}
.tabTitle
uni-text
.actived
[
data-v-f1bced56
]
:after
{
position
:
absolute
;
bottom
:
-.125rem
;
left
:
0
;
content
:
""
;
width
:
100%
;
height
:
.125rem
;
background
:
linear-gradient
(
125deg
,
#CEB07D
,
#FED597
)}
.formInfoContainer
[
data-v-f1bced56
]
{
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-f1bced56
]
{
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-f1bced56
]
:before
{
content
:
""
;
position
:
absolute
;
left
:
0
;
top
:
.46875rem
;
width
:
.1875rem
;
height
:
.625rem
;
background-color
:
#ceb07d
;
border-radius
:
.25rem
}
.inputItem
[
data-v-f1bced56
]
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
height
:
2.75rem
;
border-bottom
:
1px
solid
#E4E4E4
}
.inputItem
.inputContent
[
data-v-f1bced56
]
{
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-end
;
flex
:
0
0
51%
}
.inputContent
.uni-input
[
data-v-f1bced56
]
{
margin-right
:
.625rem
;
text-align
:
right
}
.inputItem
uni-text
[
data-v-f1bced56
]
{
flex
:
0
0
49%
}
.simpleDataResult
[
data-v-f1bced56
]
{
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-f1bced56
]
{
font-size
:
1rem
;
font-weight
:
700
;
color
:
#ceb07d
}
.simpleDataResult
.calcNumber
[
data-v-f1bced56
]
{
text-align
:
right
;
font-size
:
20px
}
.simpleDataResult
.inputItem
[
data-v-f1bced56
]
:last-child
{
border
:
none
}
.simpleDataResult
.inputItem
.title
[
data-v-f1bced56
]
{
color
:
#ceb07d
;
font-weight
:
700
}
.reduceInsuranceContent
.tableTh
[
data-v-f1bced56
],
.reduceInsuranceContent
.tableTd
[
data-v-f1bced56
]
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
margin-bottom
:
.5rem
}
.reduceInsuranceContent
.tableTh
uni-text
[
data-v-f1bced56
]
{
flex
:
1
}
.reduceInsuranceContent
.tableTh
uni-text
.withdrawNumber
[
data-v-f1bced56
],
.reduceInsuranceContent
.tableTd
uni-text
.withdrawNumber
[
data-v-f1bced56
]
{
flex
:
2
}
.reduceInsuranceContent
.tableTd
.uni-input
[
data-v-f1bced56
],
.reduceInsuranceContent
.tableTh
uni-text
[
data-v-f1bced56
]
{
text-align
:
center
;
border-bottom
:
1px
solid
#E4E4E4
;
padding
:
.1875rem
.75rem
;
margin-right
:
.625rem
}
.reduceInsuranceContent
.tableTh
uni-text
[
data-v-f1bced56
]
{
border
:
none
;
white-space
:
nowrap
;
color
:
#333
}
.reduceInsuranceContent
.tableTd
[
data-v-f1bced56
]
:last-child
{
margin-bottom
:
.625rem
}
.resultContent
[
data-v-f1bced56
]
{
margin-bottom
:
1.875rem
;
padding-bottom
:
1.875rem
}
.optionContent
[
data-v-f1bced56
]
{
position
:
fixed
;
bottom
:
0
;
left
:
0
;
width
:
100%
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
background-color
:
#fff
}
.optionContent
uni-button
[
data-v-f1bced56
]
{
flex
:
0
0
46%
;
border
:
.0625rem
solid
#e7c793
;
font-size
:
1.125rem
}
.btn
[
data-v-f1bced56
]
{
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
border
:
none
;
color
:
#6b4000
}
.batchDataResult
[
data-v-f1bced56
]
{
box-shadow
:
0
0
11px
rgba
(
0
,
0
,
0
,
.1
);
margin-top
:
1rem
}
.batchDataResult
.resultTh
[
data-v-f1bced56
]
{
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-f1bced56
]
{
display
:
flex
;
height
:
1.875rem
;
align-items
:
center
;
border-bottom
:
1px
solid
#E4E4E4
}
.batchDataResult
.resultTd
[
data-v-f1bced56
]
:last-child
{
border-bottom
:
none
}
.batchDataResult
.resultTh
uni-text
[
data-v-f1bced56
],
.batchDataResult
.resultTd
uni-text
[
data-v-f1bced56
]
{
flex
:
1
;
text-align
:
center
;
font-weight
:
700
;
color
:
#333
}
.batchDataResult
.resultTd
uni-text
.resultNumber
[
data-v-f1bced56
]
{
color
:
#ceb07d
}
.cashValueContent
.title
uni-button
[
data-v-f1bced56
]
{
background-color
:
transparent
;
font-size
:
.9375rem
;
color
:
#333
;
box-sizing
:
border-box
;
line-height
:
initial
}
.cashValueContent
.title
uni-button
[
data-v-f1bced56
]
:after
{
border
:
1px
solid
#CEB07D
;
border-radius
:
.375rem
}
.cashValueContent
.title
uni-button
[
data-v-f1bced56
]
:first-child
{
margin-right
:
1.25rem
}
.cashValueContent
.title
uni-button
.actived
[
data-v-f1bced56
]
{
background
:
linear-gradient
(
135deg
,
#CEB07D
0%
,
#FFDDA9
56%
,
#FED495
100%
,
#FED495
100%
);
color
:
#6b4000
}
.reduceInsuranceContent
uni-text
[
data-v-f1bced56
]
{
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-f1bced56
]
{
width
:
100%
;
height
:
100vh
;
overflow
:
hidden
}
.qrcodeContainer
img
[
data-v-f1bced56
]
{
max-width
:
100%
}
unpackage/dist/build/h5/assets/index.
5e14dbb8
.js
→
unpackage/dist/build/h5/assets/index.
cca14f49
.js
View file @
f1c3f8b4
This source diff could not be displayed because it is too large. You can
view the blob
instead.
unpackage/dist/build/h5/assets/pages-dataImport-data-import.56b4905e.js
deleted
100644 → 0
View file @
ade2161f
var
e
=
Object
.
defineProperty
,
a
=
Object
.
defineProperties
,
t
=
Object
.
getOwnPropertyDescriptors
,
l
=
Object
.
getOwnPropertySymbols
,
s
=
Object
.
prototype
.
hasOwnProperty
,
i
=
Object
.
prototype
.
propertyIsEnumerable
,
c
=
(
a
,
t
,
l
)
=>
t
in
a
?
e
(
a
,
t
,{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
l
}):
a
[
t
]
=
l
;
import
{
g
as
n
,
C
as
o
,
s
as
r
,
D
as
u
,
a
as
d
,
o
as
p
,
c
as
f
,
w
as
h
,
d
as
y
,
h
as
m
,
t
as
g
,
i
as
Y
,
e
as
_
,
j
as
C
,
F
as
P
,
f
as
v
,
k
as
S
,
p
as
b
,
m
as
A
,
E
as
L
,
u
as
I
,
G
as
R
,
S
as
D
,
H
as
x
,
I
as
k
}
from
"./index.5e14dbb8.js"
;
import
{
_
as
V
,
a
as
O
}
from
"./plugin-vue_export-helper.4a7acdcb.js"
;
var
w
=
V
({
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
}),
onLoad
(){
this
.
bindPickerChange
({
detail
:{
value
:
this
.
index
}}),
this
.
calcuteData
=
n
(
"calcuteData"
)},
methods
:{
bindPickerChange
(
e
){
this
.
index
=
e
.
detail
.
value
;
const
a
=
1
===
this
.
stepLists
[
this
.
index
]?
2
:
1
;
this
.
policyYearLists
=
[{
nyear
:
1
,
isActived
:
!
0
,
cashValue
:
""
}];
for
(
let
t
=
a
;
t
<=
this
.
maxPolicyYear
;
t
++
){
let
e
=
this
.
stepLists
[
this
.
index
]
*
t
;
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
((
a
=>
a
.
nyear
==
e
)).
pop
()?
this
.
policyYearLists
.
filter
((
a
=>
a
.
nyear
==
e
)).
pop
().
isActived
=!
this
.
policyYearLists
.
filter
((
a
=>
a
.
nyear
==
e
)).
pop
().
isActived
:
this
.
policyYearLists
.
push
({
nyear
:
e
,
isActived
:
!
0
,
cashValue
:
""
})},
getActiveStatus
(
e
){
let
a
=!
1
;
return
this
.
policyYearLists
.
filter
((
a
=>
a
.
nyear
==
e
)).
pop
()
&&
(
a
=
this
.
policyYearLists
.
filter
((
a
=>
a
.
nyear
==
e
)).
pop
().
isActived
),
a
},
confirmPolicyYears
(){
this
.
policyYearModalFlag
=!
1
,
this
.
policyYearLists
.
length
>
0
&&
this
.
policyYearLists
.
sort
(((
e
,
a
)
=>
e
.
nyear
-
a
.
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
))?
o
({
title
:
"数据识别结果"
,
content
:
"检测到您并没有导入数据,请重新操作"
,
success
:
function
(
e
){
e
.
confirm
?
console
.
log
(
"用户点击确定"
):
e
.
cancel
&&
console
.
log
(
"用户点击取消"
)}}):
e
.
length
!==
this
.
irrAndSimpleInfos
.
length
&&
o
({
title
:
"数据识别结果"
,
content
:
"检测到您导入的数据条数和选择的保单年度数量不一致,系统将从上到下依次填入,请确认是否继续"
,
success
:
a
=>
{
if
(
a
.
confirm
){
if
(
console
.
log
(
"用户点击确定"
),
this
.
irrAndSimpleInfos
.
length
>
0
){
const
a
=
Math
.
min
(
e
.
length
,
this
.
irrAndSimpleInfos
.
length
);
console
.
log
(
a
);
for
(
let
t
=
0
;
t
<
a
;
t
++
)
this
.
irrAndSimpleInfos
[
t
].
cashValue
=
e
[
t
]}}
else
a
.
cancel
&&
console
.
log
(
"用户点击取消"
)}})},
clearData
(){
this
.
pasteData
=
""
,
this
.
irrAndSimpleInfos
.
forEach
((
e
=>
e
.
cashValue
=
""
))},
calcute
(){
this
.
policyYearLists
=
this
.
irrAndSimpleInfos
;
const
e
=
(
n
=
((
e
,
a
)
=>
{
for
(
var
t
in
a
||
(
a
=
{}))
s
.
call
(
a
,
t
)
&&
c
(
e
,
t
,
a
[
t
]);
if
(
l
)
for
(
var
t
of
l
(
a
))
i
.
call
(
a
,
t
)
&&
c
(
e
,
t
,
a
[
t
]);
return
e
})({},
this
.
calcuteData
),
o
=
{
calcuteMethod
:
2
,
decimal
:
5
,
irrAndSimpleInfos
:
this
.
policyYearLists
},
a
(
n
,
t
(
o
)));
var
n
,
o
;
O
.
irrAndSimpleCalcute
(
e
).
then
((
e
=>
{
!
0
===
e
.
success
?(
this
.
irrAndSimpleResInfos
=
e
.
data
.
irrAndSimpleResInfos
,
r
(
"resIrrAndSimpleResInfos"
,
this
.
irrAndSimpleResInfos
),
u
({
delta
:
1
})):
d
({
title
:
e
.
message
,
duration
:
2
e3
,
icon
:
"none"
})}))}}},[[
"render"
,
function
(
e
,
a
,
t
,
l
,
s
,
i
){
const
c
=
b
,
n
=
A
,
o
=
L
,
r
=
I
,
u
=
R
,
d
=
k
,
V
=
D
,
O
=
x
;
return
p
(),
f
(
n
,{
class
:
"batchDataImportContainer"
},{
default
:
h
((()
=>
[
y
(
n
,{
class
:
"selectStepContainer"
},{
default
:
h
((()
=>
[
y
(
n
,{
class
:
"selectStepContent"
},{
default
:
h
((()
=>
[
y
(
c
,
null
,{
default
:
h
((()
=>
[
m
(
"我想测算每隔"
)])),
_
:
1
}),
y
(
n
,{
class
:
"stepContent"
},{
default
:
h
((()
=>
[
y
(
o
,{
onChange
:
i
.
bindPickerChange
,
value
:
s
.
index
,
range
:
s
.
stepLists
},{
default
:
h
((()
=>
[
y
(
n
,{
class
:
"uni-input"
},{
default
:
h
((()
=>
[
m
(
g
(
s
.
stepLists
[
s
.
index
]),
1
)])),
_
:
1
})])),
_
:
1
},
8
,[
"onChange"
,
"value"
,
"range"
]),(
p
(),
Y
(
"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"
},[
_
(
"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
}),
y
(
c
,
null
,{
default
:
h
((()
=>
[
m
(
"年的单利复利"
)])),
_
:
1
})])),
_
:
1
}),
y
(
n
,
null
,{
default
:
h
((()
=>
[
y
(
r
,{
class
:
"mini-btn"
,
type
:
"default"
,
size
:
"mini"
,
onClick
:
i
.
selectCustomPolicyYear
},{
default
:
h
((()
=>
[
m
(
"自定义"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
})])),
_
:
1
}),
y
(
n
,{
class
:
"tips"
},{
default
:
h
((()
=>
[
y
(
c
,
null
,{
default
:
h
((()
=>
[
m
(
"(如需指定任意保单年度,可通过点击右上角"
),
y
(
c
,
null
,{
default
:
h
((()
=>
[
m
(
"“自定义”"
)])),
_
:
1
}),
m
(
"按钮完成)"
)])),
_
:
1
})])),
_
:
1
}),
y
(
n
,{
class
:
"dataOptionContainer"
},{
default
:
h
((()
=>
[
y
(
n
,{
class
:
"uni-textarea"
},{
default
:
h
((()
=>
[
y
(
u
,{
modelValue
:
s
.
pasteData
,
"onUpdate:modelValue"
:
a
[
0
]
||
(
a
[
0
]
=
e
=>
s
.
pasteData
=
e
),
"placeholder-style"
:
"color:#999999;font-size:14px;padding-left:9px;padding-top:3px"
,
placeholder
:
"请根据左侧保单年度进行现金价值数据粘贴"
},
null
,
8
,[
"modelValue"
]),
y
(
r
,{
class
:
"mini-btn pasteDiscernment"
,
type
:
"default"
,
size
:
"mini"
,
onClick
:
i
.
pasteDataDistinguish
},{
default
:
h
((()
=>
[
m
(
"粘贴并识别"
)])),
_
:
1
},
8
,[
"onClick"
])])),
_
:
1
}),
y
(
n
,{
class
:
"batchDataLists"
},{
default
:
h
((()
=>
[
y
(
n
,{
class
:
"batchDataTh"
},{
default
:
h
((()
=>
[
y
(
c
,
null
,{
default
:
h
((()
=>
[
m
(
"保单年度"
)])),
_
:
1
}),
y
(
c
,
null
,{
default
:
h
((()
=>
[
m
(
"现金价值"
)])),
_
:
1
})])),
_
:
1
}),
y
(
V
,{
"scroll-y"
:
"true"
,
style
:{
height
:
"560rpx"
}},{
default
:
h
((()
=>
[(
p
(
!
0
),
Y
(
P
,
null
,
C
(
s
.
irrAndSimpleInfos
,(
e
=>
(
p
(),
f
(
n
,{
class
:
"batchDataTd"
},{
default
:
h
((()
=>
[
y
(
c
,
null
,{
default
:
h
((()
=>
[
m
(
g
(
e
.
nyear
),
1
)])),
_
:
2
},
1024
),
y
(
d
,{
class
:
"uni-input"
,
style
:{
height
:
"100%"
},
type
:
"digit"
,
modelValue
:
e
.
cashValue
,
"onUpdate:modelValue"
:
a
=>
e
.
cashValue
=
a
,
placeholder
:
"请输入纯数字"
},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
])])),
_
:
2
},
1024
)))),
256
))])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
y
(
n
,{
class
:
"optionContent"
},{
default
:
h
((()
=>
[
y
(
r
,{
type
:
"default"
,
plain
:
"true"
,
"form-type"
:
"reset"
,
onClick
:
i
.
clearData
},{
default
:
h
((()
=>
[
m
(
"全部清空"
)])),
_
:
1
},
8
,[
"onClick"
]),
y
(
r
,{
type
:
"default"
,
plain
:
"true"
,
onClick
:
a
[
1
]
||
(
a
[
1
]
=
e
=>
i
.
calcute
())},{
default
:
h
((()
=>
[
m
(
g
(
"2"
==
e
.
calcuteMethod
?
"输入批量数据"
:
"开始计算"
),
1
)])),
_
:
1
})])),
_
:
1
}),
s
.
policyYearModalFlag
?(
p
(),
f
(
n
,{
key
:
0
,
class
:
"policySelectContainer"
},{
default
:
h
((()
=>
[
y
(
n
,{
class
:
"policyYearContainer"
},{
default
:
h
((()
=>
[
y
(
n
,{
class
:
"modalTitle"
},{
default
:
h
((()
=>
[
y
(
c
),
y
(
c
,
null
,{
default
:
h
((()
=>
[
m
(
"选择保单年度"
),
y
(
c
,
null
,{
default
:
h
((()
=>
[
m
(
"(可多选)"
)])),
_
:
1
})])),
_
:
1
}),
y
(
O
,{
type
:
"clear"
,
size
:
"26"
,
onClick
:
a
[
2
]
||
(
a
[
2
]
=
e
=>
s
.
policyYearModalFlag
=!
1
)})])),
_
:
1
}),
y
(
n
,{
class
:
"policyStepContainer"
},{
default
:
h
((()
=>
[
y
(
r
,{
type
:
"default"
,
plain
:
"true"
,
class
:
v
({
actived
:
0
===
s
.
customPolicyYearRange
}),
onClick
:
a
[
3
]
||
(
a
[
3
]
=
e
=>
i
.
selectPolicyYearRange
(
0
))},{
default
:
h
((()
=>
[
m
(
"1~40"
)])),
_
:
1
},
8
,[
"class"
]),
y
(
r
,{
type
:
"default"
,
plain
:
"true"
,
class
:
v
({
actived
:
1
===
s
.
customPolicyYearRange
}),
onClick
:
a
[
4
]
||
(
a
[
4
]
=
e
=>
i
.
selectPolicyYearRange
(
1
))},{
default
:
h
((()
=>
[
m
(
"41~80"
)])),
_
:
1
},
8
,[
"class"
]),
y
(
r
,{
type
:
"default"
,
plain
:
"true"
,
class
:
v
({
actived
:
2
===
s
.
customPolicyYearRange
}),
onClick
:
a
[
5
]
||
(
a
[
5
]
=
e
=>
i
.
selectPolicyYearRange
(
2
))},{
default
:
h
((()
=>
[
m
(
"81~105"
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
}),
y
(
n
,{
class
:
"policyYearItemContainer"
},{
default
:
h
((()
=>
[(
p
(
!
0
),
Y
(
P
,
null
,
C
(
s
.
customPolicyYearRangeCount
,(
e
=>
(
p
(),
f
(
n
,{
onClick
:
a
=>
i
.
selectCustomPolicyYears
(
e
+
s
.
customPolicyYearRange
*
s
.
customPolicyYearRangeCount
),
class
:
v
({
actived
:
i
.
getActiveStatus
(
e
+
s
.
customPolicyYearRange
*
s
.
customPolicyYearRangeCount
)})},{
default
:
h
((()
=>
[
y
(
c
,
null
,{
default
:
h
((()
=>
[
m
(
g
(
e
+
s
.
customPolicyYearRange
*
s
.
customPolicyYearRangeCount
>
this
.
maxPolicyYear
?
""
:
e
+
s
.
customPolicyYearRange
*
s
.
customPolicyYearRangeCount
),
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1032
,[
"onClick"
,
"class"
])))),
256
))])),
_
:
1
}),
y
(
n
,{
class
:
"confirm"
},{
default
:
h
((()
=>
[
y
(
r
,{
type
:
"default"
,
plain
:
"true"
,
onClick
:
a
[
6
]
||
(
a
[
6
]
=
e
=>
i
.
confirmPolicyYears
())},{
default
:
h
((()
=>
[
m
(
"确定"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
S
(
""
,
!
0
)])),
_
:
1
})}],[
"__scopeId"
,
"data-v-bc9909ba"
]]);
export
{
w
as
default
};
unpackage/dist/build/h5/assets/pages-index-index.0fcbca2a.js
deleted
100644 → 0
View file @
ade2161f
var
e
=
Object
.
defineProperty
,
l
=
Object
.
defineProperties
,
a
=
Object
.
getOwnPropertyDescriptors
,
t
=
Object
.
getOwnPropertySymbols
,
i
=
Object
.
prototype
.
hasOwnProperty
,
s
=
Object
.
prototype
.
propertyIsEnumerable
,
n
=
(
l
,
a
,
t
)
=>
a
in
l
?
e
(
l
,
a
,{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
t
}):
l
[
a
]
=
t
,
r
=
(
e
,
l
)
=>
{
for
(
var
a
in
l
||
(
l
=
{}))
i
.
call
(
l
,
a
)
&&
n
(
e
,
a
,
l
[
a
]);
if
(
t
)
for
(
var
a
of
t
(
l
))
s
.
call
(
l
,
a
)
&&
n
(
e
,
a
,
l
[
a
]);
return
e
},
u
=
(
e
,
t
)
=>
l
(
e
,
a
(
t
));
import
{
r
as
d
,
g
as
o
,
s
as
c
,
a
as
p
,
n
as
m
,
o
as
f
,
c
as
h
,
w
as
y
,
b
as
w
,
v
as
_
,
d
as
S
,
e
as
b
,
f
as
I
,
h
as
A
,
i
as
C
,
j
as
g
,
F
as
T
,
k
as
V
,
l
as
P
,
t
as
v
,
m
as
W
,
p
as
R
,
I
as
N
,
q
as
U
,
u
as
x
,
S
as
F
,
x
as
O
}
from
"./index.5e14dbb8.js"
;
import
{
_
as
M
,
a
as
k
}
from
"./plugin-vue_export-helper.4a7acdcb.js"
;
var
Q
=
{
getQueryString
(
e
){
const
l
=
new
RegExp
(
"(^|&)"
+
e
+
"=([^&]*)(&|$)"
),
a
=
decodeURIComponent
(
window
.
location
.
search
).
substr
(
1
).
match
(
l
);
return
null
!=
a
?
a
[
2
]:
null
}};
var
j
=
M
({
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
:[]}),
onLoad
(){
d
(
"resIrrAndSimpleResInfos"
),
o
(
"businessNo"
)?
this
.
businessNo
=
o
(
"businessNo"
):
c
(
"businessNo"
,((
e
=
21
)
=>
crypto
.
getRandomValues
(
new
Uint8Array
(
e
)).
reduce
(((
e
,
l
)
=>
e
+
((
l
&=
63
)
<
36
?
l
.
toString
(
36
):
l
<
62
?(
l
-
26
).
toString
(
36
).
toUpperCase
():
l
>
62
?
"-"
:
"_"
)),
""
))().
replace
(
/
\_
/g
,
""
)),
0
==
Q
.
getQueryString
(
"subscribe"
)?
this
.
isNeedOfficialAccountQrcode
=!
0
:
this
.
isNeedOfficialAccountQrcode
=!
1
,
Q
.
getQueryString
(
"openId"
)?
c
(
"openId"
,
Q
.
getQueryString
(
"openId"
)):
o
(
"openId"
)
||
k
.
getWxUserInfo
({
userApplyType
:
"1"
,
businessNo
:
o
(
"businessNo"
)}).
then
((
e
=>
{
console
.
log
(
e
),
e
.
success
&&
(
window
.
location
.
href
=
e
.
data
.
paymentForm
.
action
)})),
0
!=
Q
.
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
,
"2"
==
e
&&
(
this
.
yearWithdrawalInfos
=
[].
concat
([{
withdrawalType
:
"1"
,
withdrawalStart
:
null
,
yearWithdrawalAmount
:
null
}]))},
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
,
"1"
===
e
&&
(
this
.
irrAndSimple
=
{
nyear
:
null
,
cashValue
:
null
},
this
.
irrAndSimpleInfos
=
[].
concat
([{
nyear
:
null
,
cashValue
:
null
}]),
console
.
log
(
this
.
irrAndSimple
))},
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"
})}
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
});
k
.
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
,
l
,
a
,
t
,
i
,
s
){
const
n
=
W
,
r
=
R
,
u
=
N
,
d
=
U
,
o
=
x
,
c
=
F
,
p
=
O
;
return
f
(),
h
(
n
,{
class
:
""
},{
default
:
y
((()
=>
[
w
(
S
(
n
,{
class
:
"qrcodeContainer"
},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"qrcodeContent"
},{
default
:
y
((()
=>
[
b
(
"img"
,{
src
:
"/sfp/assets/qrcodeBg.672cc012.png"
,
alt
:
""
,
srcset
:
""
})])),
_
:
1
})])),
_
:
1
},
512
),[[
_
,
i
.
isNeedOfficialAccountQrcode
]]),
w
(
S
(
n
,{
class
:
"content"
},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"banner"
},{
default
:
y
((()
=>
[
b
(
"img"
,{
src
:
"/sfp/assets/policyIrrBanner.05908eaf.png"
,
alt
:
""
,
srcset
:
""
})])),
_
:
1
}),
S
(
c
,{
"scroll-y"
:
"true"
,
class
:
"formInfoContainer"
},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"tabTitle"
},{
default
:
y
((()
=>
[
S
(
r
,{
onClick
:
l
[
0
]
||
(
l
[
0
]
=
e
=>
s
.
switchTab
(
"1"
)),
class
:
I
({
actived
:
"1"
===
i
.
calcuteType
})},{
default
:
y
((()
=>
[
A
(
"增额"
)])),
_
:
1
},
8
,[
"class"
]),
S
(
r
,{
onClick
:
l
[
1
]
||
(
l
[
1
]
=
e
=>
s
.
switchTab
(
"2"
)),
class
:
I
({
actived
:
"2"
===
i
.
calcuteType
})},{
default
:
y
((()
=>
[
A
(
"年金"
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
}),
S
(
p
,{
onSubmit
:
e
.
formSubmit
,
onReset
:
e
.
formReset
},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"policyInfoContent"
},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"title"
},{
default
:
y
((()
=>
[
S
(
n
,
null
,{
default
:
y
((()
=>
[
A
(
"保单信息"
)])),
_
:
1
})])),
_
:
1
}),
S
(
n
,{
class
:
"inputItem"
},{
default
:
y
((()
=>
[
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"交费年限:"
)])),
_
:
1
}),
S
(
n
,{
class
:
"inputContent"
},{
default
:
y
((()
=>
[
S
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
i
.
irrAndSimpleCalcuteParam
.
paymentPeriod
,
"onUpdate:modelValue"
:
l
[
2
]
||
(
l
[
2
]
=
e
=>
i
.
irrAndSimpleCalcuteParam
.
paymentPeriod
=
e
)},
null
,
8
,[
"modelValue"
]),
S
(
d
,{
for
:
""
},{
default
:
y
((()
=>
[
A
(
"年"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
S
(
n
,{
class
:
"inputItem"
},{
default
:
y
((()
=>
[
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"年交保费:"
)])),
_
:
1
}),
S
(
n
,{
class
:
"inputContent"
},{
default
:
y
((()
=>
[
S
(
u
,{
class
:
"uni-input"
,
type
:
"digit"
,
placeholder
:
"请输入"
,
modelValue
:
i
.
irrAndSimpleCalcuteParam
.
annualPremium
,
"onUpdate:modelValue"
:
l
[
3
]
||
(
l
[
3
]
=
e
=>
i
.
irrAndSimpleCalcuteParam
.
annualPremium
=
e
)},
null
,
8
,[
"modelValue"
]),
S
(
d
,{
for
:
""
},{
default
:
y
((()
=>
[
A
(
"元"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
w
(
S
(
n
,{
class
:
"inputItem"
},{
default
:
y
((()
=>
[
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"万能账户首年交费"
),
S
(
r
,{
style
:{
"font-size"
:
"24rpx"
}},{
default
:
y
((()
=>
[
A
(
"(如有)"
)])),
_
:
1
}),
A
(
":"
)])),
_
:
1
}),
S
(
n
,{
class
:
"inputContent"
},{
default
:
y
((()
=>
[
S
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
i
.
irrAndSimpleCalcuteParam
.
allFirstPayment
,
"onUpdate:modelValue"
:
l
[
4
]
||
(
l
[
4
]
=
e
=>
i
.
irrAndSimpleCalcuteParam
.
allFirstPayment
=
e
)},
null
,
8
,[
"modelValue"
]),
S
(
d
,{
for
:
""
},{
default
:
y
((()
=>
[
A
(
"元"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
512
),[[
_
,
"2"
===
i
.
calcuteType
]])])),
_
:
1
}),
"2"
===
i
.
calcuteType
&&
i
.
irrAndSimpleCalcuteParam
.
allFirstPayment
?
V
(
""
,
!
0
):(
f
(),
h
(
n
,{
key
:
0
,
class
:
"claimInfomationContent"
},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"title"
},{
default
:
y
((()
=>
[
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"提领信息"
)])),
_
:
1
}),
w
(
S
(
n
,{
style
:{
display
:
"flex"
},
onClick
:
l
[
5
]
||
(
l
[
5
]
=
e
=>
s
.
changeWithdrawalType
())},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
I
([
"radioButton"
,{
selected
:
!
i
.
withdrawalType
}])},
null
,
8
,[
"class"
]),
S
(
r
,{
style
:{
"margin-left"
:
"10rpx"
}},{
default
:
y
((()
=>
[
A
(
"减保取现"
)])),
_
:
1
})])),
_
:
1
},
512
),[[
_
,
"1"
===
i
.
calcuteType
]])])),
_
:
1
}),
w
(
S
(
n
,{
class
:
"annuityContent"
},{
default
:
y
((()
=>
[(
f
(
!
0
),
C
(
T
,
null
,
g
(
i
.
yearWithdrawalInfos
,(
e
=>
(
f
(),
h
(
n
,
null
,{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"inputItem"
},{
default
:
y
((()
=>
[
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"从第几个保单年度开始提取:"
)])),
_
:
1
}),
S
(
n
,{
class
:
"inputContent"
},{
default
:
y
((()
=>
[
S
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
e
.
withdrawalStart
,
"onUpdate:modelValue"
:
l
=>
e
.
withdrawalStart
=
l
},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
]),
S
(
d
,{
for
:
""
},{
default
:
y
((()
=>
[
A
(
"年"
)])),
_
:
1
})])),
_
:
2
},
1024
)])),
_
:
2
},
1024
),
S
(
n
,{
class
:
"inputItem"
},{
default
:
y
((()
=>
[
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"每年提取金额:"
)])),
_
:
1
}),
S
(
n
,{
class
:
"inputContent"
},{
default
:
y
((()
=>
[
S
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
e
.
yearWithdrawalAmount
,
"onUpdate:modelValue"
:
l
=>
e
.
yearWithdrawalAmount
=
l
},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
]),
S
(
d
,{
for
:
""
},{
default
:
y
((()
=>
[
A
(
"元"
)])),
_
:
1
})])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
256
))])),
_
:
1
},
512
),[[
_
,
"2"
===
i
.
calcuteType
]]),
w
(
S
(
n
,{
class
:
"reduceInsuranceContent"
},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"tableTh"
},{
default
:
y
((()
=>
[
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"起领年度(年初)"
)])),
_
:
1
}),
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"止领年度(年末)"
)])),
_
:
1
}),
S
(
r
,{
class
:
"withdrawNumber"
},{
default
:
y
((()
=>
[
A
(
"年提取金额(元)"
)])),
_
:
1
})])),
_
:
1
}),(
f
(
!
0
),
C
(
T
,
null
,
g
(
i
.
yearWithdrawalInfos
,((
e
,
l
)
=>
(
f
(),
h
(
n
,{
class
:
"tableTd"
},{
default
:
y
((()
=>
[
S
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
e
.
withdrawalStart
,
"onUpdate:modelValue"
:
l
=>
e
.
withdrawalStart
=
l
},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
]),
S
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
e
.
withdrawalEnd
,
"onUpdate:modelValue"
:
l
=>
e
.
withdrawalEnd
=
l
},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
]),
S
(
u
,{
class
:
"uni-input withdrawNumber"
,
type
:
"number"
,
placeholder
:
"请输入"
,
modelValue
:
e
.
yearWithdrawalAmount
,
"onUpdate:modelValue"
:
l
=>
e
.
yearWithdrawalAmount
=
l
},
null
,
8
,[
"modelValue"
,
"onUpdate:modelValue"
]),
w
(
S
(
n
,
null
,{
default
:
y
((()
=>
[
S
(
r
,{
onClick
:
e
=>
s
.
reduce
(
l
)},{
default
:
y
((()
=>
[
A
(
"-"
)])),
_
:
2
},
1032
,[
"onClick"
])])),
_
:
2
},
1536
),[[
_
,
i
.
yearWithdrawalInfos
.
length
>
1
]])])),
_
:
2
},
1024
)))),
256
)),
S
(
r
,{
onClick
:
l
[
6
]
||
(
l
[
6
]
=
e
=>
s
.
add
()),
style
:{
position
:
"absolute"
,
right
:
"0"
}},{
default
:
y
((()
=>
[
A
(
"+"
)])),
_
:
1
})])),
_
:
1
},
512
),[[
_
,
!
i
.
withdrawalType
&&
"1"
===
i
.
calcuteType
]])])),
_
:
1
})),
S
(
n
,{
class
:
"cashValueContent"
,
style
:
P
({
marginTop
:
"1"
==
i
.
calcuteType
?
"80rpx"
:
"40rpx"
})},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"title"
},{
default
:
y
((()
=>
[
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"现金价值"
)])),
_
:
1
}),
S
(
n
,{
class
:
"calcTypeOption"
},{
default
:
y
((()
=>
[
S
(
o
,{
class
:
I
([
"mini-btn"
,{
actived
:
"1"
==
i
.
calcuteMethod
}]),
type
:
"default"
,
size
:
"mini"
,
onClick
:
l
[
7
]
||
(
l
[
7
]
=
e
=>
s
.
initCashValue
(
"1"
))},{
default
:
y
((()
=>
[
A
(
"单次"
)])),
_
:
1
},
8
,[
"class"
]),
S
(
o
,{
class
:
I
([
"mini-btn"
,{
actived
:
"2"
==
i
.
calcuteMethod
}]),
type
:
"default"
,
size
:
"mini"
,
onClick
:
l
[
8
]
||
(
l
[
8
]
=
e
=>
s
.
initCashValue
(
"2"
))},{
default
:
y
((()
=>
[
A
(
"批量"
)])),
_
:
1
},
8
,[
"class"
])])),
_
:
1
})])),
_
:
1
}),
w
(
S
(
n
,{
class
:
"simpleCalculateContent"
},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"inputItem"
},{
default
:
y
((()
=>
[
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"第:"
)])),
_
:
1
}),
S
(
n
,{
class
:
"inputContent"
},{
default
:
y
((()
=>
[
S
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
min
:
"1"
,
modelValue
:
i
.
irrAndSimple
.
nyear
,
"onUpdate:modelValue"
:
l
[
9
]
||
(
l
[
9
]
=
e
=>
i
.
irrAndSimple
.
nyear
=
e
)},
null
,
8
,[
"modelValue"
]),
S
(
d
,{
for
:
""
},{
default
:
y
((()
=>
[
A
(
"年"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
S
(
n
,{
class
:
"inputItem"
},{
default
:
y
((()
=>
[
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"总生存利益"
),
S
(
r
,{
style
:{
"font-size"
:
"14px"
}},{
default
:
y
((()
=>
[
A
(
"(总领取金额+现金价值)"
)])),
_
:
1
}),
A
(
":"
)])),
_
:
1
}),
S
(
n
,{
class
:
"inputContent"
},{
default
:
y
((()
=>
[
S
(
u
,{
class
:
"uni-input"
,
type
:
"number"
,
placeholder
:
"请输入"
,
min
:
"1"
,
modelValue
:
i
.
irrAndSimple
.
cashValue
,
"onUpdate:modelValue"
:
l
[
10
]
||
(
l
[
10
]
=
e
=>
i
.
irrAndSimple
.
cashValue
=
e
)},
null
,
8
,[
"modelValue"
]),
S
(
d
,{
for
:
""
},{
default
:
y
((()
=>
[
A
(
"元"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})])),
_
:
1
},
512
),[[
_
,
"1"
===
i
.
calcuteMethod
]]),
w
(
S
(
n
,{
class
:
"batchCalculateContent"
},{
default
:
y
((()
=>
[
b
(
"img"
,{
src
:
"/sfp/assets/batchFileImport.f45bf5a6.png"
,
alt
:
""
,
style
:{
width
:
"50%"
}}),
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"暂无数据"
)])),
_
:
1
}),
S
(
r
,{
style
:{
"font-size"
:
"14px"
,
"margin-top"
:
"10rpx"
}},{
default
:
y
((()
=>
[
A
(
"点击下方按钮输入批量数据"
)])),
_
:
1
})])),
_
:
1
},
512
),[[
_
,
!
i
.
resultShowFlag
&&
"2"
===
i
.
calcuteMethod
]])])),
_
:
1
},
8
,[
"style"
]),
S
(
n
,{
class
:
"resultContent"
},{
default
:
y
((()
=>
[
i
.
resultShowFlag
&&
"1"
==
i
.
calcuteMethod
?(
f
(),
h
(
n
,{
key
:
0
,
class
:
"simpleDataResult"
},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"inputItem"
},{
default
:
y
((()
=>
[
S
(
r
,{
class
:
"resultTitle"
},{
default
:
y
((()
=>
[
A
(
"IRR复利"
)])),
_
:
1
}),
S
(
r
,{
class
:
"calcNumber"
},{
default
:
y
((()
=>
[
A
(
v
(
100
*
(
i
.
irrAndSimpleResInfos
.
length
>
0
?
i
.
irrAndSimpleResInfos
[
0
].
irrValue
:
null
).
toFixed
(
5
))
+
"%"
,
1
)])),
_
:
1
})])),
_
:
1
}),
S
(
n
,{
class
:
"inputItem"
},{
default
:
y
((()
=>
[
S
(
r
,{
class
:
"resultTitle"
},{
default
:
y
((()
=>
[
A
(
"单利"
)])),
_
:
1
}),
S
(
r
,{
class
:
"calcNumber"
},{
default
:
y
((()
=>
[
A
(
v
(
100
*
(
i
.
irrAndSimpleResInfos
.
length
>
0
?
i
.
irrAndSimpleResInfos
[
0
].
simpleValue
:
null
).
toFixed
(
5
))
+
"%"
,
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
V
(
""
,
!
0
),
i
.
resultShowFlag
&&
"2"
==
i
.
calcuteMethod
?(
f
(),
h
(
n
,{
key
:
1
,
class
:
"batchDataResult"
},{
default
:
y
((()
=>
[
S
(
c
,{
"scroll-y"
:
"true"
,
class
:
"scroll-Y"
},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"scroll-view-item"
},{
default
:
y
((()
=>
[
S
(
n
,{
class
:
"resultTh"
},{
default
:
y
((()
=>
[
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"保单年度"
)])),
_
:
1
}),
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"现金价值"
)])),
_
:
1
}),
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"IRR复利"
)])),
_
:
1
}),
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
"单利"
)])),
_
:
1
})])),
_
:
1
}),(
f
(
!
0
),
C
(
T
,
null
,
g
(
i
.
resIrrAndSimpleResInfos
,(
e
=>
(
f
(),
h
(
n
,{
class
:
"resultTd"
},{
default
:
y
((()
=>
[
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
v
(
e
.
nyear
),
1
)])),
_
:
2
},
1024
),
S
(
r
,
null
,{
default
:
y
((()
=>
[
A
(
v
(
e
.
cashValue
),
1
)])),
_
:
2
},
1024
),
S
(
r
,{
class
:
"resultNumber"
},{
default
:
y
((()
=>
[
A
(
v
((
100
*
e
.
simpleValue
).
toFixed
(
5
))
+
"%"
,
1
)])),
_
:
2
},
1024
),
S
(
r
,{
class
:
"resultNumber"
},{
default
:
y
((()
=>
[
A
(
v
((
100
*
e
.
irrValue
).
toFixed
(
5
))
+
"%"
,
1
)])),
_
:
2
},
1024
)])),
_
:
2
},
1024
)))),
256
))])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})):
V
(
""
,
!
0
)])),
_
:
1
}),
S
(
n
,{
class
:
"optionContent"
},{
default
:
y
((()
=>
[
S
(
o
,{
type
:
"default"
,
plain
:
"true"
,
"form-type"
:
"reset"
},{
default
:
y
((()
=>
[
A
(
"清空"
)])),
_
:
1
}),
w
(
S
(
o
,{
type
:
"default"
,
plain
:
"true"
,
class
:
"btn"
,
onClick
:
l
[
11
]
||
(
l
[
11
]
=
e
=>
s
.
calcute
(
2
))},{
default
:
y
((()
=>
[
A
(
"输入批量数据"
)])),
_
:
1
},
512
),[[
_
,
2
==
i
.
calcuteMethod
]]),
w
(
S
(
o
,{
type
:
"default"
,
plain
:
"true"
,
class
:
"btn"
,
onClick
:
l
[
12
]
||
(
l
[
12
]
=
e
=>
s
.
calcute
(
1
))},{
default
:
y
((()
=>
[
A
(
"开始计算"
)])),
_
:
1
},
512
),[[
_
,
1
==
i
.
calcuteMethod
]])])),
_
:
1
})])),
_
:
1
},
8
,[
"onSubmit"
,
"onReset"
])])),
_
:
1
})])),
_
:
1
},
512
),[[
_
,
!
i
.
isNeedOfficialAccountQrcode
]])])),
_
:
1
})}],[
"__scopeId"
,
"data-v-f1bced56"
]]);
export
{
j
as
default
};
unpackage/dist/build/h5/assets/pages-index-index.2ea10b0d.js
0 → 100644
View file @
f1c3f8b4
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/assets/plugin-vue_export-helper.4a7acdcb.js
deleted
100644 → 0
View file @
ade2161f
var
e
=
Object
.
defineProperty
,
t
=
Object
.
getOwnPropertySymbols
,
i
=
Object
.
prototype
.
hasOwnProperty
,
a
=
Object
.
prototype
.
propertyIsEnumerable
,
r
=
(
t
,
i
,
a
)
=>
i
in
t
?
e
(
t
,
i
,{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
a
}):
t
[
i
]
=
a
,
o
=
(
e
,
o
)
=>
{
for
(
var
s
in
o
||
(
o
=
{}))
i
.
call
(
o
,
s
)
&&
r
(
e
,
s
,
o
[
s
]);
if
(
t
)
for
(
var
s
of
t
(
o
))
a
.
call
(
o
,
s
)
&&
r
(
e
,
s
,
o
[
s
]);
return
e
};
import
{
y
as
s
,
z
as
n
,
g
as
p
,
A
as
u
,
s
as
l
,
B
as
c
}
from
"./index.5e14dbb8.js"
;
const
d
=
[
"/api/authorize/obtainToken"
];
var
h
=
(
e
,
t
,
i
)
=>
(
s
(
"request"
,{
invoke
(
e
){
if
(
n
({
title
:
"加载中..."
}),
!
p
(
"uni-token"
)
&&!
d
.
includes
(
e
.
url
))
return
new
Promise
(((
e
,
t
)
=>
(
u
({
url
:
"/api/authorize/obtainToken"
,
method
:
"POST"
,
data
:{
ticket
:
"uni-app"
},
success
:
e
=>
{
200
===
e
.
statusCode
&&
(
l
(
"uni-token"
,
e
.
data
.
data
.
token
),
window
.
location
.
href
=
window
.
location
.
href
+
"?t_reload="
+
(
new
Date
).
getTime
())},
fail
(
e
){
t
(
e
)}}),
c
(),
!
1
)));
e
.
header
=
{
"content-type"
:
"POST"
===
e
.
method
?
"application/json"
:
"application/x-www-form-urlencoded"
,
"X-Authorization"
:
p
(
"uni-token"
)}},
success
(
e
){
c
(),
console
.
log
(
e
)},
fail
(
e
){
console
.
log
(
"interceptor-fail"
,
e
),
console
.
log
(
"请求失败"
),
c
()},
complete
(
e
){
c
()}}),
new
Promise
(((
a
,
r
)
=>
{
u
({
url
:
e
,
method
:
t
,
data
:
o
({},
i
),
success
(
e
){
a
(
e
.
data
)},
fail
(
e
){
r
(
e
)},
complete
(){
c
()}})})));
let
f
=
{
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
m
=
{
irrAndSimpleCalcute
:
e
=>
h
(
`
${
f
}
/api/sfp/calcuteUtil/irrAndSimpleCalcute`
,
"POST"
,
e
),
getWxUserInfo
:
e
=>
h
(
`
${
f
}
/api/getWxUserInfo`
,
"POST"
,
e
),
queryIrrAndSimple
:
e
=>
h
(
`
${
f
}
/api/sfp/calcuteUtil/queryIrrAndSimple`
,
"POST"
,
e
)},
b
=
(
e
,
t
)
=>
{
const
i
=
e
.
__vccOpts
||
e
;
for
(
const
[
a
,
r
]
of
t
)
i
[
a
]
=
r
;
return
i
};
export
{
b
as
_
,
m
as
a
};
unpackage/dist/build/h5/index.html
View file @
f1c3f8b4
...
...
@@ -14,7 +14,7 @@
<title>
sfp
</title>
<!--preload-links-->
<!--app-context-->
<script
type=
"module"
crossorigin
src=
"/sfp/assets/index.
5e14dbb8
.js"
></script>
<script
type=
"module"
crossorigin
src=
"/sfp/assets/index.
cca14f49
.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