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
30f30651
Commit
30f30651
authored
Aug 31, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/goods' into 'master'
Fix/goods See merge request
!165
parents
d733b441
08826362
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
70 additions
and
37 deletions
+70
-37
detail.huatai.zhongjixian.js
src/api/detail.huatai.zhongjixian.js
+4
-4
shareInfo.js
src/api/shareInfo.js
+9
-5
CompactCellGroup.vue
src/components/CompactCellGroup.vue
+2
-2
wxJsSdk.js
src/service/wxJsSdk.js
+2
-2
index.vue
src/views/Consultant/Exclusive/index.vue
+0
-2
AIDetail.vue
src/views/Goods/Detail/AIDetail.vue
+1
-1
CIIDetail.vue
src/views/Goods/Detail/CIIDetail.vue
+1
-1
MIDetail.vue
src/views/Goods/Detail/MIDetail.vue
+1
-1
index.vue
src/views/Goods/Detail/index.vue
+25
-4
index.vue
src/views/Goods/Plan/index.vue
+14
-9
InsuranceService.vue
src/views/Policy/Detail/modules/InsuranceService.vue
+5
-5
index.vue
src/views/Policy/PayWaiting/index.vue
+6
-1
No files found.
src/api/detail.huatai.zhongjixian.js
View file @
30f30651
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Description:华太30万轻重疾险
* @Description:华太30万轻重疾险
* @Date: 2020-07-27 15:46:37
* @Date: 2020-07-27 15:46:37
* @LastEditors: gzw
* @LastEditors: gzw
* @LastEditTime: 2020-08-31 1
5:43:06
* @LastEditTime: 2020-08-31 1
7:37:32
*/
*/
import
goodsBg
from
"
@/assets/images/goods/detail/zhongjixian/bg.png
"
;
import
goodsBg
from
"
@/assets/images/goods/detail/zhongjixian/bg.png
"
;
...
@@ -42,7 +42,7 @@ export default {
...
@@ -42,7 +42,7 @@ export default {
{
content
:
"
华泰财险附加保险费分期支付条款
"
,
offset
:
true
},
{
content
:
"
华泰财险附加保险费分期支付条款
"
,
offset
:
true
},
{
content
:
"
备案编号:C00015431912018061501152;
"
,
offset
:
false
},
{
content
:
"
备案编号:C00015431912018061501152;
"
,
offset
:
false
},
{
content
:
"
C00015432622017111500872;
"
,
offset
:
true
},
{
content
:
"
C00015432622017111500872;
"
,
offset
:
true
},
{
content
:
"
C000154319220
1806150399
1
"
,
offset
:
true
}
{
content
:
"
C000154319220
2008280011
1
"
,
offset
:
true
}
],
],
navBarOptions
:
[
navBarOptions
:
[
{
label
:
"
我要投保
"
,
value
:
"
insure
"
},
{
label
:
"
我要投保
"
,
value
:
"
insure
"
},
...
@@ -240,7 +240,7 @@ export default {
...
@@ -240,7 +240,7 @@ export default {
processDetail
:
[
processDetail
:
[
{
{
title
:
"
电话报案
"
,
title
:
"
电话报案
"
,
desc
:
"
请拨打华泰财险400
-609-
5509进行报案。华泰财险会有理赔专员1对1指导理赔事宜。
"
desc
:
"
请拨打华泰财险400
609
5509进行报案。华泰财险会有理赔专员1对1指导理赔事宜。
"
},
},
{
{
title
:
"
提交资料
"
,
title
:
"
提交资料
"
,
...
@@ -260,7 +260,7 @@ export default {
...
@@ -260,7 +260,7 @@ export default {
processDetailLite
:
[
processDetailLite
:
[
{
{
title
:
"
电话报案
"
,
title
:
"
电话报案
"
,
desc
:
"
请拨打华泰财险400
-609-
5509进行报案。华泰财险会有理赔专员1对1指导理赔事宜。
"
desc
:
"
请拨打华泰财险400
609
5509进行报案。华泰财险会有理赔专员1对1指导理赔事宜。
"
},
},
{
{
title
:
"
提交资料
"
,
title
:
"
提交资料
"
,
...
...
src/api/shareInfo.js
View file @
30f30651
...
@@ -42,27 +42,31 @@ const shareList = {
...
@@ -42,27 +42,31 @@ const shareList = {
url
:
currentOrigin
+
"
/user
"
,
url
:
currentOrigin
+
"
/user
"
,
imgUrl
:
logo
imgUrl
:
logo
},
},
mi
detail
:
{
tkylx001
detail
:
{
title
:
"
【芒果保险】万家保·百万医疗险
"
,
title
:
"
【芒果保险】万家保·百万医疗险
"
,
desc
:
desc
:
"
「报销型医疗险」最高600万全面医疗保障,120种重大疾病医疗0免赔,30天~65周岁均可保,70种抗癌特药定期上新,免费提供住院费用垫付服务等一站式就医服务。
"
,
"
「报销型医疗险」最高600万全面医疗保障,120种重大疾病医疗0免赔,30天~65周岁均可保,70种抗癌特药定期上新,免费提供住院费用垫付服务等一站式就医服务。
"
,
url
:
currentOrigin
+
"
/goods/detail?id=TKYLX001
"
,
imgUrl
:
currentOrigin
+
"
/shareImg/goods-01.png
"
imgUrl
:
currentOrigin
+
"
/shareImg/goods-01.png
"
},
},
cii
detail
:
{
htdqzjx001
detail
:
{
title
:
"
【芒果保险】万家保·重疾轻症险
"
,
title
:
"
【芒果保险】万家保·重疾轻症险
"
,
desc
:
desc
:
"
「给付型重疾险」100种重症+40种轻症确诊即赔,轻症赔付后,重疾保障继续有效。30天~60周岁均可保。
"
,
"
「给付型重疾险」100种重症+40种轻症确诊即赔,轻症赔付后,重疾保障继续有效。30天~60周岁均可保。
"
,
url
:
currentOrigin
+
"
/goods/detail?id=HTDQZJX001
"
,
imgUrl
:
currentOrigin
+
"
/shareImg/goods-02.png
"
imgUrl
:
currentOrigin
+
"
/shareImg/goods-02.png
"
},
},
ai
detail
:
{
zaywx001
detail
:
{
title
:
"
【芒果保险】万家保·综合意外险
"
,
title
:
"
【芒果保险】万家保·综合意外险
"
,
desc
:
"
「给付型意外险」意外风险覆盖全,保额最高100万,猝死也可赔。
"
,
desc
:
"
「给付型意外险」意外风险覆盖全,保额最高100万,猝死也可赔。
"
,
url
:
currentOrigin
+
"
/goods/detail?id=ZAYWX001
"
,
imgUrl
:
currentOrigin
+
"
/shareImg/goods-03.png
"
imgUrl
:
currentOrigin
+
"
/shareImg/goods-03.png
"
},
},
li
detail
:
{
hgsx001
detail
:
{
title
:
"
【芒果保险】华贵大麦2020定期寿险
"
,
title
:
"
【芒果保险】华贵大麦2020定期寿险
"
,
desc
:
desc
:
"
「定期寿险」家庭主要收入贡献者的必备保险,最高可赔350万。免体检,责任免除仅3条,1~6类职业均可保,健康告知仅3条。
"
,
"
「定期寿险」家庭主要收入贡献者的必备保险,最高可赔350万。免体检,责任免除仅3条,1~6类职业均可保,健康告知仅3条。
"
,
url
:
currentOrigin
+
"
/goods/detail?id=HGSX001
"
,
imgUrl
:
currentOrigin
+
"
/shareImg/goods-04.png
"
imgUrl
:
currentOrigin
+
"
/shareImg/goods-04.png
"
},
},
policydetail
:
{
policydetail
:
{
...
@@ -86,7 +90,7 @@ export const getShare = to => {
...
@@ -86,7 +90,7 @@ export const getShare = to => {
}
else
if
(
_path
.
includes
(
"
smart-measure
"
))
{
}
else
if
(
_path
.
includes
(
"
smart-measure
"
))
{
shareName
=
"
SmartMeasure
"
;
shareName
=
"
SmartMeasure
"
;
}
else
if
(
to
.
name
===
"
GoodsDetail
"
)
{
}
else
if
(
to
.
name
===
"
GoodsDetail
"
)
{
shareName
=
to
.
query
.
type
+
"
detail
"
;
shareName
=
to
.
query
.
id
+
"
detail
"
;
}
else
if
(
_path
.
includes
(
"
goods
"
)
||
to
.
name
===
"
AddPolicy
"
)
{
}
else
if
(
_path
.
includes
(
"
goods
"
)
||
to
.
name
===
"
AddPolicy
"
)
{
shareName
=
"
Goods
"
;
shareName
=
"
Goods
"
;
}
else
if
(
to
.
name
===
"
PolicyDetail
"
)
{
}
else
if
(
to
.
name
===
"
PolicyDetail
"
)
{
...
...
src/components/CompactCellGroup.vue
View file @
30f30651
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
:value=
"item.value.tpl || item.value"
:value=
"item.value.tpl || item.value"
:class=
"
{
:class=
"
{
'compact-cell': 1,
'compact-cell': 1,
'compact-cell_divider': item.divider,
'compact-cell_divider': item
&&
item
.divider,
'compact-cell_inline': item.inline
'compact-cell_inline': item
&&
item
.inline
}"
}"
:style="{ fontSize: fontSize + 'px' }"
:style="{ fontSize: fontSize + 'px' }"
@click="cellClick(item)"
@click="cellClick(item)"
...
...
src/service/wxJsSdk.js
View file @
30f30651
...
@@ -2,14 +2,14 @@
...
@@ -2,14 +2,14 @@
* @Description: weixin-js-sdk
* @Description: weixin-js-sdk
* @LastEditors: gzw
* @LastEditors: gzw
* @Date: 20120-08-30 18:40:11
* @Date: 20120-08-30 18:40:11
* @LastEditTime: 2020-08-3
0 20:41:55
* @LastEditTime: 2020-08-3
1 17:40:33
*/
*/
import
cfg
from
"
@/config/index
"
;
import
cfg
from
"
@/config/index
"
;
import
{
getwxAuth
}
from
"
@/api/user
"
;
import
{
getwxAuth
}
from
"
@/api/user
"
;
import
wx
from
"
weixin-js-sdk
"
;
import
wx
from
"
weixin-js-sdk
"
;
export
default
async
function
({
title
=
""
,
desc
=
""
,
link
=
window
.
location
.
href
,
imgUrl
=
""
})
{
export
default
async
function
({
title
=
""
,
desc
=
""
,
link
=
window
.
location
.
href
,
imgUrl
=
""
})
{
console
.
log
(
title
,
desc
,
link
,
imgUrl
);
//
console.log(title, desc, link, imgUrl);
const
res
=
await
getwxAuth
({
const
res
=
await
getwxAuth
({
appId
:
cfg
.
wxAppId
,
appId
:
cfg
.
wxAppId
,
url
:
window
.
location
.
href
url
:
window
.
location
.
href
...
...
src/views/Consultant/Exclusive/index.vue
View file @
30f30651
...
@@ -49,8 +49,6 @@
...
@@ -49,8 +49,6 @@
<a
class=
"cul-tel-num"
:href=
"`tel:$
{info.tel}`">
<a
class=
"cul-tel-num"
:href=
"`tel:$
{info.tel}`">
<svg-icon
icon-class=
"call"
/>
{{
info
.
tel
}}
<svg-icon
icon-class=
"call"
/>
{{
info
.
tel
}}
</a>
</a>
<a
class=
"cul-tel-num"
:href=
"`tel://$
{info.tel}`">1312312312
</a>
<a
class=
"cul-tel-num"
:href=
"`callto:$
{info.tel}`">1312312312
</a>
<div
class=
"cul-time"
>
服务时间
{{
info
.
date
}}
</div>
<div
class=
"cul-time"
>
服务时间
{{
info
.
date
}}
</div>
</div>
</div>
<div
class=
"cul-slogan"
>
<div
class=
"cul-slogan"
>
...
...
src/views/Goods/Detail/AIDetail.vue
View file @
30f30651
...
@@ -330,7 +330,7 @@ export default {
...
@@ -330,7 +330,7 @@ export default {
const
{
selfSecId
:
holderUserId
,
selfIdNo
:
holderIdNoMask
}
=
this
.
formData
;
const
{
selfSecId
:
holderUserId
,
selfIdNo
:
holderIdNoMask
}
=
this
.
formData
;
let
currentIdNo
=
!
relation
||
relation
===
"
1
"
?
holderIdNoMask
:
idNoMask
;
let
currentIdNo
=
!
relation
||
relation
===
"
1
"
?
holderIdNoMask
:
idNoMask
;
const
currentUserId
=
!
relation
||
relation
===
"
1
"
?
holderUserId
:
userId
;
const
currentUserId
=
!
relation
||
relation
===
"
1
"
?
holderUserId
:
userId
;
const
familyList
=
this
.
$refs
[
"
insureForm
"
].
familyList
||
[];
const
familyList
=
this
.
$refs
[
"
insureForm
"
]
?
.
familyList
||
[];
if
(
!
currentIdNo
)
return
""
;
if
(
!
currentIdNo
)
return
""
;
currentIdNo
=
currentIdNo
=
currentIdNo
.
indexOf
(
"
**
"
)
>
-
1
currentIdNo
.
indexOf
(
"
**
"
)
>
-
1
...
...
src/views/Goods/Detail/CIIDetail.vue
View file @
30f30651
...
@@ -346,7 +346,7 @@ export default {
...
@@ -346,7 +346,7 @@ export default {
const
{
selfSecId
:
holderUserId
,
selfIdNo
:
holderIdNoMask
}
=
this
.
formData
;
const
{
selfSecId
:
holderUserId
,
selfIdNo
:
holderIdNoMask
}
=
this
.
formData
;
let
currentIdNo
=
!
relation
||
relation
===
"
1
"
?
holderIdNoMask
:
idNoMask
;
let
currentIdNo
=
!
relation
||
relation
===
"
1
"
?
holderIdNoMask
:
idNoMask
;
const
currentUserId
=
!
relation
||
relation
===
"
1
"
?
holderUserId
:
userId
;
const
currentUserId
=
!
relation
||
relation
===
"
1
"
?
holderUserId
:
userId
;
const
familyList
=
this
.
$refs
[
"
insureForm
"
].
familyList
||
[];
const
familyList
=
this
.
$refs
[
"
insureForm
"
]
?
.
familyList
||
[];
if
(
!
currentIdNo
)
return
""
;
if
(
!
currentIdNo
)
return
""
;
currentIdNo
=
currentIdNo
=
currentIdNo
.
indexOf
(
"
**
"
)
>
-
1
currentIdNo
.
indexOf
(
"
**
"
)
>
-
1
...
...
src/views/Goods/Detail/MIDetail.vue
View file @
30f30651
...
@@ -339,7 +339,7 @@ export default {
...
@@ -339,7 +339,7 @@ export default {
const
{
selfSecId
:
holderUserId
,
selfIdNo
:
holderIdNoMask
}
=
this
.
formData
;
const
{
selfSecId
:
holderUserId
,
selfIdNo
:
holderIdNoMask
}
=
this
.
formData
;
let
currentIdNo
=
!
relation
||
relation
===
"
1
"
?
holderIdNoMask
:
idNoMask
;
let
currentIdNo
=
!
relation
||
relation
===
"
1
"
?
holderIdNoMask
:
idNoMask
;
const
currentUserId
=
!
relation
||
relation
===
"
1
"
?
holderUserId
:
userId
;
const
currentUserId
=
!
relation
||
relation
===
"
1
"
?
holderUserId
:
userId
;
const
familyList
=
this
.
$refs
[
"
insureForm
"
].
familyList
||
[];
const
familyList
=
this
.
$refs
[
"
insureForm
"
]
?
.
familyList
||
[];
if
(
!
currentIdNo
)
return
""
;
if
(
!
currentIdNo
)
return
""
;
currentIdNo
=
currentIdNo
=
currentIdNo
.
indexOf
(
"
**
"
)
>
-
1
currentIdNo
.
indexOf
(
"
**
"
)
>
-
1
...
...
src/views/Goods/Detail/index.vue
View file @
30f30651
...
@@ -37,6 +37,9 @@ export default {
...
@@ -37,6 +37,9 @@ export default {
userBackState
:
false
userBackState
:
false
};
};
},
},
computed
:
{
...
mapState
([
"
showAuthXyqb
"
])
},
beforeRouteLeave
(
to
,
from
,
next
)
{
beforeRouteLeave
(
to
,
from
,
next
)
{
const
blackList
=
[
"
Goods
"
,
"
Home
"
,
"
Detail
"
,
"
ConsultantPlan
"
,
"
User
"
];
const
blackList
=
[
"
Goods
"
,
"
Home
"
,
"
Detail
"
,
"
ConsultantPlan
"
,
"
User
"
];
if
(
isXyqb
&&
this
.
showAuthXyqb
==
2
)
{
if
(
isXyqb
&&
this
.
showAuthXyqb
==
2
)
{
...
@@ -52,10 +55,7 @@ export default {
...
@@ -52,10 +55,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
getOrderInfo
();
this
.
getOrderInfo
();
this
.
detailType
=
this
.
$route
.
query
.
type
;
this
.
setDetailType
();
},
computed
:
{
...
mapState
([
"
showAuthXyqb
"
])
},
},
methods
:
{
methods
:
{
...
mapActions
([
"
setAuthXyqb
"
]),
...
mapActions
([
"
setAuthXyqb
"
]),
...
@@ -74,6 +74,27 @@ export default {
...
@@ -74,6 +74,27 @@ export default {
if
(
e
===
2
)
{
if
(
e
===
2
)
{
this
.
$router
.
replace
({
path
:
"
/consultant
"
});
this
.
$router
.
replace
({
path
:
"
/consultant
"
});
}
}
},
setDetailType
()
{
const
_id
=
this
.
$route
.
query
.
id
;
let
detailType
=
""
;
switch
(
_id
)
{
case
"
HTDQZJX001
"
:
detailType
=
"
cii
"
;
break
;
case
"
TKYLX001
"
:
detailType
=
"
mi
"
;
break
;
case
"
ZAYWX001
"
:
detailType
=
"
ai
"
;
break
;
case
"
HGSX001
"
:
detailType
=
"
li
"
;
break
;
default
:
break
;
}
this
.
detailType
=
detailType
;
}
}
}
}
};
};
...
...
src/views/Goods/Plan/index.vue
View file @
30f30651
...
@@ -76,15 +76,20 @@ export default {
...
@@ -76,15 +76,20 @@ export default {
break
;
break
;
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
console
.
log
(
document
.
getElementById
(
"
dtp
"
));
const
dtp
=
document
.
getElementById
(
"
dtp
"
);
document
.
getElementById
(
"
dtp
"
).
onclick
=
()
=>
{
const
zhongyao
=
document
.
getElementById
(
"
70zhongyao
"
);
this
.
pupopData
=
this
.
planInfo
[
5
].
options
[
0
];
if
(
dtp
)
{
this
.
popupShow
=
true
;
dtp
.
onclick
=
()
=>
{
};
this
.
pupopData
=
this
.
planInfo
[
5
].
options
[
0
];
document
.
getElementById
(
"
70zhongyao
"
).
onclick
=
()
=>
{
this
.
popupShow
=
true
;
this
.
pupopData
=
this
.
planInfo
[
5
].
options
[
1
];
};
this
.
popupShow
=
true
;
}
};
if
(
zhongyao
)
{
zhongyao
.
onclick
=
()
=>
{
this
.
pupopData
=
this
.
planInfo
[
5
].
options
[
1
];
this
.
popupShow
=
true
;
};
}
},
500
);
},
500
);
},
},
methods
:
{
methods
:
{
...
...
src/views/Policy/Detail/modules/InsuranceService.vue
View file @
30f30651
...
@@ -33,11 +33,11 @@
...
@@ -33,11 +33,11 @@
</div>
</div>
</div>
</div>
<popup-with-iframe
<popup-with-iframe
v-model=
"popupShow"
v-model=
"popupShow"
:title=
"pupopData.title"
:title=
"pupopData.title"
:content=
"pupopData.content"
:content=
"pupopData.content"
:url=
"pupopData.url"
:url=
"pupopData.url"
/>
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
src/views/Policy/PayWaiting/index.vue
View file @
30f30651
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
<
script
>
<
script
>
import
detailPayMixin
from
"
@/views/Goods/Detail/modules/detailPay.mixin
"
;
import
detailPayMixin
from
"
@/views/Goods/Detail/modules/detailPay.mixin
"
;
// import qs from "qs";
// import qs from "qs";
import
localStorage
from
"
@/service/localStorage
"
;
import
{
isXyqb
}
from
"
@/service/validation
"
;
import
{
isXyqb
}
from
"
@/service/validation
"
;
export
default
{
export
default
{
name
:
"
PayWaiting
"
,
name
:
"
PayWaiting
"
,
...
@@ -25,8 +26,12 @@ export default {
...
@@ -25,8 +26,12 @@ export default {
// }
// }
this
.
isPayWait
=
true
;
this
.
isPayWait
=
true
;
this
.
orderInfo
=
this
.
$route
.
query
;
this
.
orderInfo
=
this
.
$route
.
query
;
let
thirdParams
=
""
;
if
(
this
.
orderInfo
.
third
)
{
thirdParams
=
decodeURIComponent
(
this
.
orderInfo
.
third
);
}
// 如果存在isXyqb,同时当前不是在信用钱包环境
// 如果存在isXyqb,同时当前不是在信用钱包环境
if
((
this
.
orderInfo
.
isXyqb
==
1
&&
!
isXyqb
)
||
thi
s
.
orderInfo
.
third
==
1
)
{
if
((
this
.
orderInfo
.
isXyqb
==
1
&&
!
isXyqb
)
||
thi
rdParams
.
indexOf
(
"
1
"
)
===
0
)
{
window
.
location
.
href
=
"
xyqb://my
"
;
window
.
location
.
href
=
"
xyqb://my
"
;
if
(
localStorage
.
get
(
"
mongoToken
"
))
{
if
(
localStorage
.
get
(
"
mongoToken
"
))
{
this
.
$router
.
replace
(
"
/policy
"
);
this
.
$router
.
replace
(
"
/policy
"
);
...
...
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