Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-ces
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
wisdom-ces
Commits
b7d0db55
Commit
b7d0db55
authored
Oct 12, 2018
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
color
parent
1236fb40
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
46 additions
and
37 deletions
+46
-37
block-modal.html
src/pages/activity-track/block-modal/block-modal.html
+2
-2
add-block.html
src/pages/contact/add-block/add-block.html
+1
-1
block-list.html
src/pages/contact/block-list/block-list.html
+2
-2
block-list.ts
src/pages/contact/block-list/block-list.ts
+28
-20
contact-modal.html
src/pages/contact/contact-modal/contact-modal.html
+1
-1
person-list.html
src/pages/contact/person-list/person-list.html
+4
-4
person-list.ts
src/pages/contact/person-list/person-list.ts
+1
-2
question-detail.html
src/pages/mySurvey/question-detail/question-detail.html
+1
-1
outGoingReportEdit.ts
src/pages/report/outGoingReportEdit/outGoingReportEdit.ts
+4
-2
person.html
src/pages/surveyManage/modal/person/person.html
+2
-2
No files found.
src/pages/activity-track/block-modal/block-modal.html
View file @
b7d0db55
...
@@ -5,12 +5,12 @@
...
@@ -5,12 +5,12 @@
<ion-title>
选择批次
</ion-title>
<ion-title>
选择批次
</ion-title>
<ion-buttons
start
>
<ion-buttons
start
>
<button
ion-button
(
click
)="
dismiss
()"
>
<button
ion-button
(
click
)="
dismiss
()"
>
<span
ion-text
c
olor=
"primary
"
>
取消
</span>
<span
ion-text
c
lass=
"color-fff
"
>
取消
</span>
</button>
</button>
</ion-buttons>
</ion-buttons>
<ion-buttons
end
>
<ion-buttons
end
>
<button
ion-button
(
click
)="
dismiss
()"
>
<button
ion-button
(
click
)="
dismiss
()"
>
<span
ion-text
c
olor=
"primary
"
>
确定
</span>
<span
ion-text
c
lass=
"color-fff
"
>
确定
</span>
</button>
</button>
</ion-buttons>
</ion-buttons>
</ion-navbar>
</ion-navbar>
...
...
src/pages/contact/add-block/add-block.html
View file @
b7d0db55
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<ion-navbar>
<ion-navbar>
<ion-title>
添加分组
</ion-title>
<ion-title>
添加分组
</ion-title>
<span
(
click
)="
done
()"
float-right
class=
"margin-right-10 color-
999
"
>
完成
</span>
<span
(
click
)="
done
()"
float-right
class=
"margin-right-10 color-
fff
"
>
完成
</span>
</ion-navbar>
</ion-navbar>
</ion-header>
</ion-header>
...
...
src/pages/contact/block-list/block-list.html
View file @
b7d0db55
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
</div>
</div>
<ion-list>
<ion-list>
<ion-item-sliding
*
ngFor=
"let contactPerson of contactPersons"
>
<ion-item-sliding
*
ngFor=
"let contactPerson of contactPersons"
>
<ion-item
>
<ion-item>
<div
class=
"contact-box"
>
<div
class=
"contact-box"
(
click
)="
contactPersonInfo
(
contactPerson
)"
>
<img
src=
"./assets/imgs/head.png"
class=
"contact-img"
>
<img
src=
"./assets/imgs/head.png"
class=
"contact-img"
>
<div
class=
"contact-box-right"
>
<div
class=
"contact-box-right"
>
<div>
<div>
...
...
src/pages/contact/block-list/block-list.ts
View file @
b7d0db55
...
@@ -43,31 +43,34 @@ export class BlockListPage {
...
@@ -43,31 +43,34 @@ export class BlockListPage {
const
toast
=
this
.
toastCtrl
.
create
(
message
);
const
toast
=
this
.
toastCtrl
.
create
(
message
);
let
peoModal
=
this
.
modalCtrl
.
create
(
PersonListPage
);
let
peoModal
=
this
.
modalCtrl
.
create
(
PersonListPage
);
peoModal
.
onDidDismiss
(
res
=>
{
peoModal
.
onDidDismiss
(
res
=>
{
const
data
=
{
if
(
res
){
'telpBookPersonList'
:[{
const
data
=
{
'telpbookId'
:
this
.
orgid
,
'telpBookPersonList'
:[{
'linkUserid'
:
res
.
id
,
'telpbookId'
:
this
.
orgid
,
'linkUsername'
:
res
.
name
'linkUserid'
:
res
.
id
,
}]
'linkUsername'
:
res
.
name
};
}]
};
this
.
appService
.
ObserverHttpPostData
(
'/wisdomgroup/modules/telpBook'
,
data
)
.
subscribe
((
res
)
=>
{
console
.
log
(
res
.
json
());
if
(
res
.
json
().
apiResult
.
errcode
==
'0'
){
toast
.
setMessage
(
'添加成功'
);
toast
.
present
();
this
.
initList
();
}
else
{
toast
.
setMessage
(
res
.
json
().
apiResult
.
data
);
toast
.
present
();
}
})
this
.
appService
.
ObserverHttpPostData
(
'/wisdomgroup/modules/telpBook'
,
data
)
.
subscribe
((
res
)
=>
{
console
.
log
(
res
.
json
());
if
(
res
.
json
().
apiResult
.
errcode
==
'0'
){
toast
.
setMessage
(
'添加成功'
);
toast
.
present
();
this
.
initList
();
}
else
{
toast
.
setMessage
(
res
.
json
().
apiResult
.
data
);
toast
.
present
();
}
})
}
}
);
}
);
peoModal
.
present
();
peoModal
.
present
();
}
}
removeItem
(
item
){
removeItem
(
item
){
const
data
=
{
const
data
=
{
userId
:
item
.
id
userId
:
item
.
id
...
@@ -80,4 +83,9 @@ export class BlockListPage {
...
@@ -80,4 +83,9 @@ export class BlockListPage {
})
})
}
}
//人员详情
contactPersonInfo
(
contactPerson
){
this
.
navCtrl
.
push
(
"ContractPersoninfoPage"
,{
"id"
:
contactPerson
.
id
});
}
}
}
src/pages/contact/contact-modal/contact-modal.html
View file @
b7d0db55
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</ion-title>
</ion-title>
<ion-buttons
start
>
<ion-buttons
start
>
<button
ion-button
(
click
)="
dismiss
()"
>
<button
ion-button
(
click
)="
dismiss
()"
>
<span
ion-text
c
olor=
"primary
"
>
取消
</span>
<span
ion-text
c
lass=
"color-fff
"
>
取消
</span>
</button>
</button>
</ion-buttons>
</ion-buttons>
</ion-toolbar>
</ion-toolbar>
...
...
src/pages/contact/person-list/person-list.html
View file @
b7d0db55
...
@@ -3,13 +3,13 @@
...
@@ -3,13 +3,13 @@
<ion-navbar>
<ion-navbar>
<ion-title>
联系人
</ion-title>
<ion-title>
联系人
</ion-title>
<ion-buttons
start
>
<ion-buttons
start
>
<button
ion-button
(
click
)="
dismiss
()"
>
<button
ion-button
(
click
)="
dismiss
()"
>
<span
ion-text
color=
"primary"
>
取消
</span>
<span
class=
"color-fff"
ion-text
>
取消
</span>
</button>
</button>
</ion-buttons>
</ion-buttons>
<ion-buttons
end
>
<ion-buttons
end
>
<button
ion-button
(
click
)="
dismiss
()"
>
<button
class=
"color-fff"
ion-button
(
click
)="
dismiss
()"
>
<span
ion-text
color=
"primary"
>
确定
</span>
<span
class=
"color-fff"
ion-text
>
确定
</span>
</button>
</button>
</ion-buttons>
</ion-buttons>
</ion-navbar>
</ion-navbar>
...
...
src/pages/contact/person-list/person-list.ts
View file @
b7d0db55
...
@@ -31,8 +31,7 @@ export class PersonListPage {
...
@@ -31,8 +31,7 @@ export class PersonListPage {
}
}
dismiss
()
{
dismiss
()
{
let
data
=
{
};
this
.
viewCtrl
.
dismiss
();
this
.
viewCtrl
.
dismiss
(
data
);
}
}
sure
(
item
){
sure
(
item
){
...
...
src/pages/mySurvey/question-detail/question-detail.html
View file @
b7d0db55
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<ion-title>
问卷结果
</ion-title>
<ion-title>
问卷结果
</ion-title>
<ion-buttons
start
>
<ion-buttons
start
>
<button
ion-button
(
click
)="
dismiss
()"
>
<button
ion-button
(
click
)="
dismiss
()"
>
<span
ion-text
c
olor=
"primary
"
>
取消
</span>
<span
ion-text
c
lass=
"color-fff
"
>
取消
</span>
</button>
</button>
</ion-buttons>
</ion-buttons>
</ion-navbar>
</ion-navbar>
...
...
src/pages/report/outGoingReportEdit/outGoingReportEdit.ts
View file @
b7d0db55
...
@@ -221,8 +221,10 @@ export class OutGoingReportEditPage {
...
@@ -221,8 +221,10 @@ export class OutGoingReportEditPage {
}
}
}
}
this
.
userpre
.
userId
=
this
.
person
.
id
;
if
(
this
.
person
){
this
.
userpre
.
userName
=
this
.
person
.
name
;
this
.
userpre
.
userId
=
this
.
person
.
id
;
this
.
userpre
.
userName
=
this
.
person
.
name
;
}
//判断报备截止日期
//判断报备截止日期
let
signflag
=
Date
.
parse
(
this
.
temp_endTime
.
toString
())
>
Date
.
parse
(
new
Date
().
toString
());
let
signflag
=
Date
.
parse
(
this
.
temp_endTime
.
toString
())
>
Date
.
parse
(
new
Date
().
toString
());
...
...
src/pages/surveyManage/modal/person/person.html
View file @
b7d0db55
...
@@ -5,12 +5,12 @@
...
@@ -5,12 +5,12 @@
<ion-title>
选择用户组
</ion-title>
<ion-title>
选择用户组
</ion-title>
<ion-buttons
start
>
<ion-buttons
start
>
<button
ion-button
(
click
)="
dismiss
()"
>
<button
ion-button
(
click
)="
dismiss
()"
>
<span
ion-text
color=
"primary
"
>
取消
</span>
<span
ion-text
class=
"color-fff
"
>
取消
</span>
</button>
</button>
</ion-buttons>
</ion-buttons>
<ion-buttons
end
>
<ion-buttons
end
>
<button
ion-button
(
click
)="
dismiss
()"
>
<button
ion-button
(
click
)="
dismiss
()"
>
<span
ion-text
c
olor=
"primary
"
>
确定
</span>
<span
ion-text
c
lass=
"color-fff
"
>
确定
</span>
</button>
</button>
</ion-buttons>
</ion-buttons>
</ion-navbar>
</ion-navbar>
...
...
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