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
27b180fa
Commit
27b180fa
authored
Oct 30, 2018
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 网络错误
parent
2041eb8c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
joinDetail.ts
src/pages/activity-track/joinDetail/joinDetail.ts
+2
-2
replace-apply.html
src/pages/activity-track/replace-apply/replace-apply.html
+2
-2
replace-apply.ts
src/pages/activity-track/replace-apply/replace-apply.ts
+8
-4
No files found.
src/pages/activity-track/joinDetail/joinDetail.ts
View file @
27b180fa
...
@@ -149,9 +149,9 @@ export class JoinDetailPage {
...
@@ -149,9 +149,9 @@ export class JoinDetailPage {
this
.
appService
.
alert
(
'确定取消该活动报名'
,(
res
)
=>
{
this
.
appService
.
alert
(
'确定取消该活动报名'
,(
res
)
=>
{
const
data
=
{
const
data
=
{
'userid'
:
item
.
id
,
'userid'
:
item
.
id
,
'id'
:
''
'id'
:
item
.
orderId
}
}
this
.
appService
.
ObserverHttpGet
(
"/wisdomgroup/modules/order/deleteOrder"
,
data
).
this
.
appService
.
ObserverHttpGet
Option
(
"/wisdomgroup/modules/order/deleteOrder"
,
data
).
subscribe
((
res
)
=>
{
subscribe
((
res
)
=>
{
this
.
appService
.
popToastView
(
'取消报名成功!'
,
'middle'
,
1500
);
this
.
appService
.
popToastView
(
'取消报名成功!'
,
'middle'
,
1500
);
this
.
sign
();
this
.
sign
();
...
...
src/pages/activity-track/replace-apply/replace-apply.html
View file @
27b180fa
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
<span
class=
"lettr-space-1"
item-right
>
{{personInfo?.name}}
</span>
<span
class=
"lettr-space-1"
item-right
>
{{personInfo?.name}}
</span>
</ion-item>
</ion-item>
<div>
<div>
<span>
<span
*
ngFor=
"let item of selectBatchList"
>
{{item.batchName}}
</span>
</span>
</div>
</div>
<ion-item
class=
"margin-top-10"
>
<ion-item
class=
"margin-top-10"
>
...
...
src/pages/activity-track/replace-apply/replace-apply.ts
View file @
27b180fa
...
@@ -30,7 +30,7 @@ export class ReplaceApplyPage {
...
@@ -30,7 +30,7 @@ export class ReplaceApplyPage {
Batchid
:
''
,
//关联批次id
Batchid
:
''
,
//关联批次id
UserID
:
''
,
//用户id
UserID
:
''
,
//用户id
Username
:
''
,
//用户名称
Username
:
''
,
//用户名称
Usertel
:
''
//用户手机
Usertel
:
''
,
//用户手机
};
};
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
...
@@ -134,10 +134,14 @@ export class ReplaceApplyPage {
...
@@ -134,10 +134,14 @@ export class ReplaceApplyPage {
Batchid
:
this
.
item
.
id
,
//关联批次id
Batchid
:
this
.
item
.
id
,
//关联批次id
UserID
:
this
.
personInfo
.
id
,
UserID
:
this
.
personInfo
.
id
,
Username
:
this
.
personInfo
.
name
,
Username
:
this
.
personInfo
.
name
,
Usertel
:
this
.
personInfo
.
mobile
Usertel
:
this
.
personInfo
.
mobile
,
batchlist
:
''
};
};
this
.
order
.
Batchid
=
this
.
item
.
id
;
this
.
order
.
Activityid
=
this
.
item
.
activityId
;
this
.
selectBatchList
.
forEach
(
res
=>
{
order
.
batchlist
+=
res
.
id
+
','
;
});
console
.
log
(
order
);
this
.
appService
.
ObserverHttpPost
(
"/wisdomgroup/modules/order/create"
,
order
)
this
.
appService
.
ObserverHttpPost
(
"/wisdomgroup/modules/order/create"
,
order
)
.
subscribe
((
res
:
Response
)
=>
{
.
subscribe
((
res
:
Response
)
=>
{
this
.
navCtrl
.
pop
();
this
.
navCtrl
.
pop
();
...
...
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