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
3b8de951
Commit
3b8de951
authored
Feb 21, 2022
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单位效能评估添加返回按钮, 单位下钻不生效处理
parent
f53bd794
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
src/views/xnpgbg/dwxnpg.vue
+20
-2
No files found.
src/views/xnpgbg/dwxnpg.vue
View file @
3b8de951
...
...
@@ -17,6 +17,7 @@
<template
#
listOperation=
"scope"
>
<span
class=
"hbyp"
@
click=
"addCY(scope.scope)"
>
打印
</span>
<span
class=
"hbyp"
@
click=
"addDc(scope.scope)"
>
导出
</span>
<span
class=
"hbyp"
v-if=
"zutList.length > 0"
@
click=
"goSyj(scope.scope)"
>
返回
</span>
</
template
>
</right-content>
<!-- 用户量 弹窗 -->
...
...
@@ -32,7 +33,7 @@
:cxQueryField=
"cxQueryField1"
:cxDefaultFormThead=
"cxDefaultFormThead1"
:cxUrl=
"cxUr"
ref=
"rightContent"
ref=
"rightContent
s
"
>
</right-content>
<!-- <el-table
...
...
@@ -415,6 +416,8 @@ export default {
children
:
[],
},
],
// 返回参数
zutList
:
[],
};
},
created
()
{
...
...
@@ -424,6 +427,18 @@ export default {
this
.
getMenuBtCX
();
// 表头设置
},
methods
:
{
// 返回
goSyj
()
{
debugger
;
if
(
this
.
zutList
.
length
==
1
)
{
this
.
zutList
=
[];
}
this
.
cxFormData
.
unitcode
=
this
.
zutList
.
length
>
1
?
this
.
zutList
.
splice
(
this
.
zutList
.
length
-
2
,
1
).
join
()
:
''
this
.
$refs
.
rightContent
.
doQuery
(
"yes"
);
},
// 打印
addCY
()
{
window
.
print
();
...
...
@@ -485,6 +500,7 @@ export default {
// 单位下钻
toInfor
(
scope
)
{
debugger
;
this
.
zutList
.
push
(
scope
.
dwdm
);
this
.
cxFormData
.
unitcode
=
scope
.
dwdm
;
this
.
$refs
.
rightContent
.
doQuery
(
"yes"
);
},
...
...
@@ -497,7 +513,7 @@ export default {
this
.
cxFormData1
.
unitcode
=
scope
.
row
.
dwdm
;
(
this
.
cxFormData1
.
qryType
=
scope
.
$index
==
0
?
"bdw"
:
"bxq"
),
(
this
.
tableLoading
=
true
);
this
.
$refs
.
rightContent
.
doQuery
(
"yes"
);
this
.
$refs
.
rightContent
s
.
doQuery
(
"yes"
);
// this.getGrXnpgXX(scope);
},
// 个人接口
...
...
@@ -516,8 +532,10 @@ export default {
this
.
tableDataLength
=
res
.
data
.
total
;
this
.
tableData
=
res
.
data
.
rows
;
this
.
tableLoading
=
false
;
this
.
cxFormData1
.
unitcode
=
""
;
}
else
{
this
.
tableLoading
=
false
;
this
.
cxFormData1
.
unitcode
=
""
;
this
.
$message
.
error
(
"查询失败"
);
}
});
...
...
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