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
5b013af4
authored
2022-10-09 16:07:52 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:流程图
1 parent
ef1a610f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
24 deletions
.env.development
src/api/jsydsyqFlow.js
src/views/ywbl/dbx/dbxdata.js
src/views/ywbl/fqsq/workFrame.vue
src/views/ywbl/ybx/ybxdata.js
.env.development
View file @
5b013af
...
...
@@ -5,4 +5,4 @@ NODE_ENV=development
VUE_APP_BASE_API = '/bdcdj'
# 开发环境
VUE_APP_API_BASE_URL = 'http://192.168.2.
88
:8018'
VUE_APP_API_BASE_URL = 'http://192.168.2.
95
:8018'
...
...
src/api/jsydsyqFlow.js
View file @
5b013af
...
...
@@ -45,4 +45,15 @@ export function logoutReg (data) {
method
:
'post'
,
data
})
}
// 流程图
export
function
getWorkFlowImage
(
bsmSlsq
)
{
return
request
({
url
:
'/business/workFlow/getWorkFlowImage'
,
method
:
'get'
,
responseType
:
'blob'
,
params
:
{
bsmSlsq
:
bsmSlsq
}
})
}
\ No newline at end of file
...
...
src/views/ywbl/dbx/dbxdata.js
View file @
5b013af
...
...
@@ -99,20 +99,9 @@ class data extends filter {
<
/div
>
)
}
},
{
label
:
'操作'
,
width
:
'80'
,
align
:
'center'
,
fixed
:
'right'
,
render
:
(
h
,
scope
)
=>
{
return
<
el
-
button
type
=
"text"
icon
=
"el-icon-delete"
onClick
=
{()
=>
{
vm
.
del
(
scope
.
row
)
}}
>
删除
<
/el-button
>
}
}
]
}
}
let
datas
=
new
data
()
export
{
...
...
src/views/ywbl/fqsq/workFrame.vue
View file @
5b013af
...
...
@@ -56,6 +56,9 @@
</div>
</div>
</div>
<dialogBox
title=
"流程图"
width=
"70%"
isMain
v-model=
"myValue"
:isFullscreen=
"false"
:isButton=
"false"
>
<img
:src=
"imgSrc"
style=
"margin: 20px 0"
/>
</dialogBox>
</div>
</
template
>
...
...
@@ -72,10 +75,14 @@ import {
getNextLinkInfo
,
completeTask
,
}
from
"@/api/fqsq.js"
;
import
{
getWorkFlowImage
}
from
"@/api/jsydsyqFlow.js"
import
{
getForm
}
from
"./flowform.js"
;
export
default
{
data
()
{
return
{
// 流程图
imgSrc
:
''
,
myValue
:
false
,
// 折叠
isShowdrawer
:
true
,
// 默认选中
...
...
@@ -144,8 +151,11 @@ export default {
operation
(
index
,
item
)
{
let
that
=
this
;
switch
(
item
.
value
)
{
case
"lct"
:
console
.
log
(
2222222222
);
case
"B1"
:
getWorkFlowImage
(
this
.
bsmSlsq
).
then
(
res
=>
{
this
.
imgSrc
=
URL
.
createObjectURL
(
res
)
this
.
myValue
=
true
})
break
;
case
"zsyl"
:
this
.
zsylFlag
=
true
;
...
...
@@ -176,7 +186,6 @@ export default {
}
});
// this.$alert(res.result);
break
;
case
"tc"
:
window
.
close
();
...
...
src/views/ywbl/ybx/ybxdata.js
View file @
5b013af
...
...
@@ -75,15 +75,6 @@ class data extends filter {
<
/div
>
)
}
},
{
label
:
'操作'
,
width
:
'80'
,
align
:
'center'
,
fixed
:
'right'
,
render
:
(
h
,
scope
)
=>
{
return
<
el
-
button
type
=
"text"
icon
=
"el-icon-edit-outline"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
)
}}
>
编辑
<
/el-button
>
}
}
]
}
...
...
Please
register
or
sign in
to post a comment