Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
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
baiguangyao
mr-julyedu
Commits
877784fe
Commit
877784fe
authored
Jun 17, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
智能选课
parent
175ff1c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
src/components/intelligent-recommend/index.js
+20
-0
src/components/intelligent-recommend/index.scss
+2
-2
No files found.
src/components/intelligent-recommend/index.js
View file @
877784fe
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
'./index.scss'
import
'./index.scss'
import
{
Link
}
from
"react-router-dom"
;
import
{
Link
}
from
"react-router-dom"
;
import
{
http
}
from
"@/utils"
import
{
Toast
}
from
"antd-mobile"
;
class
IntelligentRecommend
extends
Component
{
class
IntelligentRecommend
extends
Component
{
...
@@ -25,6 +27,11 @@ class IntelligentRecommend extends Component {
...
@@ -25,6 +27,11 @@ class IntelligentRecommend extends Component {
processing
:
[],
processing
:
[],
}
}
componentDidMount
()
{
this
.
getMessage
()
}
handleSelect
=
()
=>
{
handleSelect
=
()
=>
{
}
}
...
@@ -33,6 +40,18 @@ class IntelligentRecommend extends Component {
...
@@ -33,6 +40,18 @@ class IntelligentRecommend extends Component {
}
}
getMessage
=
(
oid
=
0
,
rid
=
0
)
=>
{
http
.
get
(
`
${
API
.
home
}
/sys/icc/communicate/
${
oid
}
/
${
rid
}
`
)
.
then
(
res
=>
{
const
{
data
,
code
,
msg
}
=
res
.
data
if
(
code
===
200
)
{
}
else
{
Toast
.
fail
(
msg
)
}
})
}
render
()
{
render
()
{
const
{
showAnalyzing
,
systemAvatar
,
processing
,
options
}
=
this
.
state
const
{
showAnalyzing
,
systemAvatar
,
processing
,
options
}
=
this
.
state
return
(
return
(
...
@@ -63,6 +82,7 @@ class IntelligentRecommend extends Component {
...
@@ -63,6 +82,7 @@ class IntelligentRecommend extends Component {
<
/div
>
<
/div
>
<
div
className
=
"obtained"
>
<
div
className
=
"obtained"
>
<
div
className
=
{
'subtitle'
}
>
掌握后可以胜任以下工作及项目:
<
/div
>
<
div
className
=
{
'subtitle'
}
>
掌握后可以胜任以下工作及项目:
<
/div
>
<
ul
>
<
ul
>
<
li
className
=
{
'skill'
}
style
=
{{
fontSize
:
'14px'
}}
>
·技能描述、技能描述
<
/li
>
<
li
className
=
{
'skill'
}
style
=
{{
fontSize
:
'14px'
}}
>
·技能描述、技能描述
<
/li
>
<
li
className
=
{
'skill'
}
style
=
{{
fontSize
:
'14px'
}}
>
·工作及项目描述、工作及项目描述、项目描述
<
/li
>
<
li
className
=
{
'skill'
}
style
=
{{
fontSize
:
'14px'
}}
>
·工作及项目描述、工作及项目描述、项目描述
<
/li
>
...
...
src/components/intelligent-recommend/index.scss
View file @
877784fe
...
@@ -200,12 +200,12 @@
...
@@ -200,12 +200,12 @@
&
:
:
before
{
&
:
:
before
{
@include
pseudo
;
@include
pseudo
;
left
:
30px
;
left
:
5%
;
}
}
&
:
:
after
{
&
:
:
after
{
@include
pseudo
;
@include
pseudo
;
right
:
30px
;
right
:
5%
;
transform
:
translateY
(
-50%
)
scale
(
-1
);
transform
:
translateY
(
-50%
)
scale
(
-1
);
}
}
}
}
...
...
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