Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7acbb05e
authored
2022-10-19 18:00:22 +0800
by
蔡俊立
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
终止任务
1 parent
a10cb771
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
108 additions
and
1 deletions
src/api/fqsq.js
src/views/workflow/components/stop.vue
src/views/workflow/components/th.vue
src/views/workflow/components/zsyl.vue
src/views/workflow/workFrame.vue
src/api/fqsq.js
View file @
7acbb05
...
...
@@ -184,3 +184,11 @@ export function getSlsqBdcqzList (params) {
params
})
}
// 终止任务
export
function
stopTask
(
data
)
{
return
request
({
url
:
'/business/workFlow/stopTask'
,
method
:
'post'
,
data
})
}
...
...
src/views/workflow/components/stop.vue
0 → 100644
View file @
7acbb05
<
template
>
<div
class=
"from-clues"
>
<div
class=
"invalid-title"
>
<i
class=
"el-icon-question invalid-icon"
></i>
<div
class=
"invalid-body"
>
您是否确定终止该业务办理?
</div>
</div>
<div
class=
"invalid-reson"
>
终止原因:
</div>
<el-input
v-model=
"stopMessage"
placeholder=
"请输入终止原因"
type=
"textarea"
:rows=
"4"
></el-input>
</div>
</
template
>
<
script
>
import
{
stopTask
}
from
"@/api/fqsq.js"
export
default
{
props
:
{
formData
:
{
type
:
Object
,
default
:
{}
}
},
data
()
{
return
{
stopMessage
:
''
}
},
methods
:
{
childFn
()
{
stopTask
({
bsmSlsq
:
this
.
formData
.
bsmSlsq
,
bestepid
:
this
.
formData
.
bestepid
,
stopMessage
:
this
.
stopMessage
}).
then
(
res
=>
{
this
.
$message
.
success
(
'终止成功'
)
setTimeout
(()
=>
{
window
.
opener
=
null
;
window
.
open
(
"about:blank"
,
"_self"
);
window
.
close
();
this
.
$emit
(
'input'
,
false
)
},
1000
);
})
},
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
.invalid-title
{
display
:
flex
;
align-content
:
center
;
.invalid-icon
{
color
:
rgb
(
254
,
148
,
0
);
font-size
:
34px
;
margin-right
:
10px
;
}
.invalid-body
{
line-height
:
40px
;
margin-bottom
:
10px
;
}
}
.invalid-reson
{
margin-bottom
:
10px
;
}
.dialog-footer
{
margin-top
:
10px
;
display
:
flex
;
justify-content
:
flex-end
;
}
</
style
>
src/views/workflow/components/th.vue
View file @
7acbb05
...
...
@@ -45,7 +45,7 @@ export default {
getBackNode
()
{
getTaskBackNode
(
this
.
formData
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
//
this.dataList = res.result
this
.
dataList
=
res
.
result
}
})
}
...
...
src/views/workflow/components/zsyl.vue
View file @
7acbb05
...
...
@@ -18,6 +18,7 @@
</el-form-item>
</el-form>
</div>
<div
class=
"aaaa"
>
{{
bdcqz
.
bdcqzlx
==
'1'
?
'不动产权证书'
:
'不动产权证明'
}}
</div>
<div
class=
"zsyl-box"
>
<div
class=
"zsyl-left"
>
<div
class=
"zsyl-title"
>
...
...
@@ -219,4 +220,10 @@ export default {
background
:
rgb
(
251
,
249
,
229
);
}
}
.aaaa
{
background
:
#FAFBE5
;
text-align
:
center
;
padding-top
:
10px
;
font-size
:
20px
;
}
</
style
>
...
...
src/views/workflow/workFrame.vue
View file @
7acbb05
...
...
@@ -343,6 +343,25 @@ export default {
}
});
break
;
case
"stop"
:
//终止按钮
this
.
$popup
({
title
:
"终止"
,
editItem
:
"workflow/components/stop"
,
height
:
"330px"
,
width
:
'30%'
,
formData
:
{
bsmSlsq
:
this
.
bsmSlsq
,
bestepid
:
this
.
bestepid
,
},
btnShow
:
true
,
cancel
:
()
=>
{
console
.
log
(
"取消回调"
);
},
confirm
:
()
=>
{
console
.
log
(
"确认回调"
);
},
})
break
;
case
"signout"
:
window
.
close
();
break
;
...
...
Please
register
or
sign in
to post a comment