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
50400282
authored
2024-01-23 10:23:33 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:流程
1 parent
d62bbbeb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
9 deletions
src/views/workflow/mixin/index.js
src/views/workflow/mixin/public.js
src/views/workflow/workFrame.vue
src/views/workflow/workFrameView.vue
src/views/workflow/mixin/index.js
View file @
5040028
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-12-19 10:02:03
* @LastEditTime: 202
4-01-23 09:57:51
*/
import
Vue
from
'vue'
import
{
getPrintTemplateByCode
}
from
"@/api/print"
;
...
...
@@ -173,6 +173,7 @@ export default {
case
"B-TXDW"
:
getZdInfo
(
this
.
currentSelectProps
.
bdcdyid
).
then
(
res
=>
{
this
.
bsmZd
=
res
?.
result
[
0
]?.
bsmZd
console
.
log
(
this
.
bsmZd
);
this
.
$popupDialog
(
'图形定位'
,
'workflow/components/dialog/txdw'
,
{
bsmZd
:
this
.
bsmZd
},
'85%'
,
true
)
})
break
;
...
...
src/views/workflow/mixin/public.js
View file @
5040028
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-2
2 11:00:07
* @LastEditTime: 2024-01-2
3 10:23:02
*/
import
{
getForm
}
from
"../flowform"
;
import
{
getHomeNoticeList
}
from
"@/api/home.js"
...
...
src/views/workflow/workFrame.vue
View file @
5040028
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-2
2 14:57:2
2
* @LastEditTime: 2024-01-2
3 10:21:0
2
-->
<
template
>
<div
class=
"container"
>
...
...
@@ -50,7 +50,7 @@
<div
class=
"rightContainer"
>
<div
class=
"count"
>
当前流程所在环节:
<span>
{{
$route
.
query
.
zbhj
}}
</span>
<span>
{{
$route
.
query
.
zbhj
}}
{{
tabName
}}
</span>
</div>
<el-tabs
v-model=
"tabName"
...
...
@@ -245,7 +245,13 @@
if
(
res
.
code
===
200
)
{
//获取单元对应的所有表单信息
this
.
tabList
=
res
.
result
;
var
indexTab
=
0
//默认加载第一个表单信息
res
.
result
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
defaultForm
)
{
indexTab
=
index
}
})
let
arr
=
res
.
result
.
filter
((
item
)
=>
item
.
defaultForm
);
if
(
arr
.
length
>
0
)
{
this
.
tabName
=
arr
[
0
].
value
;
...
...
@@ -255,8 +261,8 @@
if
(
sessionStorage
.
getItem
(
'activeName'
)
==
this
.
tabName
)
{
this
.
fresh
++
;
}
this
.
ableOperation
=
this
.
tabList
[
0
].
ableOperation
;
this
.
currentSelectTab
=
this
.
tabList
[
0
];
this
.
ableOperation
=
this
.
tabList
[
indexTab
].
ableOperation
;
this
.
currentSelectTab
=
this
.
tabList
[
indexTab
];
//批量操作无分屏按钮
if
(
index
!=
null
)
{
//处理分屏材料信息
...
...
src/views/workflow/workFrameView.vue
View file @
5040028
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-2
2 11:04:51
* @LastEditTime: 2024-01-2
3 10:21:28
-->
<
template
>
<div
class=
"container"
>
...
...
@@ -129,15 +129,21 @@
if
(
res
.
code
===
200
)
{
//获取单元对应的所有表单信息
this
.
tabList
=
res
.
result
;
var
indexTab
=
0
//默认加载第一个表单信息
res
.
result
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
defaultForm
)
{
indexTab
=
index
}
})
if
(
res
.
result
.
length
>
0
)
{
that
.
tabName
=
res
.
result
[
0
].
value
;
}
if
(
sessionStorage
.
getItem
(
'activeName'
)
==
this
.
tabName
)
{
that
.
fresh
++
;
}
this
.
ableOperation
=
this
.
tabList
[
0
].
ableOperation
this
.
currentSelectTab
=
this
.
tabList
[
0
];
this
.
ableOperation
=
this
.
tabList
[
indexTab
].
ableOperation
this
.
currentSelectTab
=
this
.
tabList
[
indexTab
];
//批量操作无分屏按钮
if
(
index
!=
null
)
{
//处理分屏材料信息
...
...
Please
register
or
sign in
to post a comment