Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-qyxzpt-vue-report
Overview
Overview
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
余浩
xzxt-qyxzpt-vue-report
Commits
288b44cc
Commit
288b44cc
authored
May 21, 2024
by
xue_wengang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
驳回功能
parent
f556682d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
86 additions
and
4 deletions
+86
-4
src/views/baxz/queryBaxz.vue
+28
-2
src/views/baxz/queryDbxz.vue
+30
-1
src/views/baxz/queryYbxz.vue
+28
-1
No files found.
src/views/baxz/queryBaxz.vue
View file @
288b44cc
...
...
@@ -63,7 +63,7 @@
class=
"hbyp"
type=
"text"
v-if=
"
scope.scope.xzzt == '0'
&&
(scope.scope.xzzt == '0' || scope.scope.xzzt == '5')
&&
scope.scope.xxczryGmsfhm == userAuth.identitycard
"
size=
"mini"
...
...
@@ -74,7 +74,7 @@
class=
"hbyp"
type=
"text"
v-if=
"
scope.scope.xzzt == '0'
&&
(scope.scope.xzzt == '0' || scope.scope.xzzt == '5')
&&
scope.scope.xxczryGmsfhm == userAuth.identitycard
"
size=
"mini"
...
...
@@ -94,6 +94,18 @@
@
click=
"backBtn(scope.scope)"
>
退回
</el-button
>
<el-button
class=
"hbyp"
type=
"text"
:loading=
"loadingBack"
v-if=
"
scope.scope.xzzt != 0 && scope.scope.xzzt != 5
"
v-permission=
"['C1902', 'F010101']"
size=
"mini"
@
click=
"bhBtn(scope.scope)"
>
驳回
</el-button
>
</
template
>
</Mytable>
</div>
...
...
@@ -339,6 +351,20 @@ export default {
}
}
catch
(
error
)
{}
},
async
bhBtn
(
rows
)
{
this
.
loadingBack
=
true
;
const
params
=
new
FormData
();
params
.
append
(
"xzzt"
,
"5"
);
params
.
append
(
"xxzjbh"
,
rows
.
xxzjbh
);
let
res
=
await
shXzqqXx
(
params
);
try
{
if
(
res
&&
res
.
code
==
200
)
{
this
.
loadingBack
=
false
;
this
.
$message
.
success
(
"驳回成功!"
);
this
.
getList
();
}
}
catch
(
error
)
{}
},
async
toApprovalBtn
(
rows
)
{
this
.
loadingAPP
=
true
;
const
params
=
new
FormData
();
...
...
src/views/baxz/queryDbxz.vue
View file @
288b44cc
...
...
@@ -46,7 +46,22 @@
@
handleCurrentChange=
"handleCurrentChange"
@
rowBtn=
"rowBtn"
@
rowOperation=
"rowOperation"
></Mytable>
>
<template
#
btnGroup=
"scope"
>
<el-button
class=
"hbyp"
type=
"text"
:loading=
"loadingBack"
v-if=
"
scope.scope.xzzt != 0 && scope.scope.xzzt != 5
"
v-permission=
"['C1902', 'F010101']"
size=
"mini"
@
click=
"bhBtn(scope.scope)"
>
驳回
</el-button
>
</
template
>
</Mytable>
</div>
</div>
<!-- 审核 -->
...
...
@@ -237,6 +252,20 @@ export default {
this
.
getList
();
},
methods
:
{
async
bhBtn
(
rows
)
{
this
.
loadingBack
=
true
;
const
params
=
new
FormData
();
params
.
append
(
"xzzt"
,
"5"
);
params
.
append
(
"xxzjbh"
,
rows
.
xxzjbh
);
let
res
=
await
shXzqqXx
(
params
);
try
{
if
(
res
&&
res
.
code
==
200
)
{
this
.
loadingBack
=
false
;
this
.
$message
.
success
(
"驳回成功!"
);
this
.
getList
();
}
}
catch
(
error
)
{}
},
downFile
()
{
this
.
loadings
=
true
;
const
params
=
new
FormData
();
...
...
src/views/baxz/queryYbxz.vue
View file @
288b44cc
...
...
@@ -46,7 +46,20 @@
@
handleCurrentChange=
"handleCurrentChange"
@
rowBtn=
"rowBtn"
@
rowOperation=
"rowOperation"
></Mytable>
>
<template
#
btnGroup=
"scope"
>
<el-button
class=
"hbyp"
type=
"text"
:loading=
"loadingBack"
v-if=
"scope.scope.xzzt != 0 && scope.scope.xzzt != 5"
v-permission=
"['C1902', 'F010101']"
size=
"mini"
@
click=
"bhBtn(scope.scope)"
>
驳回
</el-button
>
</
template
>
</Mytable>
</div>
</div>
</div>
...
...
@@ -176,6 +189,20 @@ export default {
this
.
getList
();
},
methods
:
{
async
bhBtn
(
rows
)
{
this
.
loadingBack
=
true
;
const
params
=
new
FormData
();
params
.
append
(
"xzzt"
,
"5"
);
params
.
append
(
"xxzjbh"
,
rows
.
xxzjbh
);
let
res
=
await
shXzqqXx
(
params
);
try
{
if
(
res
&&
res
.
code
==
200
)
{
this
.
loadingBack
=
false
;
this
.
$message
.
success
(
"驳回成功!"
);
this
.
getList
();
}
}
catch
(
error
)
{}
},
downFile
()
{
this
.
loadings
=
true
;
const
params
=
new
FormData
();
...
...
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