Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
online-edu-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Redmine
Redmine
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
online-edu
online-edu-admin
Commits
25f3f947
Commit
25f3f947
authored
Jun 21, 2021
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed 订单列表BUG
parent
e1985a0d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
5 deletions
+17
-5
index.vue
src/views/biz/enterprise/index.vue
+1
-1
index.vue
src/views/biz/order/index.vue
+16
-4
No files found.
src/views/biz/enterprise/index.vue
View file @
25f3f947
...
@@ -398,7 +398,7 @@ export default {
...
@@ -398,7 +398,7 @@ export default {
disposereq
(
this
,
err
);
disposereq
(
this
,
err
);
});
});
},
},
handleTableChange
()
{
handleTableChange
(
pagination
,
filters
,
sorter
)
{
let
queryParam
=
{
...
this
.
searchPage
};
let
queryParam
=
{
...
this
.
searchPage
};
queryParam
.
pageIndex
=
pagination
.
current
;
queryParam
.
pageIndex
=
pagination
.
current
;
queryParam
.
pageSize
=
pagination
.
pageSize
;
queryParam
.
pageSize
=
pagination
.
pageSize
;
...
...
src/views/biz/order/index.vue
View file @
25f3f947
...
@@ -31,9 +31,9 @@
...
@@ -31,9 +31,9 @@
<div>
手机:
{{
record
.
username
}}
</div>
<div>
手机:
{{
record
.
username
}}
</div>
</
template
>
</
template
>
<
template
slot=
"status"
slot-scope=
"text,record"
>
<
template
slot=
"status"
slot-scope=
"text,record"
>
<a-tag
v-if=
"text == 'WAIT_PAY'"
color=
"
red
"
>
未支付
</a-tag>
<a-tag
v-if=
"text == 'WAIT_PAY'"
color=
"
orange
"
>
未支付
</a-tag>
<a-tag
v-if=
"text == 'PAY_COMPLETE'"
color=
"green"
>
已支付
</a-tag>
<a-tag
v-if=
"text == 'PAY_COMPLETE'"
color=
"green"
>
已支付
</a-tag>
<a-tag
v-if=
"text == 'PAY_
FAILD'"
color=
"red"
>
支付失败
</a-tag>
<a-tag
v-if=
"text == 'PAY_
CLOSE'"
color=
"red"
>
已关闭
</a-tag>
</
template
>
</
template
>
</a-table>
</a-table>
</div>
</div>
...
@@ -51,8 +51,9 @@ let columns = [
...
@@ -51,8 +51,9 @@ let columns = [
},
},
{
{
title
:
"订单名称"
,
title
:
"订单名称"
,
dataIndex
:
"orderNo"
,
dataIndex
:
"orderName"
,
align
:
"orderName"
align
:
"center"
},
},
{
{
title
:
"单价"
,
title
:
"单价"
,
...
@@ -142,6 +143,17 @@ export default {
...
@@ -142,6 +143,17 @@ export default {
this
.
loading
=
false
this
.
loading
=
false
disposereq
(
this
,
err
)
disposereq
(
this
,
err
)
})
})
},
handleTableChange
(
pagination
,
filters
,
sorter
){
let
queryParam
=
{
...
this
.
searchPage
};
queryParam
.
pageIndex
=
pagination
.
current
;
queryParam
.
pageSize
=
pagination
.
pageSize
;
this
.
getList
(
queryParam
);
},
handlSearch
(){
let
queryParam
=
{
...
this
.
searchPage
};
this
.
getList
(
queryParam
);
}
}
}
}
}
}
...
...
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