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
a8333ba8
Commit
a8333ba8
authored
Aug 20, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/policy_fix' into 'master'
fix: 试算修改,详情添加sobot See merge request
!59
parents
312d71e6
27387310
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
34 additions
and
24 deletions
+34
-24
settings.js
src/api/settings.js
+2
-1
GoodAction.vue
src/components/GoodAction.vue
+2
-0
autoSaveForm.mixin.js
src/mixins/autoSaveForm.mixin.js
+2
-1
AIDetail.vue
src/views/Goods/Detail/AIDetail.vue
+1
-5
CIIDetail.vue
src/views/Goods/Detail/CIIDetail.vue
+1
-5
LIDetail.vue
src/views/Goods/Detail/LIDetail.vue
+1
-0
MIDetail.vue
src/views/Goods/Detail/MIDetail.vue
+1
-5
InsurePersonForm.vue
src/views/Goods/Detail/modules/InsurePersonForm.vue
+1
-1
index.vue
src/views/Policy/Add/index.vue
+17
-5
SecurityContent.vue
src/views/Policy/Detail/modules/SecurityContent.vue
+6
-1
No files found.
src/api/settings.js
View file @
a8333ba8
export
default
{
export
default
{
tel
:
"
010-82194734
"
,
tel
:
"
010-82194734
"
,
serviceHours
:
"
9:00-21:00
"
,
serviceHours
:
"
9:00-21:00
"
,
sobot
:
""
,
sobot
:
"
https://mangobaoxian.sobot.com/chat/h5/v2/index.html?sysnum=cfe2ac6677f94698be2e2d842f23066d
"
,
icp
:
"
京ICP备15059975号
"
,
icp
:
"
京ICP备15059975号
"
,
copyright
:
"
全天候保险代理股份有限公司
"
,
copyright
:
"
全天候保险代理股份有限公司
"
,
consultant
:
{
consultant
:
{
...
...
src/components/GoodAction.vue
View file @
a8333ba8
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
*/
*/
const
LEFT_BTN_CLICK_EVENT
=
"
leftClick
"
;
const
LEFT_BTN_CLICK_EVENT
=
"
leftClick
"
;
const
RIGHT_BTN_CLICK_EVENT
=
"
click
"
;
const
RIGHT_BTN_CLICK_EVENT
=
"
click
"
;
import
settings
from
"
@/api/settings
"
;
export
default
{
export
default
{
name
:
"
GoodAction
"
,
name
:
"
GoodAction
"
,
props
:
{
props
:
{
...
@@ -57,6 +58,7 @@ export default {
...
@@ -57,6 +58,7 @@ export default {
methods
:
{
methods
:
{
leftClick
()
{
leftClick
()
{
this
.
$emit
(
LEFT_BTN_CLICK_EVENT
,
{});
this
.
$emit
(
LEFT_BTN_CLICK_EVENT
,
{});
window
.
location
.
href
=
settings
.
sobot
;
},
},
rightClick
()
{
rightClick
()
{
// TODO
// TODO
...
...
src/mixins/autoSaveForm.mixin.js
View file @
a8333ba8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Description: autoSaveForm mixins
* @Description: autoSaveForm mixins
* @LastEditors: gzw
* @LastEditors: gzw
* @Date: 2019-08-14 15:53:37
* @Date: 2019-08-14 15:53:37
* @LastEditTime: 2020-08-20 1
3:49:26
* @LastEditTime: 2020-08-20 1
6:15:50
*/
*/
import
localStorage
from
"
@/service/localStorage
"
;
import
localStorage
from
"
@/service/localStorage
"
;
...
@@ -33,6 +33,7 @@ export default {
...
@@ -33,6 +33,7 @@ export default {
},
},
getSaveInfoHandler
(
key
,
target
)
{
getSaveInfoHandler
(
key
,
target
)
{
this
[
target
]
=
localStorage
.
get
(
key
);
this
[
target
]
=
localStorage
.
get
(
key
);
this
[
target
+
"
Cache
"
]
=
JSON
.
parse
(
JSON
.
stringify
(
localStorage
.
get
(
key
)));
this
.
$forceUpdate
();
this
.
$forceUpdate
();
}
}
}
}
...
...
src/views/Goods/Detail/AIDetail.vue
View file @
a8333ba8
...
@@ -44,11 +44,7 @@
...
@@ -44,11 +44,7 @@
</div>
</div>
<detail-footer
:company-info=
"companyInfo"
/>
<detail-footer
:company-info=
"companyInfo"
/>
<copyright
/>
<copyright
/>
<good-action
<good-action
:content=
"goodActionInfo"
v-show=
"goodActionShow"
/>
@
leftClick=
"goInsureState = true"
:content=
"goodActionInfo"
v-show=
"goodActionShow"
/>
<popup-with-iframe
<popup-with-iframe
v-model=
"popupShow"
v-model=
"popupShow"
:title=
"pupopData.title"
:title=
"pupopData.title"
...
...
src/views/Goods/Detail/CIIDetail.vue
View file @
a8333ba8
...
@@ -43,11 +43,7 @@
...
@@ -43,11 +43,7 @@
</div>
</div>
<detail-footer
:company-info=
"companyInfo"
/>
<detail-footer
:company-info=
"companyInfo"
/>
<copyright
/>
<copyright
/>
<good-action
<good-action
:content=
"goodActionInfo"
v-show=
"goodActionShow"
/>
@
leftClick=
"goInsureState = true"
:content=
"goodActionInfo"
v-show=
"goodActionShow"
/>
<popup-with-iframe
<popup-with-iframe
v-model=
"popupShow"
v-model=
"popupShow"
:title=
"pupopData.title"
:title=
"pupopData.title"
...
...
src/views/Goods/Detail/LIDetail.vue
View file @
a8333ba8
...
@@ -253,6 +253,7 @@ export default {
...
@@ -253,6 +253,7 @@ export default {
async
calFee
()
{
async
calFee
()
{
let
{
price
}
=
this
.
headerInfo
;
let
{
price
}
=
this
.
headerInfo
;
const
{
birth
,
gender
,
amountInsured
,
policyPeriod
,
payPeriod
,
payType
}
=
this
.
formData
;
const
{
birth
,
gender
,
amountInsured
,
policyPeriod
,
payPeriod
,
payType
}
=
this
.
formData
;
if
(
!
birth
||
!
gender
||
!
amountInsured
||
!
policyPeriod
||
!
payPeriod
||
!
payType
)
return
;
const
_param
=
{
const
_param
=
{
productNo
:
this
.
goodId
,
productNo
:
this
.
goodId
,
productUserInfo
:
{
productUserInfo
:
{
...
...
src/views/Goods/Detail/MIDetail.vue
View file @
a8333ba8
...
@@ -42,11 +42,7 @@
...
@@ -42,11 +42,7 @@
</div>
</div>
<detail-footer
:company-info=
"companyInfo"
/>
<detail-footer
:company-info=
"companyInfo"
/>
<copyright
/>
<copyright
/>
<good-action
<good-action
:content=
"goodActionInfo"
v-show=
"goodActionShow"
/>
@
leftClick=
"goInsureState = true"
:content=
"goodActionInfo"
v-show=
"goodActionShow"
/>
<popup-with-iframe
<popup-with-iframe
v-model=
"popupShow"
v-model=
"popupShow"
:title=
"pupopData.title"
:title=
"pupopData.title"
...
...
src/views/Goods/Detail/modules/InsurePersonForm.vue
View file @
a8333ba8
...
@@ -286,7 +286,7 @@ export default {
...
@@ -286,7 +286,7 @@ export default {
userInfoSecId
,
userInfoSecId
,
socialSecurity
:
socialSecurity
:
socialSecurity
===
""
||
typeof
socialSecurity
===
"
undefined
"
socialSecurity
===
""
||
typeof
socialSecurity
===
"
undefined
"
?
""
?
this
[
this
.
autoSaveKey
+
"
Cache
"
].
socialSecurity
||
""
:
socialSecurity
:
socialSecurity
?
"
1
"
?
"
1
"
:
"
0
"
:
"
0
"
...
...
src/views/Policy/Add/index.vue
View file @
a8333ba8
...
@@ -426,7 +426,7 @@
...
@@ -426,7 +426,7 @@
]"
]"
/>
/>
</cr-cell-group>
</cr-cell-group>
<good-action
@
leftClick=
"goInsureState = true"
:content=
"goodActionInfo"
/>
<good-action
:content=
"goodActionInfo"
/>
</cr-form>
</cr-form>
<go-insure-dialog
<go-insure-dialog
v-model=
"goInsureState"
v-model=
"goInsureState"
...
@@ -610,7 +610,6 @@ export default {
...
@@ -610,7 +610,6 @@ export default {
payType
===
oldpayType
)
payType
===
oldpayType
)
)
)
return
;
return
;
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calFee
();
this
.
calFee
();
},
1000
);
},
1000
);
...
@@ -720,7 +719,7 @@ export default {
...
@@ -720,7 +719,7 @@ export default {
// this.generateOrder();
// this.generateOrder();
},
},
relationOptionChange
(
relation
)
{
relationOptionChange
(
relation
)
{
this
.
relationChange
(
relation
,
this
.
clearInsured
);
relation
&&
this
.
relationChange
(
relation
,
this
.
clearInsured
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
clearInsured
=
true
;
this
.
clearInsured
=
true
;
},
1000
);
},
1000
);
...
@@ -732,8 +731,9 @@ export default {
...
@@ -732,8 +731,9 @@ export default {
longTerm
:
"
1
"
longTerm
:
"
1
"
};
};
}
}
this
.
getSaveInfoHandler
(
AUTO_SAVE_KEY
,
AUTO_SAVE_TARGET
);
if
(
this
.
hasAutoSaveData
(
AUTO_SAVE_KEY
))
{
// this.formData.insuredUserInfo.relation = relation;
this
.
getSaveInfoHandler
(
AUTO_SAVE_KEY
,
AUTO_SAVE_TARGET
);
}
this
.
familyList
.
forEach
(
item
=>
{
this
.
familyList
.
forEach
(
item
=>
{
const
{
relation
,
nameMask
:
name
,
idNoMask
:
idNo
,
userInfoSecId
}
=
item
;
const
{
relation
,
nameMask
:
name
,
idNoMask
:
idNo
,
userInfoSecId
}
=
item
;
if
(
+
relation
===
1
)
{
if
(
+
relation
===
1
)
{
...
@@ -772,6 +772,18 @@ export default {
...
@@ -772,6 +772,18 @@ export default {
:
"
0
"
:
"
0
"
}
}
};
};
if
(
!
this
.
formData
.
insuredUserInfo
.
socialSecurity
)
{
try
{
this
.
formData
.
insuredUserInfo
.
socialSecurity
=
this
[
AUTO_SAVE_TARGET
+
"
Cache
"
].
insuredUserInfo
.
socialSecurity
;
}
catch
(
e
)
{
console
.
log
(
e
);
}
}
if
(
relation
)
{
this
.
formData
.
insuredUserInfo
.
relation
=
relation
;
}
this
.
calFee
();
this
.
calFee
();
this
.
$forceUpdate
();
this
.
$forceUpdate
();
},
},
...
...
src/views/Policy/Detail/modules/SecurityContent.vue
View file @
a8333ba8
...
@@ -70,7 +70,12 @@ export default {
...
@@ -70,7 +70,12 @@ export default {
},
},
methods
:
{
methods
:
{
showPdf
()
{
showPdf
()
{
this
.
$router
.
push
({
path
:
"
/policy/virtual-detail
"
,
query
:
{
url
:
"
http://hathaway-mg.liangkebang.net/third/huagui/download?idStr=Z3BSb1djY1N0S2s9
"
}
});
this
.
$router
.
push
({
path
:
"
/policy/virtual-detail
"
,
query
:
{
url
:
"
http://hathaway-mg.liangkebang.net/third/huagui/download?idStr=Z3BSb1djY1N0S2s9
"
}
});
}
}
},
},
computed
:
{
computed
:
{
...
...
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