Commit 877784fe by zhanghaozhe

智能选课

parent 175ff1c3
import React, { Component } from 'react';
import './index.scss'
import { Link } from "react-router-dom";
import { http } from "@/utils"
import { Toast } from "antd-mobile";
class IntelligentRecommend extends Component {
......@@ -25,6 +27,11 @@ class IntelligentRecommend extends Component {
processing: [],
}
componentDidMount() {
this.getMessage()
}
handleSelect = () => {
}
......@@ -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() {
const {showAnalyzing, systemAvatar, processing, options} = this.state
return (
......@@ -63,6 +82,7 @@ class IntelligentRecommend extends Component {
</div>
<div className="obtained">
<div className={'subtitle'}>掌握后可以胜任以下工作及项目:</div>
<ul>
<li className={'skill'} style={{fontSize: '14px'}}>·技能描述、技能描述</li>
<li className={'skill'} style={{fontSize: '14px'}}>·工作及项目描述、工作及项目描述、项目描述</li>
......
......@@ -200,12 +200,12 @@
&::before {
@include pseudo;
left: 30px;
left: 5%;
}
&::after {
@include pseudo;
right: 30px;
right: 5%;
transform: translateY(-50%) scale(-1);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment