Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
regManage
Project
Project
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
wangqinghua
regManage
Commits
84e92438
Commit
84e92438
authored
Apr 10, 2020
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b7c48a38
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
94 additions
and
27 deletions
+94
-27
info-detail.html
src/pages/home/report-info/info-detail/info-detail.html
+38
-6
info-detail.ts
src/pages/home/report-info/info-detail/info-detail.ts
+2
-2
person-info.html
src/pages/home/report-info/person-info/person-info.html
+0
-0
person-info.scss
src/pages/home/report-info/person-info/person-info.scss
+4
-1
person-info.ts
src/pages/home/report-info/person-info/person-info.ts
+19
-14
news.html
src/pages/news/news.html
+5
-0
news.ts
src/pages/news/news.ts
+25
-3
tabs.ts
src/pages/tabs/tabs.ts
+1
-1
No files found.
src/pages/home/report-info/info-detail/info-detail.html
View file @
84e92438
...
...
@@ -133,12 +133,44 @@
<span>
根据{{infoObj.filenumber}}文事业单位建制撤销
</span>
</div>
</div>
<ion-item>
<ion-label
class=
"item-left"
>
人员信息情况
</ion-label>
<ion-label
(
click
)="
openDetail
()"
class=
"choose"
>
详情
</ion-label>
</ion-item>
<p>
人员信息情况
</p>
<div
class=
"item-box"
>
<div
class=
"left"
>
管理岗位(参公)
</div>
<div
(
click
)="
openDetail
('管理岗位(参公)')"
class=
"choose right"
>
详情
</div>
</div>
<div
class=
"item-box"
>
<div
class=
"left"
>
管理岗位(非参公)
</div>
<div
(
click
)="
openDetail
('管理岗位(非参公)')"
class=
"choose right"
>
详情
</div>
</div>
<div
class=
"item-box"
>
<div
class=
"left"
>
专业技术岗位
</div>
<div
(
click
)="
openDetail
('专业技术岗位')"
class=
"choose right"
>
详情
</div>
</div>
<div
class=
"item-box"
>
<div
class=
"left"
>
工勤技能岗位
</div>
<div
(
click
)="
openDetail
('工勤技能岗位')"
class=
"choose right"
>
详情
</div>
</div>
<div
class=
"item-box"
>
<div
class=
"left"
>
按学历、年龄分布
</div>
<div
(
click
)="
openDetail
('按学历、年龄分布')"
class=
"choose right"
>
详情
</div>
</div>
<div
class=
"item-box"
>
<div
class=
"left"
>
工龄结构
</div>
<div
(
click
)="
openDetail
('工龄结构')"
class=
"choose right"
>
详情
</div>
</div>
<p>
年度报告情况
</p>
<div>
<ng-container
*
ngFor=
"let year of infoObj?.ndbgUnitList"
>
...
...
src/pages/home/report-info/info-detail/info-detail.ts
View file @
84e92438
...
...
@@ -51,8 +51,8 @@ export class InfoDetailPage {
)
}
openDetail
()
{
let
modalCtrl
=
this
.
modalCtrl
.
create
(
PersonInfoPage
,
{
item
:
this
.
personInfo
},
{
openDetail
(
title
)
{
let
modalCtrl
=
this
.
modalCtrl
.
create
(
PersonInfoPage
,
{
item
:
this
.
personInfo
,
title
:
title
},
{
enterAnimation
:
'modal-from-right-enter'
,
leaveAnimation
:
'modal-from-right-leave'
});
...
...
src/pages/home/report-info/person-info/person-info.html
View file @
84e92438
This diff is collapsed.
Click to expand it.
src/pages/home/report-info/person-info/person-info.scss
View file @
84e92438
...
...
@@ -4,6 +4,10 @@ page-person-info {
width
:
80%
;
}
.data-list
{
padding
:
10px
;
}
table
{
width
:
100%
;
...
...
@@ -15,7 +19,6 @@ page-person-info {
}
.table
{
height
:
177px
;
overflow
:
hidden
;
transition
:
all
1s
;
}
...
...
src/pages/home/report-info/person-info/person-info.ts
View file @
84e92438
...
...
@@ -7,26 +7,31 @@ import {IonicPage, NavController, NavParams} from 'ionic-angular';
})
export
class
PersonInfoPage
{
title
;
personInfo
;
list
=
{
age_segment
:
[
{
POSTLEVEL_CN
:
"博士研究生"
,
NUM
:
'0'
},
{
POSTLEVEL_CN
:
"硕士研究生"
,
NUM
:
'0'
},
{
POSTLEVEL_CN
:
"本科"
,
NUM
:
'0'
},
{
POSTLEVEL_CN
:
"大专"
,
NUM
:
'0'
},
{
POSTLEVEL_CN
:
"中专"
,
NUM
:
'0'
},
{
POSTLEVEL_CN
:
"高中"
,
NUM
:
'0'
},
{
POSTLEVEL_CN
:
"初中"
,
NUM
:
'0'
},
{
POSTLEVEL_CN
:
"其他"
,
NUM
:
'0'
},
],
postLevel
:
[],
postLevel_Leader
:
[],
retiredPerson
:
[],
workage_segment
:
[],
age_segment
:
{},
postLevel
:
{},
postLevel_Leader
:
{},
workage_segment
:
{},
}
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
)
{
this
.
personInfo
=
this
.
navParams
.
get
(
'item'
);
this
.
title
=
this
.
navParams
.
get
(
'title'
);
this
.
personInfo
.
postLevel
.
forEach
(
e
=>
{
this
.
list
.
postLevel
[
e
.
POSTLEVEL_CN
]
=
e
.
NUM
;
})
this
.
personInfo
.
postLevel_Leader
.
forEach
(
e
=>
{
this
.
list
.
postLevel_Leader
[
e
.
POSTLEVEL_LEADER_CN
]
=
e
.
NUM
;
})
this
.
personInfo
.
age_segment
.
forEach
(
e
=>
{
this
.
list
.
age_segment
[
`
${
e
.
EDUCATION_CN
}
_
${
e
.
AGE_SEGMENT_CN
}
`
]
=
e
.
NUM
;
})
this
.
personInfo
.
workage_segment
.
forEach
(
e
=>
{
this
.
list
.
workage_segment
[
`
${
e
.
EDUCATION_CN
}
_
${
e
.
WORKAGE_SEGMENT_CN
}
`
]
=
e
.
NUM
;
})
console
.
log
(
this
.
list
);
}
ionViewDidLoad
()
{
...
...
src/pages/news/news.html
View file @
84e92438
...
...
@@ -91,4 +91,9 @@
</ng-container>
</ng-container>
</div>
<ion-infinite-scroll
(
ionInfinite
)="
doInfinite
($
event
)"
>
<ion-infinite-scroll-content
loadingSpinner=
"bubbles"
loadingText=
"加载中"
></ion-infinite-scroll-content>
</ion-infinite-scroll>
</ion-content>
src/pages/news/news.ts
View file @
84e92438
...
...
@@ -17,6 +17,12 @@ export class NewsPage {
dqtxList
=
[];
rgtxList
=
[];
dbPage
=
{
page
:
1
,
limit
:
10
};
total
=
0
;
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
private
newSer
:
NewsService
)
{
}
...
...
@@ -25,11 +31,12 @@ export class NewsPage {
this
.
getList
();
const
data
=
{
page
:
1
,
limit
:
10
limit
:
10
00
}
this
.
newSer
.
dqtxList
(
data
).
subscribe
(
this
.
newSer
.
dqtxList
(
this
.
dbPage
).
subscribe
(
(
res
)
=>
{
this
.
dqtxList
=
res
.
dqtxList
;
this
.
total
=
res
.
pageable
.
totalSize
;
}
)
this
.
newSer
.
rgtxList
(
data
).
subscribe
(
...
...
@@ -63,8 +70,23 @@ export class NewsPage {
this
.
navCtrl
.
push
(
DealDetailPage
,
{
"item"
:
data
});
}
switchType
(){
switchType
()
{
}
doInfinite
(
event
)
{
if
(
this
.
total
==
this
.
dqtxList
.
length
)
{
event
.
enable
(
false
);
return
false
;
}
this
.
dbPage
.
page
++
;
this
.
newSer
.
dqtxList
(
this
.
dbPage
).
subscribe
(
(
res
)
=>
{
if
(
event
)
event
.
complete
();
this
.
dqtxList
=
this
.
dqtxList
.
concat
(
res
.
dqtxList
);
this
.
total
=
res
.
pageable
.
totalSize
;
}
)
}
}
src/pages/tabs/tabs.ts
View file @
84e92438
...
...
@@ -100,7 +100,7 @@ export class TabsPage {
"flow"
:
"0"
,
"areaCode"
:
this
.
globle
.
userObj
.
area
,
"page"
:
"1"
,
"limit"
:
"10
000
"
"limit"
:
"10"
};
this
.
dealSer
.
searchSchedule
(
data
).
subscribe
(
(
res
)
=>
{
...
...
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