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
cd41322a
authored
2022-10-20 11:19:39 +0800
by
蔡俊立
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
退回
1 parent
9185df97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
4 deletions
src/views/workflow/components/th.vue
src/views/workflow/workFrame.vue
src/views/workflow/components/th.vue
View file @
cd41322
...
...
@@ -6,7 +6,7 @@
<ul
style=
"margin-bottom:15px"
>
<li
v-for=
"(item,index) in dataList"
class=
"listDetail"
:key=
"index"
>
<p
class=
"icon"
>
<el-radio
v-model=
"
radio
"
></el-radio>
<el-radio
v-model=
"
selectActivity"
:label=
"item.activityId"
@
change=
"changeSelectItem(item)
"
></el-radio>
</p>
<p>
{{
item
.
activityName
}}
</p>
<p
v-for=
"(child,childIndex) in item.userInfos"
:key=
"childIndex"
>
{{
child
.
name
}}
</p>
...
...
@@ -31,8 +31,10 @@ export default {
},
data
()
{
return
{
selectActivity
:
''
,
dataList
:
[],
outstepopinion
:
''
outstepopinion
:
''
,
selectItem
:
{}
}
},
created
()
{
...
...
@@ -40,12 +42,31 @@ export default {
},
methods
:
{
childFn
()
{
console
.
log
(
1111
);
this
.
selectItem
.
outstepopinion
=
this
.
outstepopinion
;
sendBackTask
({
bsmSlsq
:
this
.
formData
.
bsmSlsq
,
backNodeList
:
[
this
.
selectItem
]
}).
then
(
res
=>
{
this
.
$message
.
success
(
'退回成功'
)
setTimeout
(()
=>
{
window
.
opener
=
null
;
window
.
open
(
"about:blank"
,
"_self"
);
window
.
close
();
this
.
$emit
(
'input'
,
false
)
},
1000
);
})
},
changeSelectItem
(
item
){
this
.
selectItem
=
item
},
getBackNode
()
{
getTaskBackNode
(
this
.
formData
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
dataList
=
res
.
result
if
(
res
.
result
){
this
.
selectActivity
=
res
.
result
[
0
].
activityId
this
.
selectItem
=
res
.
result
[
0
]
}
}
})
}
...
...
@@ -81,4 +102,7 @@ export default {
min-height
:
90px
!important
;
}
}
/
deep
/
.el-radio
.el-radio__label
{
display
:
none
;
}
</
style
>
...
...
src/views/workflow/workFrame.vue
View file @
cd41322
...
...
@@ -318,7 +318,7 @@ export default {
this
.
$popup
({
title
:
"退回"
,
editItem
:
"workflow/components/th"
,
height
:
"
33
0px"
,
height
:
"
40
0px"
,
width
:
'30%'
,
formData
:
{
bsmSlsq
:
this
.
bsmSlsq
,
...
...
Please
register
or
sign in
to post a comment