Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea_resources_pc
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_pc
Commits
c7e8ef08
Commit
c7e8ef08
authored
Apr 23, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
86483cc3
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
26 additions
and
11 deletions
+26
-11
index.html
public/index.html
+1
-1
index.js
src/api/learningPlatform/index.js
+3
-2
tag_gangwei.png
src/assets/image/tag_gangwei.png
+0
-0
tag_gangweiActive.png
src/assets/image/tag_gangweiActive.png
+0
-0
tag_kaqoping.png
src/assets/image/tag_kaqoping.png
+0
-0
tag_kaqopingActive.png
src/assets/image/tag_kaqopingActive.png
+0
-0
tag_neirong.png
src/assets/image/tag_neirong.png
+0
-0
tag_neirongActive.png
src/assets/image/tag_neirongActive.png
+0
-0
tag_xuexi.png
src/assets/image/tag_xuexi.png
+0
-0
tag_xuexiActive.png
src/assets/image/tag_xuexiActive.png
+0
-0
tag_youhua.png
src/assets/image/tag_youhua.png
+0
-0
tag_youhuaActive.png
src/assets/image/tag_youhuaActive.png
+0
-0
main.js
src/main.js
+1
-1
request.js
src/utils/request.js
+5
-1
index.vue
src/views/homePage/index.vue
+12
-5
index.vue
src/views/learningPlatform/index.vue
+4
-1
No files found.
public/index.html
View file @
c7e8ef08
...
...
@@ -6,7 +6,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>collapseMenuLogo.png"
>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_2011217_f70ptj9y4oc.css"
>
<title>
教
育
资源云平台
</title>
<title>
教
学
资源云平台
</title>
</head>
<body>
<noscript>
...
...
src/api/learningPlatform/index.js
View file @
c7e8ef08
import
request
from
'@/utils/request'
import
Qs
from
'qs'
// 申请试用 获取所有课程
export
function
getCurriculum
()
{
...
...
@@ -8,10 +9,10 @@ export function getCurriculum() {
})
}
// 申请试用 提交申请
export
function
addCurriculum
(
data
)
{
export
function
addCurriculum
(
params
)
{
return
request
({
url
:
'/applicationtrial/add'
,
method
:
'post'
,
data
:
data
params
})
}
src/assets/image/tag_gangwei.png
0 → 100644
View file @
c7e8ef08
1.1 KB
src/assets/image/tag_gangweiActive.png
0 → 100644
View file @
c7e8ef08
993 Bytes
src/assets/image/tag_kaqoping.png
0 → 100644
View file @
c7e8ef08
1.1 KB
src/assets/image/tag_kaqopingActive.png
0 → 100644
View file @
c7e8ef08
548 Bytes
src/assets/image/tag_neirong.png
0 → 100644
View file @
c7e8ef08
1.21 KB
src/assets/image/tag_neirongActive.png
0 → 100644
View file @
c7e8ef08
656 Bytes
src/assets/image/tag_xuexi.png
0 → 100644
View file @
c7e8ef08
1 KB
src/assets/image/tag_xuexiActive.png
0 → 100644
View file @
c7e8ef08
422 Bytes
src/assets/image/tag_youhua.png
0 → 100644
View file @
c7e8ef08
1.03 KB
src/assets/image/tag_youhuaActive.png
0 → 100644
View file @
c7e8ef08
594 Bytes
src/main.js
View file @
c7e8ef08
...
...
@@ -4,7 +4,7 @@ import moment from 'moment'
// import ElementUI from 'element-ui'
// import './styles/element-variables.scss'
// import locale from 'element-ui/lib/locale/lang/en' // lang i18n
//
import './utils/rem.js' // 自适应分辨率
import
'./utils/rem.js'
// 自适应分辨率
import
'./plugins'
import
xhr
from
'@/utils/request'
import
'@/styles/index.scss'
// global css
...
...
src/utils/request.js
View file @
c7e8ef08
...
...
@@ -94,8 +94,12 @@ service.interceptors.response.use(
})
}
if
(
code
===
401
)
{
// Message({
// message: '用户不存在或密码错误',
// type: 'error'
// })
Message
({
message
:
'
用户不存在或密码错误
'
,
message
:
'
无权限
'
,
type
:
'error'
})
// MessageBox.confirm(
...
...
src/views/homePage/index.vue
View file @
c7e8ef08
...
...
@@ -23,6 +23,8 @@
:class=
" activeTag === item.type ? 'tagList_btnActive' : 'tagList_btn'"
@
click=
"choseTag(item)"
>
<img
v-if=
"activeTag === item.type"
class=
"tagListImg"
:src=
"item.activeImg"
>
<img
v-else
class=
"tagListImg"
:src=
"item.img"
>
{{
item
.
name
}}
</div>
</div>
...
...
@@ -221,11 +223,11 @@ export default {
activeTag
:
'1'
,
activeName
:
'岗位设计'
,
tagBtnList
:
[
{
name
:
'岗位设计'
,
type
:
'1'
},
{
name
:
'内容体系'
,
type
:
'2'
},
{
name
:
'学习平台'
,
type
:
'3'
},
{
name
:
'考评机制'
,
type
:
'4'
},
{
name
:
'持续优化'
,
type
:
'5'
}
{
img
:
require
(
'@/assets/image/tag_gangwei.png'
),
activeImg
:
require
(
'@/assets/image/tag_gangweiActive.png'
),
name
:
'岗位设计'
,
type
:
'1'
},
{
img
:
require
(
'@/assets/image/tag_neirong.png'
),
activeImg
:
require
(
'@/assets/image/tag_neirongActive.png'
),
name
:
'内容体系'
,
type
:
'2'
},
{
img
:
require
(
'@/assets/image/tag_xuexi.png'
),
activeImg
:
require
(
'@/assets/image/tag_xuexiActive.png'
),
name
:
'学习平台'
,
type
:
'3'
},
{
img
:
require
(
'@/assets/image/tag_kaqoping.png'
),
activeImg
:
require
(
'@/assets/image/tag_kaqopingActive.png'
),
name
:
'考评机制'
,
type
:
'4'
},
{
img
:
require
(
'@/assets/image/tag_youhua.png'
),
activeImg
:
require
(
'@/assets/image/tag_youhuaActive.png'
),
name
:
'持续优化'
,
type
:
'5'
}
],
contentSystemImg
:
require
(
'@/assets/image/home_tab_pic2.png'
),
learnCenterImg
:
require
(
'@/assets/image/home_tab_pic3.png'
),
...
...
@@ -560,6 +562,11 @@ export default {
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
.tagListImg
{
margin-right
:
15px
;
width
:
24px
;
height
:
24px
;
}
.tagList_btn
{
cursor
:
pointer
;
font-size
:
16px
;
...
...
src/views/learningPlatform/index.vue
View file @
c7e8ef08
...
...
@@ -184,7 +184,10 @@ export default {
},
submitForm
()
{
console
.
log
(
'value'
,
this
.
value
)
addCurriculum
({
lessonldList
:
this
.
value
}).
then
(
res
=>
{
const
params
=
{
ids
:
this
.
value
.
join
(
', '
)
}
addCurriculum
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
open
=
false
this
.
$message
.
success
(
'提交成功'
)
...
...
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