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
b8f2984e
Commit
b8f2984e
authored
Feb 11, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业务审批增加字段
parent
ac42f53d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
94 additions
and
4 deletions
+94
-4
index.vue
src/views/business-approval/by-stages-apply/index.vue
+29
-0
index.vue
src/views/business-approval/reduction-apply/index.vue
+17
-4
index.vue
src/views/business-approval/repayment-approve/index.vue
+48
-0
No files found.
src/views/business-approval/by-stages-apply/index.vue
View file @
b8f2984e
...
@@ -138,6 +138,7 @@
...
@@ -138,6 +138,7 @@
import
{
getByStagesPage
,
byStagesflowStatusByIds
}
from
'@/api/property'
;
import
{
getByStagesPage
,
byStagesflowStatusByIds
}
from
'@/api/property'
;
import
{
onMounted
}
from
'vue'
;
import
{
onMounted
}
from
'vue'
;
import
{
ElMessageBox
,
ElMessage
,
ElButton
}
from
'element-plus'
;
import
{
ElMessageBox
,
ElMessage
,
ElButton
}
from
'element-plus'
;
import
{
getTenantPage
}
from
'@/api/tenant'
;
const
ProTableRef
=
ref
();
const
ProTableRef
=
ref
();
const
showModal
=
ref
(
false
);
const
showModal
=
ref
(
false
);
...
@@ -301,6 +302,34 @@
...
@@ -301,6 +302,34 @@
search
:
{
el
:
'input'
,
key
:
'borrower'
,
labelWidth
:
80
},
search
:
{
el
:
'input'
,
key
:
'borrower'
,
labelWidth
:
80
},
width
:
90
,
width
:
90
,
},
},
{
title
:
'CPE'
,
showOverflow
:
'tooltip'
,
width
:
60
,
slots
:
{
default
:
({
row
})
=>
{
return
(
<>
{
Array
.
from
(
new
Set
(
row
.
loans
.
map
((
v
)
=>
v
?.
cpe
?.
username
))).
join
(
','
)}
<
/
>
);
},
},
// search: { el: 'input', props: { clearable: true }, key: 'cpeName', labelWidth: 78 },
},
{
showOverflow
:
'tooltip'
,
slots
:
{
default
:
({
row
})
=>
{
return
(
<>
{
Array
.
from
(
new
Set
(
row
.
loans
.
map
((
v
)
=>
v
?.
tenant
?.
name
))).
join
(
','
)}
<
/
>
);
},
},
enum
:
()
=>
getTenantPage
({
current
:
1
,
size
:
999999999
,
status
:
'enable'
}),
// search: { el: 'select', props: { filterable: true }, key: 'tenantId', labelWidth: 78 },
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
title
:
'调解中心'
,
width
:
100
,
},
{
{
field
:
'totalRepayAmount'
,
field
:
'totalRepayAmount'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
...
...
src/views/business-approval/reduction-apply/index.vue
View file @
b8f2984e
...
@@ -116,6 +116,7 @@
...
@@ -116,6 +116,7 @@
import
{
getReducePage
,
flowStatusByIds
}
from
'@/api/property'
;
import
{
getReducePage
,
flowStatusByIds
}
from
'@/api/property'
;
import
{
onMounted
}
from
'vue'
;
import
{
onMounted
}
from
'vue'
;
import
{
ElMessageBox
,
ElMessage
,
ElButton
}
from
'element-plus'
;
import
{
ElMessageBox
,
ElMessage
,
ElButton
}
from
'element-plus'
;
import
{
getTenantPage
}
from
'@/api/tenant'
;
const
ProTableRef
=
ref
();
const
ProTableRef
=
ref
();
const
showModal
=
ref
(
false
);
const
showModal
=
ref
(
false
);
...
@@ -249,17 +250,29 @@
...
@@ -249,17 +250,29 @@
width
:
120
,
width
:
120
,
},
},
{
{
field
:
'cpe.username'
,
title
:
'CPE'
,
title
:
'CPE'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
60
,
width
:
60
,
search
:
{
el
:
'input'
,
props
:
{
clearable
:
true
},
key
:
'cpeName'
,
labelWidth
:
78
},
slots
:
{
default
:
({
row
})
=>
{
return
(
<>
{
Array
.
from
(
new
Set
(
row
.
reduceRecords
.
map
((
v
)
=>
v
.
loan
?.
cpe
?.
username
))).
join
(
','
)}
<
/
>
);
},
},
// search: { el: 'input', props: { clearable: true }, key: 'cpeName', labelWidth: 78 },
},
},
{
{
field
:
'tenant.name'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
slots
:
{
default
:
({
row
})
=>
{
return
(
<>
{
Array
.
from
(
new
Set
(
row
.
reduceRecords
.
map
((
v
)
=>
v
.
loan
?.
tenant
?.
name
))).
join
(
','
)}
<
/
>
);
},
},
enum
:
()
=>
getTenantPage
({
current
:
1
,
size
:
999999999
,
status
:
'enable'
}),
enum
:
()
=>
getTenantPage
({
current
:
1
,
size
:
999999999
,
status
:
'enable'
}),
search
:
{
el
:
'select'
,
props
:
{
filterable
:
true
},
key
:
'tenantId'
,
labelWidth
:
78
},
//
search: { el: 'select', props: { filterable: true }, key: 'tenantId', labelWidth: 78 },
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
title
:
'调解中心'
,
title
:
'调解中心'
,
width
:
100
,
width
:
100
,
...
...
src/views/business-approval/repayment-approve/index.vue
View file @
b8f2984e
...
@@ -127,6 +127,54 @@
...
@@ -127,6 +127,54 @@
search
:
{
el
:
'input'
,
key
:
'borrower'
,
labelWidth
:
80
},
search
:
{
el
:
'input'
,
key
:
'borrower'
,
labelWidth
:
80
},
width
:
90
,
width
:
90
,
},
},
{
title
:
'CPE'
,
showOverflow
:
'tooltip'
,
width
:
60
,
slots
:
{
default
:
({
row
})
=>
{
if
(
row
.
reduce
&&
row
.
reduce
.
reduceRecords
)
{
return
(
<>
{
Array
.
from
(
new
Set
(
row
.
reduce
.
reduceRecords
.
map
((
v
)
=>
v
.
loan
?.
cpe
?.
username
))).
join
(
','
)}
<
/
>
);
}
else
if
(
row
.
stages
&&
row
.
stages
.
loans
)
{
return
<>
{
Array
.
from
(
new
Set
(
row
.
stages
.
loans
.
map
((
v
)
=>
v
?.
cpe
?.
username
))).
join
(
','
)}
<
/>
;
}
else
{
return
<>
{
row
.
loan
?.
cpe
?.
username
}
<
/>
;
}
},
},
// search: { el: 'input', props: { clearable: true }, key: 'cpeName', labelWidth: 78 },
},
{
showOverflow
:
'tooltip'
,
slots
:
{
default
:
({
row
})
=>
{
if
(
row
.
reduce
&&
row
.
reduce
.
reduceRecords
)
{
return
(
<>
{
Array
.
from
(
new
Set
(
row
.
reduce
.
reduceRecords
.
map
((
v
)
=>
v
.
loan
?.
tenant
?.
username
))).
join
(
','
)}
<
/
>
);
}
else
if
(
row
.
stages
&&
row
.
stages
.
loans
)
{
return
<>
{
Array
.
from
(
new
Set
(
row
.
stages
.
loans
.
map
((
v
)
=>
v
?.
tenant
?.
username
))).
join
(
','
)}
<
/>
;
}
else
{
return
<>
{
row
.
loan
?.
tenant
?.
username
}
<
/>
;
}
},
},
enum
:
()
=>
getTenantPage
({
current
:
1
,
size
:
999999999
,
status
:
'enable'
}),
// search: { el: 'select', props: { filterable: true }, key: 'tenantId', labelWidth: 78 },
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
title
:
'调解中心'
,
width
:
100
,
},
{
{
field
:
'id'
,
field
:
'id'
,
title
:
'还款记录ID'
,
title
:
'还款记录ID'
,
...
...
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