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

dev_aliyun_beta
hjm 6 years ago
commit f86478323d

@ -203,12 +203,12 @@ function generateNewIndexJsp() {
<script> <script>
(function() { (function() {
var _host = '/react/build/' var _host = '/react/build/'
/* /**/
if (window.location.host == 'pre-newweb.educoder.net') { if (window.location.host == 'pre-newweb.educoder.net') {
_host = 'https://testali-cdn.educoder.net/react/build/' _host = 'https://testali-cdn.educoder.net/react/build/'
} else if (window.location.host == 'www.educoder.net') { } else if (window.location.host == 'www.educoder.net') {
_host = 'https://ali-newweb.educoder.net/react/build/' _host = 'https://ali-newweb.educoder.net/react/build/'
}*/ }
document.write('<script type="text/javascript" src="' + _host + 'js/js_min_all.js"><\\/script>'); document.write('<script type="text/javascript" src="' + _host + 'js/js_min_all.js"><\\/script>');
document.write('<script type="text/javascript" src="' + _host + 'static/js/main.${matchResult[1]}.js"><\\/script>'); document.write('<script type="text/javascript" src="' + _host + 'static/js/main.${matchResult[1]}.js"><\\/script>');
})() })()

@ -35,6 +35,7 @@ const buildColumns = (that) => {
dataIndex: 'login', dataIndex: 'login',
key: 'login', key: 'login',
align:'center', align:'center',
width:"10%",
className:"color-grey-6", className:"color-grey-6",
render: (login, record) => { render: (login, record) => {
return <span className="color-dark overflowHidden1" style={{maxWidth: '160px'}} return <span className="color-dark overflowHidden1" style={{maxWidth: '160px'}}
@ -57,9 +58,10 @@ const buildColumns = (that) => {
dataIndex: 'student_id', dataIndex: 'student_id',
key: 'student_id', key: 'student_id',
align:'center', align:'center',
width:"10%",
className:"color-grey-6", className:"color-grey-6",
render: (student_id, record) => { render: (student_id, record) => {
return <span className="color-dark overflowHidden1 "title={student_id && student_id.length > 10 ? student_id : ''} return <span className="color-dark overflowHidden1 " title={student_id && student_id.length > 10 ? student_id : ''}
style={{maxWidth: '160px'}} >{student_id}</span> style={{maxWidth: '160px'}} >{student_id}</span>
} }
}]; }];
@ -69,7 +71,7 @@ const buildColumns = (that) => {
dataIndex: 'course_group_name', dataIndex: 'course_group_name',
key: 'course_group_name', key: 'course_group_name',
align:'center', align:'center',
width:"50%", width:"40%",
className:"color-grey-6" className:"color-grey-6"
}) })
} }

@ -647,9 +647,9 @@ export default class TPMevaluation extends Component {
path:shixunfilepath, path:shixunfilepath,
exec_path:shixunfilepathplay, exec_path:shixunfilepathplay,
show_type:pathoptionvalue===-1?undefined:pathoptionvalue, show_type:pathoptionvalue===-1?undefined:pathoptionvalue,
original_picture_path:pathoptionvalue===-1?undefined:shixunfileexpectpicturepath, original_picture_path:pathoptionvalue===-1?undefined:shixunfileexpectpicturepath===undefined?null:shixunfileexpectpicturepath,
expect_picture_path:pathoptionvalue===-1?undefined:shixunfilestandardpicturepath, expect_picture_path:pathoptionvalue===-1?undefined:shixunfilestandardpicturepath===undefined?null:shixunfilestandardpicturepath,
picture_path:pathoptionvalue===-1?undefined:shixunfilepicturepath, picture_path:pathoptionvalue===-1?undefined:shixunfilepicturepath===undefined?null:shixunfilepicturepath,
test_set_score:newscorevalue, test_set_score:newscorevalue,
test_set_average:markvalue, test_set_average:markvalue,
web_route:web_route===null?undefined:web_route web_route:web_route===null?undefined:web_route

@ -1,6 +1,6 @@
/*global __webpack_public_path__ */ /*global __webpack_public_path__ */
if (window._enableCDN && window.location.host == 'pre-newweb.educoder.net') { if ( window.location.host == 'pre-newweb.educoder.net') {
__webpack_public_path__ = 'http://testali-cdn.educoder.net/react/build/' __webpack_public_path__ = 'https://testali-cdn.educoder.net/react/build/'
} else if (window._enableCDN && window.location.host == 'www.educoder.net') { } else if ( window.location.host == 'www.educoder.net') {
__webpack_public_path__ = 'https://ali-newweb.educoder.net/react/build/' __webpack_public_path__ = 'https://ali-newweb.educoder.net/react/build/'
} }
Loading…
Cancel
Save