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
8cd577ea
authored
2022-10-17 16:47:40 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:退回
1 parent
5aef2321
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
97 deletions
src/components/tanchuang/index.vue
src/views/workflow/components/th.vue
src/views/workflow/workFrame.vue
src/components/tanchuang/index.vue
View file @
8cd577e
...
...
@@ -98,11 +98,7 @@ export default {
}
}
</
script
>
<
style
scoped
>
#app
{
overflow
:
hidden
;
}
<
style
scoped
lang=
"scss"
>
.ls-mask
{
width
:
100%
;
height
:
100%
;
...
...
@@ -152,10 +148,13 @@ export default {
display
:
flex
;
justify-content
:
center
;
width
:
100%
;
box-shadow
:
0px
0px
0.5px
0px
;
position
:
absolute
;
border-top
:
1px
solid
$
borderColor
;
bottom
:
0
;
background
:
#ffffff
;
border-bottom-left-radius
:
5px
;
border-bottom-right-radius
:
5px
;
overflow
:
hidden
;
}
...
...
src/views/workflow/components/th.vue
View file @
8cd577e
<
template
>
<dialogBox
title=
"退回"
@
submitForm=
"submitForm"
saveButton=
"确认退回"
width=
"80%"
@
closeDialog=
"closeDialog"
v-model=
"value"
>
<div
class=
"from-clues"
>
<!-- 表单部分 -->
<div
class=
"from-clues-header"
>
<el-form
ref=
"queryForm"
label-width=
"120px"
>
<div>
<lb-table
:column=
"columns"
border
:heightNum=
"390"
:pagination=
"false"
heightNumSetting
:data=
"tableData"
>
</lb-table>
<el-form
ref=
"queryForm"
label-width=
"90px"
>
<ul
style=
"margin-bottom:15px"
>
<li
v-for=
"(item,index) in list"
class=
"listDetail"
>
<p
class=
"icon"
>
<i
class=
"el-icon-circle-check"
></i>
</p>
<p>
{{
item
.
title
}}
</p>
<p>
{{
item
.
value
}}
</p>
</li>
</ul>
<el-form-item
label=
"退回意见:"
>
<el-input
class=
"textArea"
type=
"textarea"
v-model=
"outstepopinion"
></el-input>
</el-form-item>
</div>
</el-form>
</div>
</div>
</dialogBox>
</
template
>
<
script
>
import
{
getTaskBackNode
,
sendBackTask
}
from
"@/api/fqsq.js"
export
default
{
components
:
{
},
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
queryForm
:
{
type
:
Object
},
taskId
:
{
type
:
String
},
bsmBusiness
:
{
type
:
String
}
},
data
()
{
const
columns
=
[
return
{
list
:
[
{
label
:
""
,
width
:
"36px"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
class
=
"orgColumn"
>
<
el
-
radio
v
-
model
=
{
this
.
radioVal
}
label
=
{
scope
.
row
.
taskid
}
onChange
=
{()
=>
{
this
.
radioClick
(
scope
.
row
);
}}
>
{
" "
}
&
ensp
;
<
/el-radio
>
<
/div
>
);
},
title
:
"初审"
,
value
:
''
,
},
{
prop
:
"activityName
"
,
label
:
"退回环节名称"
,
title
:
"复审
"
,
value
:
''
,
},
{
prop
:
"assignee"
,
label
:
"办理人"
,
},
];
return
{
columns
,
radioVal
:
""
,
outstepopinion
:
""
,
tableData
:
[],
list
:
{
bsmSlsq
:
""
,
backNodeList
:
[],
},
sumbitList
:
{},
activityId
:
""
,
title
:
"录入"
,
value
:
''
,
}
},
mounted
()
{
if
(
this
.
$route
.
query
.
bsmSlsq
)
{
this
.
list
.
bsmSlsq
=
this
.
$route
.
query
.
bsmSlsq
],
outstepopinion
:
''
}
},
methods
:
{
tablelistFn
()
{
getTaskBackNode
({
bsmBusiness
:
this
.
bsmBusiness
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
}
})
},
radioClick
(
scope
)
{
this
.
activityId
=
scope
.
activityId
this
.
sumbitList
=
scope
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
},
submitForm
()
{
if
(
this
.
activityId
==
undefined
)
{
this
.
$message
.
error
(
'请至少选择一条数据'
);
return
}
this
.
list
.
backNodeList
.
push
({
id
:
this
.
taskId
,
taskid
:
this
.
activityId
,
processInstanceId
:
this
.
sumbitList
.
processInstanceId
,
bsmBusiness
:
this
.
bsmBusiness
,
outstepopinion
:
this
.
outstepopinion
})
sendBackTask
(
this
.
list
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'退回成功'
)
setTimeout
(()
=>
{
window
.
opener
=
null
;
window
.
open
(
"about:blank"
,
"_self"
);
window
.
close
();
this
.
$emit
(
'input'
,
false
)
},
1000
);
.listDetail
{
display
:
flex
;
align-items
:
center
;
width
:
100%
;
}
else
{
this
.
$message
.
error
(
res
.
message
)
p
{
line-height
:
30px
;
height
:
30px
;
@include
flex-center;
flex
:
1
;
width
:
100%
;
border
:
1px
solid
rgb
(
233
,
235
,
237
);
margin-top
:
-1px
;
margin-left
:
-1px
;
}
})
},
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
},
.icon
{
flex
:
0
0
60px
;
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
.textArea
{
/deep/.el-textarea__inner
{
...
...
src/views/workflow/workFrame.vue
View file @
8cd577e
...
...
@@ -280,6 +280,20 @@ export default {
})
break
;
case
"back"
:
//退回按钮
this
.
$popup
({
title
:
"退回"
,
editItem
:
"workflow/components/th"
,
height
:
"330px"
,
width
:
'30%'
,
formData
:
{},
btnShow
:
true
,
cancel
:
()
=>
{
console
.
log
(
"取消回调"
);
},
confirm
:
()
=>
{
console
.
log
(
"确认回调"
);
},
})
break
;
case
"transfer"
:
//转件按钮
getNextLinkInfo
({
...
...
Please
register
or
sign in
to post a comment