dev_static
daiao 5 years ago
commit 5c98fbf40a

@ -8,7 +8,7 @@ module JupyterService
uri = "#{shixun_tomcat}/bridge/jupyter/get"
tpiID = "tpm#{shixun.id}"
mount = shixun.data_sets.present?
params = {tpiID: tpiID, identifier: shixun.identifier, needMount: mount,
params = {tpiID: tpiID, identifier: shixun.identifier, needMount: mount, gitUrl: '',
:containers => "#{Base64.urlsafe_encode64(shixun_container_limit(shixun))}"}
logger.info "test_juypter: uri->#{uri}, params->#{params}"
@ -48,8 +48,14 @@ module JupyterService
tpiID = myshixun.id
mount = myshixun.shixun.data_sets.present?
params = {tpiID: tpiID, identifier: shixun.identifier, myshixunIdentifier: myshixun.identifier, needMount: mount,
:containers => "#{Base64.urlsafe_encode64(shixun_container_limit(shixun))}"}
gitUrl = "#{edu_setting('git_address_domain')}/#{myshixun.repo_path}"
params = { tpiID: tpiID,
identifier: shixun.identifier,
myshixunIdentifier: myshixun.identifier,
gitUrl: gitUrl,
needMount: mount,
:containers => "#{Base64.urlsafe_encode64(shixun_container_limit(shixun))}"}
res = uri_post uri, params
logger.info "test_juypter: #{res}"

@ -363,7 +363,7 @@ class Listofworksstudentone extends Component {
),
},
{
title: '截止前完成关卡',
title: '结束前完成关卡',
dataIndex: 'completion',
key: 'completion',
align: "center",
@ -757,7 +757,7 @@ class Listofworksstudentone extends Component {
),
},
{
title: '截止前完成关卡',
title: '结束前完成关卡',
dataIndex: 'completion',
key: 'completion',
align: "center",
@ -1110,7 +1110,7 @@ class Listofworksstudentone extends Component {
),
},
{
title: '截止前完成关卡',
title: '结束前完成关卡',
dataIndex: 'completion',
key: 'completion',
align: 'center',
@ -1473,7 +1473,7 @@ class Listofworksstudentone extends Component {
),
},
{
title: '截止前完成关卡',
title: '结束前完成关卡',
dataIndex: 'completion',
key: 'completion',
align: 'center',

Loading…
Cancel
Save