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
a48aec29
Commit
a48aec29
authored
Aug 29, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修复
parent
f038325a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
13 deletions
+42
-13
detail.zhongan.yiwai.js
src/api/detail.zhongan.yiwai.js
+2
-3
PopupAreaPicker.vue
src/components/PopupAreaPicker.vue
+11
-2
PopupDatePicker.vue
src/components/PopupDatePicker.vue
+1
-0
index.less
src/style/index.less
+7
-0
index.vue
src/views/Consultant/Plan/index.vue
+16
-2
index.vue
src/views/Policy/Add/index.vue
+5
-6
No files found.
src/api/detail.zhongan.yiwai.js
View file @
a48aec29
...
...
@@ -4,7 +4,7 @@
* @Description:众安50万意外险
* @Date: 2020-07-27 15:46:37
* @LastEditors: gzw
* @LastEditTime: 2020-08-29 1
1:26:18
* @LastEditTime: 2020-08-29 1
6:18:42
*/
import
goodsBg
from
"
@/assets/images/goods/detail/yiwaixian/bg.png
"
;
import
title
from
"
@/assets/images/goods/detail/yiwaixian/title.png
"
;
...
...
@@ -135,7 +135,7 @@ export default {
popupArray
:
[
{
title
:
"
保险条款
"
,
url
:
"
https://mangguo-contract
-pdf
.qthbx.com/zhong-an-baoxiantiaokuan-v1/
"
url
:
"
https://mangguo-contract.qthbx.com/zhong-an-baoxiantiaokuan-v1/
"
},
{
title
:
"
投保须知及声明
"
,
...
...
@@ -147,7 +147,6 @@ export default {
url
:
"
https://mangguo-contract.qthbx.com/fu-wu-xie-yi-v1/
"
},
{
title
:
"
保险计划
"
},
{
title
:
"
保险计划
"
},
{
title
:
"
理赔信息
"
},
{
title
:
"
完整费率
"
},
{
...
...
src/components/PopupAreaPicker.vue
View file @
a48aec29
...
...
@@ -5,7 +5,14 @@
<svg-icon
icon-class=
"triangle-right"
slot=
"button"
/>
</div>
<cr-popup
v-model=
"show"
position=
"bottom"
get-container=
"body"
>
<cr-area
ref=
"area"
:value=
"value"
:list=
"areaList"
@
cancel=
"onCancel"
@
confirm=
"onConfirm"
/>
<cr-area
ref=
"area"
:value=
"value"
:list=
"areaList"
:item-height=
"44"
@
cancel=
"onCancel"
@
confirm=
"onConfirm"
/>
</cr-popup>
</div>
</
template
>
...
...
@@ -45,7 +52,9 @@ export default {
setTimeout
(()
=>
{
const
$area
=
this
.
$refs
.
area
;
const
$picker
=
$area
.
$refs
.
picker
;
const
val
=
this
.
value
;
let
val
=
this
.
value
;
if
(
!
val
)
return
;
val
=
""
+
val
;
let
columns
=
""
;
$area
.
selectedCodes
=
[
`
${
val
.
substring
(
0
,
2
)}
0000`
,
`
${
val
.
substring
(
0
,
4
)}
00`
,
val
];
$area
.
renderProvince
();
...
...
src/components/PopupDatePicker.vue
View file @
a48aec29
...
...
@@ -10,6 +10,7 @@
type=
"date"
:min-date=
"minDate"
:max-date=
"maxDate"
:item-height=
"44"
@
confirm=
"onConfirm"
@
cancel=
"onCancel"
/>
...
...
src/style/index.less
View file @
a48aec29
...
...
@@ -2,6 +2,13 @@
@import "var.less";
@import "mixins.less";
* {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
-khtml-user-select: none;
user-select: none;
}
html,
body,
#app {
...
...
src/views/Consultant/Plan/index.vue
View file @
a48aec29
...
...
@@ -94,6 +94,7 @@
<
script
>
import
Card
from
"
@/components/Card
"
;
import
{
getCulsuggestion
}
from
"
@/api/consultant
"
;
import
{
getLink
}
from
"
@/api/product
"
;
import
avator
from
"
@/assets/images/consultant/avator.png
"
;
import
goods
from
"
@/api/goodsList.mock
"
;
export
default
{
...
...
@@ -104,6 +105,7 @@ export default {
data
()
{
return
{
avator
,
goods
,
goodInfo
:
{
ensure
:
[]
}
...
...
@@ -113,7 +115,7 @@ export default {
ensureList
()
{
return
this
.
goodInfo
.
ensure
?
this
.
goodInfo
.
ensure
.
map
(
item
=>
{
item
.
detailIndex
=
goods
.
findIndex
(
it
=>
it
.
id
===
item
.
productNo
);
item
.
detailIndex
=
this
.
goods
.
findIndex
(
it
=>
it
.
id
===
item
.
productNo
);
return
item
;
})
:
[];
...
...
@@ -121,6 +123,7 @@ export default {
},
mounted
()
{
this
.
getSuggestion
();
this
.
getGoodsLink
();
},
methods
:
{
tagFilter
(
type
)
{
...
...
@@ -168,7 +171,7 @@ export default {
return
_type
;
},
goDetail
(
index
)
{
const
goodItem
=
goods
[
index
];
const
goodItem
=
this
.
goods
[
index
];
if
(
!
goodItem
.
allow
)
{
return
;
}
...
...
@@ -187,6 +190,17 @@ export default {
if
(
res
)
{
this
.
goodInfo
=
res
;
}
},
async
getGoodsLink
()
{
if
(
!
this
.
mongoToken
)
return
;
const
res
=
await
getLink
();
if
(
res
)
{
this
.
goods
.
forEach
(
item
=>
{
if
(
item
.
productNo
===
"
BNZJX001
"
)
{
item
.
url
=
res
.
url
;
}
});
}
}
}
};
...
...
src/views/Policy/Add/index.vue
View file @
a48aec29
...
...
@@ -849,17 +849,16 @@ export default {
this
.
generateOrder
(
"
li
"
);
},
relationOptionChange
(
relation
)
{
relation
&&
this
.
relationChange
(
relation
,
this
.
clearInsured
);
setTimeout
(()
=>
{
this
.
clearInsured
=
true
;
},
1000
);
relation
&&
this
.
relationChange
(
relation
,
true
);
this
.
clearInsured
=
true
;
},
relationChange
(
relation
,
clear
=
false
)
{
if
(
clear
)
{
this
.
formData
.
insuredUserInfo
=
{
this
.
$set
(
this
.
formData
,
"
insuredUserInfo
"
,
{
relation
,
longTerm
:
"
1
"
};
});
this
.
$forceUpdate
();
}
this
.
familyList
.
forEach
(
item
=>
{
const
{
relation
,
nameMask
:
name
,
idNoMask
:
idNo
,
userInfoSecId
}
=
item
;
...
...
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