Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-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
张伯涛
tea-resources-web
Commits
868908c2
Commit
868908c2
authored
Mar 25, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
菜单添加,以及VUE_APP_BASE_APIS(注意打包的时候打包的env文件也需要配置)
parent
28753135
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
62 additions
and
2 deletions
+62
-2
.env.development
.env.development
+1
-1
index.vue
src/views/courseInformation/classManagement/index.vue
+29
-0
index.vue
src/views/courseInformation/courseManagement/index.vue
+3
-1
index.vue
src/views/courseInformation/unitManagement/index.vue
+29
-0
No files found.
.env.development
View file @
868908c2
...
...
@@ -4,7 +4,7 @@ ENV = 'development'
# base api
VUE_APP_BASE_API = '/dev-api'
VUE_APP_BASE_APIS = 'http://192.168.1.46:8090'
VUE_CLI_BABEL_TRANSPILE_MODULES = true
src/views/courseInformation/classManagement/index.vue
0 → 100644
View file @
868908c2
<
template
>
<div
class=
"classManagement_module"
>
开课
</div>
</
template
>
<
script
>
export
default
{
name
:
"index"
,
data
()
{
return
{
}
},
created
()
{
},
mounted
()
{
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.classManagement_module
{
}
</
style
>
src/views/courseInformation/courseManagement/index.vue
View file @
868908c2
...
...
@@ -298,6 +298,8 @@ export default {
}
};
return
{
HTTPApi
:
process
.
env
.
VUE_APP_BASE_APIS
,
// interfaceUrl:"http://"+url.apiIP+":"+url.apiPORT+url.apiPrefix, // API服务访问的URL
imageSrc
:
require
(
'@/assets/image/test.png'
),
//显示开关
showSwitch
:
{
...
...
@@ -619,7 +621,7 @@ export default {
// console.log(error);
// });
window
.
location
.
href
=
this
.
interfaceUrl
+
'
excelUtil/excelWithoutAuth?type=6'
;
window
.
location
.
href
=
this
.
HTTPApi
+
'/
excelUtil/excelWithoutAuth?type=6'
;
},
...
...
src/views/courseInformation/unitManagement/index.vue
0 → 100644
View file @
868908c2
<
template
>
<div
class=
"unitManagement_module"
>
单位
</div>
</
template
>
<
script
>
export
default
{
name
:
"index"
,
data
()
{
return
{
}
},
created
()
{
},
mounted
()
{
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.unitManagement_module
{
}
</
style
>
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