Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
fafa4895
Commit
fafa4895
authored
Dec 13, 2021
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单位效能评估添加返回操作
parent
1fabaa2c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
0 deletions
+51
-0
src/views/sf/dwxnpgbg.vue
+51
-0
No files found.
src/views/sf/dwxnpgbg.vue
View file @
fafa4895
...
...
@@ -65,6 +65,9 @@
<div
class=
"echars"
>
<div
id=
"barMain"
style=
"width: 100%; height: 500px"
></div>
</div>
<div
v-if=
"zutList.length > 0"
@
click=
"danweiTjTable"
>
<span
class=
"fhsyj"
>
返回
</span>
</div>
<div
style=
"margin-top: 20px"
>
<el-table
id=
"ajzbQuery"
...
...
@@ -108,6 +111,9 @@
<div
class=
"echars"
>
<div
id=
"lineMain"
style=
"width: 100%; height: 500px"
></div>
</div>
<div
v-if=
"zutLists.length > 0"
@
click=
"dwTjTable"
>
<span
class=
"fhsyj"
>
返回
</span>
</div>
<div
style=
"margin-top: 20px"
>
<el-table
id=
"ajzbQuery"
...
...
@@ -267,9 +273,13 @@ export default {
width
:
"auto"
,
},
],
zutList
:
[],
zutLists
:
[],
};
},
created
()
{
// this.zutList.push(this.$route.query.unitcode);
// this.zutLists.push(this.$route.query.unitcode);
this
.
$store
.
commit
(
"user/SET_Menu"
,
this
.
Menu
);
this
.
cxFormData
.
kssj
=
new
Date
().
getFullYear
()
+
"-01"
;
this
.
cxFormData
.
jssj
=
...
...
@@ -290,10 +300,12 @@ export default {
},
zut
(
scope
)
{
debugger
;
this
.
zutList
.
push
(
scope
.
row
.
code
);
this
.
doQueryGr
(
scope
.
row
.
code
);
},
xtt
(
scope
)
{
debugger
;
this
.
zutLists
.
push
(
scope
.
row
.
code
);
this
.
doQueryXt
(
scope
.
row
.
code
);
},
/**
...
...
@@ -448,6 +460,28 @@ export default {
},
});
},
danweiTjTable
()
{
debugger
;
if
(
this
.
zutList
.
length
==
1
)
{
this
.
zutList
=
[];
}
let
pops
=
this
.
zutList
.
length
>
1
?
this
.
zutList
.
splice
(
this
.
zutList
.
length
-
2
,
1
).
join
()
:
this
.
$route
.
query
.
unitcode
;
this
.
doQueryGr
(
pops
);
console
.
log
(
pops
);
},
dwTjTable
()
{
if
(
this
.
zutLists
.
length
==
1
)
{
this
.
zutLists
=
[];
}
let
pop
=
this
.
zutLists
.
length
>
1
?
this
.
zutLists
.
splice
(
this
.
zutLists
.
length
-
2
,
1
).
join
()
:
this
.
$route
.
query
.
unitcode
;
this
.
doQueryXt
(
pop
);
},
/**
* @description 获取表格数据
*/
...
...
@@ -731,4 +765,21 @@ export default {
/
deep
/
.el-form-item
{
margin-bottom
:
0
!important
;
}
.fhsyj
{
float
:
right
;
margin
:
0
0
10px
0
;
width
:
64px
;
height
:
24px
;
background
:
#ffffff
;
border
:
1px
solid
#007aff
;
opacity
:
1
;
border-radius
:
4px
;
text-align
:
center
;
align-items
:
center
;
display
:
inline-block
;
font-size
:
12px
!important
;
font-weight
:
400
!important
;
color
:
#007aff
!important
;
cursor
:
pointer
;
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment