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
ae291472
authored
2023-04-27 09:38:24 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
2 parents
e87bf67f
6aa657ab
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
30 deletions
src/api/config.js
src/components/Popup/index.vue
src/views/workflow/components/batchDel.vue
src/views/workflow/components/processViewer.vue
src/views/workflow/mixin/index.js
src/api/config.js
deleted
100644 → 0
View file @
e87bf67
/*
* @Description: api请求配置文件
* @Autor: renchao
* @LastEditTime: 2023-04-18 14:14:07
* 这个文件不需要,谁提交谁记得改回来,不改回来,就是脑残。
* 这个文件不需要,谁提交谁记得改回来,不改回来,就是脑残。
* 这个文件不需要,谁提交谁记得改回来,不改回来,就是脑残。
* 这个文件不需要,谁提交谁记得改回来,不改回来,就是脑残。
* 这个文件不需要,谁提交谁记得改回来,不改回来,就是脑残。
*/
export
default
{
SERVERAPI
:
'bdcdj'
}
\ No newline at end of file
src/components/Popup/index.vue
View file @
ae29147
...
...
@@ -178,4 +178,3 @@ export default {
background
:
none
;
}
</
style
>
\ No newline at end of file
...
...
src/views/workflow/components/batchDel.vue
View file @
ae29147
...
...
@@ -8,11 +8,16 @@
<lb-table
:column=
"columns"
:data=
"formData.dataList"
:maxHeight=
"460"
:heightNumSetting=
"true"
:pagination=
"false"
@
selection-change=
"handleSelectionChange"
>
</lb-table>
<div
class=
"text-center"
>
<el-button
@
click=
"$popupCacel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"childFn"
plain
>
确定
</el-button>
</div>
</div>
</
template
>
<
script
>
import
{
deleteFlow
}
from
"@/api/ywbl.js"
export
default
{
import
{
deleteFlow
}
from
"@/api/ywbl.js"
import
store
from
'@/store/index.js'
export
default
{
components
:
{},
props
:
{
formData
:
{
...
...
@@ -49,9 +54,11 @@ export default {
childFn
()
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldyList"
,
this
.
selectBdcdy
);
formdata
.
append
(
"bsmSlsq"
,
this
.
formData
.
bsmSlsq
);
formdata
.
append
(
"bsmSlsq"
,
this
.
formData
.
bsmSlsq
);
deleteFlow
(
formdata
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$popupCacel
();
store
.
dispatch
(
'user/refreshPage'
,
true
);
this
.
$message
.
success
(
"删除成功"
);
}
else
{
this
.
$message
.
error
(
res
.
message
)
...
...
@@ -65,8 +72,7 @@ export default {
})
}
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
</
style
>
...
...
src/views/workflow/components/processViewer.vue
View file @
ae29147
...
...
@@ -167,7 +167,6 @@
},
// 下拉列表切换
handleSelect
(
val
)
{
this
.
taskCommentList
=
(
this
.
formData
.
allCommentList
||
[]).
filter
(
item
=>
{
return
item
.
taskDefKey
===
val
})
...
...
@@ -235,7 +234,6 @@
}
if
(
Array
.
isArray
(
finishedTaskSet
))
{
finishedTaskSet
.
forEach
(
item
=>
canvas
.
addMarker
(
item
,
'success'
))
console
.
log
(
finishedTaskSet
,
'finishedTaskSet'
);
}
if
(
Array
.
isArray
(
unfinishedTaskSet
))
{
unfinishedTaskSet
.
forEach
(
item
=>
canvas
.
addMarker
(
item
,
'primary'
))
...
...
src/views/workflow/mixin/index.js
View file @
ae29147
...
...
@@ -11,6 +11,7 @@ import {
completeTask
,
getNextLinkInfo
,
}
from
"@/api/fqsq.js"
;
import
{
mapGetters
}
from
'vuex'
import
{
log
}
from
"bpmn-js-token-simulation"
;
export
default
{
data
()
{
...
...
@@ -29,6 +30,16 @@ export default {
batchButtonName
:
''
,
}
},
computed
:
{
...
mapGetters
([
'isRefresh'
])
},
watch
:
{
isRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
loadBdcdylist
()
}
}
},
mounted
()
{
this
.
flowInitParam
();
this
.
loadBdcdylist
();
...
...
@@ -361,18 +372,12 @@ export default {
},
//批量操作
handleBatchDel
()
{
let
that
=
this
;
this
.
$popup
(
"批量删除"
,
"workflow/components/batchDel"
,
{
this
.
$popupDialog
(
"批量删除"
,
"workflow/components/batchDel"
,
{
width
:
"50%"
,
btnShow
:
true
,
height
:
"600px"
,
formData
:
{
btnShow
:
false
,
bsmSlsq
:
this
.
bsmSlsq
,
dataList
:
this
.
unitData
,
},
confirm
:
function
()
{
that
.
loadBdcdylist
();
}
})
},
handleChange
(
file
)
{
...
...
Please
register
or
sign in
to post a comment