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 3dee3b4c
authored
Apr 29, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认值bug修改
1 parent
3ad10f3c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
8 deletions
src/views/claims/ghIndex.vue
src/views/claims/ghOrder.vue
src/views/claims/index.vue
src/views/claims/order.vue
src/views/claims/ghIndex.vue
View file @
3dee3b4
...
...
@@ -117,7 +117,7 @@ export default {
{
label
:
'报案号'
,
prop
:
'registNo'
,
width
:
'2
0
0'
,
width
:
'2
2
0'
,
formatter
:
cellValue
=>
{
return
cellValue
.
registNo
||
'-'
}
...
...
src/views/claims/ghOrder.vue
View file @
3dee3b4
...
...
@@ -96,7 +96,9 @@ export default {
changeObjectType
(
newVal
)
{
if
(
newVal
===
1
)
{
this
.
saveObj
.
objectType
=
newVal
this
.
accountForm
=
{
...
this
.
saveObj
}
delete
this
.
saveObj
.
handlerName
delete
this
.
saveObj
.
handlerPhone
this
.
accountForm
=
{
...
this
.
accountForm
,
...
this
.
saveObj
}
}
else
{
this
.
saveObj
=
{
...
this
.
accountForm
}
this
.
getAccountInfo
(
this
.
editForm
.
contractNo
)
...
...
@@ -121,7 +123,7 @@ export default {
this
.
accountForm
[
key
]
=
res
[
key
]
}
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
accoun
tType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
objec
tType
=
0
this
.
serviceItemsList
=
serviceItemsList
// 以下是文件数据
res
.
files
.
forEach
(
item
=>
{
...
...
@@ -170,7 +172,7 @@ export default {
// }
this
.
accountForm
=
{
...
this
.
accountForm
,
...
result
}
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
accoun
tType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
objec
tType
=
0
})
},
// 根据页面跳转参数处理表单信息-自动填入
...
...
@@ -243,6 +245,9 @@ export default {
if
(
params
.
accountType
!==
1
)
{
params
.
accountType
=
0
}
if
(
params
.
objectType
!==
1
)
{
params
.
objectType
=
0
}
params
.
operation
=
type
params
.
reimbursementDate
=
params
.
reimbursementDate
?
util
.
dateFormat
(
params
.
reimbursementDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
params
.
reportDate
=
params
.
reportDate
?
util
.
dateFormat
(
params
.
reportDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
...
...
src/views/claims/index.vue
View file @
3dee3b4
...
...
@@ -117,7 +117,7 @@ export default {
{
label
:
'报案号'
,
prop
:
'registNo'
,
width
:
'2
0
0'
,
width
:
'2
2
0'
,
formatter
:
cellValue
=>
{
return
cellValue
.
registNo
||
'-'
}
...
...
src/views/claims/order.vue
View file @
3dee3b4
...
...
@@ -96,7 +96,9 @@ export default {
changeObjectType
(
newVal
)
{
if
(
newVal
===
1
)
{
this
.
saveObj
.
objectType
=
newVal
this
.
accountForm
=
{
...
this
.
saveObj
}
delete
this
.
saveObj
.
handlerName
delete
this
.
saveObj
.
handlerPhone
this
.
accountForm
=
{
...
this
.
accountForm
,
...
this
.
saveObj
}
}
else
{
this
.
saveObj
=
{
...
this
.
accountForm
}
this
.
getAccountInfo
(
this
.
editForm
.
contractNo
)
...
...
@@ -121,7 +123,7 @@ export default {
this
.
accountForm
[
key
]
=
res
[
key
]
}
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
accoun
tType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
objec
tType
=
0
this
.
serviceItemsList
=
serviceItemsList
// 以下是文件数据
res
.
files
.
forEach
(
item
=>
{
...
...
@@ -170,7 +172,7 @@ export default {
// }
this
.
accountForm
=
{
...
this
.
accountForm
,
...
result
}
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
accoun
tType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
objec
tType
=
0
})
},
// 根据页面跳转参数处理表单信息-自动填入
...
...
@@ -243,6 +245,9 @@ export default {
if
(
params
.
accountType
!==
1
)
{
params
.
accountType
=
0
}
if
(
params
.
objectType
!==
1
)
{
params
.
objectType
=
0
}
params
.
operation
=
type
params
.
reimbursementDate
=
params
.
reimbursementDate
?
util
.
dateFormat
(
params
.
reimbursementDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
params
.
reportDate
=
params
.
reportDate
?
util
.
dateFormat
(
params
.
reportDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
''
...
...
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