Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
party-build-cloud
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
party-build-cloud
Commits
c64e521b
Commit
c64e521b
authored
Jun 16, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
share
parent
3d6fe5ef
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
7 deletions
+23
-7
barCode.png
src/assets/imgs/mine/barCode.png
+0
-0
publish.ts
src/pages/discover-pages/publish/publish.ts
+13
-2
my-publish.ts
src/pages/mine-pages/my-publish/my-publish.ts
+2
-2
verify-edit.ts
src/pages/mine-pages/verify-edit/verify-edit.ts
+3
-2
verify-handle.ts
src/pages/mine-pages/verify-handle/verify-handle.ts
+1
-1
version.html
src/pages/version/version.html
+4
-0
No files found.
src/assets/imgs/mine/barCode.png
0 → 100644
View file @
c64e521b
9.87 KB
src/pages/discover-pages/publish/publish.ts
View file @
c64e521b
...
@@ -42,9 +42,10 @@ export class PublishPage {
...
@@ -42,9 +42,10 @@ export class PublishPage {
publishRange
:
''
,
publishRange
:
''
,
};
};
fileList
=
[];
//文件数组
fileList
=
[];
//文件数组
group
=
[{
groupName
:
'全体人员'
,
id
:
null
}];
//用户组
group
=
[{
groupName
:
'全体人员'
,
id
:
null
}];
//用户组
userid
;
//当前登录人的id
userid
;
//当前登录人的id
file
;
// 文件
file
;
// 文件
orgName
;
//登录人的部门
pictrue
=
AppGlobal
.
domain
+
'/wisdomgroup'
;
pictrue
=
AppGlobal
.
domain
+
'/wisdomgroup'
;
...
@@ -63,11 +64,21 @@ export class PublishPage {
...
@@ -63,11 +64,21 @@ export class PublishPage {
ionViewDidLoad
()
{
ionViewDidLoad
()
{
this
.
type
=
this
.
navParams
.
get
(
'type'
);
this
.
type
=
this
.
navParams
.
get
(
'type'
);
this
.
getRole
();
this
.
getRole
();
this
.
getOrg
();
this
.
storage
.
get
(
"userLoginInfo"
).
then
((
value
)
=>
{
this
.
storage
.
get
(
"userLoginInfo"
).
then
((
value
)
=>
{
this
.
userid
=
value
.
userid
;
this
.
userid
=
value
.
userid
;
})
})
}
}
//获取部门
getOrg
()
{
this
.
tabSer
.
getUserIntegral
().
subscribe
(
(
res
)
=>
{
this
.
orgName
=
res
.
data
.
orgName
;
}
);
}
//获取权限
//获取权限
//返回值int :3-管理员,2-处室领导,1-内勤人员,0-普通用户
//返回值int :3-管理员,2-处室领导,1-内勤人员,0-普通用户
getRole
()
{
getRole
()
{
...
@@ -253,7 +264,7 @@ export class PublishPage {
...
@@ -253,7 +264,7 @@ export class PublishPage {
const
data
=
{
const
data
=
{
title
:
this
.
obj
.
title
,
//标题
title
:
this
.
obj
.
title
,
//标题
plateType
:
this
.
obj
.
type
,
//分类
plateType
:
this
.
obj
.
type
,
//分类
source
:
'上海市委组织部'
,
//来源
source
:
this
.
orgName
,
//来源
publishStatus
:
status
,
//已提交 退回1 发布3
publishStatus
:
status
,
//已提交 退回1 发布3
content
:
` `
+
content
,
//内容
content
:
` `
+
content
,
//内容
publishRange
:
this
.
obj
.
publishRange
,
//范围
publishRange
:
this
.
obj
.
publishRange
,
//范围
...
...
src/pages/mine-pages/my-publish/my-publish.ts
View file @
c64e521b
...
@@ -77,7 +77,7 @@ export class MyPublishPage {
...
@@ -77,7 +77,7 @@ export class MyPublishPage {
})
})
}
}
goTo
(
item
){
goTo
(
item
)
{
this
.
navCtrl
.
push
(
'VerifyEditPage'
,
{
stuffId
:
item
.
id
});
this
.
navCtrl
.
push
(
'VerifyEditPage'
,
{
stuffId
:
item
.
id
,
source
:
'publish'
});
}
}
}
}
src/pages/mine-pages/verify-edit/verify-edit.ts
View file @
c64e521b
...
@@ -57,6 +57,7 @@ export class VerifyEditPage {
...
@@ -57,6 +57,7 @@ export class VerifyEditPage {
caroul
;
//轮播图
caroul
;
//轮播图
stuffId
;
stuffId
;
source
;
//verify 审核 publish 发布
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
public
storage
:
Storage
,
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
public
storage
:
Storage
,
public
camera
:
Camera
,
public
actionSheetCtrl
:
ActionSheetController
,
public
camera
:
Camera
,
public
actionSheetCtrl
:
ActionSheetController
,
...
@@ -67,6 +68,7 @@ export class VerifyEditPage {
...
@@ -67,6 +68,7 @@ export class VerifyEditPage {
ionViewDidLoad
()
{
ionViewDidLoad
()
{
this
.
stuffId
=
this
.
navParams
.
get
(
'stuffId'
);
this
.
stuffId
=
this
.
navParams
.
get
(
'stuffId'
);
this
.
source
=
this
.
navParams
.
get
(
'source'
);
this
.
getStuff
();
this
.
getStuff
();
this
.
getRole
();
this
.
getRole
();
this
.
storage
.
get
(
"userLoginInfo"
).
then
((
value
)
=>
{
this
.
storage
.
get
(
"userLoginInfo"
).
then
((
value
)
=>
{
...
@@ -378,8 +380,7 @@ export class VerifyEditPage {
...
@@ -378,8 +380,7 @@ export class VerifyEditPage {
}
else
{
}
else
{
buttonArr
.
push
(
submit
);
buttonArr
.
push
(
submit
);
}
}
buttonArr
.
push
(
publish
);
if
(
this
.
source
==
"publish"
)
buttonArr
.
push
(
draft
);
buttonArr
.
push
(
draft
);
buttonArr
.
push
(
cancel
);
buttonArr
.
push
(
cancel
);
const
actionSheet
=
this
.
actionSheetCtrl
.
create
({
const
actionSheet
=
this
.
actionSheetCtrl
.
create
({
...
...
src/pages/mine-pages/verify-handle/verify-handle.ts
View file @
c64e521b
...
@@ -82,7 +82,7 @@ export class VerifyHandlePage {
...
@@ -82,7 +82,7 @@ export class VerifyHandlePage {
}
}
edit
()
{
edit
()
{
this
.
navCtrl
.
push
(
'VerifyEditPage'
,
{
stuffId
:
this
.
stuffId
});
this
.
navCtrl
.
push
(
'VerifyEditPage'
,
{
stuffId
:
this
.
stuffId
,
source
:
'verify'
});
}
}
}
}
src/pages/version/version.html
View file @
c64e521b
...
@@ -9,6 +9,10 @@
...
@@ -9,6 +9,10 @@
<ion-label>
是否接受推送消息
</ion-label>
<ion-label>
是否接受推送消息
</ion-label>
<ion-toggle
[(
ngModel
)]="
pusNumber
"
(
ionChange
)="
savePush
()"
></ion-toggle>
<ion-toggle
[(
ngModel
)]="
pusNumber
"
(
ionChange
)="
savePush
()"
></ion-toggle>
</ion-item>
</ion-item>
<ion-item
(
click
)="
goTo
('
SharePage
')"
>
<span>
分享客户端
</span>
<ion-icon
float-right
name=
"ios-arrow-forward"
></ion-icon>
</ion-item>
<ion-item
(
click
)="
goTo
('
OperationListPage
')"
>
<ion-item
(
click
)="
goTo
('
OperationListPage
')"
>
<span>
操作记录
</span>
<span>
操作记录
</span>
<ion-icon
float-right
name=
"ios-arrow-forward"
></ion-icon>
<ion-icon
float-right
name=
"ios-arrow-forward"
></ion-icon>
...
...
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