Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
mongo-ui
Commits
7ec51ad2
Commit
7ec51ad2
authored
Aug 11, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 添加购买结果页
parent
b7078912
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
210 additions
and
55 deletions
+210
-55
package-lock.json
package-lock.json
+109
-29
goodsList.mock.js
src/api/goodsList.mock.js
+31
-5
index.less
src/views/Policy/Detail/index.less
+2
-1
index.vue
src/views/Policy/Success/index.vue
+2
-2
ActBanner.vue
src/views/Policy/Success/modules/ActBanner.vue
+1
-1
PayInfo.vue
src/views/Policy/Success/modules/PayInfo.vue
+57
-15
constants.js
src/views/Policy/constants.js
+1
-1
policyStatus.mixin.js
src/views/Policy/mixin/policyStatus.mixin.js
+6
-0
PolicyItem.vue
src/views/Policy/modules/PolicyItem.vue
+1
-1
No files found.
package-lock.json
View file @
7ec51ad2
...
...
@@ -1206,8 +1206,7 @@
"@types/json-schema"
:
{
"version"
:
"7.0.5"
,
"resolved"
:
"http://npmprivate.quantgroups.com/@types%2fjson-schema/-/json-schema-7.0.5.tgz"
,
"integrity"
:
"sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ=="
,
"dev"
:
true
"integrity"
:
"sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ=="
},
"@types/minimatch"
:
{
"version"
:
"3.0.3"
,
...
...
@@ -1924,7 +1923,6 @@
"version"
:
"6.12.3"
,
"resolved"
:
"http://npmprivate.quantgroups.com/ajv/-/ajv-6.12.3.tgz"
,
"integrity"
:
"sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA=="
,
"dev"
:
true
,
"requires"
:
{
"fast-deep-equal"
:
"^3.1.1"
,
"fast-json-stable-stringify"
:
"^2.0.0"
,
...
...
@@ -1941,8 +1939,7 @@
"ajv-keywords"
:
{
"version"
:
"3.5.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/ajv-keywords/-/ajv-keywords-3.5.1.tgz"
,
"integrity"
:
"sha512-KWcq3xN8fDjSB+IMoh2VaXVhRI0BBGxoYp3rx7Pkb6z0cFjYR9Q9l4yZqqals0/zsioCmocC5H6UvsGD4MoIBA=="
,
"dev"
:
true
"integrity"
:
"sha512-KWcq3xN8fDjSB+IMoh2VaXVhRI0BBGxoYp3rx7Pkb6z0cFjYR9Q9l4yZqqals0/zsioCmocC5H6UvsGD4MoIBA=="
},
"alphanum-sort"
:
{
"version"
:
"1.0.2"
,
...
...
@@ -2215,6 +2212,37 @@
"integrity"
:
"sha512-3YDiu347mtVtjpyV3u5kVqQLP242c06zwDOgpeRnybmXlYYsLbtTrUBUm8i8srONt+FWobl5aibnU1030PeeuA=="
,
"dev"
:
true
},
"axios"
:
{
"version"
:
"0.19.2"
,
"resolved"
:
"http://npmprivate.quantgroups.com/axios/-/axios-0.19.2.tgz"
,
"integrity"
:
"sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA=="
,
"requires"
:
{
"follow-redirects"
:
"1.5.10"
},
"dependencies"
:
{
"debug"
:
{
"version"
:
"3.1.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/debug/-/debug-3.1.0.tgz"
,
"integrity"
:
"sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g=="
,
"requires"
:
{
"ms"
:
"2.0.0"
}
},
"follow-redirects"
:
{
"version"
:
"1.5.10"
,
"resolved"
:
"http://npmprivate.quantgroups.com/follow-redirects/-/follow-redirects-1.5.10.tgz"
,
"integrity"
:
"sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ=="
,
"requires"
:
{
"debug"
:
"=3.1.0"
}
},
"ms"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/ms/-/ms-2.0.0.tgz"
,
"integrity"
:
"sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
}
}
},
"babel-eslint"
:
{
"version"
:
"10.1.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/babel-eslint/-/babel-eslint-10.1.0.tgz"
,
...
...
@@ -2251,6 +2279,11 @@
"object.assign"
:
"^4.1.0"
}
},
"babel-plugin-syntax-dynamic-import"
:
{
"version"
:
"6.18.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz"
,
"integrity"
:
"sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo="
},
"babel-runtime"
:
{
"version"
:
"6.26.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/babel-runtime/-/babel-runtime-6.26.0.tgz"
,
...
...
@@ -2369,8 +2402,7 @@
"big.js"
:
{
"version"
:
"5.2.2"
,
"resolved"
:
"http://npmprivate.quantgroups.com/big.js/-/big.js-5.2.2.tgz"
,
"integrity"
:
"sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
,
"dev"
:
true
"integrity"
:
"sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
},
"binary-extensions"
:
{
"version"
:
"2.1.0"
,
...
...
@@ -4456,8 +4488,7 @@
"emojis-list"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/emojis-list/-/emojis-list-3.0.0.tgz"
,
"integrity"
:
"sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q=="
,
"dev"
:
true
"integrity"
:
"sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q=="
},
"encodeurl"
:
{
"version"
:
"1.0.2"
,
...
...
@@ -5109,8 +5140,7 @@
"fast-deep-equal"
:
{
"version"
:
"3.1.3"
,
"resolved"
:
"http://npmprivate.quantgroups.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz"
,
"integrity"
:
"sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
,
"dev"
:
true
"integrity"
:
"sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
},
"fast-diff"
:
{
"version"
:
"1.2.0"
,
...
...
@@ -5158,8 +5188,7 @@
"fast-json-stable-stringify"
:
{
"version"
:
"2.1.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz"
,
"integrity"
:
"sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
,
"dev"
:
true
"integrity"
:
"sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
},
"fast-levenshtein"
:
{
"version"
:
"2.0.6"
,
...
...
@@ -6836,8 +6865,7 @@
"json-schema-traverse"
:
{
"version"
:
"0.4.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz"
,
"integrity"
:
"sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
,
"dev"
:
true
"integrity"
:
"sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
},
"json-stable-stringify-without-jsonify"
:
{
"version"
:
"1.0.1"
,
...
...
@@ -6861,7 +6889,6 @@
"version"
:
"2.1.3"
,
"resolved"
:
"http://npmprivate.quantgroups.com/json5/-/json5-2.1.3.tgz"
,
"integrity"
:
"sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA=="
,
"dev"
:
true
,
"requires"
:
{
"minimist"
:
"^1.2.5"
}
...
...
@@ -7403,7 +7430,6 @@
"version"
:
"1.4.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/loader-utils/-/loader-utils-1.4.0.tgz"
,
"integrity"
:
"sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA=="
,
"dev"
:
true
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
...
...
@@ -7414,7 +7440,6 @@
"version"
:
"1.0.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/json5/-/json5-1.0.1.tgz"
,
"integrity"
:
"sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow=="
,
"dev"
:
true
,
"requires"
:
{
"minimist"
:
"^1.2.0"
}
...
...
@@ -7836,8 +7861,7 @@
"minimist"
:
{
"version"
:
"1.2.5"
,
"resolved"
:
"http://npmprivate.quantgroups.com/minimist/-/minimist-1.2.5.tgz"
,
"integrity"
:
"sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
,
"dev"
:
true
"integrity"
:
"sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
},
"minipass"
:
{
"version"
:
"3.1.3"
,
...
...
@@ -8154,11 +8178,6 @@
"integrity"
:
"sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg=="
,
"dev"
:
true
},
"normalize.css"
:
{
"version"
:
"8.0.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/normalize.css/-/normalize.css-8.0.1.tgz"
,
"integrity"
:
"sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg=="
},
"npm-run-path"
:
{
"version"
:
"2.0.2"
,
"resolved"
:
"http://npmprivate.quantgroups.com/npm-run-path/-/npm-run-path-2.0.2.tgz"
,
...
...
@@ -8657,6 +8676,11 @@
"sha.js"
:
"^2.4.8"
}
},
"pdfjs-dist"
:
{
"version"
:
"2.5.207"
,
"resolved"
:
"http://npmprivate.quantgroups.com/pdfjs-dist/-/pdfjs-dist-2.5.207.tgz"
,
"integrity"
:
"sha512-xGDUhnCYPfHy+unMXCLCJtlpZaaZ17Ew3WIL0tnSgKFUZXHAPD49GO9xScyszSsQMoutNDgRb+rfBXIaX/lJbw=="
},
"performance-now"
:
{
"version"
:
"2.1.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/performance-now/-/performance-now-2.1.0.tgz"
,
...
...
@@ -9624,8 +9648,7 @@
"punycode"
:
{
"version"
:
"2.1.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/punycode/-/punycode-2.1.1.tgz"
,
"integrity"
:
"sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
,
"dev"
:
true
"integrity"
:
"sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
},
"px2rem"
:
{
"version"
:
"0.5.0"
,
...
...
@@ -9812,6 +9835,27 @@
"unpipe"
:
"1.0.0"
}
},
"raw-loader"
:
{
"version"
:
"4.0.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/raw-loader/-/raw-loader-4.0.1.tgz"
,
"integrity"
:
"sha512-baolhQBSi3iNh1cglJjA0mYzga+wePk7vdEX//1dTFd+v4TsQlQE0jitJSNF1OIP82rdYulH7otaVmdlDaJ64A=="
,
"requires"
:
{
"loader-utils"
:
"^2.0.0"
,
"schema-utils"
:
"^2.6.5"
},
"dependencies"
:
{
"loader-utils"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/loader-utils/-/loader-utils-2.0.0.tgz"
,
"integrity"
:
"sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ=="
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
"json5"
:
"^2.1.2"
}
}
}
},
"read-pkg"
:
{
"version"
:
"5.2.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/read-pkg/-/read-pkg-5.2.0.tgz"
,
...
...
@@ -10208,7 +10252,6 @@
"version"
:
"2.7.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/schema-utils/-/schema-utils-2.7.0.tgz"
,
"integrity"
:
"sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A=="
,
"dev"
:
true
,
"requires"
:
{
"@types/json-schema"
:
"^7.0.4"
,
"ajv"
:
"^6.12.2"
,
...
...
@@ -11839,7 +11882,6 @@
"version"
:
"4.2.2"
,
"resolved"
:
"http://npmprivate.quantgroups.com/uri-js/-/uri-js-4.2.2.tgz"
,
"integrity"
:
"sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ=="
,
"dev"
:
true
,
"requires"
:
{
"punycode"
:
"^2.1.0"
}
...
...
@@ -12065,6 +12107,24 @@
}
}
},
"vue-pdf"
:
{
"version"
:
"4.1.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/vue-pdf/-/vue-pdf-4.1.0.tgz"
,
"integrity"
:
"sha512-kjDmCJplCtf5+qQv6uMuUoh01AsoyKNsawHtfi9x739f1sTxdIwrLu25g+EhfRdtjh6JBqW46Mff1wijKa79wA=="
,
"requires"
:
{
"babel-plugin-syntax-dynamic-import"
:
"^6.18.0"
,
"loader-utils"
:
"^1.4.0"
,
"pdfjs-dist"
:
"^2.5.207"
,
"raw-loader"
:
"^4.0.1"
,
"vue-resize-sensor"
:
"^2.0.0"
,
"worker-loader"
:
"^2.0.0"
}
},
"vue-resize-sensor"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/vue-resize-sensor/-/vue-resize-sensor-2.0.0.tgz"
,
"integrity"
:
"sha512-W+y2EAI/BxS4Vlcca9scQv8ifeBFck56DRtSwWJ2H4Cw1GLNUYxiZxUHHkuzuI5JPW/cYtL1bPO5xPyEXx4LmQ=="
},
"vue-router"
:
{
"version"
:
"3.3.4"
,
"resolved"
:
"http://npmprivate.quantgroups.com/vue-router/-/vue-router-3.3.4.tgz"
,
...
...
@@ -13972,6 +14032,26 @@
"errno"
:
"~0.1.7"
}
},
"worker-loader"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/worker-loader/-/worker-loader-2.0.0.tgz"
,
"integrity"
:
"sha512-tnvNp4K3KQOpfRnD20m8xltE3eWh89Ye+5oj7wXEEHKac1P4oZ6p9oTj8/8ExqoSBnk9nu5Pr4nKfQ1hn2APJw=="
,
"requires"
:
{
"loader-utils"
:
"^1.0.0"
,
"schema-utils"
:
"^0.4.0"
},
"dependencies"
:
{
"schema-utils"
:
{
"version"
:
"0.4.7"
,
"resolved"
:
"http://npmprivate.quantgroups.com/schema-utils/-/schema-utils-0.4.7.tgz"
,
"integrity"
:
"sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ=="
,
"requires"
:
{
"ajv"
:
"^6.1.0"
,
"ajv-keywords"
:
"^3.1.0"
}
}
}
},
"wrap-ansi"
:
{
"version"
:
"6.2.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz"
,
...
...
src/api/goodsList.mock.js
View file @
7ec51ad2
...
...
@@ -28,7 +28,12 @@ export default [
icon
:
medical
,
guarantee_title
:
"
医疗保障
"
,
guarantee_sub
:
"
看病报销医药费,最高600万
"
,
company
:
"
泰康在线
"
company
:
"
泰康在线
"
,
payType
:
[
{
label
:
"
月缴
"
,
value
:
"
1
"
},
{
label
:
"
一次交清
"
,
value
:
"
2
"
}
],
policyPeriod
:
[]
},
{
id
:
"
HTDQZJX001
"
,
...
...
@@ -46,7 +51,12 @@ export default [
icon
:
illness
,
guarantee_title
:
"
重疾保障
"
,
guarantee_sub
:
"
100种重症+40种轻症
"
,
company
:
"
华泰财险
"
company
:
"
华泰财险
"
,
payType
:
[
{
label
:
"
月缴
"
,
value
:
"
1
"
},
{
label
:
"
一次交清
"
,
value
:
"
2
"
}
],
policyPeriod
:
[]
},
{
id
:
"
BNZJX001
"
,
...
...
@@ -65,7 +75,12 @@ export default [
icon
:
illness
,
guarantee_title
:
"
重疾保障
"
,
guarantee_sub
:
"
100种重症+40种轻症
"
,
company
:
"
华泰财险
"
company
:
"
华泰财险
"
,
payType
:
[{
label
:
"
年缴
"
,
value
:
"
1
"
}],
policyPeriod
:
[
{
label
:
"
保至70周岁
"
,
value
:
"
1
"
},
{
label
:
"
保至终身
"
,
value
:
"
2
"
}
]
},
{
id
:
"
ZAYWX001
"
,
...
...
@@ -83,7 +98,9 @@ export default [
icon
:
casualty
,
guarantee_title
:
"
意外保障
"
,
guarantee_sub
:
"
意外风险覆盖全,最高100万保额
"
,
company
:
"
众安保险
"
company
:
"
众安保险
"
,
payType
:
[],
policyPeriod
:
[]
},
{
id
:
"
HGSX001
"
,
...
...
@@ -101,6 +118,15 @@ export default [
icon
:
life
,
guarantee_title
:
"
人寿保障
"
,
guarantee_sub
:
"
最高350万保额,顶梁柱必备
"
,
company
:
"
华泰财险
"
company
:
"
华泰财险
"
,
payType
:
[{
label
:
"
年缴
"
,
value
:
"
1
"
}],
policyPeriod
:
[
{
label
:
"
10年
"
,
value
:
"
1
"
},
{
label
:
"
20年
"
,
value
:
"
2
"
},
{
label
:
"
30年
"
,
value
:
"
3
"
},
{
label
:
"
保至60周岁
"
,
value
:
"
4
"
},
{
label
:
"
保至65周岁
"
,
value
:
"
5
"
},
{
label
:
"
保至70周岁
"
,
value
:
"
6
"
}
]
}
];
src/views/Policy/Detail/index.less
View file @
7ec51ad2
...
...
@@ -166,7 +166,7 @@
}
&-note {
.card-desc(
16px
);
.card-desc(
0
);
margin-top: 16px;
}
...
...
@@ -174,6 +174,7 @@
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 16px;
width: 100%;
.Pdbi-operation-button {
...
...
src/views/Policy/Success/index.vue
View file @
7ec51ad2
...
...
@@ -2,7 +2,7 @@
<div
class=
"policy-detail"
>
<div
class=
"policy-detail-body"
>
<status-desc
:cardConfig=
"cardConfig"
></status-desc>
<pay-info></pay-info>
<pay-info
:policy=
"policy"
></pay-info>
<ActBanner></ActBanner>
<insurance-recommend
class=
"Pdb-recommend"
/>
</div>
...
...
@@ -35,7 +35,7 @@ export default {
},
async
created
()
{
const
detail
=
await
getGenPolicyDetail
(
this
.
$route
.
params
.
orderNo
);
this
.
policy
=
this
.
get
Data
(
detail
);
this
.
policy
=
this
.
get
GoodsInfo
(
detail
);
}
};
</
script
>
...
...
src/views/Policy/Success/modules/ActBanner.vue
View file @
7ec51ad2
<
template
functional
>
<div
class=
"activity-banner"
>
<div
class=
"activity-banner-item"
@
click=
"parent.$router.push('/
draw
')"
>
<div
class=
"activity-banner-item"
@
click=
"parent.$router.push('/
home/activity
')"
>
<cr-image
src=
"@/assets/images/policy/draw.png"
width=
"343px"
height=
"60px"
/>
</div>
</div>
...
...
src/views/Policy/Success/modules/PayInfo.vue
View file @
7ec51ad2
...
...
@@ -3,21 +3,21 @@
<div
class=
"Pdb-refund-content"
>
<div
class=
"Pdbr-content-item"
>
<span>
保障期限
</span>
<span>
2020.6.5 至 2021.6.4
</span>
<span>
{{
payInfo
.
guaranteePeriodText
}}
</span>
</div>
<div
class=
"Pdbr-content-item"
>
<span>
次月
保费
</span>
<span>
首月保费1元,次月起xxx.x元/月
</span>
<span>
保费
</span>
<span>
{{
payInfo
.
permium
}}
</span>
</div>
</div>
<p
class=
"Pdb-refund-note"
>
注:微信将会在每月5日在您的账户内扣除该保费。(您可以随时取消自动扣费)
<p
class=
"Pdb-refund-note"
v-if=
"payInfo.isShowNote"
>
{{
payInfo
.
note
}}
</p>
<div
class=
"Pdb-refund-operation"
>
<cr-button
class=
"Pdbi-operation-button Pdbi-operation-button_paid"
@
click=
"goNext()"
<cr-button
class=
"Pdbi-operation-button Pdbi-operation-button_paid"
@
click=
"goNext(
'product'
)"
>
为家人投保
</cr-button
>
<cr-button
class=
"Pdbi-operation-button"
@
click=
"goNext()"
>
查看保单
</cr-button>
<cr-button
class=
"Pdbi-operation-button"
@
click=
"goNext(
'policy'
)"
>
查看保单
</cr-button>
</div>
</div>
</
template
>
...
...
@@ -35,19 +35,61 @@ export default {
},
computed
:
{
payInfo
()
{
return
{
guaranteePeriodName
:
"
保障期限
"
,
guaranteePeriodText
:
`
${
this
.
policy
.
policyEffectiveDate
}
至
${
this
.
policy
.
policyEndDate
}
`
,
permiumName
:
"
保费
"
,
permium
:
"
xxx元
"
,
note
:
"
注:微信将会在每月5日在您的账户内扣除该保费。(您可以随时取消自动扣费)
"
,
console
.
log
(
this
.
policy
);
let
result
=
{
guaranteePeriodText
:
`
${
this
.
policy
?.
policyEffectiveDate
||
"
-
"
}
至
$
{
this
.
policy
?.
policyEndDate
||
"
-
"
}
`,
permium: "",
note: "",
isShowNote: true
};
const payType = this.policy?.payType?.find(
v => v.value === this.policy?.productItem?.payType
);
// 根据月缴或年缴区分缴费卡片内容
if (payType?.label === "月缴") {
result = {
...result,
permium: `
首月保费
$
{
this
.
policy
?.
downPayPrice
||
0
}
元,次月起
$
{
this
.
policy
?.
regularPrice
||
0
}
元
`,
note: `
注
:
微信将会在每月
$
{
this
.
policy
.
nextPayInfo
.
day
}
日在您的账户内扣除该保费。(您可以随时取消自动扣费)
`
};
} else {
result = {
...result,
permium: `
$
{
this
.
policy
?.
downPayPrice
||
0
}
元
/
年
`,
note: `
合同终止前,每年
$
{
this
.
policy
?.
nextPayInfo
?.
day
||
"
-
"
}
月
$
{
this
.
policy
?.
nextPayInfo
?.
day
||
"
-
"
}
日
$
{
this
.
policy
?.
company
||
"
-
"
}
保险公司将在您预留尾号为
$
{
this
.
policy
?.
bankCardNoLast4
||
"
-
"
}
的银行卡内扣除次年保费,请保证余额充足哦。
`
};
// 缴费方式为“一次结清”时不显示扣费提醒
if (!payType || payType === "一次交清") {
result.isShowNote = false;
}
}
// 根据产品是否存在保障期限确定保障期限文案
if (this.policy?.policyPeriod?.length) {
const policyPeriod = this.policy.policyPeriod.find(
v => v.value === this.policy?.productItem?.policyPeriod
);
result.guaranteePeriodText = policyPeriod.label || "";
}
return result;
}
},
methods: {
goNext
()
{
this
.
$router
.
push
();
goNext(type) {
if (type === "product") {
this.$router.push({
path: "/goods/detail",
query: { id: this.policy.id, type: this.policy.itype }
});
} else if (type === "policy") {
this.$router.push(`
/
policy
/
detail
/
$
{
this
.
policy
.
orderNo
}
`);
}
}
}
};
...
...
src/views/Policy/constants.js
View file @
7ec51ad2
...
...
@@ -14,7 +14,7 @@ const statusMap = {
title
:
"
被保人:${title}
"
,
contend
:
"
保障期限:${start} 至 ${end}
"
,
statusText
:
"
保障中
"
,
buttons
:
[
"
开通自动续费
"
,
"
电子保单
"
],
buttons
:
[
"
去支付
"
,
"
电子保单
"
],
detailText
:
""
,
recordText
:
"
保单已欠费,欠缴${money}元
"
,
component
:
"
Guarantee
"
...
...
src/views/Policy/mixin/policyStatus.mixin.js
View file @
7ec51ad2
...
...
@@ -52,6 +52,12 @@ export default {
return
policy
?.
payState
?
`
${
policy
?.
policyState
}
-
$
{
policy
?.
payState
}
`
: String(policy?.policyState);
},
getGoodsInfo(policy) {
return {
...policy,
..._.find(GOODS_LIST, { id: policy?.productNo })
};
}
},
beforeRouteEnter(to, from, next) {
...
...
src/views/Policy/modules/PolicyItem.vue
View file @
7ec51ad2
...
...
@@ -129,8 +129,8 @@ export default {
query
:
{
id
:
item
.
id
,
type
:
item
.
itype
}
});
}
else
if
(
text
===
"
电子保单
"
)
{
}
else
if
(
text
===
"
开通自动续费
"
)
{
}
else
if
(
text
===
"
去支付
"
)
{
}
else
if
(
text
===
"
联系客服
"
)
{
}
},
...
...
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