Merge branches 'dev_aliyun', 'develop' and 'educoder' of https://bdgit.educoder.net/Hjqreturn/pgfqe6ch8 into educoder

dev_aliyun
杨树明 5 years ago
commit ceaa2264c7

@ -18,7 +18,7 @@ class EcloudController < ApplicationController
skip_before_filter :verify_authenticity_token skip_before_filter :verify_authenticity_token
before_filter :save_para before_filter :save_para
before_filter :check_sign, only: [:ps_new, :ps_update, :bs_new, :bs_update] # before_filter :check_sign, only: [:ps_new, :ps_update, :bs_new, :bs_update]
before_filter :user_setup before_filter :user_setup
# before_filter :require_login, only: [:authorize] # before_filter :require_login, only: [:authorize]

@ -1,5 +0,0 @@
class AddExecTimeToEvaluateRecords < ActiveRecord::Migration
def change
add_column :evaluate_records, :exec_time, :integer
end
end

@ -86,10 +86,11 @@ task :add_test_users => :environment do
(1..1000).each do |i| (1..2000).each do |i|
puts i
no = sprintf("%04d", i) no = sprintf("%04d", i)
phone = "5160731#{no}" phone = "6160731#{no}"
us = UsersService.new us = UsersService.new
user = us.register phone: phone, password: 'edu12345678' user = us.register phone: phone, password: 'edu12345678'
@ -100,7 +101,7 @@ task :add_test_users => :environment do
,,,,,,,,,,,,,,,,,,绿,,, ,,,,,,,,,,,,,,,,,,绿,,,
,,,,,,,,,,访,,绿,,,,,,,,, ,,,,,,,,,,访,,绿,,,,,,,,,
,,绿,,,,,,,,,,,,,,,,,,, ,,绿,,,,,,,,,,,,,,,,,,,
,绿,,,,,,,,,绿,,,,,,,,,, ,绿,,,,,,,,,,绿,,,,,,,,,,
,,,,,,,,,,,,,,,,,".split(",") ,,,,,,,,,,,,,,,,,".split(",")
lastname = l[rand(l.length)] + f[rand(f.length)] lastname = l[rand(l.length)] + f[rand(f.length)]
@ -109,7 +110,7 @@ task :add_test_users => :environment do
lastname: lastname, lastname: lastname,
nickname: '', nickname: '',
sex: 0, sex: 0,
mail: "00educoder#{no}@qq.com", mail: "stueducoder#{no}@qq.com",
identity: 1, identity: 1,
te_technical_title: 0, te_technical_title: 0,
pro_technical_title: 0, pro_technical_title: 0,

@ -66,7 +66,12 @@ class CommunityHome extends Component {
} }
let xhslist=["路由交换","H3CNA","H3CNE","H3CSE-Routing&Switching","H3CTE","","","H3CNE-SDN","","H3CIE-Routing&SWitching"] let xhslist=["路由交换","H3CNA","H3CNE","H3CSE-Routing&Switching","H3CTE","","","H3CNE-SDN","","H3CIE-Routing&SWitching"]
return ( return (
<div className="edu-con-bg01" style={{paddingTop: '50px',paddingBottom: '231px'}}> <div className="edu-con-bg01 communityHome" style={{paddingTop: '60px',paddingBottom: '231px'}}>
<style>{`
.communityHome .ant-carousel .slick-slide {
height: 500px;
}
`}</style>
<div className="Community_Home_Top" style={{width:BrowserType===true?'100%':'100.9%'}}> <div className="Community_Home_Top" style={{width:BrowserType===true?'100%':'100.9%'}}>
{ BannersUrl===""?"": { BannersUrl===""?"":

@ -559,3 +559,7 @@ a.TrainingLecturer:hover{
.mt60{ .mt60{
margin-top:60px; margin-top:60px;
} }
.SystemParameters{
height:auto;
}

@ -28,7 +28,7 @@
} }
.SystemParameters { .SystemParameters {
height: 60px; min-height: 60px;
} }
p { p {

@ -470,7 +470,7 @@ class ecCourseSupports extends Component {
</Modal> </Modal>
<div className="educontent mb290 mt60"> <div className="educontent mb290">
<EcTitleCourseEvaluations <EcTitleCourseEvaluations
{...this.props} {...this.props}

Loading…
Cancel
Save