Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
peiworker
/
douyin-fe
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9f707099
authored
Jul 24, 2020
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
808a7044
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
12 deletions
+22
-12
src/api/gifts.js
+1
-1
src/views/orders/index.vue
+21
-11
No files found.
src/api/gifts.js
View file @
9f707099
...
...
@@ -31,7 +31,7 @@ export function createGiftGood(params) {
export
function
deleteGood
(
params
)
{
params
.
token
=
getToken
()
return
request
({
url
:
`gift/
params.id
/delete`
,
url
:
`gift/
${
params
.
id
}
/delete`
,
method
:
'post'
,
params
})
...
...
src/views/orders/index.vue
View file @
9f707099
...
...
@@ -36,29 +36,39 @@
{{
scope
.
$index
}}
</
template
>
</el-table-column>
<el-table-column
label=
"
用户名称
"
>
<el-table-column
label=
"
订单号
"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
member
&&
scope
.
row
.
member
.
nick_name
}}
{{
scope
.
row
.
orderId
}}
</
template
>
</el-table-column>
<el-table-column
label=
"
用户openid
"
>
<el-table-column
label=
"
下单时间
"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
member
&&
scope
.
row
.
member
.
open_id
}}
{{
scope
.
row
.
orderTime
}}
</
template
>
</el-table-column>
<el-table-column
label=
"
行为
"
>
<el-table-column
label=
"
商品ID
"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
act_type
|
typeFilter
}}
{{
scope
.
row
.
skuId
}}
</
template
>
</el-table-column>
<el-table-column
label=
"
描述
"
>
<el-table-column
label=
"
商品名称
"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
content
}}
{{
scope
.
row
.
skuName
}}
</
template
>
</el-table-column>
<el-table-column
label=
"
操作时间
"
>
<el-table-column
label=
"
订单状态
"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
created_at
}}
{{
scope
.
row
.
validCode
|
typeFilter
}}
</
template
>
</el-table-column>
<el-table-column
label=
"实际佣金"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
actualFee
}}
</
template
>
</el-table-column>
<el-table-column
label=
"预估结算时间"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
payMonth
}}
</
template
>
</el-table-column>
</el-table>
...
...
@@ -81,7 +91,7 @@
17
:
'已完成'
,
18
:
'已结算'
,
}
return
typeMap
[
type
]
return
typeMap
[
type
]
||
'未知'
}
},
data
()
{
...
...
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