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
637b2558
authored
2022-10-14 17:26:43 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改分屏以后,别的选项卡内容消失
1 parent
fe5fc1f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
src/views/workflow/workFrame.vue
src/views/workflow/workFrame.vue
View file @
637b255
...
...
@@ -88,8 +88,8 @@
<el-tab-pane
:label=
"item.name"
:name=
"item.value"
v-for=
"
(item, index)
in tabList"
:key=
"i
ndex
"
v-for=
"
item
in tabList"
:key=
"i
tem.value
"
>
</el-tab-pane>
</el-tabs>
...
...
@@ -272,16 +272,18 @@ export default {
break
;
case
"B2"
:
//材料分屏按钮
this
.
splitScreen
=
this
.
splitScreen
?
false
:
true
;
this
.
$store
.
dispatch
(
"app/settScreen"
,
this
.
splitScreen
);
if
(
this
.
splitScreen
)
{
this
.
$store
.
dispatch
(
"app/settScreen"
,
this
.
splitScreen
);
if
(
this
.
splitScreen
)
{
//如果当前选项卡为材料信息内容,递减到上一个选项卡内容
if
(
this
.
tabName
==
this
.
clxxTab
.
value
)
{
this
.
tabName
=
this
.
tabList
[
this
.
clxxIndex
-
1
].
value
;
this
.
getFromRouter
(
this
.
tabList
[
this
.
clxxIndex
-
1
].
value
);
}
//删除材料信息选项卡数据
this
.
tabList
.
splice
(
this
.
clxxIndex
,
1
);
}
else
{
this
.
tabList
.
splice
(
this
.
clxxIndex
,
1
,
this
.
clxxTab
);
//新增材料信息选项卡数据
this
.
tabList
.
splice
(
this
.
clxxIndex
,
0
,
this
.
clxxTab
);
}
break
;
case
"B4"
:
...
...
Please
register
or
sign in
to post a comment