# Conflicts: # public/react/src/AppConfig.jsdev_cs
commit
4b760f5512
@ -0,0 +1,10 @@
|
||||
class ShixunListsController < ApplicationController
|
||||
def index
|
||||
@results = ShixunSearchService.call(search_params)
|
||||
end
|
||||
|
||||
private
|
||||
def search_params
|
||||
params.permit(:keyword, :type, :page, :limit, :order, :type, :status, :diff)
|
||||
end
|
||||
end
|
@ -0,0 +1,56 @@
|
||||
class ShixunSearchService < ApplicationService
|
||||
include ElasticsearchAble
|
||||
|
||||
attr_reader :params
|
||||
|
||||
def initialize(params)
|
||||
@params = params
|
||||
end
|
||||
|
||||
def call
|
||||
# 全部实训/我的实训
|
||||
type = params[:type] || "all"
|
||||
# 状态:已发布/未发布
|
||||
status = params[:status] || "all"
|
||||
|
||||
# 超级管理员用户显示所有未隐藏的实训、非管理员显示所有已发布的实训(对本单位公开且未隐藏未关闭)
|
||||
if type == "mine"
|
||||
@shixuns = User.current.shixuns.none_closed
|
||||
else
|
||||
if User.current.admin? || User.current.business?
|
||||
@shixuns = Shixun.none_closed.where(hidden: 0)
|
||||
else
|
||||
none_shixun_ids = ShixunSchool.where("school_id != #{User.current.school_id}").pluck(:shixun_id)
|
||||
|
||||
@shixuns = Shixun.where.not(id: none_shixun_ids).none_closed.where(hidden: 0)
|
||||
end
|
||||
end
|
||||
|
||||
unless status == "all"
|
||||
@shixuns = status == "published" ? @shixuns.where(status: 2) : @shixuns.where(status: [0, 1])
|
||||
end
|
||||
|
||||
## 筛选 难度
|
||||
if params[:diff].present? && params[:diff].to_i != 0
|
||||
@shixuns = @shixuns.where(trainee: params[:diff])
|
||||
end
|
||||
|
||||
Shixun.search(keyword, search_options)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def search_options
|
||||
model_options = {
|
||||
includes: [ :shixun_info, :challenges, :subjects, user: { user_extension: :school } ]
|
||||
}
|
||||
model_options.merge!(where: { id: @shixuns.pluck(:id) })
|
||||
model_options.merge!(order: {"myshixuns_count" => sort_str})
|
||||
model_options.merge!(default_options)
|
||||
model_options
|
||||
end
|
||||
|
||||
def sort_str
|
||||
params[:order] || "desc"
|
||||
end
|
||||
end
|
@ -1 +1 @@
|
||||
json.course_evaluations @course_evaluations, partial: 'shared/ec_course_evaluation', as: :ec_course_evaluation
|
||||
json.course_evaluations @course_evaluations, partial: 'ecs/course_evaluations/shared/ec_course_evaluation', as: :ec_course_evaluation
|
||||
|
@ -1 +1 @@
|
||||
json.partial! 'shared/ec_course_evaluation', ec_course_evaluation: @course_evaluation
|
||||
json.partial! 'ecs/course_evaluations/shared/ec_course_evaluation', ec_course_evaluation: @course_evaluation
|
||||
|
@ -1 +1 @@
|
||||
json.course_evaluations @course_evaluations, partial: 'shared/ec_course_evaluation_slim', as: :ec_course_evaluation
|
||||
json.course_evaluations @course_evaluations, partial: 'ecs/course_evaluations/shared/ec_course_evaluation_slim', as: :ec_course_evaluation
|
||||
|
@ -1,2 +1,2 @@
|
||||
|
||||
json.course_targets @course_targets, partial: 'shared/course_target', as: :ec_course_target
|
||||
json.course_targets @course_targets, partial: 'ecs/course_targets/shared/course_target', as: :ec_course_target
|
||||
|
@ -1,2 +1,2 @@
|
||||
json.count @count
|
||||
json.ec_courses @ec_courses, partial: 'shared/ec_course_slim', as: :ec_course
|
||||
json.ec_courses @ec_courses, partial: 'ecs/ec_courses/shared/ec_course_slim', as: :ec_course
|
@ -1 +1 @@
|
||||
json.partial! 'shared/ec_graduation_subitem', ec_graduation_subitem: @graduation_subitem
|
||||
json.partial! 'ecs/graduation_course_supports/shared/ec_graduation_subitem', ec_graduation_subitem: @graduation_subitem
|
||||
|
@ -1,3 +1,3 @@
|
||||
json.course_count @course_count
|
||||
json.graduation_subitems @graduation_subitems, partial: 'shared/ec_graduation_subitem', as: :ec_graduation_subitem
|
||||
json.graduation_subitems @graduation_subitems, partial: 'ecs/graduation_course_supports/shared/ec_graduation_subitem', as: :ec_graduation_subitem
|
||||
json.count @graduation_subitems.size
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
json.graduation_requirements @graduation_requirements, partial: 'ecs/ec_graduation_requirements/shared/ec_graduation_requirement', as: :ec_graduation_requirement
|
||||
json.training_subitems @training_subitems, partial: 'ecs/ec_training_subitems/shared/ec_training_subitem', as: :ec_training_subitem
|
||||
json.requirement_support_objectives @requirement_support_objectives, partial: 'shared/requirement_support_objective', as: :requirement_support_objective
|
||||
json.requirement_support_objectives @requirement_support_objectives, partial: 'ecs/requirement_support_objectives/shared/requirement_support_objective', as: :requirement_support_objective
|
||||
|
@ -1 +1 @@
|
||||
json.score_levels @score_levels, partial: 'shared/ec_score_level', as: :ec_score_level
|
||||
json.score_levels @score_levels, partial: 'ecs/score_levels/shared/ec_score_level', as: :ec_score_level
|
||||
|
@ -1,2 +1,2 @@
|
||||
json.count @count
|
||||
json.students @students, partial: 'shared/ec_year_student', as: :ec_year_student
|
||||
json.students @students, partial: 'ecs/students/shared/ec_year_student', as: :ec_year_student
|
@ -1,4 +1,4 @@
|
||||
|
||||
json.graduation_standards @graduation_standards, partial: 'ecs/shared/ec_graduation_standard', as: :ec_graduation_standard
|
||||
json.graduation_subitems @graduation_subitems, partial: 'ecs/shared/ec_graduation_subitem', as: :ec_graduation_subitem
|
||||
json.subitem_support_standards @subitem_support_standards, partial: 'shared/subitem_support_standard', as: :subitem_support_standard
|
||||
json.subitem_support_standards @subitem_support_standards, partial: 'ecs/subitem_support_standards/shared/subitem_support_standard', as: :subitem_support_standard
|
||||
|
@ -0,0 +1,22 @@
|
||||
json.shixuns_count @results.total_count
|
||||
|
||||
json.shixun_list do
|
||||
json.array! @results.with_highlights(multiple: true) do |obj, highlights|
|
||||
json.merge! obj.to_searchable_json
|
||||
json.challenge_names obj.challenges.pluck(:subject)
|
||||
|
||||
# 去除开头标点符号
|
||||
reg = /^[,。?:;‘’!“”—……、]/
|
||||
highlights[:description]&.first&.sub!(reg, '')
|
||||
highlights[:content]&.first&.sub!(reg, '')
|
||||
|
||||
json.title highlights.delete(:name)&.join('...') || obj.searchable_title
|
||||
json.description highlights[:description]&.join('...') || Util.extract_content(obj.description)[0..300]
|
||||
|
||||
json.content highlights
|
||||
json.level level_to_s(obj.trainee)
|
||||
json.subjects obj.subjects.uniq do |subject|
|
||||
json.(subject, :id, :name)
|
||||
end
|
||||
end
|
||||
end
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,250 @@
|
||||
.searchinput{
|
||||
width: 800px;
|
||||
margin-top: 53px;
|
||||
}
|
||||
.newshixunheadersear{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.packinput .ant-input{
|
||||
height: 55px;
|
||||
width:663px !important;
|
||||
font-size: 14px;
|
||||
/*color: #681616 !important;*/
|
||||
border-color: #E1EDF8 !important;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.packinput .ant-input-group-addon .ant-btn{
|
||||
width:137px !important;
|
||||
font-size: 18px;
|
||||
height: 53px;
|
||||
background:rgba(76,172,255,1);
|
||||
|
||||
}
|
||||
.tabtitle{
|
||||
height: 62px !important;
|
||||
box-shadow: 3px 10px 21px 0px rgba(76, 76, 76, 0.15);
|
||||
border-radius: 6px;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.tabtitles2{
|
||||
background: #fff;
|
||||
height: 62px !important;
|
||||
width: 1200px;
|
||||
}
|
||||
|
||||
.tabtitless{
|
||||
height: 62px !important;
|
||||
line-height: 62px !important;
|
||||
|
||||
}
|
||||
.tabtitle1{
|
||||
|
||||
}
|
||||
.tabtitle2{
|
||||
margin-left: 30px !important;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.counttit{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.counttittext{
|
||||
text-align: left;
|
||||
width: 1200px;
|
||||
height: 18px;
|
||||
color: #888888;
|
||||
font-size: 13px;
|
||||
margin-top: 24px;
|
||||
|
||||
|
||||
}
|
||||
.counttittexts{
|
||||
color: #4CACFF !important;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.mainx{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 17px;
|
||||
}
|
||||
.project-packages-list{
|
||||
|
||||
}
|
||||
.project-package-item{
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
flex-direction:column;
|
||||
margin-bottom: 20px;
|
||||
padding: 20px;
|
||||
background: white;
|
||||
/* box-shadow: 1px 3px 3px 1px rgba(156,156,156,0.16); */
|
||||
|
||||
}
|
||||
.xuxianpro{
|
||||
height: 20px;
|
||||
border-bottom: 1px dashed;
|
||||
border-color: #EAEAEA;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.magr11{
|
||||
margin-top: 11px;
|
||||
}
|
||||
.highlight{
|
||||
color: #4CACFF;
|
||||
}
|
||||
.fonttext{
|
||||
font-size: 20px;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.fontextcolor{
|
||||
color: #777777;
|
||||
}
|
||||
.tzbq{
|
||||
margin-left: 68px;
|
||||
}
|
||||
.tzbqx{
|
||||
/* margin-left: 24px; */
|
||||
}
|
||||
.bjyss{
|
||||
background: #F8F8F8;
|
||||
}
|
||||
.zj{
|
||||
overflow:hidden;
|
||||
text-overflow:ellipsis;
|
||||
white-space:nowrap
|
||||
}
|
||||
.ziticor{
|
||||
color: #777777;
|
||||
font-size: 13px;
|
||||
}
|
||||
.foohter{
|
||||
margin-top: 20px;
|
||||
display: flex;
|
||||
flex-direction:row;
|
||||
}
|
||||
|
||||
.maxwidth1100{
|
||||
max-width: 1100px;
|
||||
overflow:hidden;
|
||||
text-overflow:ellipsis;
|
||||
white-space:nowrap;
|
||||
font-size: 18px !important;
|
||||
font-weight: 500;
|
||||
color: rgba(51,51,51,1) !important;
|
||||
}
|
||||
|
||||
|
||||
.newshixunmodelmidfont{
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #999999;
|
||||
margin-top: 15px;
|
||||
margin-left: 30px;
|
||||
max-width: 1100px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.newshixunmodelbotfont{
|
||||
font-size:12px;
|
||||
font-weight:400;
|
||||
color:rgba(102,102,102,1);
|
||||
margin-top: 15px;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.newshixunlist{
|
||||
max-height:227px;
|
||||
width: 1200px;
|
||||
}
|
||||
|
||||
.xuxianpro {
|
||||
height: 20px;
|
||||
border-bottom: 1px dashed;
|
||||
border-color: #eaeaea;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.newshixunpd030{
|
||||
padding: 0px 30px;
|
||||
}
|
||||
|
||||
.pd303010{
|
||||
padding: 30px 30px 10px;
|
||||
}
|
||||
|
||||
.newshixunfont12{
|
||||
font-size: 12px;
|
||||
color: rgba(76,172,255,1);
|
||||
line-height: 21px;
|
||||
}
|
||||
|
||||
.newshixunmode{
|
||||
width: 100px;
|
||||
height: 38px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid rgba(191,191,191,1);
|
||||
}
|
||||
|
||||
.ntopsj {
|
||||
position: absolute;
|
||||
top: -4px;
|
||||
}
|
||||
|
||||
.nyslbottomsj {
|
||||
position: absolute;
|
||||
bottom: -6px;
|
||||
}
|
||||
|
||||
.inherits .ant-dropdown-menu-item{
|
||||
cursor: inherit !important;
|
||||
}
|
||||
|
||||
.menus{
|
||||
width: 91px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.newshixunmodelbotfont span{
|
||||
display: inline-block;
|
||||
margin-right: 34px;
|
||||
}
|
||||
|
||||
.minhegiht300{
|
||||
min-height: 300px;
|
||||
}
|
||||
|
||||
.newshixunlist:hover{
|
||||
box-shadow: 1px 6px 16px rgba(156,156,156,0.16);
|
||||
opacity: 1;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.newshixun500{
|
||||
max-width: 500px;
|
||||
overflow: hidden;
|
||||
-o-text-overflow: ellipsis;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mt3 {
|
||||
margin-top: 3px !important;
|
||||
}
|
||||
|
||||
.highlight{
|
||||
color: #4CACFF;
|
||||
}
|
||||
|
@ -1,120 +1,122 @@
|
||||
import React,{ Component } from "react";
|
||||
import { Modal,Checkbox,Select,Input,Tooltip} from "antd";
|
||||
import axios from'axios';
|
||||
import ShixunModal from './ShixunModal'
|
||||
|
||||
const Option = Select.Option;
|
||||
const Search = Input.Search;
|
||||
class ShixunChooseModal extends Component{
|
||||
constructor(props){
|
||||
super(props);
|
||||
this.state={
|
||||
shixunmodal: false,
|
||||
hometypepvisible: false,
|
||||
}
|
||||
}
|
||||
setVisible = (visible) => {
|
||||
if (visible) {
|
||||
this.createCommonWork()
|
||||
} else {
|
||||
this.setState({ shixunmodal: visible })
|
||||
}
|
||||
}
|
||||
hidecouseShixunModal = () => {
|
||||
this.setVisible(false)
|
||||
}
|
||||
componentDidMount() {
|
||||
|
||||
|
||||
}
|
||||
funshixunmodallist=(search,type,loading,page)=>{
|
||||
let{newshixunmodallist}=this.state;
|
||||
let newshixunmodallists=[]
|
||||
if(page>1){
|
||||
newshixunmodallists=newshixunmodallist;
|
||||
}
|
||||
this.setState({
|
||||
hometypepvisible:loading
|
||||
})
|
||||
let coursesId=this.props.match.params.coursesId;
|
||||
let url = this.props.shixunsUrl || "/courses/"+coursesId+"/homework_commons/shixuns.json";
|
||||
|
||||
axios.get(url, {
|
||||
params: {
|
||||
search: search,
|
||||
type:type,
|
||||
page:page
|
||||
}
|
||||
}).then((result)=>{
|
||||
if(result.status===200){
|
||||
|
||||
let shixun_list=result.data.shixun_list;
|
||||
for(var i=0; i<shixun_list.length;i++){
|
||||
newshixunmodallists.push(shixun_list[i])
|
||||
}
|
||||
this.setState({
|
||||
shixunmodal:true,
|
||||
shixunmodallist:result.data,
|
||||
newshixunmodallist:newshixunmodallists,
|
||||
hometypepvisible:false
|
||||
})
|
||||
}
|
||||
}).catch((error)=>{
|
||||
console.log(error);
|
||||
})
|
||||
}
|
||||
funpatheditarry=(list)=>{
|
||||
this.setState({
|
||||
patheditarry:list
|
||||
})
|
||||
}
|
||||
createCommonWork=()=>{
|
||||
|
||||
this.setState({
|
||||
hometypepvisible:true,
|
||||
patheditarry:[]
|
||||
})
|
||||
|
||||
let coursesId=this.props.match.params.coursesId;
|
||||
let url = this.props.shixunsUrl || "/courses/"+coursesId+"/homework_commons/shixuns.json";
|
||||
|
||||
axios.get(url).then((result)=>{
|
||||
if(result.status===200){
|
||||
this.setState({
|
||||
shixunmodal:true,
|
||||
shixunmodallist:result.data,
|
||||
hometypepvisible:false,
|
||||
newshixunmodallist:result.data.shixun_list,
|
||||
})
|
||||
}
|
||||
}).catch((error)=>{
|
||||
console.log(error);
|
||||
})
|
||||
}
|
||||
render(){
|
||||
let {Searchvalue,type,category_id, datas, shixunmodal, shixunmodallist
|
||||
, hometypepvisible, newshixunmodallist, patheditarry }=this.state;
|
||||
let {visible}=this.props;
|
||||
|
||||
// console.log(patheditarry)
|
||||
return(
|
||||
<ShixunModal
|
||||
datas={datas}
|
||||
category_id={this.props.match.params.category_id}
|
||||
visible={shixunmodal}
|
||||
shixunmodallist={shixunmodallist}
|
||||
funshixunmodallist={(search,type,loading,page)=>this.funshixunmodallist(search,type,loading,page)}
|
||||
hometypepvisible={hometypepvisible}
|
||||
hidecouseShixunModal={this.hidecouseShixunModal}
|
||||
newshixunmodallist={newshixunmodallist}
|
||||
coursesId={this.props.match.params.coursesId}
|
||||
courseshomeworkstart={(category_id,homework_ids)=> this.props.newhomeworkstart
|
||||
&& this.props.newhomeworkstart(category_id,homework_ids)}
|
||||
funpatheditarry={(patheditarry)=>this.funpatheditarry(patheditarry)}
|
||||
patheditarry={patheditarry}
|
||||
{...this.props}
|
||||
></ShixunModal>
|
||||
)
|
||||
}
|
||||
}
|
||||
import React,{ Component } from "react";
|
||||
import { Modal,Checkbox,Select,Input,Tooltip} from "antd";
|
||||
import axios from'axios';
|
||||
import NewShixunModel from '../coursesPublic/NewShixunModel';
|
||||
|
||||
const Option = Select.Option;
|
||||
const Search = Input.Search;
|
||||
class ShixunChooseModal extends Component{
|
||||
constructor(props){
|
||||
super(props);
|
||||
this.state={
|
||||
shixunmodal: false,
|
||||
hometypepvisible: false,
|
||||
}
|
||||
}
|
||||
setVisible = (visible) => {
|
||||
// if (visible) {
|
||||
// this.createCommonWork()
|
||||
// } else {
|
||||
//
|
||||
// }
|
||||
this.setState({ shixunmodal: visible })
|
||||
}
|
||||
hidecouseShixunModal = () => {
|
||||
this.setVisible(false)
|
||||
}
|
||||
componentDidMount() {
|
||||
|
||||
|
||||
}
|
||||
funshixunmodallist=(search,type,loading,page)=>{
|
||||
let{newshixunmodallist}=this.state;
|
||||
let newshixunmodallists=[]
|
||||
if(page>1){
|
||||
newshixunmodallists=newshixunmodallist;
|
||||
}
|
||||
this.setState({
|
||||
hometypepvisible:loading
|
||||
})
|
||||
let coursesId=this.props.match.params.coursesId;
|
||||
let url = this.props.shixunsUrl || "/courses/"+coursesId+"/homework_commons/shixuns.json";
|
||||
|
||||
axios.get(url, {
|
||||
params: {
|
||||
search: search,
|
||||
type:type,
|
||||
page:page
|
||||
}
|
||||
}).then((result)=>{
|
||||
if(result.status===200){
|
||||
|
||||
let shixun_list=result.data.shixun_list;
|
||||
for(var i=0; i<shixun_list.length;i++){
|
||||
newshixunmodallists.push(shixun_list[i])
|
||||
}
|
||||
this.setState({
|
||||
shixunmodal:true,
|
||||
shixunmodallist:result.data,
|
||||
newshixunmodallist:newshixunmodallists,
|
||||
hometypepvisible:false
|
||||
})
|
||||
}
|
||||
}).catch((error)=>{
|
||||
console.log(error);
|
||||
})
|
||||
}
|
||||
funpatheditarry=(list)=>{
|
||||
this.setState({
|
||||
patheditarry:list
|
||||
})
|
||||
}
|
||||
createCommonWork=()=>{
|
||||
|
||||
this.setState({
|
||||
hometypepvisible:true,
|
||||
patheditarry:[]
|
||||
})
|
||||
|
||||
let coursesId=this.props.match.params.coursesId;
|
||||
let url = this.props.shixunsUrl || "/courses/"+coursesId+"/homework_commons/shixuns.json";
|
||||
|
||||
axios.get(url).then((result)=>{
|
||||
if(result.status===200){
|
||||
this.setState({
|
||||
shixunmodal:true,
|
||||
shixunmodallist:result.data,
|
||||
hometypepvisible:false,
|
||||
newshixunmodallist:result.data.shixun_list,
|
||||
})
|
||||
}
|
||||
}).catch((error)=>{
|
||||
console.log(error);
|
||||
})
|
||||
}
|
||||
render(){
|
||||
let {Searchvalue,type,category_id, datas, shixunmodal, shixunmodallist
|
||||
, hometypepvisible, newshixunmodallist, patheditarry }=this.state;
|
||||
let {visible}=this.props;
|
||||
|
||||
// console.log(patheditarry)
|
||||
return(
|
||||
shixunmodal===true?<NewShixunModel
|
||||
statustype={'published'}
|
||||
datas={datas}
|
||||
category_id={this.props.match.params.category_id}
|
||||
NewShixunModelType={shixunmodal}
|
||||
shixunmodallist={shixunmodallist}
|
||||
funshixunmodallist={(search,type,loading,page)=>this.funshixunmodallist(search,type,loading,page)}
|
||||
hometypepvisible={hometypepvisible}
|
||||
hideNewShixunModelType={this.hidecouseShixunModal}
|
||||
newshixunmodallist={newshixunmodallist}
|
||||
coursesId={this.props.match.params.coursesId}
|
||||
courseshomeworkstart={(category_id,homework_ids)=> this.props.newhomeworkstart
|
||||
&& this.props.newhomeworkstart(category_id,homework_ids)}
|
||||
funpatheditarry={(patheditarry)=>this.funpatheditarry(patheditarry)}
|
||||
patheditarry={patheditarry}
|
||||
{...this.props}
|
||||
></NewShixunModel>:""
|
||||
)
|
||||
}
|
||||
}
|
||||
export default ShixunChooseModal;
|
@ -0,0 +1,27 @@
|
||||
.newedu-class-container{
|
||||
width:1240px;
|
||||
height:84px;
|
||||
}
|
||||
.ecnewbutton{
|
||||
width:68px;
|
||||
height:30px;
|
||||
background:rgba(76,172,255,1);
|
||||
border-radius:2px;
|
||||
float:right;
|
||||
}
|
||||
.newedu-title-bottom{
|
||||
width:1240px;
|
||||
height:65px;
|
||||
}
|
||||
.edu-con-bottom {
|
||||
padding: 10px 0;
|
||||
background: #fff;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.TabledataSource .ant-table-wrapper{
|
||||
width: 1240px;
|
||||
}
|
||||
.ant-table-thead{
|
||||
background:rgba(245,245,245,1);
|
||||
}
|
@ -0,0 +1,576 @@
|
||||
.TrainingLecturer{
|
||||
font-size:18px;
|
||||
font-family:MicrosoftYaHei;
|
||||
font-weight:400;
|
||||
color:#656565;
|
||||
}
|
||||
.TrainingTheory{
|
||||
font-size:18px;
|
||||
font-family:MicrosoftYaHei;
|
||||
font-weight:400;
|
||||
color:#05101A !important;
|
||||
}
|
||||
#SystemParameters{
|
||||
height: 81px;
|
||||
line-height: 40px;
|
||||
}
|
||||
#SystemParameters .SystemParameters:nth-child(1){
|
||||
font-size:14px;
|
||||
font-family:MicrosoftYaHei;
|
||||
font-weight:400;
|
||||
/* color:#989898 !important; */
|
||||
}
|
||||
#SystemParameters .SystemParameters:nth-child(2){
|
||||
font-size:14px;
|
||||
font-family:MicrosoftYaHei;
|
||||
font-weight:400;
|
||||
color:#989898 !important;
|
||||
}
|
||||
.operationright{
|
||||
float:right !important;
|
||||
}
|
||||
.ml75{
|
||||
margin-left:75px;
|
||||
}
|
||||
.mlim30{
|
||||
margin-left:30px !important;
|
||||
}
|
||||
.RadioGroupbox{
|
||||
display: inline-block;
|
||||
width: 100px;
|
||||
height: 25px;
|
||||
position: relative;
|
||||
}
|
||||
.RadioGroupboxab{
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
left: 30px;
|
||||
}
|
||||
.buttoninline{
|
||||
display: inline-block;
|
||||
margin-left: 29px;
|
||||
position: relative;
|
||||
/* width: 100px; */
|
||||
margin-top: 0px;
|
||||
height: 25px;
|
||||
}
|
||||
.placeholder::-moz-placeholder{font-size:12px;}
|
||||
.placeholder::-webkit-input-placeholder{font-size:12px;}
|
||||
.placeholder:-ms-input-placeholder{font-size:12px;}
|
||||
.mr16{
|
||||
margin-right:16px;
|
||||
}
|
||||
.defalutSubmitbtn{
|
||||
cursor: pointer;
|
||||
}
|
||||
.defalutCancelbtn{
|
||||
cursor: pointer;
|
||||
}
|
||||
.newSystem{
|
||||
background: #fff;
|
||||
}
|
||||
/* #EvaluationsList{
|
||||
padding:20px 0px;
|
||||
} */
|
||||
.mt55{
|
||||
margin-top:55px !important;
|
||||
}
|
||||
.mb100{
|
||||
margin-bottom:100px !important;
|
||||
}
|
||||
.mt26{
|
||||
margin-top:26px !important;
|
||||
}
|
||||
.mb80{
|
||||
margin-bottom:80px !important;
|
||||
}
|
||||
.color99{
|
||||
color:#999999;
|
||||
}
|
||||
.ant-select-selection__placeholder{
|
||||
width: 100%;
|
||||
font-size:14px;
|
||||
height:58px;
|
||||
}
|
||||
.mt70{
|
||||
margin-top:70px;
|
||||
}
|
||||
.mb50{
|
||||
margin-bottom:50px;
|
||||
}
|
||||
/* 谷歌 */
|
||||
input::-webkit-outer-spin-button,
|
||||
input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
margin: 0;
|
||||
font-size:14px;
|
||||
}
|
||||
/* 火狐 */
|
||||
input{
|
||||
-moz-appearance:textfield;
|
||||
font-size:14px;
|
||||
}
|
||||
.ColorF68{
|
||||
color:#FF6800;
|
||||
}
|
||||
.eaSystemp a{
|
||||
color:#05101a;
|
||||
}
|
||||
.eaSystemp span{
|
||||
color: #05101a !important;
|
||||
}
|
||||
.editorModify div .ant-input-lg{
|
||||
font-size: 14px;
|
||||
}
|
||||
#Coursemultiple div div ul .ant-select-selection__choice{
|
||||
margin-left: 0px;
|
||||
height: 20px !important;
|
||||
min-height: 29px;
|
||||
font-size: 14px;
|
||||
line-height: 27px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
#Coursemultiple .ant-select-selection--multiple{
|
||||
min-height: 40px !important;
|
||||
line-height: 38px !important;
|
||||
}
|
||||
#Coursemultiple div div ul .ant-select-search.ant-select-search--inline{
|
||||
margin-left: 0px;
|
||||
height: 20px !important;
|
||||
min-height: 29px;
|
||||
font-size: 14px;
|
||||
line-height: 27px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
.neweditSubentry{
|
||||
position: relative;
|
||||
top: -4px;
|
||||
left: 7px;
|
||||
}
|
||||
.nulleditSubentry{
|
||||
position: relative;
|
||||
top: -4px;
|
||||
left: 3px;
|
||||
}
|
||||
.percentage{
|
||||
margin-left: 8px;
|
||||
padding-left: 25px !important;
|
||||
}
|
||||
.Coursetitle{
|
||||
margin-bottom:0px !important;
|
||||
}
|
||||
.textaligncenter{
|
||||
padding-left: 30px !important;
|
||||
width: 70px !important;
|
||||
}
|
||||
.ml72{
|
||||
margin-left:72px;
|
||||
}
|
||||
|
||||
.bordereaeaea{
|
||||
border-bottom: 1px solid transparent !important;
|
||||
}
|
||||
.ecnowrap{
|
||||
max-width: 170px;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
-o-text-overflow: ellipsis;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: #40a9ff !important;
|
||||
margin-right: 108px;
|
||||
}
|
||||
.ecblock{
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.Spinlarge{
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin-top: 25px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
/* .ant-select-search{
|
||||
display:none;
|
||||
}
|
||||
.ant-select-search--inline{
|
||||
display:none;
|
||||
} */
|
||||
.boxinline-block{
|
||||
display: inline-block;
|
||||
}
|
||||
.boxinline{
|
||||
margin-right: 20px;
|
||||
}
|
||||
.evaluationdataClass{
|
||||
margin-left: 217px !important;
|
||||
width: 589px !important;
|
||||
display: inline-block;
|
||||
}
|
||||
.absolute{
|
||||
position:absolute;
|
||||
}
|
||||
.ml115{
|
||||
margin-left: 115px;
|
||||
}
|
||||
.ml100{
|
||||
margin-left: 100px;
|
||||
}
|
||||
.Importclassroomdata{
|
||||
position: absolute;
|
||||
right: 18px;
|
||||
top: 26px;
|
||||
}
|
||||
.Importclassroomdatas{
|
||||
position: absolute;
|
||||
right: 375px!important;
|
||||
top: 122px !important;
|
||||
}
|
||||
.Importclassroomdatass {
|
||||
position: absolute;
|
||||
right: 375px !important;
|
||||
top: 248px !important;
|
||||
}
|
||||
|
||||
#SystemParameters{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.newSystem .newtarget_scoreclass{
|
||||
padding: 10px 0px !important;
|
||||
margin: 0px 20px !important;
|
||||
}
|
||||
|
||||
.newSystem .newtarget_target{
|
||||
padding: 10px 0px !important;
|
||||
margin: 0px 30px !important;
|
||||
border-bottom:1px solid transparent !important;
|
||||
}
|
||||
|
||||
.nowrap329{
|
||||
max-width: 329px !important;
|
||||
text-align: left;
|
||||
overflow:hidden;
|
||||
text-overflow:ellipsis;
|
||||
white-space:nowrap;
|
||||
color:transparent !important;
|
||||
min-width: 329px !important;
|
||||
}
|
||||
.ListTableLine li>.column-500{
|
||||
max-width: 360px !important;
|
||||
text-align: left;
|
||||
min-width: 360px !important;
|
||||
}
|
||||
.color-666{
|
||||
color:#666666 !important;
|
||||
}
|
||||
.color-05101A{
|
||||
color:#05101A !important;
|
||||
}
|
||||
#SystemParametersP{
|
||||
position:relative;
|
||||
margin-bottom:0px !important;
|
||||
}
|
||||
.major_name{
|
||||
cursor:inherit;
|
||||
}
|
||||
.padding1030{
|
||||
padding: 10px 30px;
|
||||
height: 60px !important;
|
||||
}
|
||||
.color-red{
|
||||
color:#DD1717;
|
||||
}
|
||||
.color-redFF{
|
||||
color:#FF6666;
|
||||
}
|
||||
.margin-left63{
|
||||
margin-left: 63px !important;
|
||||
}
|
||||
.colorTransparent{
|
||||
color:transparent !important;
|
||||
}
|
||||
.color999{
|
||||
color: #999999 !important;
|
||||
}
|
||||
.operationrightbotton{
|
||||
margin-top: 2px!important;
|
||||
margin-right: -25px;
|
||||
}
|
||||
.mr2{
|
||||
margin-right:2px;
|
||||
}
|
||||
.colorFF6800{
|
||||
color: #FF6800 !important;
|
||||
}
|
||||
.lineheight60{
|
||||
line-height: 52px !important;
|
||||
}
|
||||
.mr13{
|
||||
margin-right: 13px;
|
||||
}
|
||||
.mr14{
|
||||
margin-right: 14px;
|
||||
}
|
||||
|
||||
.ecmorelist{
|
||||
margin: 0 auto;
|
||||
width: 100px;
|
||||
/* height: 100px; */
|
||||
display: block;
|
||||
}
|
||||
|
||||
.padding10im{
|
||||
padding: 10px 0px !important;
|
||||
}
|
||||
|
||||
.lipadding10im{
|
||||
margin: 0 0px!important;
|
||||
}
|
||||
|
||||
.lipadding20im{
|
||||
padding: 10px 20px!important;
|
||||
}
|
||||
|
||||
.marlr19{
|
||||
margin: 0 19px!important;
|
||||
}
|
||||
.mrj15{
|
||||
margin-right: -15px;
|
||||
}
|
||||
.margin64px{
|
||||
margin: 0 64px!important;
|
||||
}
|
||||
.marginright84{
|
||||
margin-right: 84px!important;
|
||||
}
|
||||
|
||||
.marginright162{
|
||||
margin-right: 162px;
|
||||
}
|
||||
.width86{
|
||||
width: 86px!important;
|
||||
}
|
||||
|
||||
.ant-modal-mask {
|
||||
background-color: rgba(5,16,26,0.4);
|
||||
}
|
||||
.ecmodeldelet{
|
||||
/* 考虑有各种尺寸的屏幕,用比例 */
|
||||
top:36%;
|
||||
}
|
||||
.ecmodeldelet .ant-modal-header{
|
||||
padding: 0px 24px;
|
||||
}
|
||||
.ecmodeldelet .ant-modal-title{
|
||||
padding: 0px 15px;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
line-height: 70px;
|
||||
height: 70px;
|
||||
border-radius: 10px 10px 0px 0px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
a.TrainingLecturer:hover{
|
||||
color:#4CACFF !important;
|
||||
}
|
||||
|
||||
.newSystem .lipadding10im{
|
||||
margin: 0 0px!important;
|
||||
}
|
||||
|
||||
.operationleft{
|
||||
float:left !important;
|
||||
}
|
||||
.color4D4D4D{
|
||||
color:#4D4D4D !important;
|
||||
}
|
||||
|
||||
/* #SystemParameters .SystemParameters:nth-child(1){
|
||||
color:#4D4D4D !important;
|
||||
} */
|
||||
|
||||
.color4CACFF{
|
||||
color:#4CACFF !important;
|
||||
}
|
||||
|
||||
.SystemParameters4CACFF{
|
||||
font-size:14px;
|
||||
font-family:MicrosoftYaHei;
|
||||
font-weight:400;
|
||||
line-height: 45px;
|
||||
}
|
||||
|
||||
.detaillist{
|
||||
text-align: center !important;
|
||||
width: 133px !important;
|
||||
height: 24px ;
|
||||
}
|
||||
|
||||
.associatedclass{
|
||||
margin-right: 128px !important;
|
||||
}
|
||||
|
||||
.associatedclasslist{
|
||||
width: 234px;
|
||||
height: 20px;
|
||||
font-size: 14px;
|
||||
font-family: MicrosoftYaHei;
|
||||
font-weight: 400;
|
||||
color: rgba(101,101,101,1);
|
||||
line-height: 22px;
|
||||
margin: 6px auto;
|
||||
}
|
||||
|
||||
.associatedclasslists{
|
||||
width: 323px;
|
||||
height: 35px;
|
||||
font-size: 14px;
|
||||
font-family: MicrosoftYaHei;
|
||||
font-weight: 400;
|
||||
color: rgba(101,101,101,1);
|
||||
line-height: 22px;
|
||||
margin: 6px auto;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.newecmodeldelet{
|
||||
width:600px !important;
|
||||
top:100px;
|
||||
}
|
||||
|
||||
.assclasslistsearch{
|
||||
width:454px;
|
||||
height:36px;
|
||||
background:rgba(244,244,244,1);
|
||||
border:1px solid rgba(234,234,234,1);
|
||||
border-radius:4px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.assclassposition{
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: 9px;
|
||||
}
|
||||
|
||||
.assclasslistsearchbtn{
|
||||
width: 64px;
|
||||
height: 35px !important;
|
||||
font-weight: 300 !important;
|
||||
line-height: 35px !important;
|
||||
}
|
||||
.btnweight{
|
||||
font-weight: 300 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.CBCBCB{
|
||||
background:#CBCBCB!important;
|
||||
}
|
||||
.clear{
|
||||
clear: both;
|
||||
}
|
||||
.ml120{
|
||||
margin-left: 120px;
|
||||
}
|
||||
.ml88{
|
||||
margin-left: 88px;
|
||||
}
|
||||
.assclasslistmid{
|
||||
width: 540px;
|
||||
height: 282px;
|
||||
background: rgba(244,250,255,1);
|
||||
border-radius: 4px;
|
||||
margin-left: 10px;
|
||||
overflow: auto;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.assclasslistsubmit{
|
||||
margin-top: 26px !important;
|
||||
margin-bottom: 8px !important;
|
||||
}
|
||||
.ant-modal-header{
|
||||
border-top-left-radius:10px;
|
||||
border-top-right-radius:10px;
|
||||
}
|
||||
.ant-modal-content{
|
||||
border-radius: 10px;
|
||||
}
|
||||
.assclasslistmidname{
|
||||
width: 160px;
|
||||
overflow: hidden;
|
||||
/* height: 24px; */
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.bordereaeaeas{
|
||||
border-bottom: 1px solid #eaeaea !important;
|
||||
}
|
||||
.isreloadsbtn{
|
||||
width: 80px !important;
|
||||
font-weight: 400 !important;
|
||||
padding: 0px !important;
|
||||
padding-left: 10px !important;
|
||||
}
|
||||
|
||||
.f5f5f5{
|
||||
color:rgb(245, 245, 245) !important;
|
||||
}
|
||||
|
||||
.ant-select-selection{
|
||||
border-radius: 0px !important;
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
|
||||
.ant-select-selection:focus{
|
||||
border-radius: 0px !important;
|
||||
background-color: #fff;
|
||||
border-color: #d9d9d9 !important;
|
||||
}
|
||||
|
||||
.listchildbox{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.listchildboxs{
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ant-input:focus, .ant-input:hover{
|
||||
border-color: transparent;
|
||||
}
|
||||
.inputWeight{
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
.inputWeight:focus {
|
||||
background-color: #fff;
|
||||
}
|
||||
.ant-input:focus {
|
||||
outline: 0;
|
||||
-webkit-box-shadow: 0 0 0 2px transparent !important;
|
||||
box-shadow: 0 0 0 2px transparent !important;
|
||||
}
|
||||
|
||||
.ant-input{
|
||||
border-color: #d9d9d9 !important;
|
||||
}
|
||||
|
||||
.mt60{
|
||||
margin-top:60px;
|
||||
}
|
||||
|
||||
.SystemParameters{
|
||||
height:auto;
|
||||
}
|
@ -0,0 +1,368 @@
|
||||
.eaSystemp a{
|
||||
color:#05101a;
|
||||
}
|
||||
.eaSystemp span{
|
||||
color: #05101a !important;
|
||||
}
|
||||
.eacourse p{
|
||||
height:84px;
|
||||
margin-bottom:0px !important;
|
||||
}
|
||||
.eacourse #training_objective_contents{
|
||||
height:81px;
|
||||
}
|
||||
.courseSystem{
|
||||
font-size:18px;
|
||||
font-family:MicrosoftYaHei;
|
||||
font-weight:400;
|
||||
line-height:45px;
|
||||
color:rgba(5,16,26,1);
|
||||
}
|
||||
.SystemParameters{
|
||||
font-size:14px;
|
||||
font-family:MicrosoftYaHei;
|
||||
font-weight:400;
|
||||
line-height:45px;
|
||||
color:rgba(50,50,50,1);
|
||||
}
|
||||
.SystemParametersysls{
|
||||
font-size:14px;
|
||||
font-family:MicrosoftYaHei;
|
||||
font-weight:400;
|
||||
color:rgba(50,50,50,1);
|
||||
}
|
||||
.Systemnum{
|
||||
font-size:14px;
|
||||
font-family:MicrosoftYaHei;
|
||||
font-weight:400;
|
||||
color:#FF6800;
|
||||
}
|
||||
.newSystem{
|
||||
width:1200px;
|
||||
overflow:auto;
|
||||
background: #FFF;
|
||||
}
|
||||
.newSystem .clearfix .column-1{
|
||||
width: 113px !important;
|
||||
text-align: center;
|
||||
}
|
||||
.operationColumn{
|
||||
margin: 0px 10%;
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
.operationalter{
|
||||
margin: 20px 16px;
|
||||
}
|
||||
.SystemModifythelist .column-1{
|
||||
width: 120px !important;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.SystemModifythelist .column-3{
|
||||
padding-left: 96px;
|
||||
margin-right: 23px;
|
||||
}
|
||||
.operationright{
|
||||
float:right !important;
|
||||
}
|
||||
|
||||
.newSystem p{
|
||||
/*padding: 10px 33px !important;*/
|
||||
margin-bottom: 0em;
|
||||
}
|
||||
.newSystem li{
|
||||
margin:0 !important;
|
||||
}
|
||||
.SystemModifythelist{
|
||||
background:#FFF !important;
|
||||
}
|
||||
|
||||
.SystemModifythelist .column-1:nth-child(1){
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
.Systempoint{
|
||||
font-size:12px;
|
||||
font-family:MicrosoftYaHei;
|
||||
font-weight:400;
|
||||
color:rgba(152,152,152,1);
|
||||
}
|
||||
.editorModify{
|
||||
background:#FFF !important;
|
||||
}
|
||||
.newSystem .editorModify .column-1{
|
||||
width: 194px !important;
|
||||
text-align: left;
|
||||
margin-left: 30px;
|
||||
}
|
||||
.newSystem .editorModify .column-1:nth-child(1){
|
||||
margin-right: 510px;
|
||||
}
|
||||
.editorModify .ant-select{
|
||||
width: 556px !important;
|
||||
margin-left: 36px;
|
||||
}
|
||||
.editorModify .ant-select .ant-select-selection{
|
||||
height: 30px !important;
|
||||
}
|
||||
.editorModify .ant-select .ant-select-selection .ant-select-selection__rendered{
|
||||
height: 30px !important;
|
||||
}
|
||||
.editorModify .ant-select .ant-select-selection .ant-select-selection__rendered .ant-select-selection-selected-value{
|
||||
line-height: 30px !important;
|
||||
}
|
||||
.inputWeight{
|
||||
width: 20%;
|
||||
font-size:14px;
|
||||
height:30px;
|
||||
margin-left: 20px;
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
.SetTheAssociated{
|
||||
width: 314px;
|
||||
height: 30px;
|
||||
float: right;
|
||||
margin-right: -3.5%;
|
||||
}
|
||||
.SetTheAssociatedchild{
|
||||
width: 120px;
|
||||
height: 30px;
|
||||
background: rgba(255,255,255,1);
|
||||
border: 1px solid rgba(234,234,234,1);
|
||||
border-radius: 4px;
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
/*margin-left: 34px;*/
|
||||
}
|
||||
.operatebutton{
|
||||
margin-left: 20px;
|
||||
/* margin-top: 16px; */
|
||||
}
|
||||
.editbulebutton{
|
||||
width:120px;
|
||||
height:30px;
|
||||
background:rgba(76,172,255,1);
|
||||
border-radius:2px;
|
||||
color:#FFF;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
}
|
||||
.editglybutton{
|
||||
width:120px;
|
||||
height:30px;
|
||||
border:1px solid rgba(205,205,205,1);
|
||||
border-radius:2px;
|
||||
color:#999;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.editglybuttonbox{
|
||||
width: 275px;
|
||||
margin-bottom: 30px;
|
||||
margin-right: 20px;
|
||||
margin-right:7%;
|
||||
}
|
||||
.editglybuttonboxs{
|
||||
width: 275px;
|
||||
margin-bottom: 30px;
|
||||
margin-right: 20px;
|
||||
margin-right:3%;
|
||||
}
|
||||
.defalutCancelbtn:hover {
|
||||
border: 1px solid #B2B2B2;
|
||||
color: #B2B2B2!important;
|
||||
}
|
||||
|
||||
.gouxuanbule{
|
||||
color:#4CACFF;
|
||||
}
|
||||
.gouxuanwhite{
|
||||
color:#FFF;
|
||||
}
|
||||
.icon-gouxuan{
|
||||
cursor: pointer;
|
||||
}
|
||||
/* 谷歌 */
|
||||
input::-webkit-outer-spin-button,
|
||||
input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
/* 火狐 */
|
||||
input{
|
||||
-moz-appearance:textfield;
|
||||
}
|
||||
.inputWeight{
|
||||
text-indent:0.625rem;
|
||||
}
|
||||
|
||||
.columnlocation{
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
}
|
||||
.paddingLF{
|
||||
padding:0 33px;
|
||||
}
|
||||
.width20{
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.defalutSubmitbtn,.defalutCancelbtn{
|
||||
cursor: pointer;
|
||||
}
|
||||
.mb290{
|
||||
margin-bottom:290px;
|
||||
}
|
||||
.Spinlarge{
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin-top: 25px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.DDred{
|
||||
color:#DD1717;
|
||||
}
|
||||
.color-666{
|
||||
color:#666666 !important;
|
||||
}
|
||||
.color-05101A{
|
||||
color:#05101A !important;
|
||||
}
|
||||
.ec_graduation_name{
|
||||
margin-right:20px !important;
|
||||
}
|
||||
.column-width575{
|
||||
color: transparent !important;
|
||||
}
|
||||
.column-width130{
|
||||
width: 130px !important;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
|
||||
.ListTableLine li>span {
|
||||
max-width: 550px !important;
|
||||
}
|
||||
|
||||
.graduateRequirement .clearfix .column-1 {
|
||||
width: 76px!important;
|
||||
}
|
||||
.newrightcalculatebutton{
|
||||
width: 50px;
|
||||
height: 25px;
|
||||
border: 1px solid rgba(76,172,255,1);
|
||||
border-radius: 1px;
|
||||
line-height: 25px;
|
||||
text-align: center;
|
||||
margin-top: 7px;
|
||||
cursor: pointer;
|
||||
color: rgba(76,172,255,1);
|
||||
}
|
||||
.newrightcalculatebuttons{
|
||||
width: 50px;
|
||||
height: 25px;
|
||||
border: 1px solid rgba(76,172,255,1);
|
||||
border-radius: 1px;
|
||||
line-height: 25px;
|
||||
text-align: center;
|
||||
margin-top:9px;
|
||||
cursor: pointer;
|
||||
color: rgba(76,172,255,1);
|
||||
}
|
||||
.columnbox{
|
||||
height: 53px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ant-modal-mask {
|
||||
background-color: rgba(5,16,26,0.4);
|
||||
}
|
||||
.ecmodeldelet{
|
||||
top:300px;
|
||||
}
|
||||
.ecmodeldelet .ant-modal-header{
|
||||
padding: 0px 24px;
|
||||
}
|
||||
.ecmodeldelet .ant-modal-title{
|
||||
padding: 0px 15px;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
line-height: 70px;
|
||||
height: 70px;
|
||||
border-radius: 10px 10px 0px 0px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.bor-red {
|
||||
border: 1px solid #db0505 !important;
|
||||
}
|
||||
|
||||
.ml93{
|
||||
margin-left:93px;
|
||||
}
|
||||
.ml26{
|
||||
margin-left: 26px;
|
||||
}
|
||||
.finishtarget{
|
||||
width: 69px;
|
||||
/* height: 48px; */
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
margin-right: 48px;
|
||||
}
|
||||
|
||||
.bordereaeaea{
|
||||
border-bottom: 1px solid transparent !important;
|
||||
}
|
||||
|
||||
.heightimportant{
|
||||
height: 30px !important;
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
.heightimportant:focus {
|
||||
background-color: #fff;
|
||||
}
|
||||
.inputWeight:focus {
|
||||
background-color: #fff;
|
||||
}
|
||||
.heightlineimportant{
|
||||
line-height: 30px !important;
|
||||
}
|
||||
|
||||
.ant-select-selection:hover{
|
||||
border-color: #d9d9d9 !important;
|
||||
}
|
||||
.ant-input:focus {
|
||||
outline: 0;
|
||||
-webkit-box-shadow: 0 0 0 2px transparent !important;
|
||||
box-shadow: 0 0 0 2px transparent !important;
|
||||
}
|
||||
.ant-input{
|
||||
border-color: #d9d9d9 !important;
|
||||
}
|
||||
.ant-select-selection:focus{
|
||||
-webkit-box-shadow: 0 0 0 2px transparent !important;
|
||||
box-shadow: 0 0 0 2px transparent !important;
|
||||
}
|
||||
.ant-select-selection:active{
|
||||
-webkit-box-shadow: 0 0 0 2px transparent !important;
|
||||
box-shadow: 0 0 0 2px transparent !important;
|
||||
}
|
||||
|
||||
.ant-select-selection:focus{
|
||||
border-color: #d9d9d9 !important;
|
||||
}
|
||||
.ant-select-selection{
|
||||
-webkit-box-shadow: 0 0 0 2px transparent !important;
|
||||
box-shadow: 0 0 0 2px transparent !important;
|
||||
}
|
||||
|
||||
.mt60{
|
||||
margin-top:60px;
|
||||
}
|
After Width: | Height: | Size: 674 B |
@ -0,0 +1,32 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
class Curriculumtwo extends Component {
|
||||
//测试用
|
||||
constructor(props) {
|
||||
super(props)
|
||||
// console.log(props);
|
||||
}
|
||||
|
||||
componentWillMount(){
|
||||
}
|
||||
componentDidMount(){
|
||||
// console.log(this.props);
|
||||
console.log("Curriculumtwo");
|
||||
console.log(this.props.match.params.type);
|
||||
this.props.Ontitine(this.props.match.params.type);
|
||||
}
|
||||
|
||||
|
||||
render() {
|
||||
// console.log("Curriculumtwo");
|
||||
// console.log(this.props);
|
||||
return (
|
||||
<div className="educontent fl">
|
||||
<span>测试</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
export default Curriculumtwo;
|
@ -0,0 +1,104 @@
|
||||
#traningNav {
|
||||
display: flex
|
||||
}
|
||||
#traningNav>li {
|
||||
float: none !important;
|
||||
}
|
||||
/* 最后一个item 占满剩余空间 */
|
||||
#traningNav>li:last-child{
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#traningNav>li>.ecTitle {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: 1px solid rgba(65, 140, 205, 1);
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
line-height: 22px;
|
||||
display: inline-block;
|
||||
color: rgba(65, 140, 205, 1) !important;
|
||||
margin-right: 10px;
|
||||
}
|
||||
#traningNav>li>.ecTitles {
|
||||
line-height: 16px !important;
|
||||
height: 18px!important;
|
||||
width: 18px!important;
|
||||
}
|
||||
|
||||
#traningNav>li>.ecTitlefont:hover{
|
||||
color: rgba(65, 140, 205, 1) !important;
|
||||
}
|
||||
|
||||
.ecimgs3{
|
||||
background: url("./img/3.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
-moz-background-size: 100% 100%;
|
||||
height: 90px;
|
||||
line-height: 90px;
|
||||
width: 235px;
|
||||
}
|
||||
.ecimgs2{
|
||||
background: url("./img/4.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
-moz-background-size: 100% 100%;
|
||||
height: 90px;
|
||||
line-height: 90px;
|
||||
width: 190px;
|
||||
}
|
||||
.ecimgs11{
|
||||
background: url("./img/3.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
-moz-background-size: 100% 100%;
|
||||
height: 90px;
|
||||
line-height: 90px;
|
||||
width: 146px;
|
||||
}
|
||||
.ml18{
|
||||
margin-left: 18px;
|
||||
}
|
||||
.ecimgs{
|
||||
height: 90px;
|
||||
line-height: 90px;
|
||||
}
|
||||
.ecmarginleft{
|
||||
margin-left: 23px;
|
||||
}
|
||||
|
||||
#traningNav>li>.ecTitlefontFFF{
|
||||
color:#fff !important;
|
||||
}
|
||||
|
||||
#traningNav>li>.ecTitleFFF {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: 1px solid #fff;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
line-height: 22px;
|
||||
display: inline-block;
|
||||
color: #fff !important;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.traningNavs{
|
||||
padding: 0px 0px 0px 0px !important;
|
||||
}
|
||||
.traningNavs>li{
|
||||
padding: 0px 10px 30px 10px !important;
|
||||
}
|
||||
|
||||
.mb0{
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
|
||||
.info2{
|
||||
width:232px;
|
||||
text-align: center;
|
||||
}
|
||||
.info1{
|
||||
width: 206px;
|
||||
text-align: center;
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
import React, { Component } from 'react';
|
||||
import './ecTitle.css';
|
||||
|
||||
class EcTitleCourseEvaluations extends Component {
|
||||
constructor(props) {
|
||||
super(props)
|
||||
this.state = {
|
||||
schooldata:{},
|
||||
ecComponentState:"",
|
||||
ecpaths:""
|
||||
}
|
||||
}
|
||||
componentWillReceiveProps(nextProps){
|
||||
const {schooldata,ecComponentState,ecpath}=nextProps;
|
||||
this.setState({
|
||||
schooldata:schooldata,
|
||||
ecComponentState:ecComponentState,
|
||||
ecpaths:ecpath
|
||||
})
|
||||
}
|
||||
|
||||
render() {
|
||||
let{schooldata,ecComponentState,ecpaths}=this.state;
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="mb10 mt10 eaSystemp">
|
||||
|
||||
<a href={schooldata.user_url}>{schooldata.user_name===undefined?"":schooldata.user_name+" > "}</a>
|
||||
<a href={schooldata.school_url}>{schooldata.school_name===undefined?"":schooldata.school_name+"认证"}</a>
|
||||
<a href={schooldata.major_url}>{schooldata.school_name===undefined?"":" > "+schooldata.major_name+" > "}</a>
|
||||
<span> {schooldata.school_name===undefined?"":schooldata.year+"届"}</span>
|
||||
|
||||
</div>
|
||||
|
||||
<ul className="clearfix mb0 traningNavs " id="traningNav" style={{display:ecpaths==='none'?"none":"flex"}}>
|
||||
<li className={"ecimgs"}>
|
||||
<a className={"ecTitle ecTitles"} >1</a>
|
||||
<a className={"ecTitlefont"} href={schooldata.major_training}>培养目标</a>
|
||||
</li>
|
||||
<li className={"ecimgs"}>
|
||||
<a className={"ecTitle ecTitles"} >2</a>
|
||||
<a className={"ecTitlefont"} href={schooldata.graduation_requirement_url} >毕业要求</a>
|
||||
</li>
|
||||
<li className={"ecimgs"}>
|
||||
<a className={"ecTitle ecTitles"} >3</a>
|
||||
<a className={"ecTitlefont"} href={schooldata.requirement_vs_objective_url}>毕业要求 vs 培养目标</a>
|
||||
</li>
|
||||
<li className={"ecimgs"}>
|
||||
<a className={"ecTitle ecTitles"} >4</a>
|
||||
<a className={"ecTitlefont"} href={schooldata.requirement_vs_standard}>毕业要求 vs 通用标准</a>
|
||||
</li>
|
||||
<li className={ecpaths==="ecStudentList"?"ecimgs11":"ecimgs"} style={{width: ecpaths==="ecStudentList"?'126px':'83px'}}>
|
||||
<a className={ ecpaths==="ecStudentList"?"ml18 ecTitleFFF ecTitles":"ecTitle"} >5</a>
|
||||
<a className={ ecpaths==="ecStudentList"?"ecTitlefontFFF":"ecTitlefont"} href={schooldata.students_url}>学生</a>
|
||||
</li>
|
||||
<li className={ecpaths==="ec_course_support_setting"||ecpaths==="show"?"ecimgs11":"ecimgs"}>
|
||||
<a className={ ecpaths==="ec_course_support_setting"||ecpaths==="show"?"ml18 ecTitleFFF ecTitles":"ecTitle ecTitles"} >6</a>
|
||||
<a className={ ecpaths==="ec_course_support_setting"||ecpaths==="show"?"ecTitlefontFFF":"ecTitlefont"} href={schooldata.course_setting_url}>课程体系</a>
|
||||
</li>
|
||||
<li className={ecpaths==="requirement_vs_courses"?"ecimgs3":"ecimgs"}>
|
||||
<a className={ ecpaths==="requirement_vs_courses"?"ecmarginleft ecTitleFFF ecTitles":"ecTitle ecTitles"} >7</a>
|
||||
<a className={ ecpaths==="requirement_vs_courses"?"ecTitlefontFFF":"ecTitlefont"} href={schooldata.requirement_vs_courses}>课程体系 vs 毕业要求</a>
|
||||
</li>
|
||||
<li className={ecpaths==="reach_calculation_info"?"ecimgs2 info2":"ecimgs"}>
|
||||
<a className={ ecpaths==="reach_calculation_info"?"ecTitleFFF ml18 ecTitles":"ecTitle ecTitles"} >8</a>
|
||||
<a className={ ecpaths==="reach_calculation_info"?"ecTitlefontFFF":"ecTitlefont"} href={schooldata.reach_calculation_info_url}>达成度评价结果</a>
|
||||
</li>
|
||||
{/*<li className={ecComponentState==="ecCourseSupports"?"active edu-menu-panel":"edu-menu-panel"}>*/}
|
||||
{/*<a>毕业要求</a>*/}
|
||||
{/*<i className="iconfont icon-xiajiantou font-14 ml5" style={{display:ecComponentState==="ecCourseSupports"?"inline-block":"none"}}></i>*/}
|
||||
{/*<ul className="edu-menu-list" style={{width:'200px',right:'unset',top:'34px'}}>*/}
|
||||
{/*<li><a href={schooldata.major_training} >专业培养目标</a></li>*/}
|
||||
{/*<li><a href={schooldata.graduation_requirement_url} >毕业要求指标点</a></li>*/}
|
||||
{/*<li><a href={schooldata.requirement_vs_objective_url} >毕业要求vs培养目标</a></li>*/}
|
||||
{/*<li><a href={schooldata.requirement_vs_standard} >毕业要求vs通用要求</a></li>*/}
|
||||
{/*<li><a href={schooldata.requirement_vs_courses} >毕业要求vs课程体系</a></li>*/}
|
||||
{/*</ul>*/}
|
||||
{/*</li>*/}
|
||||
|
||||
{/*<li className={ecComponentState==="ecCourseEvaluations"?"active edu-menu-panel":"edu-menu-panel"}>*/}
|
||||
{/*<a href={schooldata.course_setting_url}>课程配置</a>*/}
|
||||
{/*</li>*/}
|
||||
|
||||
{/*<li className={ecComponentState==="ecCompletion"?"active edu-menu-panel":"edu-menu-panel"}>*/}
|
||||
{/*<a>达成度计算</a>*/}
|
||||
{/*<i className="iconfont icon-xiajiantou font-14 ml5" style={{display:ecComponentState==="ecCompletion"?"inline-block":"none"}}></i>*/}
|
||||
{/*<ul className="edu-menu-list" style={{width:'200px',right:'unset',top:'34px'}}>*/}
|
||||
{/*<li><a href={schooldata.completion_calculation_url}>课程达成计算</a></li>*/}
|
||||
{/*<li><a href={schooldata.reach_calculation_info_url}>毕业要求指标点达成计算</a></li>*/}
|
||||
{/*</ul>*/}
|
||||
{/*</li>*/}
|
||||
{/*<a className="fr color-grey-6 font-16" href={schooldata.go_back_url}>返回</a>*/}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
)}
|
||||
}
|
||||
|
||||
export default EcTitleCourseEvaluations;
|
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.6 KiB |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue