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
9780cee8
Commit
9780cee8
authored
Mar 21, 2022
by
lp784568205
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了分页代码和类别统计返回按钮
parent
d9cb714b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
22 deletions
+26
-22
src/views/zdrygl/lbtj.vue
+23
-20
src/views/zdrygl/zdryGl.vue
+3
-2
No files found.
src/views/zdrygl/lbtj.vue
View file @
9780cee8
...
...
@@ -20,9 +20,9 @@
type=
"primary"
size=
"mini"
class=
"returnBtn"
@
click=
"historyCharts
2
"
@
click=
"historyCharts"
style=
""
v-if=
"type == 'map' && historyArr
2.length > 0
"
v-if=
"type == 'map' && historyArr
.length > 1
"
>
返回重点人员
</el-button
>
<div
...
...
@@ -60,7 +60,7 @@ export default {
header
:
"重点人员信息管理"
,
cxUrl
:
"/zdGzry/getMainZdGzryxx"
,
historyArr
:
[],
historyArr2
:
[],
//
historyArr2: [],
secondData
:
[],
cxFormData
:
{
limit
:
10
,
...
...
@@ -387,7 +387,8 @@ export default {
}));
debugger
//添加到histoy数组
_this
.
historyArr2
.
push
({
x
:
xData02
,
data
:
data02
});
// _this.historyArr2.push({ x: xData02, data: data02 });
_this
.
historyArr
.
push
({
x
:
xData02
,
data
:
data02
});
//刷新图
this
.
showCharts
=
false
;
_this
.
$nextTick
(()
=>
{
...
...
@@ -523,24 +524,26 @@ export default {
this
.
getCharts
(
obj
.
x
,
obj
.
data
,
obj
.
rotate
);
this
.
historyArr
.
pop
();
this
.
tierNum
--
;
this
.
$refs
.
rightContent
.
clearData
();
},
//点击返回上一层事件
historyCharts2
()
{
if
(
this
.
historyArr
.
length
==
1
&&
this
.
historyArr2
.
length
!=
1
)
{
this
.
$message
.
warning
(
"无法返回"
);
return
;
}
else
{
// debugger
// document.getElementById("charts").dispose()
}
debugger
let
obj
=
this
.
historyArr2
[
this
.
historyArr2
.
length
-
1
];
this
.
getCharts
(
obj
.
x
,
obj
.
data
,
-
30
);
debugger
//
//
点击返回上一层事件
//
historyCharts2() {
//
if (this.historyArr.length == 1 && this.historyArr2.length != 1) {
//
this.$message.warning("无法返回");
//
return;
//
}else {
//
// debugger
//
// document.getElementById("charts").dispose()
//
}
//
debugger
//
let obj = this.historyArr2[this.historyArr2.length - 1];
//
this.getCharts(obj.x, obj.data, -30);
//
debugger
this
.
historyArr
.
pop
();
this
.
tierNum
--
;
},
// this.historyArr2.pop();
// this.tierNum--;
// this.$refs.rightContent.clearData();
// },
//下钻处理接口事件
getChartsData
(
xzqhdm
)
{
let
params
=
new
Object
();
...
...
src/views/zdrygl/zdryGl.vue
View file @
9780cee8
...
...
@@ -652,11 +652,12 @@ export default {
this
.
copTableVisible
=
true
;
this
.
copdetailData
=
res
.
data
.
rows
;
this
.
totalCount
=
res
.
data
.
total
;
this
.
loadingD
=
false
;
}
else
{
this
.
loadingD
=
false
;
}
});
}
else
if
(
this
.
zt
TableVisible
==
true
)
{
}
else
if
(
this
.
yr
TableVisible
==
true
)
{
getDrDetail
(
newparams
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
success
==
true
&&
res
.
data
.
rows
!=
0
)
{
console
.
log
(
res
.
data
.
rows
);
...
...
@@ -670,7 +671,7 @@ export default {
this
.
loadingD
=
false
;
}
});
}
else
if
(
this
.
yr
TableVisible
==
true
)
{
}
else
if
(
this
.
zt
TableVisible
==
true
)
{
getZtDetail
(
newparams
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
success
==
true
&&
res
.
data
.
rows
!=
0
)
{
console
.
log
(
res
.
data
.
rows
);
...
...
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