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
3e3fcd29
authored
2022-12-15 14:39:12 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
refactor:工作流
1 parent
54fb416c
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
16 deletions
src/router/index.js
src/views/workflow/workFrame1.vue → src/views/workflow/workFrame.vue
src/views/workflow/workFrameView1.vue → src/views/workflow/workFrameView.vue
src/views/ywbl/dbx/dbx.vue
src/views/ywbl/ybx/ybx.vue
src/views/ywbl/ywsq/components/mixin/jump.js
src/views/zhcx/jdcx/jdcx.vue
src/router/index.js
View file @
3e3fcd2
...
...
@@ -26,17 +26,17 @@ export const constantRoutes = [
// 业务流程框架
// 业务流程框架
{
path
:
'/workFrame
cs
'
,
component
:
()
=>
import
(
'@/views/workflow/workFrame
1
.vue'
),
name
:
'workFrame
cs
'
,
path
:
'/workFrame'
,
component
:
()
=>
import
(
'@/views/workflow/workFrame.vue'
),
name
:
'workFrame'
,
hidden
:
true
,
meta
:
{
title
:
'发起申请'
}
},
// 业务流程只读框架
{
path
:
'/workFrameView
cs
'
,
component
:
()
=>
import
(
'@/views/workflow/workFrameView
1
.vue'
),
name
:
'workFrameView
cs
'
,
path
:
'/workFrameView'
,
component
:
()
=>
import
(
'@/views/workflow/workFrameView.vue'
),
name
:
'workFrameView'
,
hidden
:
true
,
meta
:
{
title
:
'发起申请'
}
},
...
...
src/views/workflow/workFrame
1
.vue
→
src/views/workflow/workFrame.vue
View file @
3e3fcd2
File moved
src/views/workflow/workFrameView
1
.vue
→
src/views/workflow/workFrameView.vue
View file @
3e3fcd2
File moved
src/views/ywbl/dbx/dbx.vue
View file @
3e3fcd2
...
...
@@ -174,21 +174,20 @@ export default {
bsmSlsq
:
item
.
bsmSlsq
,
bestepid
:
item
.
bestepid
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
result
)
{
if
(
res
.
code
==
200
)
{
if
(
res
.
result
)
{
//有任务权限
// const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&sqywbm=' + item.djywbm);
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFramecs?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
'&sqywbm='
+
item
.
djywbm
);
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrame?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
'&sqywbm='
+
item
.
djywbm
);
window
.
open
(
href
,
'_blank'
);
//从待办箱进入的调取任务领取接口
claimTask
(
item
.
bsmSlsq
,
item
.
bestepid
)
}
else
{
}
else
{
//无任务权限
this
.
$message
.
error
(
"无该任务操作权限,或已被他人抢办,请重新操作"
)
//刷新页面
this
.
queryClick
();
}
}
else
{
}
else
{
this
.
$message
.
error
(
"用户任务权限判断失败,请联系管理员"
)
}
})
...
...
src/views/ywbl/ybx/ybx.vue
View file @
3e3fcd2
...
...
@@ -134,8 +134,7 @@ export default {
this
.
queryClick
()
},
ywhClick
(
item
)
{
// const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1');
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrameViewcs?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
'&viewtype=1'
);
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrameView?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
'&viewtype=1'
);
window
.
open
(
href
,
'_blank'
);
}
}
...
...
src/views/ywbl/ywsq/components/mixin/jump.js
View file @
3e3fcd2
...
...
@@ -10,7 +10,7 @@ export default {
jump
(
data
,
type
)
{
this
.
$emit
(
"closeDialog"
);
const
{
href
}
=
this
.
$router
.
resolve
(
"/workFrame
cs
?bsmSlsq="
+
"/workFrame?bsmSlsq="
+
data
.
bsmSlsq
+
"&bestepid="
+
data
.
bestepid
+
'&bsmBusiness='
+
'&sqywbm='
+
type
...
...
src/views/zhcx/jdcx/jdcx.vue
View file @
3e3fcd2
...
...
@@ -120,7 +120,7 @@ export default {
console
.
log
(
name
,
sort
);
},
openDialog
(
item
)
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrameView
cs
?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
item
.
bsmBusiness
+
'&viewtype=3'
)
const
{
href
}
=
this
.
$router
.
resolve
(
'/workFrameView?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
+
'&bsmBusiness='
+
item
.
bsmBusiness
+
'&viewtype=3'
)
window
.
open
(
href
,
'_blank'
);
}
}
...
...
Please
register
or
sign in
to post a comment