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
8cfd85b3
Commit
8cfd85b3
authored
Apr 25, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
f75347e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
11 deletions
+23
-11
splitDrawer.vue
...iness-approval/by-stages-apply/components/splitDrawer.vue
+8
-4
reduceDrawer.vue
...ness-approval/reduction-apply/components/reduceDrawer.vue
+15
-7
No files found.
src/views/business-approval/by-stages-apply/components/splitDrawer.vue
View file @
8cfd85b3
...
@@ -285,15 +285,19 @@
...
@@ -285,15 +285,19 @@
<el-button
<el-button
type=
"primary"
type=
"primary"
@
click=
"submitForm('fail')"
@
click=
"submitForm('fail')"
v-if=
"currentDetail.flowStatus === 'pending'"
v-if=
"
v-permission=
"'stages_apply_btn'"
currentDetail.flowStatus === 'pending' &&
(authButtonListGet.includes('stages_apply_btn') || authButtonListGet.includes('stages_tenant_apply_btn'))
"
>
不通过
</el-button
>
不通过
</el-button
>
>
<el-button
<el-button
type=
"primary"
type=
"primary"
@
click=
"submitForm('pass')"
@
click=
"submitForm('pass')"
v-if=
"currentDetail.flowStatus === 'pending'"
v-if=
"
v-permission=
"'stages_apply_btn'"
currentDetail.flowStatus === 'pending' &&
(authButtonListGet.includes('stages_apply_btn') || authButtonListGet.includes('stages_tenant_apply_btn'))
"
>
通过
</el-button
>
通过
</el-button
>
>
</div>
</div>
...
...
src/views/business-approval/reduction-apply/components/reduceDrawer.vue
View file @
8cfd85b3
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
@
click=
"submitForm('fail')"
@
click=
"submitForm('fail')"
v-if=
"
v-if=
"
currentDetail.flowStatus === 'pending' &&
currentDetail.flowStatus === 'pending' &&
authButtonListGet.includes('reduction_apply_btn'
)
(authButtonListGet.includes('reduction_apply_btn') || authButtonListGet.includes('reduction_tenant_apply_btn')
)
"
"
>
不通过
</el-button
>
不通过
</el-button
>
>
...
@@ -233,7 +233,7 @@
...
@@ -233,7 +233,7 @@
@
click=
"submitForm('pass')"
@
click=
"submitForm('pass')"
v-if=
"
v-if=
"
currentDetail.flowStatus === 'pending' &&
currentDetail.flowStatus === 'pending' &&
authButtonListGet.includes('reduction_apply_btn'
)
(authButtonListGet.includes('reduction_apply_btn') || authButtonListGet.includes('reduction_tenant_apply_btn')
)
"
"
>
通过
</el-button
>
通过
</el-button
>
>
...
@@ -555,16 +555,24 @@
...
@@ -555,16 +555,24 @@
const
params
=
{
const
params
=
{
...
currentDetail
.
value
,
...
currentDetail
.
value
,
askForStatus
:
'Pending'
,
askForStatus
:
'Pending'
,
repairTime
:
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
repairUser
:
{
username
:
userStore
.
userInfo
?.
username
,
id
:
userStore
.
userInfo
?.
id
,
},
flowStatus
:
type
,
flowStatus
:
type
,
...
form
,
...
form
,
images
:
images
.
length
>
0
?
images
:
null
,
images
:
images
.
length
>
0
?
images
:
null
,
reduceRecords
:
list
,
reduceRecords
:
list
,
};
};
if
(
authButtonListGet
.
includes
(
'reduction_tenant_apply_btn'
))
{
params
[
'tenantTime'
]
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
params
[
'tenantUser'
]
=
{
username
:
userStore
.
userInfo
?.
username
,
id
:
userStore
.
userInfo
?.
id
,
}
}
else
{
param
[
'repairTime'
]
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
param
[
'repairUser'
]
=
{
username
:
userStore
.
userInfo
?.
username
,
id
:
userStore
.
userInfo
?.
id
,
}
}
auditReduce
(
params
).
then
((
res
)
=>
{
auditReduce
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
ElMessage
.
success
({
ElMessage
.
success
({
...
...
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