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
92f4c97b
Commit
92f4c97b
authored
Aug 16, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
d6d1f58e
5792c118
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
dialog.vue
src/components/shop/dialog.vue
+1
-2
api.js
src/service/api.js
+4
-0
No files found.
src/components/shop/dialog.vue
View file @
92f4c97b
...
@@ -729,7 +729,6 @@
...
@@ -729,7 +729,6 @@
},
},
is_into_periods
:
'0'
is_into_periods
:
'0'
};
};
this
.
getLessonList
();
getGoodsDetailApi
(
this
.
dialogObj
.
id
).
then
(
res
=>
{
getGoodsDetailApi
(
this
.
dialogObj
.
id
).
then
(
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
let
share_desc
=
JSON
.
parse
(
res
.
share_desc
);
let
share_desc
=
JSON
.
parse
(
res
.
share_desc
);
...
@@ -806,7 +805,7 @@
...
@@ -806,7 +805,7 @@
this
.
coupongoods
.
unshift
(
item
)
this
.
coupongoods
.
unshift
(
item
)
});
});
}
}
//
this.getLessonList()
this
.
getLessonList
()
});
});
break
;
break
;
case
3
:
case
3
:
...
...
src/service/api.js
View file @
92f4c97b
...
@@ -91,6 +91,10 @@ export const delTeacherApi = function (id) {
...
@@ -91,6 +91,10 @@ export const delTeacherApi = function (id) {
export
const
postTransferTeacherApi
=
function
(
json
)
{
export
const
postTransferTeacherApi
=
function
(
json
)
{
return
Vue
.
prototype
.
$post
(
`
${
_baseUrl
}
api/admin/teacher/transfer`
,
json
)
return
Vue
.
prototype
.
$post
(
`
${
_baseUrl
}
api/admin/teacher/transfer`
,
json
)
};
};
// 今日实时数据
export
const
getRealTimeDataApi
=
function
(
data
)
{
return
Vue
.
prototype
.
$fetch
(
`
${
_baseUrl
}
api/admin/teacher/todaydata/
${
data
}
`
)
};
//获取课程列表
//获取课程列表
const
getLessonUrl
=
`
${
_baseUrl
}
api/admin/course/list`
;
const
getLessonUrl
=
`
${
_baseUrl
}
api/admin/course/list`
;
export
const
getLessonApi
=
function
(
json
)
{
export
const
getLessonApi
=
function
(
json
)
{
...
...
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