Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
Project
Project
Details
Activity
Releases
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
华国豪
Athena
Commits
82e30d26
Commit
82e30d26
authored
May 21, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
64b7193e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
765 additions
and
0 deletions
+765
-0
NewTKtable.vue
...wPersonalCenter/block/model/OrderInfoModel/NewTKtable.vue
+598
-0
TQOrder.vue
src/components/newPersonalCenter/block/model/TQOrder.vue
+167
-0
No files found.
src/components/newPersonalCenter/block/model/OrderInfoModel/NewTKtable.vue
0 → 100644
View file @
82e30d26
This diff is collapsed.
Click to expand it.
src/components/newPersonalCenter/block/model/TQOrder.vue
0 → 100644
View file @
82e30d26
<
style
>
/* 定制游订单 */
@import
"../../../../assets/css/newPersonalCenter/block/OrderCenter.css"
;
</
style
>
<
template
>
<el-row
class=
"OrderCenter"
>
<!-- 条件 -->
<ul
class=
"clearfix"
>
<template
v-for=
"item in TitList"
>
<li
:key=
"item.ID"
class=
"__cp"
@
click=
"handleClick(item)"
:class=
"
{_active: activeName === item.ID}"
>
{{
item
.
Type
}}
</li>
</
template
>
</ul>
<!-- 表格 -->
<TCTable
:tableData=
"tableData"
/>
<div
class=
"empty-data"
v-if=
"tableData.length<1"
>
<i
class=
"iconfont icon-kong"
></i>
很抱歉,你想要的信息我们真的找不到了
</div>
<!-- 分页 -->
<el-row
class=
"_pagination"
v-if=
"totalCount > 1 && tableData.length>0"
>
<el-pagination
:current-page
.
sync=
"currentPage"
:page-size=
"getOrderMsg.pageSize"
layout=
"total, prev, pager, next"
:total=
"Count"
@
current-change=
"handleCurrentChange"
></el-pagination>
</el-row>
</el-row>
</template>
<
script
>
import
TCTable
from
"./OrderInfoModel/TCTable"
;
export
default
{
components
:
{
TCTable
:
TCTable
},
data
()
{
return
{
activeName
:
-
1
,
currentPage
:
1
,
rderLoading
:
false
,
totalCount
:
1
,
Count
:
1
,
WaitDealOrderPageList
:
""
,
getOrderMsg
:
{
pageIndex
:
1
,
pageSize
:
10
,
orderType
:
5
,
queryDays
:
0
,
orderState
:
-
1
,
CustomerId
:
""
},
TitList
:
[
{
Type
:
"全部"
,
ID
:
-
1
},
{
Type
:
"待付定金"
,
ID
:
1
},
{
Type
:
"待付尾款"
,
ID
:
2
},
{
Type
:
"待发团"
,
ID
:
3
},
{
Type
:
"交易完成"
,
ID
:
4
},
{
Type
:
"取消"
,
ID
:
5
}
// {
// val: 6,
// lable: '等待商家确认'
// },
// {
// val: 7,
// lable: '退款中'
// },
// {
// val: 8,
// lable: '退款成功'
// },
// {
// val: 9,
// lable: '交易完成'
// },
],
tableData
:
[]
};
},
computed
:
{},
created
()
{
},
mounted
()
{
let
userInfo
=
localStorage
.
userInfo
?
JSON
.
parse
(
localStorage
.
userInfo
)
:
""
;
this
.
getOrderMsg
.
CustomerId
=
userInfo
.
customerId
;
this
.
gerOrderList
();
this
.
b2b_get_GetWaitDealOrderPageList
();
},
methods
:
{
b2b_get_GetWaitDealOrderPageList
()
{
//获取待处理订单
let
msg
=
{
pageIndex
:
1
,
pageSize
:
100
};
this
.
apipost
(
"b2b_get_GetWaitDealOrderPageList"
,
msg
,
r
=>
{
if
(
r
.
data
.
resultCode
==
1
)
{
this
.
WaitDealOrderPageList
=
r
.
data
.
data
.
pageData
;
}
else
{
this
.
$message
.
error
(
r
.
data
.
message
);
}
},
null
);
},
gerOrderList
:
function
()
{
this
.
orderLoading
=
true
;
this
.
apiJavaPost
(
"/api/b2b/user/getrecentorder"
,
this
.
getOrderMsg
,
res
=>
{
// console.log("sss",res)
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
tableData
=
res
.
data
.
data
;
console
.
log
(
"签证订单"
,
this
.
tableData
)
this
.
totalCount
=
res
.
data
.
data
.
pageCount
;
this
.
Count
=
res
.
data
.
data
.
count
;
this
.
orderLoading
=
false
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
orderLoading
=
false
;
}
},
null
);
},
handleClick
(
item
)
{
this
.
activeName
=
item
.
ID
;
this
.
getOrderMsg
.
orderState
=
item
.
ID
;
this
.
gerOrderList
();
},
handleCurrentChange
(
val
)
{
// 翻页
this
.
getOrderMsg
.
pageIndex
=
parseInt
(
val
);
this
.
gerOrderList
();
}
}
};
</
script
>
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