Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
何远江
yishuju-ui
Commits
3d18bfdb
Commit
3d18bfdb
authored
Feb 27, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
b28dede8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
113 additions
and
39 deletions
+113
-39
index.vue
src/views/business-approval/repair-approve/index.vue
+101
-27
index.vue
src/views/property/repair-manage/index.vue
+12
-12
No files found.
src/views/business-approval/repair-approve/index.vue
View file @
3d18bfdb
...
...
@@ -59,6 +59,9 @@
import
{
ElMessageBox
,
ElMessage
,
ElButton
}
from
'element-plus'
;
import
{
getTenantPage
}
from
'@/api/tenant'
;
import
{
useDict
}
from
'@/hooks/useDict'
;
import
citydata
from
'../../../assets/citydata'
;
import
{
getPlatformPage
}
from
'@/api/platform'
;
import
{
VxeTextEllipsis
,
VxeTooltip
}
from
'vxe-pc-ui'
;
const
{
PhoneResultStatus
,
ReduceType
,
FlowStatus
,
FollowStatus
,
CaseStatus
}
=
useDict
(
"PhoneResultStatus"
,
"ReduceType"
,
"FlowStatus"
,
"FollowStatus"
,
"CaseStatus"
);
const
tabledata
=
ref
([]);
...
...
@@ -86,15 +89,28 @@
const
paramCallback
=
(
param
)
=>
{
const
obj
=
JSON
.
parse
(
JSON
.
stringify
(
param
));
obj
[
'flowStatus'
]
=
activeName
.
value
;
if
(
obj
[
'trackTime'
])
{
if
(
obj
[
'trackTime'
][
0
])
obj
[
'trackTimeBegin'
]
=
obj
[
'trackTime'
][
0
];
if
(
obj
[
'trackTime'
][
1
])
obj
[
'trackTimeEnd'
]
=
obj
[
'trackTime'
][
1
];
delete
obj
[
'trackTime'
];
if
(
obj
.
arealist
&&
obj
.
arealist
.
length
>
0
)
{
const
domicileProvince
=
[]
const
domicileCity
=
[]
const
area
=
[]
obj
.
arealist
.
forEach
(
item
=>
{
domicileProvince
.
push
(
item
[
0
])
if
(
item
.
length
>
1
)
{
domicileCity
.
push
(
item
[
1
])
}
if
(
item
.
length
>
2
)
{
area
.
push
(
item
[
2
])
}
})
obj
[
'domicileProvince'
]
=
domicileProvince
obj
[
'domicileCity'
]
=
domicileCity
obj
[
'area'
]
=
area
delete
obj
[
'arealist'
];
}
if
(
obj
[
'
nex
tTime'
])
{
if
(
obj
[
'
nextTime'
][
0
])
obj
[
'nextTrackTimeBegin'
]
=
obj
[
'nex
tTime'
][
0
];
if
(
obj
[
'
nextTime'
][
1
])
obj
[
'nextTrackTimeEnd'
]
=
obj
[
'nex
tTime'
][
1
];
delete
obj
[
'
nex
tTime'
];
if
(
obj
[
'
impor
tTime'
])
{
if
(
obj
[
'
importTime'
][
0
])
obj
[
'importTimeBegin'
]
=
obj
[
'impor
tTime'
][
0
];
if
(
obj
[
'
importTime'
][
1
])
obj
[
'importTimeEnd'
]
=
obj
[
'impor
tTime'
][
1
];
delete
obj
[
'
impor
tTime'
];
}
setTimeout
(()
=>
{
const
arr
=
JSON
.
parse
(
JSON
.
stringify
(
FlowStatus
.
value
))
...
...
@@ -165,14 +181,85 @@
// },
},
{
field
:
'newName'
,
title
:
'联系人姓名'
,
field
:
'loanPlatform.name'
,
showOverflow
:
'tooltip'
,
width
:
140
,
visible
:
false
,
enum
:
()
=>
getPlatformPage
({
current
:
1
,
size
:
999999999
,
status
:
'enable'
}),
search
:
{
el
:
'select'
,
props
:
{
filterable
:
true
},
key
:
'loanPlatform'
,
labelWidth
:
105
},
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
title
:
'借款平台'
,
width
:
100
,
},
{
field
:
'commissionAmount'
,
title
:
'委案金额'
,
visible
:
false
,
showOverflow
:
'tooltip'
,
width
:
80
,
search
:
{
render
:
({
searchParam
})
=>
{
return
(
<
div
class
=
"flex"
>
<
el
-
input
vModel_trim
=
{
searchParam
.
commissionAmountBegin
}
placeholder
=
""
/>
<
span
class
=
"mr-1 ml-1"
>-<
/span
>
<
el
-
input
vModel_trim
=
{
searchParam
.
commissionAmountEnd
}
placeholder
=
""
/>
<
/div
>
);
},
props
:
{
clearable
:
true
},
labelWidth
:
105
},
},
{
field
:
'borrower.age'
,
title
:
'年龄'
,
showOverflow
:
'tooltip'
,
width
:
80
,
search
:
{
render
:
({
searchParam
})
=>
{
return
(
<
div
class
=
"flex"
>
<
el
-
input
vModel_trim
=
{
searchParam
.
ageBegin
}
placeholder
=
""
/>
<
span
class
=
"mr-1 ml-1"
>-<
/span
>
<
el
-
input
vModel_trim
=
{
searchParam
.
ageEnd
}
placeholder
=
""
/>
<
/div
>
);
},
props
:
{
clearable
:
true
},
labelWidth
:
105
},
},
{
field
:
'arealist'
,
enum
:
citydata
,
title
:
'所属区域'
,
showOverflow
:
'tooltip'
,
width
:
160
,
fieldNames
:
{
label
:
'label'
,
value
:
'value'
},
search
:
{
el
:
'cascader'
,
props
:
{
clearable
:
true
,
checkStrictly
:
true
,
multiple
:
true
,
'collapse-tags'
:
true
},
labelWidth
:
105
},
slots
:
{
default
:
({
row
})
=>
{
return
(
<
VxeTooltip
content
=
{
row
.
borrower
.
domicileProvince
+
(
row
.
borrower
.
domicileCity
?
'-'
+
row
.
borrower
.
domicileCity
:
''
)
+
(
row
.
borrower
.
area
?
'-'
+
row
.
borrower
.
area
:
''
)
}
>
<
VxeTextEllipsis
content
=
{
row
.
borrower
.
domicileProvince
+
(
row
.
borrower
.
domicileCity
?
'-'
+
row
.
borrower
.
domicileCity
:
''
)
+
(
row
.
borrower
.
area
?
'-'
+
row
.
borrower
.
area
:
''
)
}
><
/VxeTextEllipsis
>
<
/VxeTooltip
>
);
},
},
},
{
field
:
'importTime'
,
title
:
'时间'
,
showOverflow
:
'tooltip'
,
width
:
130
,
visible
:
false
,
search
:
{
el
:
'input'
,
props
:
{
clearable
:
true
},
key
:
'name'
,
el
:
'date-picker'
,
props
:
{
type
:
'daterange'
,
valueFormat
:
'YYYY-MM-DD'
},
labelWidth
:
105
,
},
},
...
...
@@ -200,19 +287,6 @@
labelWidth
:
105
,
},
},
{
title
:
'CPE'
,
showOverflow
:
'tooltip'
,
width
:
60
,
slots
:
{
default
:
({
row
})
=>
{
return
(
<>
{
row
.
cpe
?.
username
}
<
/
>
);
},
},
search
:
{
el
:
'input'
,
props
:
{
clearable
:
true
},
key
:
'cpeName'
,
labelWidth
:
105
},
},
{
showOverflow
:
'tooltip'
,
slots
:
{
...
...
src/views/property/repair-manage/index.vue
View file @
3d18bfdb
...
...
@@ -158,6 +158,18 @@
// labelWidth: 105,
// },
},
{
field
:
'borrower.idCard'
,
title
:
'借款人身份证'
,
showOverflow
:
'tooltip'
,
width
:
140
,
// search: {
// el: 'input',
// props: { clearable: true },
// key: 'borrowerIdCard',
// labelWidth: 105,
// },
},
{
field
:
'loanPlatform.name'
,
showOverflow
:
'tooltip'
,
...
...
@@ -241,18 +253,6 @@
labelWidth
:
105
,
},
},
{
field
:
'borrower.idCard'
,
title
:
'借款人身份证'
,
showOverflow
:
'tooltip'
,
width
:
140
,
// search: {
// el: 'input',
// props: { clearable: true },
// key: 'borrowerIdCard',
// labelWidth: 105,
// },
},
{
field
:
'oldPhone'
,
title
:
'修复前联系方式'
,
...
...
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