Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
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
new-sing
admin-base
Commits
36e1cc61
Commit
36e1cc61
authored
Jan 02, 2019
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
扫码导出
parent
311fcf50
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
41 additions
and
19 deletions
+41
-19
userList.vue
src/components/class/userList.vue
+5
-5
index.vue
src/components/monthOrder/index.vue
+2
-2
index.vue
src/components/notBuyClass/index.vue
+24
-1
index.vue
src/components/order/index.vue
+2
-2
index.vue
src/components/periods/index.vue
+2
-2
index.vue
src/components/putForward/index.vue
+2
-2
index.vue
src/components/shop/index.vue
+2
-2
index.vue
src/components/teacherDetail/index.vue
+2
-3
No files found.
src/components/class/userList.vue
View file @
36e1cc61
...
...
@@ -119,7 +119,7 @@
<el-table
:data=
"userTable"
@
selection-change=
"handleSelectionChange123"
style=
"width: 100%"
>
style=
"width: 100%"
fixed
>
<el-table-column
type=
"selection"
width=
"55"
>
...
...
@@ -136,7 +136,7 @@
</
template
>
</el-table-column>
<el-table-column
label=
"手机号"
>
label=
"手机号"
width=
"120"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
mobile
}}
</
template
>
...
...
@@ -148,13 +148,13 @@
</
template
>
</el-table-column>
<el-table-column
label=
"最后登录时间"
sortable
width=
"1
4
0"
prop=
"last_login_at"
>
label=
"最后登录时间"
sortable
width=
"1
6
0"
prop=
"last_login_at"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
last_login_at
}}
</
template
>
</el-table-column>
<el-table-column
label=
"创建时间"
>
label=
"创建时间"
width=
"160"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
created_at
}}
</
template
>
...
...
@@ -207,7 +207,7 @@
{{
scope
.
row
.
weight
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"320"
>
<el-table-column
label=
"操作"
width=
"320"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"warning"
size=
"mini"
@
click=
"editPrivilege(scope.row)"
>
编辑
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"onGetUserDescList(scope.row)"
>
备注
</el-button>
...
...
src/components/monthOrder/index.vue
View file @
36e1cc61
...
...
@@ -87,7 +87,7 @@
<el-table
:data=
"tableData"
@
expand-change=
"changeRow"
style=
"width: 100%"
>
style=
"width: 100%"
fixed
>
<el-table-column
prop=
"out_trade_no"
label=
"订单号"
...
...
@@ -199,7 +199,7 @@
<el-table-column
width=
"50"
label=
"操作"
v-if=
"!$store.state.readonly"
v-if=
"!$store.state.readonly"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<el-popover
...
...
src/components/notBuyClass/index.vue
View file @
36e1cc61
...
...
@@ -5,6 +5,9 @@
<el-form-item
label=
"用户ID"
>
<el-input
v-model=
"searchFrom.user_id"
@
change=
"getList"
></el-input>
</el-form-item>
<el-form-item
label=
"手机号"
>
<el-input
v-model=
"searchFrom.mobile"
@
change=
"getList"
></el-input>
</el-form-item>
<el-form-item
label=
"商品名称"
>
<el-select
v-model=
"searchFrom.goods_id"
placeholder=
"请选择"
@
change=
"getList"
clearable
>
<el-option
...
...
@@ -17,6 +20,7 @@
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
plain
@
click=
"getList"
>
搜索
</el-button>
<el-button
type=
"primary"
plain
@
click=
"exportTable"
>
导出
</el-button>
</el-form-item>
</el-form>
<div
class=
"head clear-both"
>
...
...
@@ -35,6 +39,8 @@
<el-table-column
label=
"期数标题"
prop=
"periods_name"
>
</el-table-column>
<el-table-column
label=
"商品名称"
prop=
"goods_name"
>
</el-table-column>
<el-table-column
label=
"手机号"
prop=
"mobile"
>
</el-table-column>
<el-table-column
prop=
"created_at"
label=
"创建时间"
sortable
>
</el-table-column>
...
...
@@ -74,7 +80,7 @@ export default {
searchFrom
:{
user_id
:
""
,
goods_id
:
""
,
mobile
:
""
,
},
goodList
:[],
};
...
...
@@ -115,6 +121,9 @@ export default {
if
(
this
.
searchFrom
.
goods_id
){
json
.
goods_id
=
this
.
searchFrom
.
goods_id
}
if
(
this
.
searchFrom
.
mobile
){
json
.
mobile
=
this
.
searchFrom
.
mobile
}
getClassConfigApi
(
json
).
then
(
res
=>
{
this
.
total
=
res
.
total
;
this
.
configList
=
res
.
list
;
...
...
@@ -150,6 +159,20 @@ export default {
});
});
})
},
exportTable
(){
let
json
=
{};
if
(
this
.
searchFrom
.
user_id
){
json
.
user_id
=
this
.
searchFrom
.
user_id
}
if
(
this
.
searchFrom
.
goods_id
){
json
.
goods_id
=
this
.
searchFrom
.
goods_id
}
if
(
this
.
searchFrom
.
mobile
){
json
.
mobile
=
this
.
searchFrom
.
mobile
}
console
.
log
(
json
)
exportExcelApi
(
'/api/admin/user/receive/course/log/export'
,
json
)
},
}
};
...
...
src/components/order/index.vue
View file @
36e1cc61
...
...
@@ -58,7 +58,7 @@
<el-button
type=
"primary"
plain
@
click=
"exportTable"
>
导出
</el-button>
</el-form-item>
</el-form>
<el-table
:data=
"tableData"
@
expand-change=
"changeRow"
style=
"width: 100%"
>
<el-table
:data=
"tableData"
@
expand-change=
"changeRow"
style=
"width: 100%"
fixed
>
<el-table-column
prop=
"out_trade_no"
label=
"订单号"
>
</el-table-column>
<el-table-column
label=
"购买人"
className=
"f-c"
width=
"150"
>
...
...
@@ -132,7 +132,7 @@
<el-table-column
prop=
"desc"
label=
"备注"
>
</el-table-column>
<el-table-column
width=
"50"
label=
"操作"
v-if=
"!$store.state.readonly"
>
<el-table-column
width=
"50"
label=
"操作"
v-if=
"!$store.state.readonly"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<el-popover
placement=
"top"
width=
"400"
>
<div
style=
"text-align: center"
>
...
...
src/components/periods/index.vue
View file @
36e1cc61
...
...
@@ -47,7 +47,7 @@
<el-table
@
expand-change=
"changeRow"
:data=
"periodList"
style=
"width: 100%"
>
style=
"width: 100%"
fixed
>
<el-table-column
type=
"expand"
>
<template
slot-scope=
"scope"
>
<el-table
...
...
@@ -170,7 +170,7 @@
</el-table-column>
<el-table-column
label=
"操作"
width=
"148"
v-if=
"!$store.state.readonly"
>
width=
"148"
v-if=
"!$store.state.readonly"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
plain
type=
"primary"
@
click=
"onEdit(scope.row)"
>
编辑
...
...
src/components/putForward/index.vue
View file @
36e1cc61
...
...
@@ -31,7 +31,7 @@
</el-form>
<el-table
:data=
"tableData"
border
border
fixed
style=
"width: 100%"
>
<el-table-column
prop=
"withdraw_no"
...
...
@@ -98,7 +98,7 @@
>
</el-table-column>
<el-table-column
label=
"操作"
label=
"操作"
fixed=
"right"
v-if=
"!$store.state.readonly"
>
<
template
slot-scope=
"scope"
>
...
...
src/components/shop/index.vue
View file @
36e1cc61
...
...
@@ -69,7 +69,7 @@
</div>
<el-table
:data=
"userList"
style=
"width: 100%"
>
style=
"width: 100%"
fixed
>
<el-table-column
prop=
"id"
label=
"商品编号"
width=
"80"
>
...
...
@@ -133,7 +133,7 @@
{{
scope
.
row
.
desc
|
goodsDesc
}}
</
template
>
</el-table-column>
<el-table-column
<el-table-column
fixed=
"right"
width=
"60"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
...
...
src/components/teacherDetail/index.vue
View file @
36e1cc61
...
...
@@ -174,7 +174,7 @@
</el-form>
<el-table
:data=
"tableData"
style=
"width: 100%"
class=
"order_list"
>
style=
"width: 100%"
class=
"order_list"
fixed
>
<el-table-column
prop=
"out_trade_no"
label=
"订单号"
...
...
@@ -279,7 +279,7 @@
<el-table-column
width=
"50"
label=
"操作"
v-if=
"!$store.state.readonly"
v-if=
"!$store.state.readonly"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<el-popover
...
...
@@ -601,7 +601,6 @@ import chooseGoodDialog from './chooseGoodDialog'
}
this
.
detail
=
res
;
this
.
getOrderList
();
})
},
createInviteLink
(
val
){
...
...
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