Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0181795e
authored
Aug 20, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.43.1-0819' into 'master'
上线合并 See merge request
!73
2 parents
8f09f0a4
4d6260b9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
62 additions
and
10 deletions
src/views/beforeSale/equityList.vue
src/views/claims/components/check/index.vue
src/views/claims/components/report.vue
src/views/claims/ghOrder.vue
src/views/claims/order.vue
src/views/beforeSale/equityList.vue
View file @
0181795
...
...
@@ -100,7 +100,7 @@ export default {
return
'打印'
},
condition
:
row
=>
{
return
[
2
].
includes
(
row
.
scope
.
orderStatus
)
return
[
2
,
5
].
includes
(
row
.
scope
.
orderStatus
)
},
attrs
:
{
type
:
'text'
...
...
src/views/claims/components/check/index.vue
View file @
0181795
...
...
@@ -123,6 +123,18 @@ export default {
}
},
{
label
:
'出险时间(内部)'
,
name
:
'internalReimbursementDate'
,
type
:
'limitDatePicker'
,
dateType
:
'datetime'
,
customPickerOptions
:
{
disabledDate
(
date
)
{
return
date
>
new
Date
()
},
selectableRange
:
''
}
},
{
label
:
'报案日期'
,
name
:
'reportDate'
,
type
:
'limitDatePicker'
,
...
...
src/views/claims/components/report.vue
View file @
0181795
<
template
>
<div
class=
"report-components gl-form-page"
>
<div
class=
"title"
>
报案信息(客户提交)
</div>
<template
v-if=
"[1, 3, 4,
5,6].includes(pageType)&&
!renewDisable"
>
<template
v-if=
"[1, 3, 4,
5, 6].includes(pageType) &&
!renewDisable"
>
<glsxCombiForm
:regionData=
"regionData"
class=
"edit-form-container"
ref=
"editFormRefReport"
labelWidth=
"154px"
defaultWidth=
"432px"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<div
v-if=
"pageType == 1"
style=
"display: inline-block"
slot=
"syncBtn"
>
<el-button
style=
"margin: 0 12px"
type=
"primary"
@
click=
"toSearchOrderDetail"
>
同步
</el-button>
...
...
@@ -17,10 +17,10 @@
<
div
:
key
=
"index"
class
=
"line_widget flex_sc"
>
<
div
class
=
"label"
>
<
span
class
=
"required"
>*<
/span
>
<
span
class
=
"text"
>
{{
item
.
label
}}
<
/span
>
<
span
class
=
"text"
>
{{
item
.
label
}}
<
/span
>
<
span
class
=
"text"
>
:
<
/span
>
<
/div
>
<
div
class
=
"value"
>
{{
item
.
value
}}
<
/div
>
<
div
class
=
"value"
>
{{
item
.
value
}}
<
/div
>
<
/div
>
<
/template
>
<
/div
>
...
...
@@ -45,7 +45,7 @@ export default {
type
:
Number
,
default
:
1
// 1.新增 2.查看 3.重新提交 4.去处理
}
,
renewDisable
:
Boolean
renewDisable
:
Boolean
}
,
data
()
{
return
{
...
...
@@ -72,6 +72,7 @@ export default {
trigger
:
'change'
}
],
internalReimbursementDate
:
[{
required
:
true
,
message
:
'请选择出险时间(内部)'
,
trigger
:
'change'
}
],
reporterName
:
[{
required
:
true
,
message
:
'请输入报案人'
,
trigger
:
'change'
}
],
reporterPhone
:
[
{
...
...
@@ -100,9 +101,9 @@ export default {
mounted
()
{
this
.
diffKeyHandle
(
this
.
isGH
)
let
_this
=
this
setTimeout
(()
=>
{
setTimeout
(()
=>
{
_this
.
handlerDetail
()
}
,
500
)
}
,
500
)
}
,
watch
:
{
'editForm.reportDate'
(
newVal
,
oldVal
)
{
...
...
@@ -137,11 +138,15 @@ export default {
value
:
this
.
editForm
.
reimbursementDate
}
,
{
label
:
'出险时间(内部)'
,
value
:
this
.
editForm
.
internalReimbursementDate
}
,
{
label
:
'出险地点'
,
value
:
this
.
editForm
.
reimbursementAddr
}
]
console
.
log
(
this
.
editDetail
);
console
.
log
(
this
.
editDetail
)
}
,
//*************** */
getCityList
()
{
...
...
@@ -193,6 +198,18 @@ export default {
}
}
,
{
label
:
'出险时间(内部)'
,
name
:
'internalReimbursementDate'
,
type
:
'limitDatePicker'
,
dateType
:
'datetime'
,
customPickerOptions
:
{
disabledDate
(
date
)
{
return
date
>
new
Date
()
}
,
selectableRange
:
''
}
}
,
{
label
:
'报案日期'
,
name
:
'reportDate'
,
type
:
'limitDatePicker'
,
...
...
@@ -281,6 +298,18 @@ export default {
}
}
,
{
label
:
'出险时间(内部)'
,
name
:
'internalReimbursementDate'
,
type
:
'limitDatePicker'
,
dateType
:
'datetime'
,
customPickerOptions
:
{
disabledDate
(
date
)
{
return
date
>
new
Date
()
}
,
selectableRange
:
''
}
}
,
{
label
:
'报案日期'
,
name
:
'reportDate'
,
type
:
'limitDatePicker'
,
...
...
@@ -374,6 +403,7 @@ export default {
}
}
/deep/
#
reportDate
,
/deep/
#
internalReimbursementDate
,
/deep/
#
reimbursementDate
{
.
el
-
date
-
editor
{
.
el
-
input__inner
{
...
...
@@ -394,7 +424,7 @@ export default {
background
:
#
f9f9f9
;
margin
-
bottom
:
20
px
;
}
.
wrap
{
.
wrap
{
flex
-
wrap
:
wrap
;
}
.
line_widget
{
...
...
src/views/claims/ghOrder.vue
View file @
0181795
...
...
@@ -94,6 +94,7 @@ export default {
reporterPhone
:
''
,
reportDate
:
''
,
reimbursementDate
:
''
,
internalReimbursementDate
:
''
,
reimbursementAddr
:
''
,
handlerName
:
''
,
handlerPhone
:
''
,
...
...
@@ -198,6 +199,7 @@ export default {
reporterPhone
:
res
.
reporterPhone
,
reportDate
:
dayjs
(
res
.
reportDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
),
reimbursementDate
:
dayjs
(
res
.
reimbursementDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
),
internalReimbursementDate
:
dayjs
(
res
.
internalReimbursementDate
||
res
.
reimbursementDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
),
reimbursementAddr
:
res
.
reimbursementAddr
,
handlerName
:
res
.
handlerName
,
handlerPhone
:
res
.
handlerPhone
,
...
...
@@ -348,6 +350,10 @@ export default {
value
:
obj
.
reimbursementDate
},
{
name
:
'出险时间(内部):'
,
value
:
obj
.
internalReimbursementDate
},
{
name
:
'出险地点:'
,
value
:
obj
.
reimbursementProvinceName
+
obj
.
reimbursementCityName
+
obj
.
reimbursementCountiesName
+
obj
.
reimbursementAddr
}
...
...
@@ -631,6 +637,7 @@ export default {
reporterPhone
:
this
.
repotData
.
reporterPhone
,
reportDate
:
this
.
repotData
.
reportDate
?
dayjs
(
this
.
repotData
.
reportDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
reimbursementDate
:
this
.
repotData
.
reimbursementDate
?
dayjs
(
this
.
repotData
.
reimbursementDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
internalReimbursementDate
:
this
.
repotData
.
internalReimbursementDate
?
dayjs
(
this
.
repotData
.
internalReimbursementDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
handlerName
:
this
.
repotData
.
handlerName
,
handlerPhone
:
this
.
repotData
.
handlerPhone
,
reimbursementCountiesCode
:
this
.
repotData
.
reimbursementCountiesCode
,
...
...
@@ -837,6 +844,7 @@ export default {
reporterPhone
:
this
.
repotData
.
reporterPhone
,
reportDate
:
this
.
repotData
.
reportDate
?
dayjs
(
this
.
repotData
.
reportDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
reimbursementDate
:
this
.
repotData
.
reimbursementDate
?
dayjs
(
this
.
repotData
.
reimbursementDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
internalReimbursementDate
:
this
.
repotData
.
internalReimbursementDate
?
dayjs
(
this
.
repotData
.
internalReimbursementDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
''
,
handlerName
:
this
.
repotData
.
handlerName
,
handlerPhone
:
this
.
repotData
.
handlerPhone
,
reimbursementCountiesCode
:
this
.
repotData
.
reimbursementCountiesCode
,
...
...
src/views/claims/order.vue
View file @
0181795
...
...
@@ -89,6 +89,7 @@ export default {
contractNo
:
''
,
reportDate
:
''
,
reimbursementDate
:
''
,
internalReimbursementDate
:
''
,
reimbursementAddress
:
''
,
reporterName
:
''
,
reporterPhone
:
''
,
...
...
@@ -251,6 +252,7 @@ export default {
params
.
accountType
=
0
}
params
.
reimbursementDate
=
params
.
reimbursementDate
?
util
.
dateFormat
(
params
.
reimbursementDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
params
.
internalReimbursementDate
=
params
.
internalReimbursementDate
?
util
.
dateFormat
(
params
.
internalReimbursementDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
params
.
reportDate
=
params
.
reportDate
?
util
.
dateFormat
(
params
.
reportDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
if
(
params
.
reimbursementAddress
.
length
==
3
)
{
params
.
reimbursementProvinceCode
=
params
.
reimbursementAddress
[
0
]
...
...
@@ -406,7 +408,6 @@ export default {
//详情
getDetailById
()
{
this
.
$apis
.
claims
.
getClaimsDetail
({
id
:
this
.
routeInfo
.
orderId
}).
then
(
res
=>
{
console
.
log
(
res
,
'getDetailById'
)
this
.
refitInfo
=
res
?.
equityOrderDetail
||
{}
// 以下是report数据
for
(
let
key
in
this
.
editForm
)
{
...
...
@@ -629,6 +630,7 @@ export default {
}
params
.
operation
=
type
params
.
reimbursementDate
=
params
.
reimbursementDate
?
util
.
dateFormat
(
params
.
reimbursementDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
params
.
internalReimbursementDate
=
params
.
internalReimbursementDate
?
util
.
dateFormat
(
params
.
internalReimbursementDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
params
.
reportDate
=
params
.
reportDate
?
util
.
dateFormat
(
params
.
reportDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
if
(
params
.
reimbursementAddress
.
length
==
3
)
{
params
.
reimbursementProvinceCode
=
params
.
reimbursementAddress
[
0
]
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment