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
03141f7d
Commit
03141f7d
authored
Jan 02, 2019
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
所有的订单列表都显示期数名称(日课,月课,用户详情,老师详情)
parent
3c84a14a
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
34 additions
and
4 deletions
+34
-4
build-test.js
config/build/build-test.js
+0
-0
build.js
config/build/build.js
+0
-0
check-versions.js
config/build/check-versions.js
+0
-0
logo.png
config/build/logo.png
+0
-0
utils.js
config/build/utils.js
+0
-0
vue-loader.conf.js
config/build/vue-loader.conf.js
+0
-0
webpack.base.conf.js
config/build/webpack.base.conf.js
+0
-0
webpack.dev.conf.js
config/build/webpack.dev.conf.js
+0
-0
webpack.prod.conf.js
config/build/webpack.prod.conf.js
+0
-0
userList.vue
src/components/class/userList.vue
+17
-3
index.vue
src/components/monthOrder/index.vue
+4
-0
index.vue
src/components/order/index.vue
+4
-0
index.vue
src/components/teacherDetail/index.vue
+5
-1
index.vue
src/components/userDetail/index.vue
+4
-0
No files found.
build/build-test.js
→
config/
build/build-test.js
View file @
03141f7d
File moved
build/build.js
→
config/
build/build.js
View file @
03141f7d
File moved
build/check-versions.js
→
config/
build/check-versions.js
View file @
03141f7d
File moved
build/logo.png
→
config/
build/logo.png
View file @
03141f7d
File moved
build/utils.js
→
config/
build/utils.js
View file @
03141f7d
File moved
build/vue-loader.conf.js
→
config/
build/vue-loader.conf.js
View file @
03141f7d
File moved
build/webpack.base.conf.js
→
config/
build/webpack.base.conf.js
View file @
03141f7d
File moved
build/webpack.dev.conf.js
→
config/
build/webpack.dev.conf.js
View file @
03141f7d
File moved
build/webpack.prod.conf.js
→
config/
build/webpack.prod.conf.js
View file @
03141f7d
File moved
src/components/class/userList.vue
View file @
03141f7d
...
@@ -216,7 +216,7 @@
...
@@ -216,7 +216,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<page
:nowPage=
"searchFrom.nowPage"
:total=
"searchFrom.total"
:limit=
"searchFrom.limit"
@
pageChange=
"onListPageChange"
@
sizeChange=
"onListSizeChange"
/>
</div>
</div>
<el-dialog
:modal=
"false"
:visible
.
sync=
"addShow"
>
<el-dialog
:modal=
"false"
:visible
.
sync=
"addShow"
>
<el-form
label-width=
"90px"
>
<el-form
label-width=
"90px"
>
...
@@ -479,6 +479,9 @@
...
@@ -479,6 +479,9 @@
total
:
0
,
total
:
0
,
timeLang
:[],
timeLang
:[],
searchFrom
:
{
searchFrom
:
{
nowPage
:
1
,
limit
:
10
,
total
:
0
,
user_id
:
''
,
user_id
:
''
,
is_add_teacher
:
''
,
is_add_teacher
:
''
,
is_view_course
:
''
,
is_view_course
:
''
,
...
@@ -533,7 +536,7 @@
...
@@ -533,7 +536,7 @@
}
,
}
,
methods
:{
methods
:{
handleItemChange
(
value
){
handleItemChange
(
value
){
getClassListApi
(
value
[
0
],{
limit
:
99999
}
).
then
(
res
=>
{
getClassListApi
(
value
[
0
],{
limit
:
200
}
).
then
(
res
=>
{
res
.
list
.
forEach
(
i
=>
{
res
.
list
.
forEach
(
i
=>
{
i
.
title
=
i
.
class_name
i
.
title
=
i
.
class_name
}
);
}
);
...
@@ -641,7 +644,8 @@
...
@@ -641,7 +644,8 @@
}
,
}
,
searchList
(){
searchList
(){
let
json
=
{
let
json
=
{
limit
:
200
page
:
this
.
searchFrom
.
nowPage
,
limit
:
this
.
searchFrom
.
limit
}
;
}
;
let
json2
=
{
}
;
let
json2
=
{
}
;
if
(
this
.
timeLang
&&
this
.
timeLang
.
length
>
1
){
if
(
this
.
timeLang
&&
this
.
timeLang
.
length
>
1
){
...
@@ -680,6 +684,7 @@
...
@@ -680,6 +684,7 @@
}
)
}
)
}
);
}
);
getClassUserApi
(
this
.
userObj
.
classId
,
json
).
then
(
res
=>
{
getClassUserApi
(
this
.
userObj
.
classId
,
json
).
then
(
res
=>
{
this
.
searchFrom
.
total
=
res
.
total
;
this
.
userTable
=
res
.
list
this
.
userTable
=
res
.
list
}
);
}
);
this
.
changeClassObj
=
{
this
.
changeClassObj
=
{
...
@@ -832,6 +837,15 @@
...
@@ -832,6 +837,15 @@
this
.
limit
=
val
this
.
limit
=
val
this
.
nowPage
=
1
;
this
.
nowPage
=
1
;
this
.
getUser
()
this
.
getUser
()
}
,
onListPageChange
(
val
){
this
.
searchFrom
.
nowPage
=
val
this
.
searchList
()
}
,
onListSizeChange
(
val
){
this
.
searchFrom
.
limit
=
val
this
.
searchFrom
.
nowPage
=
1
;
this
.
searchList
()
}
,
}
,
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
this
.
multipleSelection
=
val
;
...
...
src/components/monthOrder/index.vue
View file @
03141f7d
...
@@ -100,6 +100,10 @@
...
@@ -100,6 +100,10 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<img
class=
"avatar"
:src=
"scope.row.user_avatar"
/>
{{
scope
.
row
.
user_nickname
}}
<br>
(ID:
{{
scope
.
row
.
user_id
}}
)
<br>
手机:
{{
scope
.
row
.
user_mobile
}}
<img
class=
"avatar"
:src=
"scope.row.user_avatar"
/>
{{
scope
.
row
.
user_nickname
}}
<br>
(ID:
{{
scope
.
row
.
user_id
}}
)
<br>
手机:
{{
scope
.
row
.
user_mobile
}}
</
template
>
</
template
>
</el-table-column>
<el-table-column
prop=
"periods_title"
label=
"期数标题"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"goods_name"
prop=
"goods_name"
...
...
src/components/order/index.vue
View file @
03141f7d
...
@@ -65,6 +65,10 @@
...
@@ -65,6 +65,10 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<img
class=
"avatar"
:src=
"scope.row.user_avatar"
/>
{{
scope
.
row
.
user_nickname
}}
<br>
(ID:
{{
scope
.
row
.
user_id
}}
)
<br>
手机:
{{
scope
.
row
.
user_mobile
}}
<img
class=
"avatar"
:src=
"scope.row.user_avatar"
/>
{{
scope
.
row
.
user_nickname
}}
<br>
(ID:
{{
scope
.
row
.
user_id
}}
)
<br>
手机:
{{
scope
.
row
.
user_mobile
}}
</
template
>
</
template
>
</el-table-column>
<el-table-column
prop=
"periods_title"
label=
"期数标题"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"goods_name"
label=
"商品名称"
>
<el-table-column
prop=
"goods_name"
label=
"商品名称"
>
</el-table-column>
</el-table-column>
...
...
src/components/teacherDetail/index.vue
View file @
03141f7d
...
@@ -187,11 +187,15 @@
...
@@ -187,11 +187,15 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<img
class=
"avatar"
:src=
"scope.row.user_avatar"
/>
{{
scope
.
row
.
user_nickname
}}
<br>
(ID:
{{
scope
.
row
.
user_id
}}
)
<br>
手机:
{{
scope
.
row
.
user_mobile
}}
<img
class=
"avatar"
:src=
"scope.row.user_avatar"
/>
{{
scope
.
row
.
user_nickname
}}
<br>
(ID:
{{
scope
.
row
.
user_id
}}
)
<br>
手机:
{{
scope
.
row
.
user_mobile
}}
</
template
>
</
template
>
</el-table-column>
<el-table-column
prop=
"periods_title"
label=
"期数标题"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"goods_name"
prop=
"goods_name"
label=
"商品名称"
>
label=
"商品名称"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
width=
"250"
width=
"250"
prop=
"invite_id"
prop=
"invite_id"
...
...
src/components/userDetail/index.vue
View file @
03141f7d
...
@@ -175,6 +175,10 @@
...
@@ -175,6 +175,10 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<img
class=
"avatar"
:src=
"scope.row.user_avatar"
/>
{{
scope
.
row
.
user_nickname
}}
<br>
(ID:
{{
scope
.
row
.
user_id
}}
)
<img
class=
"avatar"
:src=
"scope.row.user_avatar"
/>
{{
scope
.
row
.
user_nickname
}}
<br>
(ID:
{{
scope
.
row
.
user_id
}}
)
</
template
>
</
template
>
</el-table-column>
<el-table-column
prop=
"periods_title"
label=
"期数标题"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"goods_name"
prop=
"goods_name"
...
...
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