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
ac7ad931
authored
2023-08-02 14:25:24 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:流程修改
1 parent
9663473f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
22 deletions
src/views/workflow/components/th.vue
src/views/ywbl/mixin/index.js
src/views/workflow/components/th.vue
View file @
ac7ad93
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
5-17 10:41:57
* @LastEditTime: 2023-0
8-02 14:24:20
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -73,26 +73,29 @@
* @author: renchao
*/
onSubmit
()
{
if
(
!
this
.
outstepopinion
){
this
.
$message
.
error
(
"请填写退回意见"
);
}
else
{
sendBackTask
({
bsmSlsq
:
this
.
formData
.
bsmSlsq
,
backNodeList
:
[
this
.
selectItem
],
message
:
this
.
outstepopinion
}).
then
((
res
)
=>
{
this
.
$message
.
success
(
"退回成功"
);
setTimeout
(()
=>
{
// window.opener.location.reload(); //刷新父窗口
if
(
window
.
opener
&&
window
.
opener
.
getBpageList
)
{
window
.
opener
.
getBpageList
();
if
(
!
this
.
outstepopinion
)
{
this
.
$message
.
error
(
"请填写退回意见"
);
}
else
{
sendBackTask
({
bsmSlsq
:
this
.
formData
.
bsmSlsq
,
backNodeList
:
[
this
.
selectItem
],
message
:
this
.
outstepopinion
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"退回成功"
);
setTimeout
(()
=>
{
if
(
window
.
opener
&&
window
.
opener
.
getBpageList
)
{
window
.
opener
.
getBpageList
();
}
else
{
window
.
opener
.
frames
[
0
].
getBpageList
();
}
window
.
close
();
this
.
$emit
(
"input"
,
false
);
},
1000
);
}
else
{
window
.
opener
.
frames
[
0
].
getBpageList
(
);
this
.
$message
.
error
(
res
.
message
);
}
window
.
close
();
this
.
$emit
(
"input"
,
false
);
},
1000
);
});
});
}
},
/**
...
...
@@ -113,7 +116,7 @@
getTaskBackNode
(
this
.
formData
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
dataList
=
res
.
result
;
console
.
log
(
"this.dataList"
,
this
.
dataList
);
console
.
log
(
"this.dataList"
,
this
.
dataList
);
if
(
res
.
result
)
{
this
.
selectActivity
=
res
.
result
[
0
].
activityId
;
this
.
selectItem
=
res
.
result
[
0
];
...
...
src/views/ywbl/mixin/index.js
View file @
ac7ad93
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-0
1 18:05:25
* @LastEditTime: 2023-08-0
2 14:08:27
*/
export
default
{
data
()
{
...
...
@@ -11,7 +11,7 @@ export default {
watch
:
{
'ruleForm.sldy.gyfs'
:
{
handler
:
function
(
val
,
oldVal
)
{
if
(
val
==
'0'
&&
this
.
ruleForm
.
qlrList
.
length
>
1
)
{
if
(
val
==
'0'
&&
this
.
ruleForm
.
qlrList
.
length
>
1
&&
oldVal
)
{
this
.
ruleForm
.
sldy
.
gyfs
=
oldVal
this
.
$message
({
message
:
'单独所有只能选择一个,请先删除再切换'
,
...
...
Please
register
or
sign in
to post a comment