Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
dd995db8
Commit
dd995db8
authored
Oct 26, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
2ada4d98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
12 deletions
+27
-12
allList.vue
src/components/myOrdersAllType/components/allList.vue
+27
-12
No files found.
src/components/myOrdersAllType/components/allList.vue
View file @
dd995db8
...
...
@@ -90,7 +90,7 @@
<li
v-if=
"Title=='审核'"
>
<span>
<em>
审核状态
</em>
<el-select
v-model=
'msg
.OrderState'
class=
"w200
"
>
<el-select
v-model=
'msg
2.OrderState'
class=
"w200"
@
change=
"msg2.papageIndex==1,GetList(1)
"
>
<!--
<el-option
:value=
"0"
label=
"不限"
></el-option>
-->
<el-option
v-for=
'item in OrderStatusList'
:label=
'item.Name'
...
...
@@ -321,9 +321,14 @@
</div>
<OrderList
:pagesTitle=
"Title"
:OrderList=
"OrderList"
v-loading=
"loading"
@
success=
"msg.pageIndex=1,GetList()"
>
</OrderList>
<div
v-if=
"OrderList&&OrderList.length==0"
style=
"text-align: center;padding: 100px;"
>
暂无数据
</div>
<el-pagination
v-if=
"OrderList&&OrderList.length>0"
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
>
<el-pagination
v-if=
"OrderList&&OrderList.length>0&&pagesTitle!='审核'"
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
>
</el-pagination>
<el-pagination
v-if=
"OrderList&&OrderList.length>0&&pagesTitle=='审核'"
background
@
current-change=
"handleCurrentChange2"
:current-page
.
sync=
"currentPage2"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg2.pageSize
:total=
total2
>
</el-pagination>
</div>
</
template
>
...
...
@@ -334,6 +339,15 @@
components
:
{
OrderList
},
data
()
{
return
{
total2
:
0
,
currentPage2
:
1
,
msg2
:{
OrderId
:
''
,
OrderState
:
'0'
,
OrderType
:
'0'
,
papageIndex
:
1
,
pagesize
:
15
},
CommissionTypeList
:[
{
Name
:
'不限'
,
Id
:
'-1'
},
{
Name
:
'出境提成'
,
Id
:
'1'
},
...
...
@@ -585,13 +599,6 @@
GetList
()
{
this
.
loading
=
true
let
msgObj
let
msg
=
{
OrderId
:
''
,
OrderState
:
'0'
,
OrderType
:
'0'
,
papageIndex
:
1
,
pagesize
:
15
}
let
url
=
"CarSingle_post_GetGuestOrderStatisticsPageList"
// 销售 OP
if
(
this
.
pagesTitle
==
'销售'
){
...
...
@@ -604,14 +611,18 @@
}
else
{
this
.
msg
.
IsMyOrder
=
'0'
}
msgObj
=
this
.
pagesTitle
==
'审核'
?
msg
:
this
.
msg
msgObj
=
this
.
pagesTitle
==
'审核'
?
this
.
msg2
:
this
.
msg
this
.
apipost
(
url
,
msgObj
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getSummaryData
()
let
data
=
res
.
data
.
data
.
pageData
this
.
OrderList
=
data
;
this
.
total
=
res
.
data
.
data
.
count
;
if
(
this
.
pagesTitle
==
'审核'
){
this
.
total2
=
res
.
data
.
data
.
count
;
}
else
{
this
.
total
=
res
.
data
.
data
.
count
;
}
// this.TotalMsg = res.data.data.StatModel
}
else
{
this
.
Error
(
res
.
data
.
message
);
...
...
@@ -639,6 +650,10 @@
this
.
msg
.
pageIndex
=
val
;
this
.
GetList
();
},
handleCurrentChange2
(
val
)
{
this
.
msg2
.
pageIndex
=
val
;
this
.
GetList
();
},
com_onresize
()
{
//clientHeight的值由DIV内容的实际高度和CSS中的padding值决定,
var
contentsHeight
=
document
.
body
.
clientHeight
;
...
...
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