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
726b88e4
Commit
726b88e4
authored
Aug 25, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/fix_policy' into 'master'
Feature/fix policy See merge request
!81
parents
d0bd9af2
10986c67
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
91 additions
and
23 deletions
+91
-23
package.json
package.json
+1
-0
detail.bainian.zhongshen.js
src/api/detail.bainian.zhongshen.js
+19
-1
detail.huagui.shouxian.js
src/api/detail.huagui.shouxian.js
+3
-3
logo-top.png
src/assets/logo-top.png
+0
-0
dev.config.js
src/config/dev.config.js
+7
-3
prod.config.js
src/config/prod.config.js
+5
-1
main.js
src/main.js
+23
-0
index.js
src/router/index.js
+15
-1
utils.js
src/service/utils.js
+5
-2
index.less
src/views/Home/Activity/index.less
+4
-4
index.less
src/views/Home/index.less
+3
-3
index.vue
src/views/Policy/VirtualDetail/index.vue
+1
-1
index.less
src/views/Policy/index.less
+3
-4
FamilyForm.vue
src/views/User/Family/modules/FamilyForm.vue
+2
-0
No files found.
package.json
View file @
726b88e4
...
...
@@ -18,6 +18,7 @@
"
core-js
"
:
"
^3.6.5
"
,
"
date-fns
"
:
"
^2.15.0
"
,
"
lodash
"
:
"
^4.17.19
"
,
"
sa-sdk-javascript
"
:
"
^1.15.16
"
,
"
vant
"
:
"
^2.10.2
"
,
"
vconsole
"
:
"
^3.3.4
"
,
"
vue
"
:
"
2.6.11
"
,
...
...
src/api/detail.bainian.zhongshen.js
View file @
726b88e4
...
...
@@ -123,5 +123,23 @@ export default {
q
:
"
如何在华泰官网进行保单验真?
"
,
a
:
"
请登录投保成功短信中提示的华泰官网查询网http://agt.ehuatai.com/nonautoquery/。填写登录信息时,类别选择“家庭财产、意外伤害保险”,保单号在投保成功的短信中,密码填写被保险人身份证号,即可登录查询保单承保信息。
"
}
]
],
processDetail
:
[
{
title
:
"
报案
"
,
desc
:
"
请拨打百年人寿客服电话:95542进行报案。百年人寿会有理赔专员1对1指导理赔事宜。
"
},
{
title
:
"
准备材料
"
,
desc
:
`专业理赔人员会远程协助您准备好理赔材料。`
},
{
title
:
"
理赔审核
"
,
desc
:
`将准备好的理赔材料寄送至保险公司。`
},
{
title
:
"
结案
"
,
desc
:
`保险公司会将理赔金给付至指定账户`
}
],
};
src/api/detail.huagui.shouxian.js
View file @
726b88e4
...
...
@@ -180,10 +180,10 @@ export default {
{
title
:
"
保险条款
"
,
id
:
0
},
{
title
:
"
投保须知与声明
"
,
id
:
2
},
{
title
:
"
服务协议
"
,
id
:
3
},
{
title
:
"
转账授权书
"
,
id
:
1
},
{
title
:
"
转账授权书
"
,
id
:
1
1
},
{
title
:
"
人身保险投保提示书
"
,
id
:
8
},
{
title
:
"
税收居民身份证明
"
,
id
:
3
},
{
title
:
"
风控查询授权书
"
,
id
:
3
}
{
title
:
"
税收居民身份证明
"
,
id
:
9
},
{
title
:
"
风控查询授权书
"
,
id
:
10
}
],
caseInfo
:
{
name
:
"
张先生
"
,
...
...
src/assets/logo-top.png
View replaced file @
d0bd9af2
View file @
726b88e4
5.77 KB
|
W:
|
H:
4.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/config/dev.config.js
View file @
726b88e4
let
protocol
=
window
.
location
.
protocol
;
export
default
{
//
basicHost: "http://yapi.quantgroups.com/mock/329/",
basicHost
:
"
https://hathaway-mg.liangkebang.net/
"
,
basicHost
:
"
http://yapi.quantgroups.com/mock/329/
"
,
//
basicHost: "https://hathaway-mg.liangkebang.net/",
// basicHost: "http://192.168.29.211:8964/",
wxAppId
:
"
wx514de17b23d53a20
"
wxAppId
:
"
wx514de17b23d53a20
"
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=default`
,
// 神策数据请求地址
test
:
false
};
src/config/prod.config.js
View file @
726b88e4
let
protocol
=
window
.
location
.
protocol
;
export
default
{
// basicHost: "http://192.168.29.211:8964/",
// basicHost: "http://127.0.0.1:8964/",
basicHost
:
"
https://hathaway-mg.liangkebang.net/
"
,
wxAppId
:
"
wx514de17b23d53a20
"
wxAppId
:
"
wx514de17b23d53a20
"
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=default`
,
// 神策数据请求地址
test
:
false
};
src/main.js
View file @
726b88e4
...
...
@@ -6,8 +6,10 @@ import store from "./store";
import
"
./style/index.less
"
;
import
"
amfe-flexible
"
;
import
vConsole
from
"
vconsole
"
;
import
sa
from
"
sa-sdk-javascript
"
;
import
"
@/assets/icons/index
"
;
import
"
@/service/cherry-ui
"
;
import
config
from
"
@/config
"
;
Vue
.
config
.
productionTip
=
false
;
new
Vue
({
...
...
@@ -16,6 +18,27 @@ new Vue({
render
:
h
=>
h
(
App
)
}).
$mount
(
"
#app
"
);
// 初始化
sa
.
init
({
server_url
:
config
.
shenceUrl
,
heatmap
:
{
//是否开启点击图,默认 default 表示开启,自动采集 $WebClick 事件,可以设置 'not_collect' 表示关闭
clickmap
:
"
default
"
,
//是否开启触达注意力图,默认 default 表示开启,自动采集 $WebStay 事件,可以设置 'not_collect' 表示关闭
scroll_notice_map
:
"
default
"
//判断外层是否有 App 的 SDK ,如果有的话,会往 App 的 SDK 发数据。如果没有,就正常发送数据。
// use_app_track: true,
},
show_log
:
config
.
test
});
// 添加公共属性
sa
.
registerPage
({
platformType
:
"
H5
"
});
router
.
afterEach
(()
=>
{
Vue
.
nextTick
(()
=>
{
sa
.
quick
(
"
autoTrackSinglePage
"
);
});
});
window
.
addEventListener
(
"
popstate
"
,
()
=>
{
...
...
src/router/index.js
View file @
726b88e4
...
...
@@ -35,6 +35,17 @@ router.beforeEach((to, from, next) => {
next
();
});
// 路由异常错误处理,尝试解析一个异步组件时发生错误,重新渲染目标页面
// router.onError(error => {
// console.log("router error:", error.message);
// const pattern = /Loading chunk (\d)+ failed/g;
// const isChunkLoadFailed = error.message.match(pattern);
// const targetPath = router.history.pending.fullPath;
// if (isChunkLoadFailed) {
// router.replace(targetPath);
// }
// });
async
function
getAuthInfo
(
xyqbToken
)
{
if
(
localStorage
.
get
(
"
xyqbToken
"
))
return
;
const
res
=
await
authByxyqb
({
xyqbToken
});
...
...
@@ -46,8 +57,11 @@ async function getAuthInfo(xyqbToken) {
}
async
function
getWxOpenId
(
code
)
{
if
(
localStorage
.
get
(
"
openId
"
))
return
;
const
res
=
await
getwxOpenId
({
code
,
appId
:
cfg
.
wxAppId
});
if
(
localStorage
.
get
(
"
openId
"
)
&&
res
.
openId
!==
localStorage
.
get
(
"
openId
"
))
{
console
.
log
(
"
切换账号
"
);
localStorage
.
clear
();
}
localStorage
.
set
(
"
openId
"
,
res
.
openId
);
}
...
...
src/service/utils.js
View file @
726b88e4
...
...
@@ -153,8 +153,11 @@ export function parseTime(time, cFormat) {
if
(
String
(
time
).
indexOf
(
"
T
"
)
>
-
1
)
{
time
=
time
.
replace
(
/T/g
,
"
"
).
replace
(
/
\.
.*/g
,
""
);
}
if
(
String
(
time
).
indexOf
(
"
-
"
)
>
-
1
&&
String
(
time
).
indexOf
(
"
T
"
)
==
-
1
)
{
time
=
time
.
replace
(
/-/g
,
"
/
"
);
if
(
(
String
(
time
).
indexOf
(
"
-
"
)
>
-
1
||
String
(
time
).
indexOf
(
"
.
"
)
>
-
1
)
&&
String
(
time
).
indexOf
(
"
T
"
)
==
-
1
)
{
time
=
time
.
replace
(
/-|
\.
/g
,
"
/
"
);
}
date
=
new
Date
(
time
);
}
...
...
src/views/Home/Activity/index.less
View file @
726b88e4
...
...
@@ -16,10 +16,10 @@
position: absolute;
top: 22px;
left: 0;
width:
100
px;
height: 3
2
px;
width:
93
px;
height: 3
3
px;
content: '';
background: url('../../../assets/logo-top.png') no-repeat 0 0 /co
ver
;
background: url('../../../assets/logo-top.png') no-repeat 0 0 /co
ntain
;
}
&-detail {
...
...
@@ -114,7 +114,7 @@
}
.Aa-container-qrcode {
margin
: 18px 0 16px;
padding
: 18px 0 16px;
width: 140px;
height: 140px;
}
...
...
src/views/Home/index.less
View file @
726b88e4
...
...
@@ -17,10 +17,10 @@
position: absolute;
top: 26px;
left: 0;
width:
100
px;
height: 3
2
px;
width:
93
px;
height: 3
3
px;
content: '';
background: url('../../assets/logo-top.png') no-repeat 0 0 /co
ver
;
background: url('../../assets/logo-top.png') no-repeat 0 0 /co
ntain
;
}
&-button {
...
...
src/views/Policy/VirtualDetail/index.vue
View file @
726b88e4
...
...
@@ -7,7 +7,7 @@
<
script
>
import
pdf
from
"
vue-pdf
"
;
import
{
mapActions
}
from
"
vuex
"
;
let
CMAP_URL
=
"
https://cdn.jsdelivr.net/npm/pdfjs-dist@2.
2.228
/cmaps/
"
;
let
CMAP_URL
=
"
https://cdn.jsdelivr.net/npm/pdfjs-dist@2.
5.207
/cmaps/
"
;
export
default
{
name
:
"
PolicyVirtualDetail
"
,
...
...
src/views/Policy/index.less
View file @
726b88e4
...
...
@@ -10,7 +10,7 @@
z-index: 100;
}
@{deep} .cr-tabbar {
background-color: #
f5f5f5
;
background-color: #
FFFFFF
;
font-size: @font-size-16;
padding: @padding-lg+1 0;
&-item {
...
...
@@ -18,8 +18,7 @@
&::after {
position: absolute;
left: 0;
top: 26px;
// transition: width .2s linear;
top: 33px;
content: " ";
display: block;
width: 0;
...
...
@@ -236,7 +235,7 @@
flex-direction: column;
justify-content: center;
align-items: center;
margin:
0
16px 32px;
margin:
10px
16px 32px;
height: 374px;
background: #FFFFFF;
border-radius:14px;
...
...
src/views/User/Family/modules/FamilyForm.vue
View file @
726b88e4
...
...
@@ -220,11 +220,13 @@ export default {
}
if
(
this
.
type
===
"
add
"
)
{
await
addFamily
(
params
);
this
.
$notify
({
type
:
"
success
"
,
message
:
"
添加成功
"
});
await
this
.
setFamilyList
();
this
.
formData
=
_
.
cloneDeep
(
defaultFormData
);
}
else
{
params
.
userInfoSecId
=
this
.
information
?.
userInfoSecId
;
await
updateFamily
(
params
);
this
.
$notify
({
type
:
"
success
"
,
message
:
"
修改成功
"
});
this
.
$router
.
push
(
"
/user/family
"
);
}
},
...
...
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