Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ded81416
authored
2020-02-13 13:20:41 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
f7ec6769
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
54 additions
and
19 deletions
src/components/clarms/clarms-plugins-material.js
src/components/clarms/clarms-plugins-material.vue
src/components/clarms/clarms-plugins-modal2.js
src/components/clarms/clarms-plugins-modal2.vue
src/pages/clarms/clarms.js
src/components/clarms/clarms-plugins-material.js
View file @
ded8141
...
...
@@ -8,8 +8,13 @@ import {
import
DatePicker
from
'@/components/date-picker/date-picker.vue'
;
import
ClarmsUpload
from
'./clarms-plugins-upload.vue'
;
import
Vue
from
'vue'
;
import
{
Loading
}
from
'vant'
;
import
{
Select
,
Option
}
from
'element-ui'
;
import
{
Loading
}
from
'vant'
;
import
{
Select
,
Option
}
from
'element-ui'
;
Vue
.
use
(
Loading
);
Vue
.
use
(
Select
);
...
...
@@ -20,7 +25,7 @@ export default {
// 是否显示组件
insuredList
:
{
type
:
Array
,
default
()
{
default
()
{
return
[]
}
},
...
...
@@ -217,7 +222,10 @@ export default {
treatmentAmount
:
this
.
data
.
amount
,
imageList
:
imageList
}
httpPost
({
url
:
api
.
clarmsRegisterCase
,
data
:
params
}).
then
(
res
=>
{
httpPost
({
url
:
api
.
clarmsRegisterCase
,
data
:
params
}).
then
(
res
=>
{
this
.
$emit
(
"showModal"
,
2
);
this
.
loading
=
false
;
this
.
agress
=
false
;
...
...
@@ -297,5 +305,18 @@ export default {
mounted
()
{
this
.
initData
();
},
created
()
{
}
created
()
{
try
{
this
.
$root
.
eventBus
.
$off
(
"_evt_to_account_information"
);
}
catch
(
e
)
{}
this
.
$root
.
eventBus
.
$on
(
"_evt_to_account_information"
,
()
=>
{
this
.
$nextTick
(()
=>
{
console
.
log
(
"ccccc:"
,
document
.
getElementById
(
"sc"
));
let
sc
=
document
.
getElementById
(
"sc"
);
if
(
sc
)
{
document
.
getElementById
(
"sc"
).
scrollIntoView
();
}
})
});
}
}
...
...
src/components/clarms/clarms-plugins-material.vue
View file @
ded8141
...
...
@@ -124,13 +124,13 @@
</div>
<div
class=
"value"
>
<clarms-upload
:icon=
"require('@/assets/images/clarms/icon3.png')"
:options=
"
{name:$t('clarms.step2.label14'),imageTypeID:'HT29',imageMainTypeID:'HT06',toast:$t('clarms.step2.toast3')}" @success="uploadSuccess" @beforeUpload="beforeUpload">
</clarms-upload>
<clarms-upload
class=
"mt20"
:icon=
"require('@/assets/images/clarms/icon4.png')"
:options=
"
{name:$t('clarms.step2.label15'),imageTypeID:'HT34',imageMainTypeID:'HT08',toast:$t('clarms.step2.toast4')}" @success="uploadSuccess" @beforeUpload="beforeUpload">
</clarms-upload>
<clarms-upload
id=
"sc"
ref=
"sc"
class=
"mt20"
:icon=
"require('@/assets/images/clarms/icon4.png')"
:options=
"
{name:$t('clarms.step2.label15'),imageTypeID:'HT34',imageMainTypeID:'HT08',toast:$t('clarms.step2.toast4')}" @success="uploadSuccess" @beforeUpload="beforeUpload">
</clarms-upload>
<clarms-upload
class=
"mt20"
:icon=
"require('@/assets/images/clarms/icon5.png')"
:options=
"
{name:$t('clarms.step2.label16'),imageTypeID:'HT16',imageMainTypeID:'HT03',toast:$t('clarms.step2.toast5')}" @success="uploadSuccess" @beforeUpload="beforeUpload">
</clarms-upload>
</div>
</div>
</
template
>
</div>
<hr
v-if=
"data.amount > 0"
>
<hr
v-if=
"data.amount > 0"
>
<div
class=
"bottom-tip orange mt20"
>
{{$t('clarms.step2.label17')}}
</div>
<div
class=
"bottom-tip gray mt10"
>
{{$t('clarms.step2.tip1')}}
</div>
...
...
src/components/clarms/clarms-plugins-modal2.js
View file @
ded8141
export
default
{
data
()
{
return
{
...
...
@@ -7,8 +5,7 @@ export default {
}
},
components
:
{},
computed
:
{
},
computed
:
{},
methods
:
{
initData
()
{
...
...
@@ -16,6 +13,10 @@ export default {
onOverLayHandler
()
{
this
.
$emit
(
"close"
);
},
toAccountInformation
()
{
this
.
$emit
(
"close"
);
this
.
$root
.
eventBus
.
$emit
(
'_evt_to_account_information'
);
},
toContact
()
{
this
.
$router
.
push
({
path
:
"/custom/service?q=m1"
...
...
@@ -28,6 +29,5 @@ export default {
created
()
{
this
.
initData
();
},
watch
:
{
},
watch
:
{},
}
...
...
src/components/clarms/clarms-plugins-modal2.vue
View file @
ded8141
...
...
@@ -9,7 +9,7 @@
<img
src=
"@/assets/images/clarms/suc.png"
>
</div>
<div
class=
"message"
>
{{
$t
(
'clarms.step2.tip7'
)
}}
<span
@
click=
"
onOverLayHandler
"
>
{{
$t
(
'clarms.step2.tip8'
)
}}
</span>
{{
$t
(
'clarms.step2.tip7'
)
}}
<span
@
click=
"
toAccountInformation
"
>
{{
$t
(
'clarms.step2.tip8'
)
}}
</span>
</div>
</div>
</div>
...
...
src/pages/clarms/clarms.js
View file @
ded8141
...
...
@@ -32,7 +32,7 @@ export default {
showModal2
:
false
,
agress
:
false
,
reservationTypes
:
[],
cid
:
false
,
cid
:
""
,
// 可以理赔的客户信息
customerList
:
[]
}
...
...
@@ -72,7 +72,11 @@ export default {
let
param
=
{
sid
:
this
.
userInfo
.
sid
};
httpPost
({
url
:
api
.
getCidByLogin
,
sid
:
true
,
data
:
param
}).
then
(
res
=>
{
httpPost
({
url
:
api
.
getCidByLogin
,
sid
:
true
,
data
:
param
}).
then
(
res
=>
{
if
(
res
)
{
this
.
cid
=
res
;
this
.
checkCid
();
...
...
@@ -87,7 +91,10 @@ export default {
let
param
=
{
cid
:
this
.
cid
}
httpPost
({
url
:
api
.
clarmsCustomerList
,
data
:
param
}).
then
(
res
=>
{
httpPost
({
url
:
api
.
clarmsCustomerList
,
data
:
param
}).
then
(
res
=>
{
sessionStorage
.
removeItem
(
"clarmsRequestCid"
);
if
(
res
)
{
this
.
customerList
=
res
.
insuredInfoList
;
...
...
@@ -120,7 +127,13 @@ export default {
},
gotoInformationPage
()
{
let
c
=
this
.
$route
.
fullPath
;
this
.
$router
.
push
({
path
:
"/infomation/improve"
,
query
:
{
c
:
c
,
a
:
1
}
});
this
.
$router
.
push
({
path
:
"/infomation/improve"
,
query
:
{
c
:
c
,
a
:
1
}
});
},
logoutAction
()
{
this
.
sid
=
false
;
...
...
@@ -145,6 +158,7 @@ export default {
},
mounted
()
{
this
.
initData
();
},
created
()
{
}
created
()
{
}
}
...
...
Please
register
or
sign in
to post a comment