Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mt-education-web
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
王旭
mt-education-web
Commits
f05ccda5
Commit
f05ccda5
authored
Dec 04, 2019
by
yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改回显调用方式--liu
parent
788a1924
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
3 deletions
+9
-3
.env.development
.env.development
+2
-0
.env.homebase
.env.homebase
+2
-0
.env.production
.env.production
+2
-0
courseManage.js
src/api/courseManage.js
+1
-1
ChapterCatalog.vue
src/views/courseTrain/onlineCourseNew/ChapterCatalog.vue
+1
-1
ChapterListTea.vue
src/views/courseTrain/onlineCourseNew/ChapterListTea.vue
+1
-1
No files found.
.env.development
View file @
f05ccda5
...
...
@@ -6,6 +6,8 @@ VUE_APP_BASE_API = 'http://192.168.5.47/api/education/v1'
VUE_APP_BASE_API2 = 'http://192.168.5.47'
VUE_APP_BASE_API3 = 'http://221.239.114.20:6789/'
VUE_APP_BASE_API4 = 'http://192.168.5.201:8084'
# 直接外链访问地址(不走网关的后台地址)
VUE_APP_BASE_API5 = 'http://192.168.5.201:8081'
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
# to control whether the babel-plugin-dynamic-import-node plugin is enabled.
...
...
.env.homebase
View file @
f05ccda5
...
...
@@ -6,6 +6,8 @@ VUE_APP_BASE_API = 'http://192.168.5.47/api/education/v1'
VUE_APP_BASE_API2 = 'http://192.168.5.47'
VUE_APP_BASE_API3 = 'http://221.239.114.20:6789/'
VUE_APP_BASE_API4 = 'http://192.168.5.201:8084'
# 直接外链访问地址(不走网关的后台地址)
VUE_APP_BASE_API5 = 'http://192.168.5.201:8081'
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
# to control whether the babel-plugin-dynamic-import-node plugin is enabled.
...
...
.env.production
View file @
f05ccda5
...
...
@@ -6,3 +6,5 @@ VUE_APP_BASE_API = '/api/education/v1'
VUE_APP_BASE_API2 = ''
VUE_APP_BASE_API3 = 'http://221.239.114.20:6789/
VUE_APP_BASE_API4 = 'http://192.168.5.191:7044'
# 直接外链访问地址(不走网关的后台地址)
VUE_APP_BASE_API5 = 'http://192.168.5.191:7043'
src/api/courseManage.js
View file @
f05ccda5
...
...
@@ -196,7 +196,7 @@ export function deleteBChapter(parameter) {
// 预览文件
export
function
getFileAtView
(
parameter
)
{
return
axios
({
url
:
api
.
BChapter
+
'/getFileAtView'
,
url
:
process
.
env
.
VUE_APP_BASE_API5
+
api
.
BChapter
+
'/getFileAtView'
,
method
:
'get'
,
params
:
parameter
});
...
...
src/views/courseTrain/onlineCourseNew/ChapterCatalog.vue
View file @
f05ccda5
...
...
@@ -1584,7 +1584,7 @@
getReadyUrl
(
params
)
{
let
that
=
this
return
new
Promise
((
resolve
,
reject
)
=>
{
that
.
eduUtil
.
ajaxGetUtil
(
that
.
interfaceName
.
getFileAtView
,
params
,(
function
(
res
)
{
that
.
eduUtil
.
ajaxGetUtil
(
process
.
env
.
VUE_APP_BASE_API5
+
'/'
+
that
.
interfaceName
.
getFileAtView
,
params
,(
function
(
res
)
{
resolve
(
res
)
}),(
function
(
err
)
{
reject
(
err
)
...
...
src/views/courseTrain/onlineCourseNew/ChapterListTea.vue
View file @
f05ccda5
...
...
@@ -996,7 +996,7 @@
getReadyUrl
(
params
)
{
let
that
=
this
return
new
Promise
((
resolve
,
reject
)
=>
{
that
.
eduUtil
.
ajaxGetUtil
(
that
.
interfaceName
.
getFileAtView
,
params
,(
function
(
res
)
{
that
.
eduUtil
.
ajaxGetUtil
(
process
.
env
.
VUE_APP_BASE_API5
+
'/'
+
that
.
interfaceName
.
getFileAtView
,
params
,(
function
(
res
)
{
resolve
(
res
)
}),(
function
(
err
)
{
reject
(
err
)
...
...
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