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
d7e6bf89
authored
2023-04-25 13:46:26 +0800
by
赵千
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
删除功能调整
1 parent
3abf32f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
1 deletions
src/views/workflow/mixin/index.js
src/views/workflow/workFrameView.vue
src/views/workflow/mixin/index.js
View file @
d7e6bf8
...
...
@@ -2,6 +2,7 @@ import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js";
import
{
getPrintTemplateByCode
}
from
"@/api/system"
;
import
{
getPrintApplicationInfo
}
from
"@/api/fqsq"
;
import
{
uploadUndo
}
from
"@/api/clxx"
;
import
{
deleteFlow
}
from
"@/api/ywbl"
;
import
{
getLodop
}
from
"@/utils/LodopFuncs"
import
{
leftMenu
,
...
...
@@ -229,8 +230,38 @@ export default {
});
});
break
;
case
"rm"
:
this
.
del
()
}
},
del
()
{
let
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
this
.
$confirm
(
"确定要删除吗, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
deleteFlow
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
,
});
window
.
close
();
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
});
});
},
//发送下一个环节
sendToNext
(
obj
)
{
const
h
=
this
.
$createElement
;
...
...
src/views/workflow/workFrameView.vue
View file @
d7e6bf8
...
...
@@ -13,7 +13,7 @@
<ul>
<li
@
click=
"operation(item)"
v-for=
"(item, index) in rightButtonList"
:key=
"index"
>
<svg-icon
class=
"icon"
:icon-class=
"item.icon"
/>
<span
class=
"iconName"
>
{{
item
.
name
}}
</span>
<span
class=
"iconName"
>
{{
item
.
name
}}
{{
item
.
value
}}
</span>
</li>
</ul>
<NoticeBar
class=
"NoticeBar"
:noticeList=
"noticeList"
/>
...
...
@@ -175,8 +175,40 @@ export default {
case
"signout"
:
window
.
close
();
break
;
case
"rm"
:
this
.
del
()
window
.
close
();
}
},
del
()
{
let
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
this
.
$confirm
(
"确定要删除吗, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
deleteFlow
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
handleDel
();
this
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
,
});
this
.
queryClick
();
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
});
});
},
//读取申请单元信息
loadBdcdylist
()
{
var
formdata
=
new
FormData
();
...
...
Please
register
or
sign in
to post a comment