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
ea7987a2
Commit
ea7987a2
authored
Apr 25, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业务审批
parent
c40dec0e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
99 additions
and
32 deletions
+99
-32
property.js
src/api/property.js
+4
-0
splitDrawer.vue
...iness-approval/by-stages-apply/components/splitDrawer.vue
+13
-2
index.vue
src/views/business-approval/by-stages-apply/index.vue
+25
-9
reduceDrawer.vue
...ness-approval/reduction-apply/components/reduceDrawer.vue
+15
-4
index.vue
src/views/business-approval/reduction-apply/index.vue
+25
-10
index.vue
src/views/business-approval/repayment-approve/index.vue
+17
-7
No files found.
src/api/property.js
View file @
ea7987a2
...
@@ -61,6 +61,10 @@ export const repayRecordFlowStatusByIds = (params) => {
...
@@ -61,6 +61,10 @@ export const repayRecordFlowStatusByIds = (params) => {
export
const
saveReduce
=
(
data
)
=>
{
export
const
saveReduce
=
(
data
)
=>
{
return
request
.
post
(
'/reduce/save'
,
data
);
return
request
.
post
(
'/reduce/save'
,
data
);
};
};
// 减免申请审批
export
const
auditReduce
=
(
data
)
=>
{
return
request
.
post
(
'/reduce/audit'
,
data
);
};
// 减免申请列表
// 减免申请列表
export
const
getReducePage
=
(
params
)
=>
{
export
const
getReducePage
=
(
params
)
=>
{
return
request
.
get
(
'/reduce/page'
,
params
);
return
request
.
get
(
'/reduce/page'
,
params
);
...
...
src/views/business-approval/by-stages-apply/components/splitDrawer.vue
View file @
ea7987a2
...
@@ -36,14 +36,25 @@
...
@@ -36,14 +36,25 @@
currentDetail?.applyUser?.username
currentDetail?.applyUser?.username
}}
</span>
}}
</span>
</el-timeline-item>
</el-timeline-item>
<el-timeline-item
:timestamp=
"currentDetail?.tenantTime"
:color=
"currentDetail.tenantUser ? '#234ca3' : null"
>
<p
class=
"font-bold text-sm"
>
调解中心审批环节
</p>
<span
class=
"text-xs bg-gray-200 rounded-sm text-slate-900 px-2"
v-if=
"currentDetail.tenantUser"
>
{{ currentDetail?.tenantUser?.username }}
</span
>
</el-timeline-item>
<el-timeline-item
<el-timeline-item
:timestamp=
"currentDetail?.repairTime"
:timestamp=
"currentDetail?.repairTime"
:color=
"currentDetail.
flowStatus !== 'pending'
? '#234ca3' : null"
:color=
"currentDetail.
repairUser
? '#234ca3' : null"
>
>
<p
class=
"font-bold text-sm"
>
平台审批环节
</p>
<p
class=
"font-bold text-sm"
>
平台审批环节
</p>
<span
<span
class=
"text-xs bg-gray-200 rounded-sm text-slate-900 px-2"
class=
"text-xs bg-gray-200 rounded-sm text-slate-900 px-2"
v-if=
"currentDetail.
flowStatus !== 'pending'
"
v-if=
"currentDetail.
repairUser
"
>
{{ currentDetail?.repairUser?.username }}
</span
>
{{ currentDetail?.repairUser?.username }}
</span
>
>
</el-timeline-item>
</el-timeline-item>
...
...
src/views/business-approval/by-stages-apply/index.vue
View file @
ea7987a2
...
@@ -370,15 +370,31 @@
...
@@ -370,15 +370,31 @@
width
:
120
,
width
:
120
,
slots
:
{
slots
:
{
default
:
({
row
,
rowIndex
})
=>
{
default
:
({
row
,
rowIndex
})
=>
{
return
(
if
(
row
.
flowStatus
===
'pending'
&&
authButtonListGet
.
includes
(
'stages_apply_btn'
))
{
<>
return
(
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)}
>
<>
{
row
.
flowStatus
===
'pending'
&&
authButtonListGet
.
includes
(
'stages_apply_btn'
)
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)}
>
?
'查看并审核'
调解中心审核
:
'查看'
}
<
/ElButton
>
<
/ElButton
>
<
/
>
<
/
>
);
);
}
else
if
(
row
.
flowStatus
===
'in_review'
&&
authButtonListGet
.
includes
(
'stages_tenant_apply_btn'
))
{
return
(
<>
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)}
>
平台审核
<
/ElButton
>
<
/
>
);
}
else
{
return
(
<>
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)}
>
查看
<
/ElButton
>
<
/
>
);
}
},
},
},
},
},
},
...
...
src/views/business-approval/reduction-apply/components/reduceDrawer.vue
View file @
ea7987a2
...
@@ -38,14 +38,25 @@
...
@@ -38,14 +38,25 @@
currentDetail?.applyUser?.username
currentDetail?.applyUser?.username
}}
</span>
}}
</span>
</el-timeline-item>
</el-timeline-item>
<el-timeline-item
:timestamp=
"currentDetail?.tenantTime"
:color=
"currentDetail.tenantUser ? '#234ca3' : null"
>
<p
class=
"font-bold text-sm"
>
调解中心审批环节
</p>
<span
class=
"text-xs bg-gray-200 rounded-sm text-slate-900 px-2"
v-if=
"currentDetail.tenantUser"
>
{{ currentDetail?.tenantUser?.username }}
</span
>
</el-timeline-item>
<el-timeline-item
<el-timeline-item
:timestamp=
"currentDetail?.repairTime"
:timestamp=
"currentDetail?.repairTime"
:color=
"currentDetail.
flowStatus !== 'pending'
? '#234ca3' : null"
:color=
"currentDetail.
repairUser
? '#234ca3' : null"
>
>
<p
class=
"font-bold text-sm"
>
平台审批环节
</p>
<p
class=
"font-bold text-sm"
>
平台审批环节
</p>
<span
<span
class=
"text-xs bg-gray-200 rounded-sm text-slate-900 px-2"
class=
"text-xs bg-gray-200 rounded-sm text-slate-900 px-2"
v-if=
"currentDetail.
flowStatus !== 'pending'
"
v-if=
"currentDetail.
repairUser
"
>
{{ currentDetail?.repairUser?.username }}
</span
>
{{ currentDetail?.repairUser?.username }}
</span
>
>
</el-timeline-item>
</el-timeline-item>
...
@@ -237,7 +248,7 @@
...
@@ -237,7 +248,7 @@
import
dayjs
from
'dayjs'
;
import
dayjs
from
'dayjs'
;
import
{
computed
}
from
'vue'
;
import
{
computed
}
from
'vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
save
Reduce
}
from
'@/api/property'
;
import
{
audit
Reduce
}
from
'@/api/property'
;
import
{
ElMessage
,
ElTag
}
from
'element-plus'
;
import
{
ElMessage
,
ElTag
}
from
'element-plus'
;
import
{
Download
,
ZoomIn
}
from
'@element-plus/icons-vue'
;
import
{
Download
,
ZoomIn
}
from
'@element-plus/icons-vue'
;
import
{
listByBorrower
}
from
'@/api/property'
;
import
{
listByBorrower
}
from
'@/api/property'
;
...
@@ -554,7 +565,7 @@
...
@@ -554,7 +565,7 @@
images
:
images
.
length
>
0
?
images
:
null
,
images
:
images
.
length
>
0
?
images
:
null
,
reduceRecords
:
list
,
reduceRecords
:
list
,
};
};
save
Reduce
(
params
).
then
((
res
)
=>
{
audit
Reduce
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
ElMessage
.
success
({
ElMessage
.
success
({
message
:
'保存成功'
,
message
:
'保存成功'
,
...
...
src/views/business-approval/reduction-apply/index.vue
View file @
ea7987a2
...
@@ -329,16 +329,31 @@
...
@@ -329,16 +329,31 @@
width
:
120
,
width
:
120
,
slots
:
{
slots
:
{
default
:
({
row
,
rowIndex
})
=>
{
default
:
({
row
,
rowIndex
})
=>
{
return
(
if
(
row
.
flowStatus
===
'pending'
&&
authButtonListGet
.
includes
(
'reduction_tenant_apply_btn'
))
{
<>
return
(
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)}
>
<>
{
row
.
flowStatus
===
'pending'
&&
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)}
>
authButtonListGet
.
includes
(
'reduction_apply_btn'
)
调解中心审核
?
'查看并审核'
<
/ElButton
>
:
'查看'
}
<
/
>
<
/ElButton
>
);
<
/
>
}
else
if
(
row
.
flowStatus
===
'in_review'
&&
authButtonListGet
.
includes
(
'reduction_apply_btn'
))
{
);
return
(
<>
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)}
>
平台审核
<
/ElButton
>
<
/
>
);
}
else
{
return
(
<>
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)}
>
查看
<
/ElButton
>
<
/
>
);
}
},
},
},
},
},
},
...
...
src/views/business-approval/repayment-approve/index.vue
View file @
ea7987a2
...
@@ -339,13 +339,23 @@
...
@@ -339,13 +339,23 @@
:
false
,
:
false
,
slots
:
{
slots
:
{
default
:
({
row
,
rowIndex
}
)
=>
{
default
:
({
row
,
rowIndex
}
)
=>
{
return
(
if
(
row
.
flowStatus
===
'pending'
&&
authButtonListGet
.
includes
(
'repayment_tenant_apply_btn'
))
{
<>
return
(
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)
}
>
<>
审批
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)
}
>
<
/ElButton
>
调解中心审核
<
/
>
<
/ElButton
>
);
<
/
>
);
}
else
if
(
row
.
flowStatus
===
'in_review'
&&
authButtonListGet
.
includes
(
'repayment_apply_btn'
))
{
return
(
<>
<
ElButton
type
=
"primary"
onClick
=
{()
=>
changeStatus
(
row
)
}
>
平台审核
<
/ElButton
>
<
/
>
);
}
}
,
}
,
}
,
}
,
}
,
}
,
...
...
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