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
fc9c7149
Commit
fc9c7149
authored
Jun 22, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
智能选课
parent
5774ac94
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/components/intelligent-recommend/index.js
+4
-3
No files found.
src/components/intelligent-recommend/index.js
View file @
fc9c7149
...
...
@@ -90,10 +90,11 @@ class IntelligentRecommend extends Component {
consult
=
(
e
)
=>
{
e
.
preventDefault
()
let
target
=
e
.
target
http
.
post
(
`
${
API
.
home
}
/sys/icc/consult`
,
{
rid
:
this
.
props
.
result
.
rid
,
rid
:
this
.
props
.
intelligentRecommend
.
result
.
rid
,
}).
finally
(()
=>
{
window
.
location
.
href
=
e
.
target
.
getAttribute
(
'href'
)
window
.
location
.
href
=
target
.
getAttribute
(
'href'
)
})
}
...
...
@@ -220,7 +221,7 @@ class IntelligentRecommend extends Component {
{
item
.
c_type
===
2
&&
<
React
.
Fragment
key
=
{
item
.
course_id
}
>
<
a
href
=
"http://q.url.cn/s/Vbkup6m?_type=wpa"
className
=
{
'contact'
}
onClick
=
{
this
.
consult
.
bind
(
this
,
item
.
rid
)
}
>
{
item
.
consult
}
<
/a
>
onClick
=
{
this
.
consult
}
>
{
item
.
consult
}
<
/a
>
<
Link
className
=
{
'register'
}
to
=
{
`/detail?id=
${
item
.
course_id
}
`
}
>
{
item
.
second_btn
}
<
/Link
>
<
/React.Fragment
>
}
...
...
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