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
22c15a8f
Commit
22c15a8f
authored
Apr 25, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8cfd85b3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
27 deletions
+31
-27
splitDrawer.vue
...iness-approval/by-stages-apply/components/splitDrawer.vue
+20
-12
index.vue
src/views/business-approval/by-stages-apply/index.vue
+2
-2
reduceDrawer.vue
...ness-approval/reduction-apply/components/reduceDrawer.vue
+6
-6
index.vue
src/views/business-approval/repayment-approve/index.vue
+3
-7
No files found.
src/views/business-approval/by-stages-apply/components/splitDrawer.vue
View file @
22c15a8f
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</h4>
</h4>
</
template
>
</
template
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
class=
"w-1/4 flex-shrink-0"
>
<div
class=
"w-1/4 flex-shrink-0
after-border
"
>
<p
class=
"font-bold mb-3"
>
审批进程
</p>
<p
class=
"font-bold mb-3"
>
审批进程
</p>
<div
:class=
"{ nopending: currentDetail.flowStatus !== 'pending' }"
>
<div
:class=
"{ nopending: currentDetail.flowStatus !== 'pending' }"
>
<el-timeline
style=
"max-width: 600px"
>
<el-timeline
style=
"max-width: 600px"
>
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
<el-form-item
class=
"w-full"
label=
"还款总额:"
prop=
"code"
>
<el-form-item
class=
"w-full"
label=
"还款总额:"
prop=
"code"
>
<el-input
<el-input
v-model=
"form.totalRepayAmount"
v-model=
"form.totalRepayAmount"
:disabled=
"currentDetail.flowStatus !== '
pending
' || !authButtonListGet.includes('stages_edit_btn')"
:disabled=
"currentDetail.flowStatus !== '
in_review
' || !authButtonListGet.includes('stages_edit_btn')"
placeholder=
"请输入"
placeholder=
"请输入"
@
change=
"changePeriod"
@
change=
"changePeriod"
/>
/>
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
@
click=
"editOrConfirm"
@
click=
"editOrConfirm"
class=
"mr-1 my-2"
class=
"mr-1 my-2"
v-permission=
"'stages_edit_btn'"
v-permission=
"'stages_edit_btn'"
v-if=
"currentDetail.flowStatus === '
pending
'"
v-if=
"currentDetail.flowStatus === '
in_review
'"
>
{{
editFirst
?
'确定'
:
'修改'
}}
</el-button
>
{{
editFirst
?
'确定'
:
'修改'
}}
</el-button
>
>
</div>
</div>
...
@@ -286,8 +286,8 @@
...
@@ -286,8 +286,8 @@
type=
"primary"
type=
"primary"
@
click=
"submitForm('fail')"
@
click=
"submitForm('fail')"
v-if=
"
v-if=
"
currentDetail.flowStatus === 'pending' &&
(currentDetail.flowStatus === 'pending' && authButtonListGet.includes('stages_tenant_apply_btn')) ||
(
authButtonListGet.includes('stages_apply_btn') || authButtonListGet.includes('stages_tenant
_apply_btn'))
(
currentDetail.flowStatus === 'in_review' && authButtonListGet.includes('stages
_apply_btn'))
"
"
>
不通过
</el-button
>
不通过
</el-button
>
>
...
@@ -295,8 +295,8 @@
...
@@ -295,8 +295,8 @@
type=
"primary"
type=
"primary"
@
click=
"submitForm('pass')"
@
click=
"submitForm('pass')"
v-if=
"
v-if=
"
currentDetail.flowStatus === 'pending' &&
(currentDetail.flowStatus === 'pending' && authButtonListGet.includes('stages_tenant_apply_btn')) ||
(
authButtonListGet.includes('stages_apply_btn') || authButtonListGet.includes('stages_tenant
_apply_btn'))
(
currentDetail.flowStatus === 'in_review' && authButtonListGet.includes('stages
_apply_btn'))
"
"
>
通过
</el-button
>
通过
</el-button
>
>
...
@@ -740,16 +740,24 @@
...
@@ -740,16 +740,24 @@
const
params
=
{
const
params
=
{
...
currentDetail
.
value
,
...
currentDetail
.
value
,
...
form
,
...
form
,
repairTime
:
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
repairUser
:
{
username
:
userStore
.
userInfo
?.
username
,
id
:
userStore
.
userInfo
?.
id
,
},
images
:
images
.
length
>
0
?
images
:
null
,
images
:
images
.
length
>
0
?
images
:
null
,
byStagesRecords
:
splitdata
.
value
,
byStagesRecords
:
splitdata
.
value
,
loans
:
selectdList
.
value
,
loans
:
selectdList
.
value
,
flowStatus
:
type
,
flowStatus
:
type
,
};
};
if
(
authButtonListGet
.
includes
(
'stages_tenant_apply_btn'
))
{
params
[
'tenantTime'
]
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
params
[
'tenantUser'
]
=
{
username
:
userStore
.
userInfo
?.
username
,
id
:
userStore
.
userInfo
?.
id
,
}
}
else
{
params
[
'repairTime'
]
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
params
[
'repairUser'
]
=
{
username
:
userStore
.
userInfo
?.
username
,
id
:
userStore
.
userInfo
?.
id
,
}
}
changeAmount
(
params
).
then
((
res
)
=>
{
changeAmount
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
ElMessage
.
success
({
ElMessage
.
success
({
...
...
src/views/business-approval/by-stages-apply/index.vue
View file @
22c15a8f
...
@@ -370,7 +370,7 @@
...
@@ -370,7 +370,7 @@
width
:
120
,
width
:
120
,
slots
:
{
slots
:
{
default
:
({
row
,
rowIndex
})
=>
{
default
:
({
row
,
rowIndex
})
=>
{
if
(
row
.
flowStatus
===
'pending'
&&
authButtonListGet
.
includes
(
'stages_apply_btn'
))
{
if
(
row
.
flowStatus
===
'pending'
&&
authButtonListGet
.
includes
(
'stages_
tenant_
apply_btn'
))
{
return
(
return
(
<>
<>
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)}
>
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)}
>
...
@@ -378,7 +378,7 @@
...
@@ -378,7 +378,7 @@
<
/ElButton
>
<
/ElButton
>
<
/
>
<
/
>
);
);
}
else
if
(
row
.
flowStatus
===
'in_review'
&&
authButtonListGet
.
includes
(
'stages_
tenant_
apply_btn'
))
{
}
else
if
(
row
.
flowStatus
===
'in_review'
&&
authButtonListGet
.
includes
(
'stages_apply_btn'
))
{
return
(
return
(
<>
<>
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)}
>
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)}
>
...
...
src/views/business-approval/reduction-apply/components/reduceDrawer.vue
View file @
22c15a8f
...
@@ -223,8 +223,8 @@
...
@@ -223,8 +223,8 @@
type=
"primary"
type=
"primary"
@
click=
"submitForm('fail')"
@
click=
"submitForm('fail')"
v-if=
"
v-if=
"
currentDetail.flowStatus === 'pending' &&
(currentDetail.flowStatus === 'pending' && authButtonListGet.includes('reduction_tenant_apply_btn')) ||
(
authButtonListGet.includes('reduction_apply_btn') || authButtonListGet.includes('reduction_tenant
_apply_btn'))
(
currentDetail.flowStatus === 'in_review' && authButtonListGet.includes('reduction
_apply_btn'))
"
"
>
不通过
</el-button
>
不通过
</el-button
>
>
...
@@ -232,8 +232,8 @@
...
@@ -232,8 +232,8 @@
type=
"primary"
type=
"primary"
@
click=
"submitForm('pass')"
@
click=
"submitForm('pass')"
v-if=
"
v-if=
"
currentDetail.flowStatus === 'pending' &&
(currentDetail.flowStatus === 'pending' && authButtonListGet.includes('reduction_tenant_apply_btn')) ||
(
authButtonListGet.includes('reduction_apply_btn') || authButtonListGet.includes('reduction_tenant
_apply_btn'))
(
currentDetail.flowStatus === 'in_review' && authButtonListGet.includes('reduction
_apply_btn'))
"
"
>
通过
</el-button
>
通过
</el-button
>
>
...
@@ -567,8 +567,8 @@
...
@@ -567,8 +567,8 @@
id
:
userStore
.
userInfo
?.
id
,
id
:
userStore
.
userInfo
?.
id
,
}
}
}
else
{
}
else
{
param
[
'repairTime'
]
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
param
s
[
'repairTime'
]
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
param
[
'repairUser'
]
=
{
param
s
[
'repairUser'
]
=
{
username
:
userStore
.
userInfo
?.
username
,
username
:
userStore
.
userInfo
?.
username
,
id
:
userStore
.
userInfo
?.
id
,
id
:
userStore
.
userInfo
?.
id
,
}
}
...
...
src/views/business-approval/repayment-approve/index.vue
View file @
22c15a8f
...
@@ -22,10 +22,8 @@
...
@@ -22,10 +22,8 @@
ref=
"ProTableRef"
ref=
"ProTableRef"
:api=
"getRepayRecordPage"
:api=
"getRepayRecordPage"
:paramCallback=
"paramCallback"
:paramCallback=
"paramCallback"
:selectdList=
"selectdList"
>
>
<
template
#
left_buttons
>
<!-- <template #left_buttons>
<!--
<el-button
type=
"primary"
>
下载申请
</el-button>
-->
<el-button
<el-button
type="primary"
type="primary"
@click="changeStatus"
@click="changeStatus"
...
@@ -34,9 +32,7 @@
...
@@ -34,9 +32,7 @@
:disabled="!selectdList || !selectdList.length"
:disabled="!selectdList || !selectdList.length"
>审批
>审批
</el-button>
</el-button>
<!--
<el-button
type=
"primary"
>
下载
</el-button>
</template> -->
<el-button
type=
"primary"
>
批量修复上传
</el-button>
-->
</
template
>
</ProTable>
</ProTable>
<vxe-modal
<vxe-modal
resize
resize
...
@@ -174,7 +170,7 @@
...
@@ -174,7 +170,7 @@
const
config
=
computed
(()
=>
{
const
config
=
computed
(()
=>
{
return
{
return
{
columns
:
[
columns
:
[
{
type
:
'checkbox'
,
width
:
60
,
fixed
:
'left'
}
,
//
{
type
:
'checkbox'
,
width
:
60
,
fixed
:
'left'
}
,
{
{
field
:
'caseId'
,
field
:
'caseId'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
...
...
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