Merge branch 'dev_local' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_local

dev_local_2
杨树林 5 years ago
commit 61397ff292

@ -55,7 +55,9 @@ class Admins::ImportUserService < ApplicationService
professional_certification: 1,
certification: 1,
password: '12345678',
phone: data.phone
phone: data.phone,
mail: "#{prefix}#{data.student_id}@qq.com",
profile_completed: true
}
ActiveRecord::Base.transaction do
user = User.create!(attr)
@ -67,8 +69,8 @@ class Admins::ImportUserService < ApplicationService
extension_attr[:technical_title] =
case data.identity.to_i
when 0 then %w(教授 副教授 讲师 助教).include?(data.technical_title) || '讲师'
when 2 then %w(企业管理者 部门管理者 高级工程师 工程师 助理工程师).include?(data.technical_title) || '助理工程师'
when 0 then %w(教授 副教授 讲师 助教).include?(data.technical_title) ? data.technical_title : '讲师'
when 2 then %w(企业管理者 部门管理者 高级工程师 工程师 助理工程师).include?(data.technical_title) ? data.technical_title : '助理工程师'
else nil
end

@ -1106,6 +1106,9 @@ class LoginRegisterComponent extends Component {
.mymimasysl {
border-right: none !important;
}
.ant-input-group-addon{
background-color: #fff;s
}
`
}
</style>

Loading…
Cancel
Save