修改部分bug
This commit is contained in:
parent
aadfafa66c
commit
5e2d5d5654
|
@ -9,7 +9,7 @@ class ForksController < ApplicationController
|
||||||
private
|
private
|
||||||
def authenticate_project!
|
def authenticate_project!
|
||||||
return if current_user != @project.owner
|
return if current_user != @project.owner
|
||||||
render_result(1, "自己不能fork自己的项目")
|
render_result(-1, "自己不能fork自己的项目")
|
||||||
end
|
end
|
||||||
|
|
||||||
def authenticate_user!
|
def authenticate_user!
|
||||||
|
|
|
@ -7,6 +7,11 @@ class RepositoriesController < ApplicationController
|
||||||
@branches_count = Gitea::Repository::BranchesService.new(@project.owner, @project.identifier).call&.size
|
@branches_count = Gitea::Repository::BranchesService.new(@project.owner, @project.identifier).call&.size
|
||||||
@commits_count = Gitea::Repository::Commits::ListService.new(@project.owner, @project.identifier).call[:total_count]
|
@commits_count = Gitea::Repository::Commits::ListService.new(@project.owner, @project.identifier).call[:total_count]
|
||||||
@result = Gitea::Repository::GetService.new(@project.owner, @project.identifier).call
|
@result = Gitea::Repository::GetService.new(@project.owner, @project.identifier).call
|
||||||
|
@project_fork_id = @project.try(:forked_from_project_id)
|
||||||
|
if @project_fork_id.present?
|
||||||
|
@fork_project = Project.find_by(id: @project_fork_id)
|
||||||
|
@fork_project_user = @fork_project.owner
|
||||||
|
end
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
uid_logger_error(e.message)
|
uid_logger_error(e.message)
|
||||||
tip_exception(e.message)
|
tip_exception(e.message)
|
||||||
|
|
|
@ -9,3 +9,4 @@ json.is_public project.is_public
|
||||||
json.mirror_url project.repository&.mirror_url
|
json.mirror_url project.repository&.mirror_url
|
||||||
json.last_update_time render_unix_time(project.updated_on)
|
json.last_update_time render_unix_time(project.updated_on)
|
||||||
json.time_ago time_from_now(project.updated_on)
|
json.time_ago time_from_now(project.updated_on)
|
||||||
|
json.forked_from_project_id project.forked_from_project_id
|
||||||
|
|
|
@ -13,6 +13,15 @@ json.permission render_edit_project_permission(current_user, @project) if curren
|
||||||
json.mirror_url @project&.repository.mirror_url
|
json.mirror_url @project&.repository.mirror_url
|
||||||
json.watched current_user&.watched?(@project)
|
json.watched current_user&.watched?(@project)
|
||||||
json.praised current_user&.liked?(@project)
|
json.praised current_user&.liked?(@project)
|
||||||
|
json.forked_from_project_id @project_fork_id
|
||||||
|
json.fork_info do
|
||||||
|
if @fork_project.present?
|
||||||
|
json.fork_form_name @fork_project.try(:name)
|
||||||
|
json.fork_project_user_login @fork_project_user.try(:login)
|
||||||
|
json.fork_project_user_name @fork_project_user.try(:show_real_name)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
json.size @result['size']
|
json.size @result['size']
|
||||||
json.ssh_url @result['ssh_url']
|
json.ssh_url @result['ssh_url']
|
||||||
json.clone_url @result['clone_url']
|
json.clone_url @result['clone_url']
|
||||||
|
|
|
@ -1,50 +1,50 @@
|
||||||
{
|
{
|
||||||
"./static/js/0.c8ef6a97.chunk.js": "./static/js/0.c8ef6a97.chunk.js",
|
"./static/js/0.03e4d9d0.chunk.js": "./static/js/0.03e4d9d0.chunk.js",
|
||||||
"./static/js/1.54b34f57.chunk.js": "./static/js/1.54b34f57.chunk.js",
|
"./static/js/1.c40a895b.chunk.js": "./static/js/1.c40a895b.chunk.js",
|
||||||
"./static/js/10.1666106a.chunk.js": "./static/js/10.1666106a.chunk.js",
|
"./static/js/10.8bd9b56d.chunk.js": "./static/js/10.8bd9b56d.chunk.js",
|
||||||
"./static/js/100.5afd28fc.chunk.js": "./static/js/100.5afd28fc.chunk.js",
|
"./static/js/100.e2bf807c.chunk.js": "./static/js/100.e2bf807c.chunk.js",
|
||||||
"./static/js/101.46583c69.chunk.js": "./static/js/101.46583c69.chunk.js",
|
"./static/js/101.d553171d.chunk.js": "./static/js/101.d553171d.chunk.js",
|
||||||
"./static/js/102.0e1332d3.chunk.js": "./static/js/102.0e1332d3.chunk.js",
|
"./static/js/102.37441aac.chunk.js": "./static/js/102.37441aac.chunk.js",
|
||||||
"./static/js/103.53392d18.chunk.js": "./static/js/103.53392d18.chunk.js",
|
"./static/js/103.d954700d.chunk.js": "./static/js/103.d954700d.chunk.js",
|
||||||
"./static/js/104.68455d03.chunk.js": "./static/js/104.68455d03.chunk.js",
|
"./static/js/104.68455d03.chunk.js": "./static/js/104.68455d03.chunk.js",
|
||||||
"./static/js/105.133e3064.chunk.js": "./static/js/105.133e3064.chunk.js",
|
"./static/js/105.4767d7e3.chunk.js": "./static/js/105.4767d7e3.chunk.js",
|
||||||
"./static/js/106.9827fcbe.chunk.js": "./static/js/106.9827fcbe.chunk.js",
|
"./static/js/106.9827fcbe.chunk.js": "./static/js/106.9827fcbe.chunk.js",
|
||||||
"./static/js/107.e95512be.chunk.js": "./static/js/107.e95512be.chunk.js",
|
"./static/js/107.364050c3.chunk.js": "./static/js/107.364050c3.chunk.js",
|
||||||
"./static/js/108.a50f3284.chunk.js": "./static/js/108.a50f3284.chunk.js",
|
"./static/js/108.986ac995.chunk.js": "./static/js/108.986ac995.chunk.js",
|
||||||
"./static/js/109.16068a7d.chunk.js": "./static/js/109.16068a7d.chunk.js",
|
"./static/js/109.01ca0863.chunk.js": "./static/js/109.01ca0863.chunk.js",
|
||||||
"./static/js/11.08b38c67.chunk.js": "./static/js/11.08b38c67.chunk.js",
|
"./static/js/11.0b4d4501.chunk.js": "./static/js/11.0b4d4501.chunk.js",
|
||||||
"./static/js/110.10f28027.chunk.js": "./static/js/110.10f28027.chunk.js",
|
"./static/js/110.db003a71.chunk.js": "./static/js/110.db003a71.chunk.js",
|
||||||
"./static/js/111.d74b94f3.chunk.js": "./static/js/111.d74b94f3.chunk.js",
|
"./static/js/111.d74b94f3.chunk.js": "./static/js/111.d74b94f3.chunk.js",
|
||||||
"./static/js/112.6083c004.chunk.js": "./static/js/112.6083c004.chunk.js",
|
"./static/js/112.dac27abc.chunk.js": "./static/js/112.dac27abc.chunk.js",
|
||||||
"./static/js/113.c74156a7.chunk.js": "./static/js/113.c74156a7.chunk.js",
|
"./static/js/113.80d667a9.chunk.js": "./static/js/113.80d667a9.chunk.js",
|
||||||
"./static/js/114.4480d35d.chunk.js": "./static/js/114.4480d35d.chunk.js",
|
"./static/js/114.561877db.chunk.js": "./static/js/114.561877db.chunk.js",
|
||||||
"./static/js/115.8a67c313.chunk.js": "./static/js/115.8a67c313.chunk.js",
|
"./static/js/115.8a67c313.chunk.js": "./static/js/115.8a67c313.chunk.js",
|
||||||
"./static/js/116.b4d73f15.chunk.js": "./static/js/116.b4d73f15.chunk.js",
|
"./static/js/116.01042869.chunk.js": "./static/js/116.01042869.chunk.js",
|
||||||
"./static/js/117.7a68a68a.chunk.js": "./static/js/117.7a68a68a.chunk.js",
|
"./static/js/117.ca4cb04f.chunk.js": "./static/js/117.ca4cb04f.chunk.js",
|
||||||
"./static/js/118.97050204.chunk.js": "./static/js/118.97050204.chunk.js",
|
"./static/js/118.c7469f86.chunk.js": "./static/js/118.c7469f86.chunk.js",
|
||||||
"./static/js/119.04b95a9f.chunk.js": "./static/js/119.04b95a9f.chunk.js",
|
"./static/js/119.04b95a9f.chunk.js": "./static/js/119.04b95a9f.chunk.js",
|
||||||
"./static/js/12.d360cc3d.chunk.js": "./static/js/12.d360cc3d.chunk.js",
|
"./static/js/12.d360cc3d.chunk.js": "./static/js/12.d360cc3d.chunk.js",
|
||||||
"./static/js/120.34dab173.chunk.js": "./static/js/120.34dab173.chunk.js",
|
"./static/js/120.34dab173.chunk.js": "./static/js/120.34dab173.chunk.js",
|
||||||
"./static/js/121.eaee33ba.chunk.js": "./static/js/121.eaee33ba.chunk.js",
|
"./static/js/121.eaee33ba.chunk.js": "./static/js/121.eaee33ba.chunk.js",
|
||||||
"./static/js/122.1fd7e022.chunk.js": "./static/js/122.1fd7e022.chunk.js",
|
"./static/js/122.1fd7e022.chunk.js": "./static/js/122.1fd7e022.chunk.js",
|
||||||
"./static/js/123.839cf872.chunk.js": "./static/js/123.839cf872.chunk.js",
|
"./static/js/123.8fffd7d7.chunk.js": "./static/js/123.8fffd7d7.chunk.js",
|
||||||
"./static/js/124.20174975.chunk.js": "./static/js/124.20174975.chunk.js",
|
"./static/js/124.b6e7d051.chunk.js": "./static/js/124.b6e7d051.chunk.js",
|
||||||
"./static/js/125.b2f05ce4.chunk.js": "./static/js/125.b2f05ce4.chunk.js",
|
"./static/js/125.f07f8b5e.chunk.js": "./static/js/125.f07f8b5e.chunk.js",
|
||||||
"./static/js/126.95f8aa88.chunk.js": "./static/js/126.95f8aa88.chunk.js",
|
"./static/js/126.9d1ad6a0.chunk.js": "./static/js/126.9d1ad6a0.chunk.js",
|
||||||
"./static/js/127.950a7034.chunk.js": "./static/js/127.950a7034.chunk.js",
|
"./static/js/127.950a7034.chunk.js": "./static/js/127.950a7034.chunk.js",
|
||||||
"./static/js/128.6d22aef5.chunk.js": "./static/js/128.6d22aef5.chunk.js",
|
"./static/js/128.6d22aef5.chunk.js": "./static/js/128.6d22aef5.chunk.js",
|
||||||
"./static/js/129.dcf7f66b.chunk.js": "./static/js/129.dcf7f66b.chunk.js",
|
"./static/js/129.1a3ab516.chunk.js": "./static/js/129.1a3ab516.chunk.js",
|
||||||
"./static/js/13.a6fb3746.chunk.js": "./static/js/13.a6fb3746.chunk.js",
|
"./static/js/13.a6fb3746.chunk.js": "./static/js/13.a6fb3746.chunk.js",
|
||||||
"./static/js/130.07248340.chunk.js": "./static/js/130.07248340.chunk.js",
|
"./static/js/130.07248340.chunk.js": "./static/js/130.07248340.chunk.js",
|
||||||
"./static/js/131.84307b1f.chunk.js": "./static/js/131.84307b1f.chunk.js",
|
"./static/js/131.84307b1f.chunk.js": "./static/js/131.84307b1f.chunk.js",
|
||||||
"./static/js/132.80fe6a6f.chunk.js": "./static/js/132.80fe6a6f.chunk.js",
|
"./static/js/132.80fe6a6f.chunk.js": "./static/js/132.80fe6a6f.chunk.js",
|
||||||
"./static/js/133.c3231ca6.chunk.js": "./static/js/133.c3231ca6.chunk.js",
|
"./static/js/133.c3231ca6.chunk.js": "./static/js/133.c3231ca6.chunk.js",
|
||||||
"./static/js/134.7f03bded.chunk.js": "./static/js/134.7f03bded.chunk.js",
|
"./static/js/134.7f03bded.chunk.js": "./static/js/134.7f03bded.chunk.js",
|
||||||
"./static/js/135.047a7c8b.chunk.js": "./static/js/135.047a7c8b.chunk.js",
|
"./static/js/135.3ad83c25.chunk.js": "./static/js/135.3ad83c25.chunk.js",
|
||||||
"./static/js/136.d0c4da82.chunk.js": "./static/js/136.d0c4da82.chunk.js",
|
"./static/js/136.8d960ed3.chunk.js": "./static/js/136.8d960ed3.chunk.js",
|
||||||
"./static/js/137.2ea22c5f.chunk.js": "./static/js/137.2ea22c5f.chunk.js",
|
"./static/js/137.2ea22c5f.chunk.js": "./static/js/137.2ea22c5f.chunk.js",
|
||||||
"./static/js/138.f83f380c.chunk.js": "./static/js/138.f83f380c.chunk.js",
|
"./static/js/138.f83f380c.chunk.js": "./static/js/138.f83f380c.chunk.js",
|
||||||
"./static/js/139.444f877e.chunk.js": "./static/js/139.444f877e.chunk.js",
|
"./static/js/139.f291f1ce.chunk.js": "./static/js/139.f291f1ce.chunk.js",
|
||||||
"./static/js/14.a299bdd8.chunk.js": "./static/js/14.a299bdd8.chunk.js",
|
"./static/js/14.a299bdd8.chunk.js": "./static/js/14.a299bdd8.chunk.js",
|
||||||
"./static/js/140.6631c18a.chunk.js": "./static/js/140.6631c18a.chunk.js",
|
"./static/js/140.6631c18a.chunk.js": "./static/js/140.6631c18a.chunk.js",
|
||||||
"./static/js/141.a589774f.chunk.js": "./static/js/141.a589774f.chunk.js",
|
"./static/js/141.a589774f.chunk.js": "./static/js/141.a589774f.chunk.js",
|
||||||
|
@ -53,37 +53,37 @@
|
||||||
"./static/js/144.7c478e30.chunk.js": "./static/js/144.7c478e30.chunk.js",
|
"./static/js/144.7c478e30.chunk.js": "./static/js/144.7c478e30.chunk.js",
|
||||||
"./static/js/145.ea3091c9.chunk.js": "./static/js/145.ea3091c9.chunk.js",
|
"./static/js/145.ea3091c9.chunk.js": "./static/js/145.ea3091c9.chunk.js",
|
||||||
"./static/js/146.9b2e8e43.chunk.js": "./static/js/146.9b2e8e43.chunk.js",
|
"./static/js/146.9b2e8e43.chunk.js": "./static/js/146.9b2e8e43.chunk.js",
|
||||||
"./static/js/147.aa5b0639.chunk.js": "./static/js/147.aa5b0639.chunk.js",
|
"./static/js/147.0e58ebf6.chunk.js": "./static/js/147.0e58ebf6.chunk.js",
|
||||||
"./static/js/148.950b34e9.chunk.js": "./static/js/148.950b34e9.chunk.js",
|
"./static/js/148.a9accf97.chunk.js": "./static/js/148.a9accf97.chunk.js",
|
||||||
"./static/js/149.c4194fc4.chunk.js": "./static/js/149.c4194fc4.chunk.js",
|
"./static/js/149.c4194fc4.chunk.js": "./static/js/149.c4194fc4.chunk.js",
|
||||||
"./static/js/15.94477822.chunk.js": "./static/js/15.94477822.chunk.js",
|
"./static/js/15.94477822.chunk.js": "./static/js/15.94477822.chunk.js",
|
||||||
"./static/js/150.8d95f1a2.chunk.js": "./static/js/150.8d95f1a2.chunk.js",
|
"./static/js/150.8d95f1a2.chunk.js": "./static/js/150.8d95f1a2.chunk.js",
|
||||||
"./static/js/151.bfe191de.chunk.js": "./static/js/151.bfe191de.chunk.js",
|
"./static/js/151.bfe191de.chunk.js": "./static/js/151.bfe191de.chunk.js",
|
||||||
"./static/js/152.43182b10.chunk.js": "./static/js/152.43182b10.chunk.js",
|
"./static/js/152.43182b10.chunk.js": "./static/js/152.43182b10.chunk.js",
|
||||||
"./static/js/153.b94ae644.chunk.js": "./static/js/153.b94ae644.chunk.js",
|
"./static/js/153.f8878c53.chunk.js": "./static/js/153.f8878c53.chunk.js",
|
||||||
"./static/js/154.0437f57d.chunk.js": "./static/js/154.0437f57d.chunk.js",
|
"./static/js/154.0437f57d.chunk.js": "./static/js/154.0437f57d.chunk.js",
|
||||||
"./static/js/155.56ba7f82.chunk.js": "./static/js/155.56ba7f82.chunk.js",
|
"./static/js/155.0f084ba1.chunk.js": "./static/js/155.0f084ba1.chunk.js",
|
||||||
"./static/js/156.19cab84e.chunk.js": "./static/js/156.19cab84e.chunk.js",
|
"./static/js/156.19cab84e.chunk.js": "./static/js/156.19cab84e.chunk.js",
|
||||||
"./static/js/157.aa2e8027.chunk.js": "./static/js/157.aa2e8027.chunk.js",
|
"./static/js/157.aa2e8027.chunk.js": "./static/js/157.aa2e8027.chunk.js",
|
||||||
"./static/js/158.f5332df6.chunk.js": "./static/js/158.f5332df6.chunk.js",
|
"./static/js/158.f5332df6.chunk.js": "./static/js/158.f5332df6.chunk.js",
|
||||||
"./static/js/159.4b1b0a19.chunk.js": "./static/js/159.4b1b0a19.chunk.js",
|
"./static/js/159.4b1b0a19.chunk.js": "./static/js/159.4b1b0a19.chunk.js",
|
||||||
"./static/js/16.75ef5178.chunk.js": "./static/js/16.75ef5178.chunk.js",
|
"./static/js/16.75ef5178.chunk.js": "./static/js/16.75ef5178.chunk.js",
|
||||||
"./static/js/160.1ea2fe7f.chunk.js": "./static/js/160.1ea2fe7f.chunk.js",
|
"./static/js/160.d2aa5d0a.chunk.js": "./static/js/160.d2aa5d0a.chunk.js",
|
||||||
"./static/js/161.02657464.chunk.js": "./static/js/161.02657464.chunk.js",
|
"./static/js/161.02657464.chunk.js": "./static/js/161.02657464.chunk.js",
|
||||||
"./static/js/162.9818ea06.chunk.js": "./static/js/162.9818ea06.chunk.js",
|
"./static/js/162.b6128631.chunk.js": "./static/js/162.b6128631.chunk.js",
|
||||||
"./static/js/163.a4394184.chunk.js": "./static/js/163.a4394184.chunk.js",
|
"./static/js/163.610ece55.chunk.js": "./static/js/163.610ece55.chunk.js",
|
||||||
"./static/js/164.ff9b27d1.chunk.js": "./static/js/164.ff9b27d1.chunk.js",
|
"./static/js/164.ff9b27d1.chunk.js": "./static/js/164.ff9b27d1.chunk.js",
|
||||||
"./static/js/165.be824900.chunk.js": "./static/js/165.be824900.chunk.js",
|
"./static/js/165.be824900.chunk.js": "./static/js/165.be824900.chunk.js",
|
||||||
"./static/js/166.35cc0458.chunk.js": "./static/js/166.35cc0458.chunk.js",
|
"./static/js/166.597059e6.chunk.js": "./static/js/166.597059e6.chunk.js",
|
||||||
"./static/js/167.9ed7b623.chunk.js": "./static/js/167.9ed7b623.chunk.js",
|
"./static/js/167.51289262.chunk.js": "./static/js/167.51289262.chunk.js",
|
||||||
"./static/js/168.1ec5e1c9.chunk.js": "./static/js/168.1ec5e1c9.chunk.js",
|
"./static/js/168.e62a2cbb.chunk.js": "./static/js/168.e62a2cbb.chunk.js",
|
||||||
"./static/js/169.c2c8491d.chunk.js": "./static/js/169.c2c8491d.chunk.js",
|
"./static/js/169.9eb67aa2.chunk.js": "./static/js/169.9eb67aa2.chunk.js",
|
||||||
"./static/js/17.6653ccbf.chunk.js": "./static/js/17.6653ccbf.chunk.js",
|
"./static/js/17.65eff470.chunk.js": "./static/js/17.65eff470.chunk.js",
|
||||||
"./static/js/170.7bb5ee19.chunk.js": "./static/js/170.7bb5ee19.chunk.js",
|
"./static/js/170.f26fbb9c.chunk.js": "./static/js/170.f26fbb9c.chunk.js",
|
||||||
"./static/js/171.f45c101f.chunk.js": "./static/js/171.f45c101f.chunk.js",
|
"./static/js/171.7505b7c5.chunk.js": "./static/js/171.7505b7c5.chunk.js",
|
||||||
"./static/js/172.60480da5.chunk.js": "./static/js/172.60480da5.chunk.js",
|
"./static/js/172.60480da5.chunk.js": "./static/js/172.60480da5.chunk.js",
|
||||||
"./static/js/173.c6065fd1.chunk.js": "./static/js/173.c6065fd1.chunk.js",
|
"./static/js/173.c6065fd1.chunk.js": "./static/js/173.c6065fd1.chunk.js",
|
||||||
"./static/js/174.2233aa69.chunk.js": "./static/js/174.2233aa69.chunk.js",
|
"./static/js/174.9bce2d6d.chunk.js": "./static/js/174.9bce2d6d.chunk.js",
|
||||||
"./static/js/175.6248efb3.chunk.js": "./static/js/175.6248efb3.chunk.js",
|
"./static/js/175.6248efb3.chunk.js": "./static/js/175.6248efb3.chunk.js",
|
||||||
"./static/js/176.cc99d36d.chunk.js": "./static/js/176.cc99d36d.chunk.js",
|
"./static/js/176.cc99d36d.chunk.js": "./static/js/176.cc99d36d.chunk.js",
|
||||||
"./static/js/177.0a9c6944.chunk.js": "./static/js/177.0a9c6944.chunk.js",
|
"./static/js/177.0a9c6944.chunk.js": "./static/js/177.0a9c6944.chunk.js",
|
||||||
|
@ -99,190 +99,190 @@
|
||||||
"./static/js/186.f9fb0c74.chunk.js": "./static/js/186.f9fb0c74.chunk.js",
|
"./static/js/186.f9fb0c74.chunk.js": "./static/js/186.f9fb0c74.chunk.js",
|
||||||
"./static/js/187.5208d206.chunk.js": "./static/js/187.5208d206.chunk.js",
|
"./static/js/187.5208d206.chunk.js": "./static/js/187.5208d206.chunk.js",
|
||||||
"./static/js/188.36d6a8dd.chunk.js": "./static/js/188.36d6a8dd.chunk.js",
|
"./static/js/188.36d6a8dd.chunk.js": "./static/js/188.36d6a8dd.chunk.js",
|
||||||
"./static/js/189.fd2346e8.chunk.js": "./static/js/189.fd2346e8.chunk.js",
|
"./static/js/189.2e4847f1.chunk.js": "./static/js/189.2e4847f1.chunk.js",
|
||||||
"./static/js/19.dfa021aa.chunk.js": "./static/js/19.dfa021aa.chunk.js",
|
"./static/js/19.dfa021aa.chunk.js": "./static/js/19.dfa021aa.chunk.js",
|
||||||
"./static/js/190.827f5772.chunk.js": "./static/js/190.827f5772.chunk.js",
|
"./static/js/190.fb868dbf.chunk.js": "./static/js/190.fb868dbf.chunk.js",
|
||||||
"./static/js/191.5466e8b8.chunk.js": "./static/js/191.5466e8b8.chunk.js",
|
"./static/js/191.401d0828.chunk.js": "./static/js/191.401d0828.chunk.js",
|
||||||
"./static/js/192.ceb9911b.chunk.js": "./static/js/192.ceb9911b.chunk.js",
|
"./static/js/192.ceb9911b.chunk.js": "./static/js/192.ceb9911b.chunk.js",
|
||||||
"./static/js/193.64ea6b37.chunk.js": "./static/js/193.64ea6b37.chunk.js",
|
"./static/js/193.64ea6b37.chunk.js": "./static/js/193.64ea6b37.chunk.js",
|
||||||
"./static/js/194.a9d28278.chunk.js": "./static/js/194.a9d28278.chunk.js",
|
"./static/js/194.a9d28278.chunk.js": "./static/js/194.a9d28278.chunk.js",
|
||||||
"./static/js/195.457cd494.chunk.js": "./static/js/195.457cd494.chunk.js",
|
"./static/js/195.457cd494.chunk.js": "./static/js/195.457cd494.chunk.js",
|
||||||
"./static/js/196.eca224fc.chunk.js": "./static/js/196.eca224fc.chunk.js",
|
"./static/js/196.eca224fc.chunk.js": "./static/js/196.eca224fc.chunk.js",
|
||||||
"./static/js/197.54cc2402.chunk.js": "./static/js/197.54cc2402.chunk.js",
|
"./static/js/197.73ba86cc.chunk.js": "./static/js/197.73ba86cc.chunk.js",
|
||||||
"./static/js/198.93ae7618.chunk.js": "./static/js/198.93ae7618.chunk.js",
|
"./static/js/198.93ae7618.chunk.js": "./static/js/198.93ae7618.chunk.js",
|
||||||
"./static/js/199.e6654fa5.chunk.js": "./static/js/199.e6654fa5.chunk.js",
|
"./static/js/199.e6654fa5.chunk.js": "./static/js/199.e6654fa5.chunk.js",
|
||||||
"./static/js/2.1b63762f.chunk.js": "./static/js/2.1b63762f.chunk.js",
|
"./static/js/2.0bc6899f.chunk.js": "./static/js/2.0bc6899f.chunk.js",
|
||||||
"./static/js/20.1c15abe9.chunk.js": "./static/js/20.1c15abe9.chunk.js",
|
"./static/js/20.d66ded32.chunk.js": "./static/js/20.d66ded32.chunk.js",
|
||||||
"./static/js/200.7e13f534.chunk.js": "./static/js/200.7e13f534.chunk.js",
|
"./static/js/200.7e13f534.chunk.js": "./static/js/200.7e13f534.chunk.js",
|
||||||
"./static/js/201.1aae1110.chunk.js": "./static/js/201.1aae1110.chunk.js",
|
"./static/js/201.1aae1110.chunk.js": "./static/js/201.1aae1110.chunk.js",
|
||||||
"./static/js/202.8f1caff8.chunk.js": "./static/js/202.8f1caff8.chunk.js",
|
"./static/js/202.e4a6b509.chunk.js": "./static/js/202.e4a6b509.chunk.js",
|
||||||
"./static/js/203.825c9a84.chunk.js": "./static/js/203.825c9a84.chunk.js",
|
"./static/js/203.a32d384d.chunk.js": "./static/js/203.a32d384d.chunk.js",
|
||||||
"./static/js/204.8c79b4f2.chunk.js": "./static/js/204.8c79b4f2.chunk.js",
|
"./static/js/204.8c79b4f2.chunk.js": "./static/js/204.8c79b4f2.chunk.js",
|
||||||
"./static/js/205.f81b354a.chunk.js": "./static/js/205.f81b354a.chunk.js",
|
"./static/js/205.b4b56e12.chunk.js": "./static/js/205.b4b56e12.chunk.js",
|
||||||
"./static/js/206.6a76c8d8.chunk.js": "./static/js/206.6a76c8d8.chunk.js",
|
"./static/js/206.3da360a5.chunk.js": "./static/js/206.3da360a5.chunk.js",
|
||||||
"./static/js/207.b0a2752a.chunk.js": "./static/js/207.b0a2752a.chunk.js",
|
"./static/js/207.a6110c1b.chunk.js": "./static/js/207.a6110c1b.chunk.js",
|
||||||
"./static/js/208.19be019f.chunk.js": "./static/js/208.19be019f.chunk.js",
|
"./static/js/208.d4ff7886.chunk.js": "./static/js/208.d4ff7886.chunk.js",
|
||||||
"./static/js/209.ebf1ef16.chunk.js": "./static/js/209.ebf1ef16.chunk.js",
|
"./static/js/209.76fdf029.chunk.js": "./static/js/209.76fdf029.chunk.js",
|
||||||
"./static/js/21.684e1d60.chunk.js": "./static/js/21.684e1d60.chunk.js",
|
"./static/js/21.684e1d60.chunk.js": "./static/js/21.684e1d60.chunk.js",
|
||||||
"./static/js/210.9d8f6a6b.chunk.js": "./static/js/210.9d8f6a6b.chunk.js",
|
"./static/js/210.9d8f6a6b.chunk.js": "./static/js/210.9d8f6a6b.chunk.js",
|
||||||
"./static/js/211.5089b5bc.chunk.js": "./static/js/211.5089b5bc.chunk.js",
|
"./static/js/211.11a5325d.chunk.js": "./static/js/211.11a5325d.chunk.js",
|
||||||
"./static/js/212.74736891.chunk.js": "./static/js/212.74736891.chunk.js",
|
"./static/js/212.74736891.chunk.js": "./static/js/212.74736891.chunk.js",
|
||||||
"./static/js/213.1ff35be2.chunk.js": "./static/js/213.1ff35be2.chunk.js",
|
"./static/js/213.1ff35be2.chunk.js": "./static/js/213.1ff35be2.chunk.js",
|
||||||
"./static/js/214.33f2b4b9.chunk.js": "./static/js/214.33f2b4b9.chunk.js",
|
"./static/js/214.33f2b4b9.chunk.js": "./static/js/214.33f2b4b9.chunk.js",
|
||||||
"./static/js/215.798e1f5f.chunk.js": "./static/js/215.798e1f5f.chunk.js",
|
"./static/js/215.798e1f5f.chunk.js": "./static/js/215.798e1f5f.chunk.js",
|
||||||
"./static/js/216.1d37c709.chunk.js": "./static/js/216.1d37c709.chunk.js",
|
"./static/js/216.6948ee96.chunk.js": "./static/js/216.6948ee96.chunk.js",
|
||||||
"./static/js/217.c18a10c3.chunk.js": "./static/js/217.c18a10c3.chunk.js",
|
"./static/js/217.c775db3d.chunk.js": "./static/js/217.c775db3d.chunk.js",
|
||||||
"./static/js/218.bb871a2e.chunk.js": "./static/js/218.bb871a2e.chunk.js",
|
"./static/js/218.bb871a2e.chunk.js": "./static/js/218.bb871a2e.chunk.js",
|
||||||
"./static/js/219.d3501bc3.chunk.js": "./static/js/219.d3501bc3.chunk.js",
|
"./static/js/219.d3501bc3.chunk.js": "./static/js/219.d3501bc3.chunk.js",
|
||||||
"./static/js/22.105419dc.chunk.js": "./static/js/22.105419dc.chunk.js",
|
"./static/js/22.105419dc.chunk.js": "./static/js/22.105419dc.chunk.js",
|
||||||
"./static/js/220.407c7d32.chunk.js": "./static/js/220.407c7d32.chunk.js",
|
"./static/js/220.61178573.chunk.js": "./static/js/220.61178573.chunk.js",
|
||||||
"./static/js/221.906bcfe2.chunk.js": "./static/js/221.906bcfe2.chunk.js",
|
"./static/js/221.7f4c27ab.chunk.js": "./static/js/221.7f4c27ab.chunk.js",
|
||||||
"./static/js/222.ee7fb9d2.chunk.js": "./static/js/222.ee7fb9d2.chunk.js",
|
"./static/js/222.8e0fbdfa.chunk.js": "./static/js/222.8e0fbdfa.chunk.js",
|
||||||
"./static/js/223.89238758.chunk.js": "./static/js/223.89238758.chunk.js",
|
"./static/js/223.93de24cf.chunk.js": "./static/js/223.93de24cf.chunk.js",
|
||||||
"./static/js/224.492fb192.chunk.js": "./static/js/224.492fb192.chunk.js",
|
"./static/js/224.c71db400.chunk.js": "./static/js/224.c71db400.chunk.js",
|
||||||
"./static/js/225.aa5e7236.chunk.js": "./static/js/225.aa5e7236.chunk.js",
|
"./static/js/225.aa5e7236.chunk.js": "./static/js/225.aa5e7236.chunk.js",
|
||||||
"./static/js/226.17d9fdda.chunk.js": "./static/js/226.17d9fdda.chunk.js",
|
"./static/js/226.17d9fdda.chunk.js": "./static/js/226.17d9fdda.chunk.js",
|
||||||
"./static/js/227.80f33bfb.chunk.js": "./static/js/227.80f33bfb.chunk.js",
|
"./static/js/227.bb11480a.chunk.js": "./static/js/227.bb11480a.chunk.js",
|
||||||
"./static/js/228.4debc49d.chunk.js": "./static/js/228.4debc49d.chunk.js",
|
"./static/js/228.6f232d39.chunk.js": "./static/js/228.6f232d39.chunk.js",
|
||||||
"./static/js/229.8c6344cc.chunk.js": "./static/js/229.8c6344cc.chunk.js",
|
"./static/js/229.8c6344cc.chunk.js": "./static/js/229.8c6344cc.chunk.js",
|
||||||
"./static/js/23.f347fe82.chunk.js": "./static/js/23.f347fe82.chunk.js",
|
"./static/js/23.f347fe82.chunk.js": "./static/js/23.f347fe82.chunk.js",
|
||||||
"./static/js/230.af440dd9.chunk.js": "./static/js/230.af440dd9.chunk.js",
|
"./static/js/230.af440dd9.chunk.js": "./static/js/230.af440dd9.chunk.js",
|
||||||
"./static/js/231.507fa888.chunk.js": "./static/js/231.507fa888.chunk.js",
|
"./static/js/231.c08a1747.chunk.js": "./static/js/231.c08a1747.chunk.js",
|
||||||
"./static/js/232.3209fe43.chunk.js": "./static/js/232.3209fe43.chunk.js",
|
"./static/js/232.cfe96c75.chunk.js": "./static/js/232.cfe96c75.chunk.js",
|
||||||
"./static/js/233.464df90a.chunk.js": "./static/js/233.464df90a.chunk.js",
|
"./static/js/233.548e66f2.chunk.js": "./static/js/233.548e66f2.chunk.js",
|
||||||
"./static/js/234.6276468f.chunk.js": "./static/js/234.6276468f.chunk.js",
|
"./static/js/234.4af37808.chunk.js": "./static/js/234.4af37808.chunk.js",
|
||||||
"./static/js/235.d2be72b2.chunk.js": "./static/js/235.d2be72b2.chunk.js",
|
"./static/js/235.806ab5b3.chunk.js": "./static/js/235.806ab5b3.chunk.js",
|
||||||
"./static/js/236.24d4c6e6.chunk.js": "./static/js/236.24d4c6e6.chunk.js",
|
"./static/js/236.23d31485.chunk.js": "./static/js/236.23d31485.chunk.js",
|
||||||
"./static/js/237.6ea81e67.chunk.js": "./static/js/237.6ea81e67.chunk.js",
|
"./static/js/237.898f9e5c.chunk.js": "./static/js/237.898f9e5c.chunk.js",
|
||||||
"./static/js/238.fa4e0220.chunk.js": "./static/js/238.fa4e0220.chunk.js",
|
"./static/js/238.9dcca1d5.chunk.js": "./static/js/238.9dcca1d5.chunk.js",
|
||||||
"./static/js/239.1089035a.chunk.js": "./static/js/239.1089035a.chunk.js",
|
"./static/js/239.f4735e0f.chunk.js": "./static/js/239.f4735e0f.chunk.js",
|
||||||
"./static/js/24.7970b73a.chunk.js": "./static/js/24.7970b73a.chunk.js",
|
"./static/js/24.7970b73a.chunk.js": "./static/js/24.7970b73a.chunk.js",
|
||||||
"./static/js/240.ea494e61.chunk.js": "./static/js/240.ea494e61.chunk.js",
|
"./static/js/240.616d0bea.chunk.js": "./static/js/240.616d0bea.chunk.js",
|
||||||
"./static/js/241.1c6ccc56.chunk.js": "./static/js/241.1c6ccc56.chunk.js",
|
"./static/js/241.e16364a0.chunk.js": "./static/js/241.e16364a0.chunk.js",
|
||||||
"./static/js/242.985e02ce.chunk.js": "./static/js/242.985e02ce.chunk.js",
|
"./static/js/242.c6b662c4.chunk.js": "./static/js/242.c6b662c4.chunk.js",
|
||||||
"./static/js/243.44116171.chunk.js": "./static/js/243.44116171.chunk.js",
|
"./static/js/243.d57fc288.chunk.js": "./static/js/243.d57fc288.chunk.js",
|
||||||
"./static/js/244.b0b16e8a.chunk.js": "./static/js/244.b0b16e8a.chunk.js",
|
"./static/js/244.f42508a5.chunk.js": "./static/js/244.f42508a5.chunk.js",
|
||||||
"./static/js/245.881247f2.chunk.js": "./static/js/245.881247f2.chunk.js",
|
"./static/js/245.2f99ad84.chunk.js": "./static/js/245.2f99ad84.chunk.js",
|
||||||
"./static/js/246.afebdde3.chunk.js": "./static/js/246.afebdde3.chunk.js",
|
"./static/js/246.70737549.chunk.js": "./static/js/246.70737549.chunk.js",
|
||||||
"./static/js/247.ce2b5074.chunk.js": "./static/js/247.ce2b5074.chunk.js",
|
"./static/js/247.c25b0574.chunk.js": "./static/js/247.c25b0574.chunk.js",
|
||||||
"./static/js/248.e6b5864f.chunk.js": "./static/js/248.e6b5864f.chunk.js",
|
"./static/js/248.daac8b67.chunk.js": "./static/js/248.daac8b67.chunk.js",
|
||||||
"./static/js/249.db16a736.chunk.js": "./static/js/249.db16a736.chunk.js",
|
"./static/js/249.b7c9f391.chunk.js": "./static/js/249.b7c9f391.chunk.js",
|
||||||
"./static/js/25.74fe113f.chunk.js": "./static/js/25.74fe113f.chunk.js",
|
"./static/js/25.6c548fd1.chunk.js": "./static/js/25.6c548fd1.chunk.js",
|
||||||
"./static/js/250.3c821f53.chunk.js": "./static/js/250.3c821f53.chunk.js",
|
"./static/js/250.13bf2490.chunk.js": "./static/js/250.13bf2490.chunk.js",
|
||||||
"./static/js/251.8c8a05b8.chunk.js": "./static/js/251.8c8a05b8.chunk.js",
|
"./static/js/251.e1d30294.chunk.js": "./static/js/251.e1d30294.chunk.js",
|
||||||
"./static/js/252.0752eb95.chunk.js": "./static/js/252.0752eb95.chunk.js",
|
"./static/js/252.27868b46.chunk.js": "./static/js/252.27868b46.chunk.js",
|
||||||
"./static/js/253.4b720f69.chunk.js": "./static/js/253.4b720f69.chunk.js",
|
"./static/js/253.2f4a9054.chunk.js": "./static/js/253.2f4a9054.chunk.js",
|
||||||
"./static/js/254.1b83c42f.chunk.js": "./static/js/254.1b83c42f.chunk.js",
|
"./static/js/254.85f54251.chunk.js": "./static/js/254.85f54251.chunk.js",
|
||||||
"./static/js/255.a5f15722.chunk.js": "./static/js/255.a5f15722.chunk.js",
|
"./static/js/255.6c72b1cc.chunk.js": "./static/js/255.6c72b1cc.chunk.js",
|
||||||
"./static/js/256.ca2f6196.chunk.js": "./static/js/256.ca2f6196.chunk.js",
|
"./static/js/256.605f68b9.chunk.js": "./static/js/256.605f68b9.chunk.js",
|
||||||
"./static/js/257.2c04fc83.chunk.js": "./static/js/257.2c04fc83.chunk.js",
|
"./static/js/257.0b9c0362.chunk.js": "./static/js/257.0b9c0362.chunk.js",
|
||||||
"./static/js/258.dfaf5884.chunk.js": "./static/js/258.dfaf5884.chunk.js",
|
"./static/js/258.373b1354.chunk.js": "./static/js/258.373b1354.chunk.js",
|
||||||
"./static/js/259.c0f0ac7e.chunk.js": "./static/js/259.c0f0ac7e.chunk.js",
|
"./static/js/259.d4c5bb4d.chunk.js": "./static/js/259.d4c5bb4d.chunk.js",
|
||||||
"./static/js/26.d4756a14.chunk.js": "./static/js/26.d4756a14.chunk.js",
|
"./static/js/26.d2c4413e.chunk.js": "./static/js/26.d2c4413e.chunk.js",
|
||||||
"./static/js/260.05a4a87e.chunk.js": "./static/js/260.05a4a87e.chunk.js",
|
"./static/js/260.47542149.chunk.js": "./static/js/260.47542149.chunk.js",
|
||||||
"./static/js/261.2a8288ab.chunk.js": "./static/js/261.2a8288ab.chunk.js",
|
"./static/js/261.39a0c479.chunk.js": "./static/js/261.39a0c479.chunk.js",
|
||||||
"./static/js/262.f758db03.chunk.js": "./static/js/262.f758db03.chunk.js",
|
"./static/js/262.250a4960.chunk.js": "./static/js/262.250a4960.chunk.js",
|
||||||
"./static/js/263.0c3e1642.chunk.js": "./static/js/263.0c3e1642.chunk.js",
|
"./static/js/263.ae58821c.chunk.js": "./static/js/263.ae58821c.chunk.js",
|
||||||
"./static/js/264.3a031adb.chunk.js": "./static/js/264.3a031adb.chunk.js",
|
"./static/js/264.4f631cdb.chunk.js": "./static/js/264.4f631cdb.chunk.js",
|
||||||
"./static/js/265.96769e3f.chunk.js": "./static/js/265.96769e3f.chunk.js",
|
"./static/js/265.029372d1.chunk.js": "./static/js/265.029372d1.chunk.js",
|
||||||
"./static/js/266.12b7e798.chunk.js": "./static/js/266.12b7e798.chunk.js",
|
"./static/js/266.24546e58.chunk.js": "./static/js/266.24546e58.chunk.js",
|
||||||
"./static/js/267.1a83bc2b.chunk.js": "./static/js/267.1a83bc2b.chunk.js",
|
"./static/js/267.496e890c.chunk.js": "./static/js/267.496e890c.chunk.js",
|
||||||
"./static/js/268.e3e51eaf.chunk.js": "./static/js/268.e3e51eaf.chunk.js",
|
"./static/js/268.1801434d.chunk.js": "./static/js/268.1801434d.chunk.js",
|
||||||
"./static/js/269.94afcf8d.chunk.js": "./static/js/269.94afcf8d.chunk.js",
|
"./static/js/269.79ba0125.chunk.js": "./static/js/269.79ba0125.chunk.js",
|
||||||
"./static/js/27.f3bbd47b.chunk.js": "./static/js/27.f3bbd47b.chunk.js",
|
"./static/js/27.2c081fb0.chunk.js": "./static/js/27.2c081fb0.chunk.js",
|
||||||
"./static/js/270.f81600e1.chunk.js": "./static/js/270.f81600e1.chunk.js",
|
"./static/js/270.aee550a1.chunk.js": "./static/js/270.aee550a1.chunk.js",
|
||||||
"./static/js/271.ff5120d5.chunk.js": "./static/js/271.ff5120d5.chunk.js",
|
"./static/js/271.dd1f23ed.chunk.js": "./static/js/271.dd1f23ed.chunk.js",
|
||||||
"./static/js/272.39a36f5c.chunk.js": "./static/js/272.39a36f5c.chunk.js",
|
"./static/js/272.cdae5ced.chunk.js": "./static/js/272.cdae5ced.chunk.js",
|
||||||
"./static/js/273.26fa1b68.chunk.js": "./static/js/273.26fa1b68.chunk.js",
|
"./static/js/273.5fb9165a.chunk.js": "./static/js/273.5fb9165a.chunk.js",
|
||||||
"./static/js/274.7889aa9a.chunk.js": "./static/js/274.7889aa9a.chunk.js",
|
"./static/js/274.7d387c2e.chunk.js": "./static/js/274.7d387c2e.chunk.js",
|
||||||
"./static/js/275.7d892854.chunk.js": "./static/js/275.7d892854.chunk.js",
|
"./static/js/275.ca7c6883.chunk.js": "./static/js/275.ca7c6883.chunk.js",
|
||||||
"./static/js/276.5929b9b8.chunk.js": "./static/js/276.5929b9b8.chunk.js",
|
"./static/js/276.7bc26234.chunk.js": "./static/js/276.7bc26234.chunk.js",
|
||||||
"./static/js/277.ac8c9354.chunk.js": "./static/js/277.ac8c9354.chunk.js",
|
"./static/js/277.ac8c9354.chunk.js": "./static/js/277.ac8c9354.chunk.js",
|
||||||
"./static/js/278.a4a47c03.chunk.js": "./static/js/278.a4a47c03.chunk.js",
|
"./static/js/278.a4a47c03.chunk.js": "./static/js/278.a4a47c03.chunk.js",
|
||||||
"./static/js/279.4a846559.chunk.js": "./static/js/279.4a846559.chunk.js",
|
"./static/js/279.a140954e.chunk.js": "./static/js/279.a140954e.chunk.js",
|
||||||
"./static/js/28.a7f07378.chunk.js": "./static/js/28.a7f07378.chunk.js",
|
"./static/js/28.0b691e46.chunk.js": "./static/js/28.0b691e46.chunk.js",
|
||||||
"./static/js/280.384ed9cb.chunk.js": "./static/js/280.384ed9cb.chunk.js",
|
"./static/js/280.384ed9cb.chunk.js": "./static/js/280.384ed9cb.chunk.js",
|
||||||
"./static/js/281.d86346f4.chunk.js": "./static/js/281.d86346f4.chunk.js",
|
"./static/js/281.70729c4d.chunk.js": "./static/js/281.70729c4d.chunk.js",
|
||||||
"./static/js/29.253125eb.chunk.js": "./static/js/29.253125eb.chunk.js",
|
"./static/js/29.253125eb.chunk.js": "./static/js/29.253125eb.chunk.js",
|
||||||
"./static/js/3.1b6a6765.chunk.js": "./static/js/3.1b6a6765.chunk.js",
|
"./static/js/3.1b6a6765.chunk.js": "./static/js/3.1b6a6765.chunk.js",
|
||||||
"./static/js/30.0edd4a84.chunk.js": "./static/js/30.0edd4a84.chunk.js",
|
"./static/js/30.0edd4a84.chunk.js": "./static/js/30.0edd4a84.chunk.js",
|
||||||
"./static/js/31.7cd5d018.chunk.js": "./static/js/31.7cd5d018.chunk.js",
|
"./static/js/31.7cd5d018.chunk.js": "./static/js/31.7cd5d018.chunk.js",
|
||||||
"./static/js/32.818ad990.chunk.js": "./static/js/32.818ad990.chunk.js",
|
"./static/js/32.b2ffbf0a.chunk.js": "./static/js/32.b2ffbf0a.chunk.js",
|
||||||
"./static/js/33.96437140.chunk.js": "./static/js/33.96437140.chunk.js",
|
"./static/js/33.96437140.chunk.js": "./static/js/33.96437140.chunk.js",
|
||||||
"./static/js/34.0e5cc415.chunk.js": "./static/js/34.0e5cc415.chunk.js",
|
"./static/js/34.0e5cc415.chunk.js": "./static/js/34.0e5cc415.chunk.js",
|
||||||
"./static/js/35.3dbb82cd.chunk.js": "./static/js/35.3dbb82cd.chunk.js",
|
"./static/js/35.eb6d53f2.chunk.js": "./static/js/35.eb6d53f2.chunk.js",
|
||||||
"./static/js/36.233b7927.chunk.js": "./static/js/36.233b7927.chunk.js",
|
"./static/js/36.233b7927.chunk.js": "./static/js/36.233b7927.chunk.js",
|
||||||
"./static/js/37.aca2bd6d.chunk.js": "./static/js/37.aca2bd6d.chunk.js",
|
"./static/js/37.aca2bd6d.chunk.js": "./static/js/37.aca2bd6d.chunk.js",
|
||||||
"./static/js/38.9997ec12.chunk.js": "./static/js/38.9997ec12.chunk.js",
|
"./static/js/38.35094b83.chunk.js": "./static/js/38.35094b83.chunk.js",
|
||||||
"./static/js/39.fae30eec.chunk.js": "./static/js/39.fae30eec.chunk.js",
|
"./static/js/39.f75c23d9.chunk.js": "./static/js/39.f75c23d9.chunk.js",
|
||||||
"./static/js/4.547107c1.chunk.js": "./static/js/4.547107c1.chunk.js",
|
"./static/js/4.1623a490.chunk.js": "./static/js/4.1623a490.chunk.js",
|
||||||
"./static/js/40.5c57a90a.chunk.js": "./static/js/40.5c57a90a.chunk.js",
|
"./static/js/40.5c57a90a.chunk.js": "./static/js/40.5c57a90a.chunk.js",
|
||||||
"./static/js/41.88848c6f.chunk.js": "./static/js/41.88848c6f.chunk.js",
|
"./static/js/41.88848c6f.chunk.js": "./static/js/41.88848c6f.chunk.js",
|
||||||
"./static/js/42.502d2373.chunk.js": "./static/js/42.502d2373.chunk.js",
|
"./static/js/42.502d2373.chunk.js": "./static/js/42.502d2373.chunk.js",
|
||||||
"./static/js/43.4503f5a9.chunk.js": "./static/js/43.4503f5a9.chunk.js",
|
"./static/js/43.4503f5a9.chunk.js": "./static/js/43.4503f5a9.chunk.js",
|
||||||
"./static/js/44.8cbab79e.chunk.js": "./static/js/44.8cbab79e.chunk.js",
|
"./static/js/44.8cbab79e.chunk.js": "./static/js/44.8cbab79e.chunk.js",
|
||||||
"./static/js/45.92ec57ab.chunk.js": "./static/js/45.92ec57ab.chunk.js",
|
"./static/js/45.92ec57ab.chunk.js": "./static/js/45.92ec57ab.chunk.js",
|
||||||
"./static/js/46.0dc9bbe1.chunk.js": "./static/js/46.0dc9bbe1.chunk.js",
|
"./static/js/46.873e05db.chunk.js": "./static/js/46.873e05db.chunk.js",
|
||||||
"./static/js/47.81ded3d8.chunk.js": "./static/js/47.81ded3d8.chunk.js",
|
"./static/js/47.81ded3d8.chunk.js": "./static/js/47.81ded3d8.chunk.js",
|
||||||
"./static/js/48.c9f4cdca.chunk.js": "./static/js/48.c9f4cdca.chunk.js",
|
"./static/js/48.c9f4cdca.chunk.js": "./static/js/48.c9f4cdca.chunk.js",
|
||||||
"./static/js/49.d8438a0e.chunk.js": "./static/js/49.d8438a0e.chunk.js",
|
"./static/js/49.d8438a0e.chunk.js": "./static/js/49.d8438a0e.chunk.js",
|
||||||
"./static/js/5.719e17bf.chunk.js": "./static/js/5.719e17bf.chunk.js",
|
"./static/js/5.f880b16b.chunk.js": "./static/js/5.f880b16b.chunk.js",
|
||||||
"./static/js/50.f09aa9b5.chunk.js": "./static/js/50.f09aa9b5.chunk.js",
|
"./static/js/50.f09aa9b5.chunk.js": "./static/js/50.f09aa9b5.chunk.js",
|
||||||
"./static/js/51.bd4ca6b4.chunk.js": "./static/js/51.bd4ca6b4.chunk.js",
|
"./static/js/51.bd4ca6b4.chunk.js": "./static/js/51.bd4ca6b4.chunk.js",
|
||||||
"./static/js/52.13720db5.chunk.js": "./static/js/52.13720db5.chunk.js",
|
"./static/js/52.13720db5.chunk.js": "./static/js/52.13720db5.chunk.js",
|
||||||
"./static/js/53.17b79ca8.chunk.js": "./static/js/53.17b79ca8.chunk.js",
|
"./static/js/53.17b79ca8.chunk.js": "./static/js/53.17b79ca8.chunk.js",
|
||||||
"./static/js/54.6a3b5f85.chunk.js": "./static/js/54.6a3b5f85.chunk.js",
|
"./static/js/54.91c3ac85.chunk.js": "./static/js/54.91c3ac85.chunk.js",
|
||||||
"./static/js/55.b3cabbe7.chunk.js": "./static/js/55.b3cabbe7.chunk.js",
|
"./static/js/55.b3cabbe7.chunk.js": "./static/js/55.b3cabbe7.chunk.js",
|
||||||
"./static/js/56.9ca66a93.chunk.js": "./static/js/56.9ca66a93.chunk.js",
|
"./static/js/56.9ca66a93.chunk.js": "./static/js/56.9ca66a93.chunk.js",
|
||||||
"./static/js/57.7e82e13f.chunk.js": "./static/js/57.7e82e13f.chunk.js",
|
"./static/js/57.7e82e13f.chunk.js": "./static/js/57.7e82e13f.chunk.js",
|
||||||
"./static/js/58.e15d763d.chunk.js": "./static/js/58.e15d763d.chunk.js",
|
"./static/js/58.6a51af63.chunk.js": "./static/js/58.6a51af63.chunk.js",
|
||||||
"./static/js/59.9f9a8a27.chunk.js": "./static/js/59.9f9a8a27.chunk.js",
|
"./static/js/59.b0923b1a.chunk.js": "./static/js/59.b0923b1a.chunk.js",
|
||||||
"./static/js/6.fc87c9b5.chunk.js": "./static/js/6.fc87c9b5.chunk.js",
|
"./static/js/6.a5ba0b7f.chunk.js": "./static/js/6.a5ba0b7f.chunk.js",
|
||||||
"./static/js/60.07a38bb3.chunk.js": "./static/js/60.07a38bb3.chunk.js",
|
"./static/js/60.54a75219.chunk.js": "./static/js/60.54a75219.chunk.js",
|
||||||
"./static/js/61.e09abb32.chunk.js": "./static/js/61.e09abb32.chunk.js",
|
"./static/js/61.ce9168ad.chunk.js": "./static/js/61.ce9168ad.chunk.js",
|
||||||
"./static/js/62.5a9176fb.chunk.js": "./static/js/62.5a9176fb.chunk.js",
|
"./static/js/62.65f084ec.chunk.js": "./static/js/62.65f084ec.chunk.js",
|
||||||
"./static/js/63.4d55a684.chunk.js": "./static/js/63.4d55a684.chunk.js",
|
"./static/js/63.1ad70fdf.chunk.js": "./static/js/63.1ad70fdf.chunk.js",
|
||||||
"./static/js/64.06dd6c94.chunk.js": "./static/js/64.06dd6c94.chunk.js",
|
"./static/js/64.4e7373ae.chunk.js": "./static/js/64.4e7373ae.chunk.js",
|
||||||
"./static/js/65.e591ce1f.chunk.js": "./static/js/65.e591ce1f.chunk.js",
|
"./static/js/65.e591ce1f.chunk.js": "./static/js/65.e591ce1f.chunk.js",
|
||||||
"./static/js/66.8b2c20af.chunk.js": "./static/js/66.8b2c20af.chunk.js",
|
"./static/js/66.728a88b4.chunk.js": "./static/js/66.728a88b4.chunk.js",
|
||||||
"./static/js/67.8d971055.chunk.js": "./static/js/67.8d971055.chunk.js",
|
"./static/js/67.f35442d1.chunk.js": "./static/js/67.f35442d1.chunk.js",
|
||||||
"./static/js/68.ca6da3c6.chunk.js": "./static/js/68.ca6da3c6.chunk.js",
|
"./static/js/68.fbe283f9.chunk.js": "./static/js/68.fbe283f9.chunk.js",
|
||||||
"./static/js/69.7f5cf8bf.chunk.js": "./static/js/69.7f5cf8bf.chunk.js",
|
"./static/js/69.7f5cf8bf.chunk.js": "./static/js/69.7f5cf8bf.chunk.js",
|
||||||
"./static/js/7.3a9f82b0.chunk.js": "./static/js/7.3a9f82b0.chunk.js",
|
"./static/js/7.652a6c19.chunk.js": "./static/js/7.652a6c19.chunk.js",
|
||||||
"./static/js/70.9ff84938.chunk.js": "./static/js/70.9ff84938.chunk.js",
|
"./static/js/70.53d79faf.chunk.js": "./static/js/70.53d79faf.chunk.js",
|
||||||
"./static/js/71.10efdfcd.chunk.js": "./static/js/71.10efdfcd.chunk.js",
|
"./static/js/71.b56fd720.chunk.js": "./static/js/71.b56fd720.chunk.js",
|
||||||
"./static/js/72.af2c89f8.chunk.js": "./static/js/72.af2c89f8.chunk.js",
|
"./static/js/72.71412733.chunk.js": "./static/js/72.71412733.chunk.js",
|
||||||
"./static/js/73.788c2e7f.chunk.js": "./static/js/73.788c2e7f.chunk.js",
|
"./static/js/73.788c2e7f.chunk.js": "./static/js/73.788c2e7f.chunk.js",
|
||||||
"./static/js/74.9ac48194.chunk.js": "./static/js/74.9ac48194.chunk.js",
|
"./static/js/74.9b3256b7.chunk.js": "./static/js/74.9b3256b7.chunk.js",
|
||||||
"./static/js/75.cfe64ca3.chunk.js": "./static/js/75.cfe64ca3.chunk.js",
|
"./static/js/75.e8e6600a.chunk.js": "./static/js/75.e8e6600a.chunk.js",
|
||||||
"./static/js/76.ee3a14f6.chunk.js": "./static/js/76.ee3a14f6.chunk.js",
|
"./static/js/76.e32c6828.chunk.js": "./static/js/76.e32c6828.chunk.js",
|
||||||
"./static/js/77.69dce9d5.chunk.js": "./static/js/77.69dce9d5.chunk.js",
|
"./static/js/77.69dce9d5.chunk.js": "./static/js/77.69dce9d5.chunk.js",
|
||||||
"./static/js/78.3c12372e.chunk.js": "./static/js/78.3c12372e.chunk.js",
|
"./static/js/78.3c12372e.chunk.js": "./static/js/78.3c12372e.chunk.js",
|
||||||
"./static/js/79.f02cf2d8.chunk.js": "./static/js/79.f02cf2d8.chunk.js",
|
"./static/js/79.f02cf2d8.chunk.js": "./static/js/79.f02cf2d8.chunk.js",
|
||||||
"./static/js/8.3f440f60.chunk.js": "./static/js/8.3f440f60.chunk.js",
|
"./static/js/8.3f440f60.chunk.js": "./static/js/8.3f440f60.chunk.js",
|
||||||
"./static/js/80.f634a9a5.chunk.js": "./static/js/80.f634a9a5.chunk.js",
|
"./static/js/80.f634a9a5.chunk.js": "./static/js/80.f634a9a5.chunk.js",
|
||||||
"./static/js/81.f8b8351d.chunk.js": "./static/js/81.f8b8351d.chunk.js",
|
"./static/js/81.f8b8351d.chunk.js": "./static/js/81.f8b8351d.chunk.js",
|
||||||
"./static/js/82.19ce9280.chunk.js": "./static/js/82.19ce9280.chunk.js",
|
"./static/js/82.5e351cab.chunk.js": "./static/js/82.5e351cab.chunk.js",
|
||||||
"./static/js/83.4ce85111.chunk.js": "./static/js/83.4ce85111.chunk.js",
|
"./static/js/83.0ca1153c.chunk.js": "./static/js/83.0ca1153c.chunk.js",
|
||||||
"./static/js/84.0276c6fa.chunk.js": "./static/js/84.0276c6fa.chunk.js",
|
"./static/js/84.bbf5d055.chunk.js": "./static/js/84.bbf5d055.chunk.js",
|
||||||
"./static/js/85.5e195feb.chunk.js": "./static/js/85.5e195feb.chunk.js",
|
"./static/js/85.80cf6e64.chunk.js": "./static/js/85.80cf6e64.chunk.js",
|
||||||
"./static/js/86.d46ff23e.chunk.js": "./static/js/86.d46ff23e.chunk.js",
|
"./static/js/86.d46ff23e.chunk.js": "./static/js/86.d46ff23e.chunk.js",
|
||||||
"./static/js/87.83ac76b1.chunk.js": "./static/js/87.83ac76b1.chunk.js",
|
"./static/js/87.83ac76b1.chunk.js": "./static/js/87.83ac76b1.chunk.js",
|
||||||
"./static/js/88.2ccc31d0.chunk.js": "./static/js/88.2ccc31d0.chunk.js",
|
"./static/js/88.2ccc31d0.chunk.js": "./static/js/88.2ccc31d0.chunk.js",
|
||||||
"./static/js/89.99b0e83e.chunk.js": "./static/js/89.99b0e83e.chunk.js",
|
"./static/js/89.99b0e83e.chunk.js": "./static/js/89.99b0e83e.chunk.js",
|
||||||
"./static/js/9.5a023839.chunk.js": "./static/js/9.5a023839.chunk.js",
|
"./static/js/9.e947ecb2.chunk.js": "./static/js/9.e947ecb2.chunk.js",
|
||||||
"./static/js/90.6b976466.chunk.js": "./static/js/90.6b976466.chunk.js",
|
"./static/js/90.6b976466.chunk.js": "./static/js/90.6b976466.chunk.js",
|
||||||
"./static/js/91.bcc8f67f.chunk.js": "./static/js/91.bcc8f67f.chunk.js",
|
"./static/js/91.204aa639.chunk.js": "./static/js/91.204aa639.chunk.js",
|
||||||
"./static/js/92.f2d32042.chunk.js": "./static/js/92.f2d32042.chunk.js",
|
"./static/js/92.f2d32042.chunk.js": "./static/js/92.f2d32042.chunk.js",
|
||||||
"./static/js/93.00bc928b.chunk.js": "./static/js/93.00bc928b.chunk.js",
|
"./static/js/93.00bc928b.chunk.js": "./static/js/93.00bc928b.chunk.js",
|
||||||
"./static/js/94.ee778f00.chunk.js": "./static/js/94.ee778f00.chunk.js",
|
"./static/js/94.ee778f00.chunk.js": "./static/js/94.ee778f00.chunk.js",
|
||||||
"./static/js/95.c49ff4dc.chunk.js": "./static/js/95.c49ff4dc.chunk.js",
|
"./static/js/95.c49ff4dc.chunk.js": "./static/js/95.c49ff4dc.chunk.js",
|
||||||
"./static/js/96.9743d17c.chunk.js": "./static/js/96.9743d17c.chunk.js",
|
"./static/js/96.def7fe57.chunk.js": "./static/js/96.def7fe57.chunk.js",
|
||||||
"./static/js/97.2a9f892f.chunk.js": "./static/js/97.2a9f892f.chunk.js",
|
"./static/js/97.2a9f892f.chunk.js": "./static/js/97.2a9f892f.chunk.js",
|
||||||
"./static/js/98.e11b2d68.chunk.js": "./static/js/98.e11b2d68.chunk.js",
|
"./static/js/98.1faff4e5.chunk.js": "./static/js/98.1faff4e5.chunk.js",
|
||||||
"./static/js/99.acc16b66.chunk.js": "./static/js/99.acc16b66.chunk.js",
|
"./static/js/99.24df613c.chunk.js": "./static/js/99.24df613c.chunk.js",
|
||||||
"main.css": "./static/css/main.fd229636.css",
|
"main.css": "./static/css/main.fd229636.css",
|
||||||
"main.js": "./static/js/main.f5f82698.js",
|
"main.js": "./static/js/main.5aed937e.js",
|
||||||
"static/media/KaTeX_AMS-Regular.ttf": "static/media/KaTeX_AMS-Regular.aaf4eee9.ttf",
|
"static/media/KaTeX_AMS-Regular.ttf": "static/media/KaTeX_AMS-Regular.aaf4eee9.ttf",
|
||||||
"static/media/KaTeX_AMS-Regular.woff": "static/media/KaTeX_AMS-Regular.7f06b4e3.woff",
|
"static/media/KaTeX_AMS-Regular.woff": "static/media/KaTeX_AMS-Regular.7f06b4e3.woff",
|
||||||
"static/media/KaTeX_AMS-Regular.woff2": "static/media/KaTeX_AMS-Regular.e78e28b4.woff2",
|
"static/media/KaTeX_AMS-Regular.woff2": "static/media/KaTeX_AMS-Regular.e78e28b4.woff2",
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
_host = 'https://ali-cdn.educoder.net/react/build/'
|
_host = 'https://ali-cdn.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.f5f82698.js"><\/script>');
|
document.write('<script type="text/javascript" src="' + _host + 'static/js/main.5aed937e.js"><\/script>');
|
||||||
})()
|
})()
|
||||||
</script>
|
</script>
|
||||||
<script>!function(){var t=location.href;"3007"===window.location.port?-1!=t.indexOf("/tasks/")?(document.write('<script type="text/javascript" src="https://newweb.educoder.net/assets/kindeditor/kindeditor.js"><\/script>'),document.write('<script type="text/javascript" src="/react/build/js/create_kindeditor.js?v=1.1.1"><\/script>'),document.write('<script type="text/javascript" src="https://newweb.educoder.net/javascripts/educoder/edu_application.js"><\/script>')):-1!=t.indexOf("/paths/")&&document.write('<script type="text/javascript" src="https://newweb.educoder.net/javascripts/educoder/edu_application.js"><\/script>'):-1!=t.indexOf("/tasks/")?(document.write('<script type="text/javascript" src="/assets/kindeditor/kindeditor.js"><\/script>'),document.write('<script type="text/javascript" src="/react/build/js/create_kindeditor.js?v=1.1.1"><\/script>'),document.write('<script type="text/javascript" src="/javascripts/educoder/edu_application.js"><\/script>')):-1!=t.indexOf("/paths/")&&document.write('<script type="text/javascript" src="/javascripts/educoder/edu_application.js"><\/script>')}()</script><script type="text/javascript" src="https://cdn.bootcss.com/quill/1.3.7/quill.core.min.js"></script></body></html>
|
<script>!function(){var t=location.href;"3007"===window.location.port?-1!=t.indexOf("/tasks/")?(document.write('<script type="text/javascript" src="https://newweb.educoder.net/assets/kindeditor/kindeditor.js"><\/script>'),document.write('<script type="text/javascript" src="/react/build/js/create_kindeditor.js?v=1.1.1"><\/script>'),document.write('<script type="text/javascript" src="https://newweb.educoder.net/javascripts/educoder/edu_application.js"><\/script>')):-1!=t.indexOf("/paths/")&&document.write('<script type="text/javascript" src="https://newweb.educoder.net/javascripts/educoder/edu_application.js"><\/script>'):-1!=t.indexOf("/tasks/")?(document.write('<script type="text/javascript" src="/assets/kindeditor/kindeditor.js"><\/script>'),document.write('<script type="text/javascript" src="/react/build/js/create_kindeditor.js?v=1.1.1"><\/script>'),document.write('<script type="text/javascript" src="/javascripts/educoder/edu_application.js"><\/script>')):-1!=t.indexOf("/paths/")&&document.write('<script type="text/javascript" src="/javascripts/educoder/edu_application.js"><\/script>')}()</script><script type="text/javascript" src="https://cdn.bootcss.com/quill/1.3.7/quill.core.min.js"></script></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,125 @@
|
||||||
|
webpackJsonp([207],{
|
||||||
|
|
||||||
|
/***/ 1833:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
||||||
|
|
||||||
|
// load the styles
|
||||||
|
var content = __webpack_require__(2046);
|
||||||
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
||||||
|
// Prepare cssTransformation
|
||||||
|
var transform;
|
||||||
|
|
||||||
|
var options = {"hmr":false}
|
||||||
|
options.transform = transform
|
||||||
|
// add the styles to the DOM
|
||||||
|
var update = __webpack_require__(317)(content, options);
|
||||||
|
if(content.locals) module.exports = content.locals;
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 2045:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_educoder__ = __webpack_require__(5);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__questionbanks_css__ = __webpack_require__(1833);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__questionbanks_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__questionbanks_css__);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var GroupPackage=function(_Component){_inherits(GroupPackage,_Component);function GroupPackage(props){_classCallCheck(this,GroupPackage);var _this=_possibleConstructorReturn(this,(GroupPackage.__proto__||Object.getPrototypeOf(GroupPackage)).call(this,props));_this.DownloadOpenPdf=function(type,url){var newurl=url+Object(__WEBPACK_IMPORTED_MODULE_1_educoder__["O" /* getRandomNumber */])();type===true?window.open(newurl):window.location.href=newurl;};_this.getTrainingjobsetting=function(){var homeworkid=_this.props.match.params.homeworkid;};_this.scrollToAnchor=function(anchorName){if(anchorName){// 找到锚点
|
||||||
|
var anchorElement=document.getElementById(anchorName);// 如果对应id的锚点存在,就跳转到锚点
|
||||||
|
if(anchorElement){anchorElement.scrollIntoView();}}};_this.state={};return _this;}_createClass(GroupPackage,[{key:"componentDidMount",value:function componentDidMount(){console.log("Groupjobquesanswer");console.log("componentDidMount");// let query = this.props.location.pathname;
|
||||||
|
// const type = query.split('/');
|
||||||
|
// this.setState({
|
||||||
|
// shixuntypes:type[3]
|
||||||
|
// })
|
||||||
|
// this.props.triggerRef(this);
|
||||||
|
}// 获取数据地方
|
||||||
|
//跳转道描点的地方
|
||||||
|
},{key:"render",value:function render(){var _this2=this;var attachments=this.props.attachments;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"color-grey df yslquesmat26",key:this.props.key,style:{lineHeight:'17px'}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("a",{className:"color-grey "},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("i",{className:"font-14 color-green iconfont icon-fujian mr8","aria-hidden":"true"})),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("style",null,"\n\t\t\t\t\t\t\t\ta:hover {\n\t\t\t\t\t\t\t\t\t\t\tcolor: #459be5 !important;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\ta:link, a:visited {\n \t\t\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t\t\t\t\t color: #999999 !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("a",{onClick:function onClick(){return _this2.DownloadOpenPdf(attachments.is_pdf,attachments.url);},title:attachments&&attachments.title,className:"mr12 yslahover overflowHidden1",length:"58",style:{maxWidth:'480px',fontSize:"16px"}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",null,attachments&&attachments.title)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"color656565 color-grey-6 font-12 mr8"},attachments&&attachments.filesize));}}]);return GroupPackage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* unused harmony default export */ var _unused_webpack_default_export = (GroupPackage);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 2046:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
exports = module.exports = __webpack_require__(316)(true);
|
||||||
|
// imports
|
||||||
|
|
||||||
|
|
||||||
|
// module
|
||||||
|
exports.push([module.i, ".yslquestionbank1{padding-top:30px!important;padding-right:30px!important;padding-left:30px!important;min-height:500px!important}.yslquesHeigth{width:100%!important}.yslquesmarkdowntext{font-size:16px;color:#707070}.yslquesmat26{margin-top:26px;padding-bottom:33px!important}.ysltextcolor9999{color:#999;font-size:14px}.ysltextcolor66{color:#666;font-size:14px}.ysltextcolor05{color:#05101a;font-size:14px}.ml47text{margin-left:17px;margin-top:33px;padding-bottom:37px}.ysltextcolor99999{color:#999;font-size:16px}.yslahover{color:#999}.mt24{margin-top:24px!important}.pd30{margin-bottom:30px}", "", {"version":3,"sources":["/Users/hs/forgeplus-react/src/modules/courses/groupjobbank/questionbanks.css"],"names":[],"mappings":"AAAA,kBACI,2BAA6B,AAC7B,6BAA+B,AAC/B,4BAA8B,AAC9B,0BAA6B,CAChC,AACD,eACI,oBAAuB,CAG1B,AACD,qBACI,eAAgB,AAChB,aAAe,CAElB,AACD,cACI,gBAAiB,AACjB,6BAAgC,CACnC,AACD,kBACI,WAAe,AACf,cAAgB,CACnB,AACD,gBACI,WAAe,AACf,cAAgB,CACnB,AACD,gBACI,cAAe,AACf,cAAgB,CACnB,AACD,UACI,iBAAkB,AAClB,gBAAiB,AACjB,mBAAqB,CACxB,AACD,mBACI,WAAe,AACf,cAAgB,CACnB,AACD,WACI,UAAgB,CACnB,AACD,MACI,yBAA6B,CAChC,AACD,MACI,kBAAoB,CACvB","file":"questionbanks.css","sourcesContent":[".yslquestionbank1{\n padding-top: 30px !important;\n padding-right: 30px !important;\n padding-left: 30px !important;\n min-height: 500px !important;\n}\n.yslquesHeigth{\n width: 100% !important;\n\n\n}\n.yslquesmarkdowntext{\n font-size: 16px;\n color: #707070;\n\n}\n.yslquesmat26{\n margin-top: 26px;\n padding-bottom: 33px !important;\n}\n.ysltextcolor9999{\n color: #999999;\n font-size: 14px;\n}\n.ysltextcolor66{\n color: #666666;\n font-size: 14px;\n}\n.ysltextcolor05{\n color: #05101A;\n font-size: 14px;\n}\n.ml47text{\n margin-left: 17px;\n margin-top: 33px;\n padding-bottom: 37px;\n}\n.ysltextcolor99999{\n color: #999999;\n font-size: 16px;\n}\n.yslahover {\n color: #999999 ;\n}\n.mt24{\n margin-top: 24px !important ;\n}\n.pd30{\n margin-bottom: 30px;\n}"],"sourceRoot":""}]);
|
||||||
|
|
||||||
|
// exports
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 3588:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
||||||
|
|
||||||
|
// load the styles
|
||||||
|
var content = __webpack_require__(3589);
|
||||||
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
||||||
|
// Prepare cssTransformation
|
||||||
|
var transform;
|
||||||
|
|
||||||
|
var options = {"hmr":false}
|
||||||
|
options.transform = transform
|
||||||
|
// add the styles to the DOM
|
||||||
|
var update = __webpack_require__(317)(content, options);
|
||||||
|
if(content.locals) module.exports = content.locals;
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 3589:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
exports = module.exports = __webpack_require__(316)(true);
|
||||||
|
// imports
|
||||||
|
|
||||||
|
|
||||||
|
// module
|
||||||
|
exports.push([module.i, ".yslquestionbank1{padding-top:30px!important;padding-right:30px!important;padding-left:30px!important;min-height:500px!important}.yslquesHeigth{width:100%!important}.yslquesmarkdowntext{font-size:16px;color:#707070}.yslquesmat26{margin-top:26px;padding-bottom:44px!important}.ysltextcolor9999{color:#999;font-size:14px}.ysltextcolor99999{color:#999;font-size:16px}.mt16px{margin-top:16px}.mt16px,.pd30{padding-bottom:30px}", "", {"version":3,"sources":["/Users/hs/forgeplus-react/src/modules/courses/questionbank/questionbank.css"],"names":[],"mappings":"AAAA,kBACI,2BAA6B,AAC7B,6BAA+B,AAC/B,4BAA8B,AAC9B,0BAA6B,CAChC,AACD,eACI,oBAAuB,CAC1B,AACD,qBACI,eAAgB,AAChB,aAAe,CAElB,AACD,cACI,gBAAiB,AACjB,6BAAgC,CACnC,AACD,kBACG,WAAe,AACd,cAAgB,CACnB,AACD,mBACI,WAAe,AACf,cAAgB,CACnB,AACD,QACI,eAAiB,CAEpB,AACD,cAFI,mBAAqB,CAIxB","file":"questionbank.css","sourcesContent":[".yslquestionbank1{\n padding-top: 30px !important;\n padding-right: 30px !important;\n padding-left: 30px !important;\n min-height: 500px !important;\n}\n.yslquesHeigth{\n width: 100% !important;\n}\n.yslquesmarkdowntext{\n font-size: 16px;\n color: #707070;\n\n}\n.yslquesmat26{\n margin-top: 26px;\n padding-bottom: 44px !important;\n}\n.ysltextcolor9999{\n color: #999999;\n font-size: 14px;\n}\n.ysltextcolor99999{\n color: #999999;\n font-size: 16px;\n}\n.mt16px{\n margin-top: 16px;\n padding-bottom: 30px;\n}\n.pd30{\n padding-bottom: 30px;\n}"],"sourceRoot":""}]);
|
||||||
|
|
||||||
|
// exports
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 5034:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_educoder__ = __webpack_require__(5);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__groupjobbank_GroupPackage__ = __webpack_require__(2045);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__questionbank_css__ = __webpack_require__(3588);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__questionbank_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__questionbank_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__common_components_attachment_AttachmentList__ = __webpack_require__(371);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__courses_coursesPublic_NoneData__ = __webpack_require__(335);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}//内容详情
|
||||||
|
var Generaljobdetails=function(_Component){_inherits(Generaljobdetails,_Component);function Generaljobdetails(props){_classCallCheck(this,Generaljobdetails);var _this=_possibleConstructorReturn(this,(Generaljobdetails.__proto__||Object.getPrototypeOf(Generaljobdetails)).call(this,props));_this.getTrainingjobsetting=function(){var homeworkid=_this.props.match.params.homeworkid;};_this.scrollToAnchor=function(anchorName){if(anchorName){// 找到锚点
|
||||||
|
var anchorElement=document.getElementById(anchorName);// 如果对应id的锚点存在,就跳转到锚点
|
||||||
|
if(anchorElement){anchorElement.scrollIntoView();}}};_this.state={};return _this;}_createClass(Generaljobdetails,[{key:"componentDidMount",value:function componentDidMount(){console.log("Generaljobdetails");console.log("componentDidMount");// let query = this.props.location.pathname;
|
||||||
|
// const type = query.split('/');
|
||||||
|
// this.setState({
|
||||||
|
// shixuntypes:type[3]
|
||||||
|
// })
|
||||||
|
// this.props.triggerRef(this);
|
||||||
|
}// 获取数据地方
|
||||||
|
//跳转道描点的地方
|
||||||
|
},{key:"render",value:function render(){var datas=this.props.datas;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:" clearfix edu-back-white ",ref:"targetElementTrainingjobsetting",style:{margin:"auto",minWidth:"1200px"}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"yslquestionbank1"},datas.description===null?"":datas.description==="null"?"":datas&&datas.description===""?"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_educoder__["s" /* MarkdownToHtml */],{content:datas.description,selector:"work_content",className:"mb10 yslquesHeigth"})// <div id="MakedownHTML "className="markdown-body yslquesHeigth yslquesmarkdowntext" dangerouslySetInnerHTML={{__html: markdownToHTML(datas.description).replace(/▁/g, "▁▁▁")}}/>
|
||||||
|
,datas.attachments===undefined?datas.description===undefined||datas.description===null||datas.description===""?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5__courses_coursesPublic_NoneData__["a" /* default */],null):"":datas.attachments===""?datas.description===undefined||datas.description===null||datas.description===""?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5__courses_coursesPublic_NoneData__["a" /* default */],null):"":datas.attachments===null?datas.description===undefined||datas.description===null||datas.description===""?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5__courses_coursesPublic_NoneData__["a" /* default */],null):"":datas.attachments.length===0?datas.description===undefined||datas.description===null||datas.description===""?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5__courses_coursesPublic_NoneData__["a" /* default */],null):"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"mt16px"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__common_components_attachment_AttachmentList__["a" /* default */],Object.assign({},this.state,this.props,{attachments:datas.attachments})))));}}]);return Generaljobdetails;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Generaljobdetails);
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
});
|
|
@ -0,0 +1,123 @@
|
||||||
|
webpackJsonp([208],{
|
||||||
|
|
||||||
|
/***/ 1833:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
||||||
|
|
||||||
|
// load the styles
|
||||||
|
var content = __webpack_require__(2046);
|
||||||
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
||||||
|
// Prepare cssTransformation
|
||||||
|
var transform;
|
||||||
|
|
||||||
|
var options = {"hmr":false}
|
||||||
|
options.transform = transform
|
||||||
|
// add the styles to the DOM
|
||||||
|
var update = __webpack_require__(317)(content, options);
|
||||||
|
if(content.locals) module.exports = content.locals;
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 2045:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_educoder__ = __webpack_require__(5);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__questionbanks_css__ = __webpack_require__(1833);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__questionbanks_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__questionbanks_css__);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var GroupPackage=function(_Component){_inherits(GroupPackage,_Component);function GroupPackage(props){_classCallCheck(this,GroupPackage);var _this=_possibleConstructorReturn(this,(GroupPackage.__proto__||Object.getPrototypeOf(GroupPackage)).call(this,props));_this.DownloadOpenPdf=function(type,url){var newurl=url+Object(__WEBPACK_IMPORTED_MODULE_1_educoder__["O" /* getRandomNumber */])();type===true?window.open(newurl):window.location.href=newurl;};_this.getTrainingjobsetting=function(){var homeworkid=_this.props.match.params.homeworkid;};_this.scrollToAnchor=function(anchorName){if(anchorName){// 找到锚点
|
||||||
|
var anchorElement=document.getElementById(anchorName);// 如果对应id的锚点存在,就跳转到锚点
|
||||||
|
if(anchorElement){anchorElement.scrollIntoView();}}};_this.state={};return _this;}_createClass(GroupPackage,[{key:"componentDidMount",value:function componentDidMount(){console.log("Groupjobquesanswer");console.log("componentDidMount");// let query = this.props.location.pathname;
|
||||||
|
// const type = query.split('/');
|
||||||
|
// this.setState({
|
||||||
|
// shixuntypes:type[3]
|
||||||
|
// })
|
||||||
|
// this.props.triggerRef(this);
|
||||||
|
}// 获取数据地方
|
||||||
|
//跳转道描点的地方
|
||||||
|
},{key:"render",value:function render(){var _this2=this;var attachments=this.props.attachments;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"color-grey df yslquesmat26",key:this.props.key,style:{lineHeight:'17px'}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("a",{className:"color-grey "},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("i",{className:"font-14 color-green iconfont icon-fujian mr8","aria-hidden":"true"})),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("style",null,"\n\t\t\t\t\t\t\t\ta:hover {\n\t\t\t\t\t\t\t\t\t\t\tcolor: #459be5 !important;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\ta:link, a:visited {\n \t\t\t\t\t\t\t\ttext-decoration: none;\n\t\t\t\t\t\t\t\t\t color: #999999 !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("a",{onClick:function onClick(){return _this2.DownloadOpenPdf(attachments.is_pdf,attachments.url);},title:attachments&&attachments.title,className:"mr12 yslahover overflowHidden1",length:"58",style:{maxWidth:'480px',fontSize:"16px"}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",null,attachments&&attachments.title)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"color656565 color-grey-6 font-12 mr8"},attachments&&attachments.filesize));}}]);return GroupPackage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* unused harmony default export */ var _unused_webpack_default_export = (GroupPackage);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 2046:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
exports = module.exports = __webpack_require__(316)(true);
|
||||||
|
// imports
|
||||||
|
|
||||||
|
|
||||||
|
// module
|
||||||
|
exports.push([module.i, ".yslquestionbank1{padding-top:30px!important;padding-right:30px!important;padding-left:30px!important;min-height:500px!important}.yslquesHeigth{width:100%!important}.yslquesmarkdowntext{font-size:16px;color:#707070}.yslquesmat26{margin-top:26px;padding-bottom:33px!important}.ysltextcolor9999{color:#999;font-size:14px}.ysltextcolor66{color:#666;font-size:14px}.ysltextcolor05{color:#05101a;font-size:14px}.ml47text{margin-left:17px;margin-top:33px;padding-bottom:37px}.ysltextcolor99999{color:#999;font-size:16px}.yslahover{color:#999}.mt24{margin-top:24px!important}.pd30{margin-bottom:30px}", "", {"version":3,"sources":["/Users/hs/forgeplus-react/src/modules/courses/groupjobbank/questionbanks.css"],"names":[],"mappings":"AAAA,kBACI,2BAA6B,AAC7B,6BAA+B,AAC/B,4BAA8B,AAC9B,0BAA6B,CAChC,AACD,eACI,oBAAuB,CAG1B,AACD,qBACI,eAAgB,AAChB,aAAe,CAElB,AACD,cACI,gBAAiB,AACjB,6BAAgC,CACnC,AACD,kBACI,WAAe,AACf,cAAgB,CACnB,AACD,gBACI,WAAe,AACf,cAAgB,CACnB,AACD,gBACI,cAAe,AACf,cAAgB,CACnB,AACD,UACI,iBAAkB,AAClB,gBAAiB,AACjB,mBAAqB,CACxB,AACD,mBACI,WAAe,AACf,cAAgB,CACnB,AACD,WACI,UAAgB,CACnB,AACD,MACI,yBAA6B,CAChC,AACD,MACI,kBAAoB,CACvB","file":"questionbanks.css","sourcesContent":[".yslquestionbank1{\n padding-top: 30px !important;\n padding-right: 30px !important;\n padding-left: 30px !important;\n min-height: 500px !important;\n}\n.yslquesHeigth{\n width: 100% !important;\n\n\n}\n.yslquesmarkdowntext{\n font-size: 16px;\n color: #707070;\n\n}\n.yslquesmat26{\n margin-top: 26px;\n padding-bottom: 33px !important;\n}\n.ysltextcolor9999{\n color: #999999;\n font-size: 14px;\n}\n.ysltextcolor66{\n color: #666666;\n font-size: 14px;\n}\n.ysltextcolor05{\n color: #05101A;\n font-size: 14px;\n}\n.ml47text{\n margin-left: 17px;\n margin-top: 33px;\n padding-bottom: 37px;\n}\n.ysltextcolor99999{\n color: #999999;\n font-size: 16px;\n}\n.yslahover {\n color: #999999 ;\n}\n.mt24{\n margin-top: 24px !important ;\n}\n.pd30{\n margin-bottom: 30px;\n}"],"sourceRoot":""}]);
|
||||||
|
|
||||||
|
// exports
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 3588:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
||||||
|
|
||||||
|
// load the styles
|
||||||
|
var content = __webpack_require__(3589);
|
||||||
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
||||||
|
// Prepare cssTransformation
|
||||||
|
var transform;
|
||||||
|
|
||||||
|
var options = {"hmr":false}
|
||||||
|
options.transform = transform
|
||||||
|
// add the styles to the DOM
|
||||||
|
var update = __webpack_require__(317)(content, options);
|
||||||
|
if(content.locals) module.exports = content.locals;
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 3589:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
exports = module.exports = __webpack_require__(316)(true);
|
||||||
|
// imports
|
||||||
|
|
||||||
|
|
||||||
|
// module
|
||||||
|
exports.push([module.i, ".yslquestionbank1{padding-top:30px!important;padding-right:30px!important;padding-left:30px!important;min-height:500px!important}.yslquesHeigth{width:100%!important}.yslquesmarkdowntext{font-size:16px;color:#707070}.yslquesmat26{margin-top:26px;padding-bottom:44px!important}.ysltextcolor9999{color:#999;font-size:14px}.ysltextcolor99999{color:#999;font-size:16px}.mt16px{margin-top:16px}.mt16px,.pd30{padding-bottom:30px}", "", {"version":3,"sources":["/Users/hs/forgeplus-react/src/modules/courses/questionbank/questionbank.css"],"names":[],"mappings":"AAAA,kBACI,2BAA6B,AAC7B,6BAA+B,AAC/B,4BAA8B,AAC9B,0BAA6B,CAChC,AACD,eACI,oBAAuB,CAC1B,AACD,qBACI,eAAgB,AAChB,aAAe,CAElB,AACD,cACI,gBAAiB,AACjB,6BAAgC,CACnC,AACD,kBACG,WAAe,AACd,cAAgB,CACnB,AACD,mBACI,WAAe,AACf,cAAgB,CACnB,AACD,QACI,eAAiB,CAEpB,AACD,cAFI,mBAAqB,CAIxB","file":"questionbank.css","sourcesContent":[".yslquestionbank1{\n padding-top: 30px !important;\n padding-right: 30px !important;\n padding-left: 30px !important;\n min-height: 500px !important;\n}\n.yslquesHeigth{\n width: 100% !important;\n}\n.yslquesmarkdowntext{\n font-size: 16px;\n color: #707070;\n\n}\n.yslquesmat26{\n margin-top: 26px;\n padding-bottom: 44px !important;\n}\n.ysltextcolor9999{\n color: #999999;\n font-size: 14px;\n}\n.ysltextcolor99999{\n color: #999999;\n font-size: 16px;\n}\n.mt16px{\n margin-top: 16px;\n padding-bottom: 30px;\n}\n.pd30{\n padding-bottom: 30px;\n}"],"sourceRoot":""}]);
|
||||||
|
|
||||||
|
// exports
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 5035:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_educoder__ = __webpack_require__(5);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__groupjobbank_GroupPackage__ = __webpack_require__(2045);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__questionbank_css__ = __webpack_require__(3588);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__questionbank_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__questionbank_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__common_components_attachment_AttachmentList__ = __webpack_require__(371);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__courses_coursesPublic_NoneData__ = __webpack_require__(335);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var Generaljobanswer=function(_Component){_inherits(Generaljobanswer,_Component);function Generaljobanswer(props){_classCallCheck(this,Generaljobanswer);var _this=_possibleConstructorReturn(this,(Generaljobanswer.__proto__||Object.getPrototypeOf(Generaljobanswer)).call(this,props));_this.getTrainingjobsetting=function(){var homeworkid=_this.props.match.params.homeworkid;};_this.scrollToAnchor=function(anchorName){if(anchorName){// 找到锚点
|
||||||
|
var anchorElement=document.getElementById(anchorName);// 如果对应id的锚点存在,就跳转到锚点
|
||||||
|
if(anchorElement){anchorElement.scrollIntoView();}}};_this.state={};return _this;}_createClass(Generaljobanswer,[{key:"componentDidMount",value:function componentDidMount(){console.log("Generaljobanswer");console.log("componentDidMount");// let query = this.props.location.pathname;
|
||||||
|
// const type = query.split('/');
|
||||||
|
// this.setState({n
|
||||||
|
// shixuntypes:type[3]
|
||||||
|
// })
|
||||||
|
// this.props.triggerRef(this);
|
||||||
|
}// 获取数据地方
|
||||||
|
//跳转道描点的地方
|
||||||
|
},{key:"render",value:function render(){var datas=this.props.datas;console.log("Generaljobanswer");console.log(datas.reference_attachments);console.log(datas.reference_answer);return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:" clearfix edu-back-white ",ref:"targetElementTrainingjobsetting",style:{margin:"auto",minWidth:"1200px"}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"yslquestionbank1"},datas.reference_answer===null?"":datas.reference_answer==="null"?"":datas.reference_answer===""?"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_educoder__["s" /* MarkdownToHtml */],{content:datas.reference_answer,selector:"work_content",className:"mb10 yslquesHeigth "}),datas.reference_attachments===undefined?datas.reference_answer===undefined||datas.reference_answer===null||datas.reference_answer===""?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5__courses_coursesPublic_NoneData__["a" /* default */],null):"":datas.reference_attachments===""?datas.reference_answer===undefined||datas.reference_answer===null||datas.reference_answer===""?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5__courses_coursesPublic_NoneData__["a" /* default */],null):"":datas.reference_attachments===null?datas.reference_answer===undefined||datas.reference_answer===null||datas.reference_answer===""?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5__courses_coursesPublic_NoneData__["a" /* default */],null):"":datas.reference_attachments.length===0?datas.reference_answer===undefined||datas.reference_answer===null||datas.reference_answer===""?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5__courses_coursesPublic_NoneData__["a" /* default */],null):"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"mt24"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__common_components_attachment_AttachmentList__["a" /* default */],Object.assign({},this.state,this.props,{attachments:datas.reference_attachments})))));}}]);return Generaljobanswer;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Generaljobanswer);
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
});
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,146 @@
|
||||||
|
webpackJsonp([211],{
|
||||||
|
|
||||||
|
/***/ 1125:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
||||||
|
|
||||||
|
// load the styles
|
||||||
|
var content = __webpack_require__(1439);
|
||||||
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
||||||
|
// Prepare cssTransformation
|
||||||
|
var transform;
|
||||||
|
|
||||||
|
var options = {"hmr":false}
|
||||||
|
options.transform = transform
|
||||||
|
// add the styles to the DOM
|
||||||
|
var update = __webpack_require__(317)(content, options);
|
||||||
|
if(content.locals) module.exports = content.locals;
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 1439:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
exports = module.exports = __webpack_require__(316)(true);
|
||||||
|
// imports
|
||||||
|
|
||||||
|
|
||||||
|
// module
|
||||||
|
exports.push([module.i, ".polllisthover:hover{-webkit-box-shadow:0 2px 6px rgba(51,51,51,.09);box-shadow:0 2px 6px rgba(51,51,51,.09);opacity:1;border-radius:2px}.workList_Item{display:-ms-flexbox;display:flex;background-color:#fff;margin-bottom:20px;padding-top:10px}p span{cursor:default}.mt-5{margin-top:-5px}.bankNav li{float:left;margin-right:20px}.bankNav li:last-child{margin-right:0}.bankNav li.active a{color:#fff!important;background-color:#4cacff}.bankNav li a{display:block;padding:0 10px;height:28px;line-height:28px;background-color:#f5f5f5;border-radius:36px;color:#666!important}.task_menu_ul{width:600px}.task_menu_ul .ant-menu-item,.task_menu_ul .ant-menu-submenu-title{padding:0;margin-right:30px;line-height:68px;font-size:16px}.ant-menu{color:#05101a}.task_menu_ul .ant-menu-horizontal{border-bottom:none}.task_menu_ul .ant-menu-horizontal>.ant-menu-item:hover{border-bottom:2px solid transparent}.task_menu_ul .ant-menu-horizontal>.ant-menu-item-selected{border-bottom:2px solid #4cacff!important}.sourceTag a{display:block;float:left;background-color:#e5f3ff;padding:0 10px;height:24px;line-height:24px;color:#4e7a9b;margin:5px 0 5px 10px}.sourceTag a.active{color:#fff;background-color:#4cacff}", "", {"version":3,"sources":["/Users/hs/forgeplus-react/src/modules/courses/css/busyWork.css"],"names":[],"mappings":"AACA,qBACE,gDAAoD,AAC5C,wCAA4C,AACpD,UAAW,AACX,iBAAmB,CACpB,AAED,eAEE,oBAAqB,AACrB,aAAc,AACd,sBAAuB,AACvB,mBAAoB,AACpB,gBAAkB,CACnB,AACD,OACE,cAAgB,CACjB,AACD,MAAO,eAAgB,CAAC,AAIxB,YACE,WAAY,AACZ,iBAAmB,CACpB,AACD,uBACE,cAAkB,CACnB,AACD,qBACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,cACE,cAAe,AACf,eAAiB,AACjB,YAAa,AACb,iBAAkB,AAClB,yBAA0B,AAC1B,mBAAoB,AACpB,oBAAyB,CAC1B,AAID,cACE,WAAa,CACd,AAED,mEACE,UAAY,AACZ,kBAAmB,AACnB,iBAAkB,AAClB,cAAgB,CACjB,AACD,UACE,aAAe,CAChB,AACD,mCACE,kBAAoB,CACrB,AACD,wDACE,mCAAoC,CACrC,AACD,2DACE,yCAA4C,CAC7C,AAED,aACE,cAAe,AACf,WAAY,AACZ,yBAAyB,AACzB,eAAkB,AAClB,YAAa,AACb,iBAAkB,AAClB,cAAe,AACf,qBAAwB,CACzB,AACD,oBACE,WAAe,wBAAyB,CACzC","file":"busyWork.css","sourcesContent":["\n.polllisthover:hover {\n -webkit-box-shadow: 0px 2px 6px rgba(51,51,51,0.09);\n box-shadow: 0px 2px 6px rgba(51,51,51,0.09);\n opacity: 1;\n border-radius: 2px;\n}\n\n.workList_Item{\n /* padding:20px 30px; */\n display: -ms-flexbox;\n display: flex;\n background-color: #fff;\n margin-bottom: 20px;\n padding-top: 10px;\n}\np span{\n cursor: default;\n}\n.mt-5{ margin-top:-5px;}\n\n\n/* <20><><EFBFBD>ѡ<EFBFBD><D1A1>tab */\n.bankNav li{\n float: left;\n margin-right: 20px;\n}\n.bankNav li:last-child{\n margin-right: 0px;\n}\n.bankNav li.active a{\n color: #fff!important;\n background-color: #4CACFF;\n}\n.bankNav li a{\n display: block;\n padding:0px 10px;\n height: 28px;\n line-height: 28px;\n background-color: #F5F5F5;\n border-radius: 36px;\n color: #666666!important;\n}\n\n\n\n.task_menu_ul{\n width: 600px;\n}\n\n.task_menu_ul .ant-menu-item,.task_menu_ul .ant-menu-submenu-title{\n padding:0px;\n margin-right: 30px;\n line-height: 68px;\n font-size: 16px;\n}\n.ant-menu{\n color: #05101a;\n}\n.task_menu_ul .ant-menu-horizontal{\n border-bottom: none;\n}\n.task_menu_ul .ant-menu-horizontal > .ant-menu-item:hover{\n border-bottom:2px solid transparent;\n}\n.task_menu_ul .ant-menu-horizontal > .ant-menu-item-selected{\n border-bottom: 2px solid #4CACFF !important;\n}\n\n.sourceTag a{\n display: block;\n float: left;\n background-color:#E5F3FF;\n padding: 0px 10px;\n height: 24px;\n line-height: 24px;\n color: #4E7A9B;\n margin:5px 0px 5px 10px;\n}\n.sourceTag a.active{\n color: #FFFFFF;background-color:#4CACFF; \n}\n\n"],"sourceRoot":""}]);
|
||||||
|
|
||||||
|
// exports
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 1928:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_modal_style_css__ = __webpack_require__(28);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_modal_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_modal_style_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_modal__ = __webpack_require__(29);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_modal___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_modal__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_antd_lib_radio_style_css__ = __webpack_require__(181);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_antd_lib_radio_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_antd_lib_radio_style_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_antd_lib_radio__ = __webpack_require__(179);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_antd_lib_radio___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_antd_lib_radio__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_antd_lib_input_style_css__ = __webpack_require__(60);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_antd_lib_input_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_antd_lib_input_style_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_antd_lib_input__ = __webpack_require__(61);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_antd_lib_input___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_antd_lib_input__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_axios__ = __webpack_require__(8);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_axios__);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var Search=__WEBPACK_IMPORTED_MODULE_5_antd_lib_input___default.a.Search;var SendTopics=function(_Component){_inherits(SendTopics,_Component);function SendTopics(props){_classCallCheck(this,SendTopics);var _this=_possibleConstructorReturn(this,(SendTopics.__proto__||Object.getPrototypeOf(SendTopics)).call(this,props));_this.onupdatalist=function(search){var url="/question_banks/my_courses.json";__WEBPACK_IMPORTED_MODULE_7_axios___default.a.get(url,{params:{search:search}}).then(function(result){_this.setState({courses:result.data.courses});}).catch(function(error){console.log(error);});};_this.onSearchChange=function(e){_this.setState({search:e.target.value});// this.onupdatalist(e.target.value)
|
||||||
|
};_this.onSearch=function(search){_this.onupdatalist(search);};_this.onChange=function(e){console.log("SendTopics");console.log(e);_this.setState({Radiolist:e.target.value});};_this.submitInfo=function(){_this.setState({smallisSpin:true});var Radiolist=_this.state.Radiolist;var url="/question_banks/send_to_course.json";var object_id=_this.props.checkBoxValues;var object_type=_this.props.category;if(Radiolist===undefined){_this.setState({showcheck:true,smallisSpin:false});}else{__WEBPACK_IMPORTED_MODULE_7_axios___default.a.post(url,{object_id:object_id,object_type:object_type,course_id:Radiolist}).then(function(result){_this.setState({smallisSpin:false});if(result.data.status===0){_this.props.showNotification(result.data.message);_this.props.topicscancelmodel();// result.data.task_ids;
|
||||||
|
try{_this.props.updataslist();}catch(e){}debugger;if(_this.props.mysendall===true){//详情页面跳过来的
|
||||||
|
try{var rurls="";if(_this.state.yslbanksMenu.category==="normal"){//普通作业
|
||||||
|
rurls="/courses/"+_this.state.Radiolist+"/common_homeworks/"+result.data.task_ids+"/setting";}else if(_this.state.yslbanksMenu.category==="group"){//分组作业
|
||||||
|
rurls="/courses/"+_this.state.Radiolist+"/group_homeworks/"+result.data.task_ids+"/setting";}else if(_this.state.yslbanksMenu.category==="exercise"){// 试卷
|
||||||
|
rurls="/courses/"+_this.state.Radiolist+"/exercises/"+result.data.task_ids+"/student_exercise_list?tab=3";}else if(_this.state.yslbanksMenu.category==="poll"){//问卷
|
||||||
|
rurls="/courses/"+_this.state.Radiolist+"/polls/"+result.data.task_ids+"/detail?tab=3";}window.open(rurls,'_blank');}catch(e){}}else{//外部多个列表页跳过来的
|
||||||
|
debugger;try{var rurls="";if(_this.props.category==="normal"){//普通作业
|
||||||
|
rurls="/courses/"+_this.state.Radiolist+"/common_homeworks/"+result.data.category_id;}else if(_this.props.category==="group"){//分组作业
|
||||||
|
rurls="/courses/"+_this.state.Radiolist+"/group_homeworks/"+result.data.category_id;}else if(_this.props.category==="exercise"){// 试卷
|
||||||
|
rurls="/courses/"+_this.state.Radiolist+"/exercises/"+result.data.category_id;}else if(_this.props.category==="poll"){//问卷
|
||||||
|
rurls="/courses/"+_this.state.Radiolist+"/polls/"+result.data.category_id;}window.open(rurls,'_blank');}catch(e){console.log(e);}}}else{_this.props.showNotification(result.data.message);}}).catch(function(error){console.log(error);_this.setState({smallisSpin:false});});}};_this.state={courses:[],search:null,Radiolist:undefined,showcheck:false,smallisSpin:false,yslbanksMenu:undefined};return _this;}_createClass(SendTopics,[{key:"componentDidMount",value:function componentDidMount(){// console.log("SendTopicssssssssssss");
|
||||||
|
// console.log(this.props);
|
||||||
|
var search=this.state.search;this.onupdatalist(search);this.setState({yslbanksMenu:this.props.banksMenu});}},{key:"render",value:function render(){var _this2=this;var _state=this.state,courses=_state.courses,Radiolist=_state.Radiolist,showcheck=_state.showcheck,smallisSpin=_state.smallisSpin;var radioStyle={display:'block',height:'30px',lineHeight:'30px'};return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",null,__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("style",null,"\n\t\t\t\t\t\t.ant-modal-body{\n\t\t\t\t\t\t padding:20px 40px;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t.onSearchtopics input{\n\t\t\t\t\t\t height:40px;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t.over221{\n\t\t\t\t\t\t height:221px;\n\t\t\t\t\t\t overflow-y: auto;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t"),__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_modal___default.a,{keyboard:false,title:"\u53D1\u9001\u81F3\u8BFE\u5802",visible:this.props.visible,closable:false,footer:null,destroyOnClose:true,width:600},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"newupload_conbox"},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"mb15 font-14 edu-txt-center color-orange-tip"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u9009\u62E9\u7684\u9898\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802"),__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"mb5"// onMouseLeave={this.closeList}
|
||||||
|
},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(Search,{className:"mb14 onSearchtopics",placeholder:"\u8BF7\u8F93\u5165\u8BFE\u5802\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onChange:this.onSearchChange,onSearch:this.onSearch})),__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"edu-back-skyblue pl15 pr15 clearfix over221 pt5"},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_radio___default.a.Group,{onChange:this.onChange,value:Radiolist},courses&&courses.map(function(item,key){return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"mt5",key:key},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_radio___default.a,{style:radioStyle,value:item.course_id,key:item.course_id},item.course_name));}))),showcheck===true?__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"color-red mt10"},"\u8BF7\u5148\u9009\u62E9\u8BFE\u5802"):"",__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("div",{className:"mt20 clearfix edu-txt-center"},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("a",{onClick:function onClick(){return _this2.props.topicscancelmodel();},className:"pop_close task-btn mr30 "},"\u53D6\u6D88"),__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement("a",{className:"task-btn task-btn-orange",onClick:function onClick(){return _this2.submitInfo();}},"\u786E\u5B9A")))));}}]);return SendTopics;}(__WEBPACK_IMPORTED_MODULE_6_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (SendTopics);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 2113:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_menu_style_css__ = __webpack_require__(1018);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_menu_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_menu_style_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_menu__ = __webpack_require__(957);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_router_dom__ = __webpack_require__(51);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_educoder__ = __webpack_require__(5);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__usersInfo_css__ = __webpack_require__(1747);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__usersInfo_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__usersInfo_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__courses_css_Courses_css__ = __webpack_require__(331);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__courses_css_Courses_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__courses_css_Courses_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__courses_css_busyWork_css__ = __webpack_require__(1125);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__courses_css_busyWork_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__courses_css_busyWork_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__modals_SendTopics__ = __webpack_require__(1928);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__modals_Modals__ = __webpack_require__(180);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_axios__ = __webpack_require__(8);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_axios__);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var BanksMenu=function(_Component){_inherits(BanksMenu,_Component);function BanksMenu(props){_classCallCheck(this,BanksMenu);var _this=_possibleConstructorReturn(this,(BanksMenu.__proto__||Object.getPrototypeOf(BanksMenu)).call(this,props));_this.sendTopics=function(){_this.setState({visible:true});};_this.topicscancelmodel=function(){_this.setState({Modalstype:false,Loadtype:false,visible:false,Modalstopval:"",ModalCancel:"",ModalSave:"",checkBoxValues:[],checkedtype:false});};_this.deletecheckBoxValues=function(id,type){_this.setState({Modalstype:true,Modalstopval:"是否确认删除?",ModalCancel:_this.topicscancelmodel,ModalSave:function ModalSave(){return _this.topicssavedelete(id,type);}});};_this.topicssavedelete=function(id,type){// console.log("删除了");
|
||||||
|
// console.log(id);
|
||||||
|
// console.log(type);
|
||||||
|
var url='/question_banks/multi_delete.json';__WEBPACK_IMPORTED_MODULE_10_axios___default.a.delete(url,{data:{object_id:[id],object_type:type}}).then(function(response){if(response){if(response.data){if(response.data.status===0){_this.props.showNotification(response.data.message);window.location.href='/users/'+_this.props.current_user.login+'/topics/personal';}else{_this.props.showNotification(response.data.message);}}}}).catch(function(error){console.log(error);});_this.topicscancelmodel();};_this.changeTab=function(e){_this.setState({tab:e.key});console.log(e.key);// if(e.key === 0){
|
||||||
|
//
|
||||||
|
// }else{
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
};_this.state={visible:false,tab:['0']};return _this;}//发送至相关
|
||||||
|
_createClass(BanksMenu,[{key:'componentDidMount',value:function componentDidMount(){// var thestring=this.props;
|
||||||
|
// var yslarr=thestring.split("/");
|
||||||
|
// console.log(yslarr);
|
||||||
|
try{var query=this.props.location.search;var type=query.split('?tab=');if(type[1]===undefined){this.setState({tab:['0']});}else{if(type[1]==="0"){this.setState({tab:['0']});}else if(type[1]==="1"){this.setState({tab:['1']});}}}catch(e){this.setState({tab:['0']});}}//删除相关
|
||||||
|
},{key:'render',value:function render(){var _this2=this;var banksMenu=this.props.banksMenu;var _state=this.state,visible=_state.visible,tab=_state.tab;// console.log("问卷预览");
|
||||||
|
// console.log(visible);
|
||||||
|
var user_id=this.props.current_user&&this.props.current_user.user_id;var user_type=this.props.current_user&&this.props.current_user.user_identity;var targetuserid=this.props.data&&this.props.data.id;// console.log("_____________________________");
|
||||||
|
// console.log(this.props);
|
||||||
|
// console.log("++++++++++++++++=");
|
||||||
|
// console.log("banksMenubanksMenubanksMenubanksMenu");
|
||||||
|
// console.log(banksMenu);
|
||||||
|
return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'clearfix bor-bottom-greyE edu-back-white',style:{padding:"0px 30px"}},this.state.Modalstype&&this.state.Modalstype===true?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_9__modals_Modals__["a" /* default */],{modalsType:this.state.Modalstype,modalsTopval:this.state.Modalstopval,modalCancel:this.state.ModalCancel,modalSave:this.state.ModalSave,modalsBottomval:this.state.ModalsBottomval,loadtype:this.state.Loadtype}):"",visible&&visible===true?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_8__modals_SendTopics__["a" /* default */],Object.assign({},this.state,this.props,{mysendall:true,visible:visible,category:banksMenu&&banksMenu.category,checkBoxValues:[banksMenu&&banksMenu.id],topicscancelmodel:function topicscancelmodel(){return _this2.topicscancelmodel();}})):"",banksMenu&&__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'task_menu_ul fl'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a,{mode:'horizontal',selectedKeys:tab,onClick:this.changeTab},banksMenu.menuArray&&banksMenu.menuArray.map(function(item,key){// console.log("BanksMenussss");
|
||||||
|
// console.log(this.props);
|
||||||
|
// console.log(this.props.content);
|
||||||
|
return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a.Item,{key:key},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_react_router_dom__["b" /* Link */],{to:''+item.to},item.content));}))),banksMenu===undefined?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'fr mt18'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{onClick:function onClick(){return _this2.deletecheckBoxValues(banksMenu&&banksMenu.id,banksMenu&&banksMenu.category);},style:'blue',className:'ml20 font-16'},'\u5220\u9664'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{to:banksMenu.tos?banksMenu.tos:"",style:'blue',className:'ml20 font-16'},'\u7F16\u8F91'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{onClick:function onClick(){return _this2.sendTopics();},style:'blue',className:'ml20 font-16'},'\u53D1\u9001')):banksMenu.authorize===true?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'fr mt18'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{onClick:function onClick(){return _this2.deletecheckBoxValues(banksMenu&&banksMenu.id,banksMenu&&banksMenu.category);},style:'blue',className:'ml20 font-16'},'\u5220\u9664'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{to:banksMenu.tos?banksMenu.tos:"",style:'blue',className:'ml20 font-16'},'\u7F16\u8F91'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{onClick:function onClick(){return _this2.sendTopics();},style:'blue',className:'ml20 font-16'},'\u53D1\u9001')):__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'fr mt18'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_educoder__["A" /* WordsBtn */],{onClick:function onClick(){return _this2.sendTopics();},style:'blue',className:'ml20 font-16'},'\u53D1\u9001')));}}]);return BanksMenu;}(__WEBPACK_IMPORTED_MODULE_2_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (BanksMenu);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 5027:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_router_dom__ = __webpack_require__(51);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_loadable__ = __webpack_require__(345);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_loadable__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Loading__ = __webpack_require__(344);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__banksMenu__ = __webpack_require__(2113);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}// 毕设选题
|
||||||
|
var GtopicBanks=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(59/* duplicate */).then(__webpack_require__.bind(null, 3785));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});// 问卷内容
|
||||||
|
var PollBanks=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(219).then(__webpack_require__.bind(null, 5028));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});// 试卷详情
|
||||||
|
var ExerciseBanksDetail=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(196).then(__webpack_require__.bind(null, 5029));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var BanksTabIndex=function(_Component){_inherits(BanksTabIndex,_Component);function BanksTabIndex(props){_classCallCheck(this,BanksTabIndex);var _this=_possibleConstructorReturn(this,(BanksTabIndex.__proto__||Object.getPrototypeOf(BanksTabIndex)).call(this,props));_this.initPublic=function(crumbData,menuData,data){_this.setState({banksMenu:menuData});_this.props.initPublic(crumbData,data);};_this.state={banksMenu:undefined};return _this;}_createClass(BanksTabIndex,[{key:'render',value:function render(){var _this2=this;var banksMenu=this.state.banksMenu;var common={initPublic:this.initPublic};console.log("BanksTabIndex");console.log(banksMenu);console.log(this.props);return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,banksMenu&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__banksMenu__["a" /* default */],Object.assign({banksMenu:banksMenu},this.props,this.state,common)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/exercise/:Id/:type',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ExerciseBanksDetail,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/gtopic/:bankId/:type',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GtopicBanks,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/poll/:bankId/:type',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PollBanks,Object.assign({},_this2.props,props,_this2.state,common));}})));}}]);return BanksTabIndex;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (BanksTabIndex);
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,326 @@
|
||||||
|
webpackJsonp([223],{
|
||||||
|
|
||||||
|
/***/ 1238:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
var invariant = __webpack_require__(47);
|
||||||
|
|
||||||
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||||
|
var splice = Array.prototype.splice;
|
||||||
|
|
||||||
|
var toString = Object.prototype.toString
|
||||||
|
var type = function(obj) {
|
||||||
|
return toString.call(obj).slice(8, -1);
|
||||||
|
}
|
||||||
|
|
||||||
|
var assign = Object.assign || /* istanbul ignore next */ function assign(target, source) {
|
||||||
|
getAllKeys(source).forEach(function(key) {
|
||||||
|
if (hasOwnProperty.call(source, key)) {
|
||||||
|
target[key] = source[key];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return target;
|
||||||
|
};
|
||||||
|
|
||||||
|
var getAllKeys = typeof Object.getOwnPropertySymbols === 'function' ?
|
||||||
|
function(obj) { return Object.keys(obj).concat(Object.getOwnPropertySymbols(obj)) } :
|
||||||
|
/* istanbul ignore next */ function(obj) { return Object.keys(obj) };
|
||||||
|
|
||||||
|
/* istanbul ignore next */
|
||||||
|
function copy(object) {
|
||||||
|
if (Array.isArray(object)) {
|
||||||
|
return assign(object.constructor(object.length), object)
|
||||||
|
} else if (type(object) === 'Map') {
|
||||||
|
return new Map(object)
|
||||||
|
} else if (type(object) === 'Set') {
|
||||||
|
return new Set(object)
|
||||||
|
} else if (object && typeof object === 'object') {
|
||||||
|
var prototype = Object.getPrototypeOf(object);
|
||||||
|
return assign(Object.create(prototype), object);
|
||||||
|
} else {
|
||||||
|
return object;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function newContext() {
|
||||||
|
var commands = assign({}, defaultCommands);
|
||||||
|
update.extend = function(directive, fn) {
|
||||||
|
commands[directive] = fn;
|
||||||
|
};
|
||||||
|
update.isEquals = function(a, b) { return a === b; };
|
||||||
|
|
||||||
|
return update;
|
||||||
|
|
||||||
|
function update(object, spec) {
|
||||||
|
if (typeof spec === 'function') {
|
||||||
|
spec = { $apply: spec };
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!(Array.isArray(object) && Array.isArray(spec))) {
|
||||||
|
invariant(
|
||||||
|
!Array.isArray(spec),
|
||||||
|
'update(): You provided an invalid spec to update(). The spec may ' +
|
||||||
|
'not contain an array except as the value of $set, $push, $unshift, ' +
|
||||||
|
'$splice or any custom command allowing an array value.'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
invariant(
|
||||||
|
typeof spec === 'object' && spec !== null,
|
||||||
|
'update(): You provided an invalid spec to update(). The spec and ' +
|
||||||
|
'every included key path must be plain objects containing one of the ' +
|
||||||
|
'following commands: %s.',
|
||||||
|
Object.keys(commands).join(', ')
|
||||||
|
);
|
||||||
|
|
||||||
|
var nextObject = object;
|
||||||
|
var index, key;
|
||||||
|
getAllKeys(spec).forEach(function(key) {
|
||||||
|
if (hasOwnProperty.call(commands, key)) {
|
||||||
|
var objectWasNextObject = object === nextObject;
|
||||||
|
nextObject = commands[key](spec[key], nextObject, spec, object);
|
||||||
|
if (objectWasNextObject && update.isEquals(nextObject, object)) {
|
||||||
|
nextObject = object;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
var nextValueForKey =
|
||||||
|
type(object) === 'Map'
|
||||||
|
? update(object.get(key), spec[key])
|
||||||
|
: update(object[key], spec[key]);
|
||||||
|
var nextObjectValue =
|
||||||
|
type(nextObject) === 'Map'
|
||||||
|
? nextObject.get(key)
|
||||||
|
: nextObject[key];
|
||||||
|
if (!update.isEquals(nextValueForKey, nextObjectValue) || typeof nextValueForKey === 'undefined' && !hasOwnProperty.call(object, key)) {
|
||||||
|
if (nextObject === object) {
|
||||||
|
nextObject = copy(object);
|
||||||
|
}
|
||||||
|
if (type(nextObject) === 'Map') {
|
||||||
|
nextObject.set(key, nextValueForKey);
|
||||||
|
} else {
|
||||||
|
nextObject[key] = nextValueForKey;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return nextObject;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
var defaultCommands = {
|
||||||
|
$push: function(value, nextObject, spec) {
|
||||||
|
invariantPushAndUnshift(nextObject, spec, '$push');
|
||||||
|
return value.length ? nextObject.concat(value) : nextObject;
|
||||||
|
},
|
||||||
|
$unshift: function(value, nextObject, spec) {
|
||||||
|
invariantPushAndUnshift(nextObject, spec, '$unshift');
|
||||||
|
return value.length ? value.concat(nextObject) : nextObject;
|
||||||
|
},
|
||||||
|
$splice: function(value, nextObject, spec, originalObject) {
|
||||||
|
invariantSplices(nextObject, spec);
|
||||||
|
value.forEach(function(args) {
|
||||||
|
invariantSplice(args);
|
||||||
|
if (nextObject === originalObject && args.length) nextObject = copy(originalObject);
|
||||||
|
splice.apply(nextObject, args);
|
||||||
|
});
|
||||||
|
return nextObject;
|
||||||
|
},
|
||||||
|
$set: function(value, nextObject, spec) {
|
||||||
|
invariantSet(spec);
|
||||||
|
return value;
|
||||||
|
},
|
||||||
|
$toggle: function(targets, nextObject) {
|
||||||
|
invariantSpecArray(targets, '$toggle');
|
||||||
|
var nextObjectCopy = targets.length ? copy(nextObject) : nextObject;
|
||||||
|
|
||||||
|
targets.forEach(function(target) {
|
||||||
|
nextObjectCopy[target] = !nextObject[target];
|
||||||
|
});
|
||||||
|
|
||||||
|
return nextObjectCopy;
|
||||||
|
},
|
||||||
|
$unset: function(value, nextObject, spec, originalObject) {
|
||||||
|
invariantSpecArray(value, '$unset');
|
||||||
|
value.forEach(function(key) {
|
||||||
|
if (Object.hasOwnProperty.call(nextObject, key)) {
|
||||||
|
if (nextObject === originalObject) nextObject = copy(originalObject);
|
||||||
|
delete nextObject[key];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return nextObject;
|
||||||
|
},
|
||||||
|
$add: function(value, nextObject, spec, originalObject) {
|
||||||
|
invariantMapOrSet(nextObject, '$add');
|
||||||
|
invariantSpecArray(value, '$add');
|
||||||
|
if (type(nextObject) === 'Map') {
|
||||||
|
value.forEach(function(pair) {
|
||||||
|
var key = pair[0];
|
||||||
|
var value = pair[1];
|
||||||
|
if (nextObject === originalObject && nextObject.get(key) !== value) nextObject = copy(originalObject);
|
||||||
|
nextObject.set(key, value);
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
value.forEach(function(value) {
|
||||||
|
if (nextObject === originalObject && !nextObject.has(value)) nextObject = copy(originalObject);
|
||||||
|
nextObject.add(value);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return nextObject;
|
||||||
|
},
|
||||||
|
$remove: function(value, nextObject, spec, originalObject) {
|
||||||
|
invariantMapOrSet(nextObject, '$remove');
|
||||||
|
invariantSpecArray(value, '$remove');
|
||||||
|
value.forEach(function(key) {
|
||||||
|
if (nextObject === originalObject && nextObject.has(key)) nextObject = copy(originalObject);
|
||||||
|
nextObject.delete(key);
|
||||||
|
});
|
||||||
|
return nextObject;
|
||||||
|
},
|
||||||
|
$merge: function(value, nextObject, spec, originalObject) {
|
||||||
|
invariantMerge(nextObject, value);
|
||||||
|
getAllKeys(value).forEach(function(key) {
|
||||||
|
if (value[key] !== nextObject[key]) {
|
||||||
|
if (nextObject === originalObject) nextObject = copy(originalObject);
|
||||||
|
nextObject[key] = value[key];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return nextObject;
|
||||||
|
},
|
||||||
|
$apply: function(value, original) {
|
||||||
|
invariantApply(value);
|
||||||
|
return value(original);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
var contextForExport = newContext();
|
||||||
|
|
||||||
|
module.exports = contextForExport;
|
||||||
|
module.exports.default = contextForExport;
|
||||||
|
module.exports.newContext = newContext;
|
||||||
|
|
||||||
|
// invariants
|
||||||
|
|
||||||
|
function invariantPushAndUnshift(value, spec, command) {
|
||||||
|
invariant(
|
||||||
|
Array.isArray(value),
|
||||||
|
'update(): expected target of %s to be an array; got %s.',
|
||||||
|
command,
|
||||||
|
value
|
||||||
|
);
|
||||||
|
invariantSpecArray(spec[command], command)
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantSpecArray(spec, command) {
|
||||||
|
invariant(
|
||||||
|
Array.isArray(spec),
|
||||||
|
'update(): expected spec of %s to be an array; got %s. ' +
|
||||||
|
'Did you forget to wrap your parameter in an array?',
|
||||||
|
command,
|
||||||
|
spec
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantSplices(value, spec) {
|
||||||
|
invariant(
|
||||||
|
Array.isArray(value),
|
||||||
|
'Expected $splice target to be an array; got %s',
|
||||||
|
value
|
||||||
|
);
|
||||||
|
invariantSplice(spec['$splice']);
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantSplice(value) {
|
||||||
|
invariant(
|
||||||
|
Array.isArray(value),
|
||||||
|
'update(): expected spec of $splice to be an array of arrays; got %s. ' +
|
||||||
|
'Did you forget to wrap your parameters in an array?',
|
||||||
|
value
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantApply(fn) {
|
||||||
|
invariant(
|
||||||
|
typeof fn === 'function',
|
||||||
|
'update(): expected spec of $apply to be a function; got %s.',
|
||||||
|
fn
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantSet(spec) {
|
||||||
|
invariant(
|
||||||
|
Object.keys(spec).length === 1,
|
||||||
|
'Cannot have more than one key in an object with $set'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantMerge(target, specValue) {
|
||||||
|
invariant(
|
||||||
|
specValue && typeof specValue === 'object',
|
||||||
|
'update(): $merge expects a spec of type \'object\'; got %s',
|
||||||
|
specValue
|
||||||
|
);
|
||||||
|
invariant(
|
||||||
|
target && typeof target === 'object',
|
||||||
|
'update(): $merge expects a target of type \'object\'; got %s',
|
||||||
|
target
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantMapOrSet(target, command) {
|
||||||
|
var typeOfTarget = type(target);
|
||||||
|
invariant(
|
||||||
|
typeOfTarget === 'Map' || typeOfTarget === 'Set',
|
||||||
|
'update(): %s expects a target of type Set or Map; got %s',
|
||||||
|
command,
|
||||||
|
typeOfTarget
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 3592:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_tooltip_style_css__ = __webpack_require__(174);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_tooltip_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_tooltip_style_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip__ = __webpack_require__(173);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_classnames__ = __webpack_require__(3);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_classnames__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_axios__ = __webpack_require__(8);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_axios__);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var SelectTable=function(_Component){_inherits(SelectTable,_Component);function SelectTable(props){_classCallCheck(this,SelectTable);var _this=_possibleConstructorReturn(this,(SelectTable.__proto__||Object.getPrototypeOf(SelectTable)).call(this,props));_this.state={};return _this;}_createClass(SelectTable,[{key:'componentDidMount',value:function componentDidMount(){}},{key:'render',value:function render(){var _this2=this;var _props=this.props,match=_props.match,columns=_props.columns,tableData=_props.tableData;if(!tableData||!tableData.length)return'';return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('table',{className:'edu-pop-table-all edu-txt-center color-grey-6 interval-td',cellspacing:'0',cellpadding:'0'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('tbody',null,__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('tr',null,columns.map(function(item,index){if(index==0)return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('td',{className:'gaugeOutfit'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',null,columns[0][0]),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',null,columns[0][1]));return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default.a,{title:item},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('td',null,_this2.props.columnName||'目标',index));})),tableData.map(function(item,rowIndex){var cells=item.map(function(cell,colIndex){// placement="bottom"
|
||||||
|
if(colIndex==0)return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default.a,{title:cell},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('td',null,'\u6307\u6807\u70B9',_this2.props.firstColIndexArray?_this2.props.firstColIndexArray[rowIndex]:rowIndex+1));return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default.a,{title:!!cell?'取消支撑':'选择支撑'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('td',{onClick:function onClick(){return _this2.props.onCellClick(rowIndex,colIndex,!!cell);}},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('i',{className:'iconfont icon-gouxuan '+(!!cell?'color-green':'color-grey-eb')+' font-16 mr5'})));});return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('tr',{className:'sustainLine editTd'},cells);})));}}]);return SelectTable;}(__WEBPACK_IMPORTED_MODULE_2_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (SelectTable);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 5184:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(3);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_educoder__ = __webpack_require__(5);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_axios__ = __webpack_require__(8);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_axios__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__RequirementVsObjective_SelectTable__ = __webpack_require__(3592);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_immutability_helper__ = __webpack_require__(1238);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_immutability_helper___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_immutability_helper__);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var RequirementVsObjective=function(_Component){_inherits(RequirementVsObjective,_Component);function RequirementVsObjective(props){_classCallCheck(this,RequirementVsObjective);var _this=_possibleConstructorReturn(this,(RequirementVsObjective.__proto__||Object.getPrototypeOf(RequirementVsObjective)).call(this,props));_this.init=function(){_this.graduationRequirementsIdIndexMap={};_this.trainingSubitemsIdIndexMap={};_this.state.graduation_subitems.forEach(function(item,index){_this.graduationRequirementsIdIndexMap[item.id]=index;});_this.state.graduation_standards.forEach(function(item,index){// 对应table的列数
|
||||||
|
_this.trainingSubitemsIdIndexMap[item.id]=index+1;});var tableData=[];var firstColIndexArray=[];_this.state.graduation_subitems.forEach(function(item,index){tableData.push([item.content].concat(_toConsumableArray(Array(_this.state.graduation_standards.length))));firstColIndexArray.push(item.position+'-'+item.graduation_requirement_position);});_this.state.subitem_support_standards.forEach(function(item){tableData[_this.graduationRequirementsIdIndexMap[item.graduation_subitem_id]][_this.trainingSubitemsIdIndexMap[item.graduation_standard_id]]=true;});_this.setState({tableData:tableData,firstColIndexArray:firstColIndexArray});};_this.onCellClick=function(rowIndex,colIndex,select){console.log(rowIndex,colIndex,select);var ec_graduation_subitem_id=_this.state.graduation_subitems[rowIndex].id;var ec_graduation_standard_id=_this.state.graduation_standards[colIndex-1].id;var yearId=_this.props.match.params.yearId;var url='/ec_years/'+yearId+'/subitem_support_standards.json';var method=select?__WEBPACK_IMPORTED_MODULE_3_axios___default.a.delete:__WEBPACK_IMPORTED_MODULE_3_axios___default.a.post;method(url,select?{params:{ec_graduation_subitem_id:ec_graduation_subitem_id,ec_graduation_standard_id:ec_graduation_standard_id}}:{ec_graduation_subitem_id:ec_graduation_subitem_id,ec_graduation_standard_id:ec_graduation_standard_id}).then(function(response){if(response.data.status==0){_this.setState(function(prevState){return{tableData:__WEBPACK_IMPORTED_MODULE_5_immutability_helper___default()(prevState.tableData,_defineProperty({},rowIndex,_defineProperty({},colIndex,{$set:select?false:true})))};});_this.props.showNotification((select?'取消':'选择')+'\u6210\u529F');}}).catch(function(e){});if(select){// 取消
|
||||||
|
}else{// 选择
|
||||||
|
}};_this.state={};return _this;}_createClass(RequirementVsObjective,[{key:'componentDidMount',value:function componentDidMount(){var _this2=this;// this.init()
|
||||||
|
// return;
|
||||||
|
var yearId=this.props.match.params.yearId;var url='/ec_years/'+yearId+'/subitem_support_standards.json';__WEBPACK_IMPORTED_MODULE_3_axios___default.a.get(url).then(function(response){if(response.data.graduation_subitems){_this2.setState(Object.assign({},response.data),function(){_this2.init();});}}).catch(function(e){});}},{key:'render',value:function render(){var _props=this.props,match=_props.match,history=_props.history,current_user=_props.current_user;var _state=this.state,tableData=_state.tableData,graduation_standards=_state.graduation_standards,graduation_subitems=_state.graduation_subitems,is_manager=_state.is_manager,firstColIndexArray=_state.firstColIndexArray;var columns=graduation_standards&&[['毕业要求','通用标准']].concat(_toConsumableArray(graduation_standards.map(function(item){return item.content;})));var columnIdIndexMap={};console.log(columns,tableData);return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'educontent requirementVsObjective',style:{background:'#fff'}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('ul',{className:'clearfix padding20-30 bor-bottom-greyE backgroundFFF',style:{'marginBottom':'0px'}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:'fl'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',{className:'font-18 courseSystem'},' \u6BD5\u4E1A\u8981\u6C42\u5BF9\u901A\u7528\u6807\u51C6\u7684\u652F\u6491 '),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'color-grey-9 mr10'},'\u7528\u77E9\u9635\u56FE\u7684\u5F62\u5F0F\u8BF4\u660E\u672C\u4E13\u4E1A\u6BD5\u4E1A\u8981\u6C42\u5BF912\u9879\u901A\u7528\u6807\u51C6\u7684\u8986\u76D6\u5173\u7CFB\uFF0C\u9F20\u6807\u5DE6\u952E\u5355\u51FB\u5355\u5143\u683C\u5373\u53EF'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{target:'_blank',href:'/forums/3532',className:'color-blue'},'\u67E5\u770B\u8BE6\u60C5'))),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{href:'/api/ec_years/'+this.props.yearId+'/subitem_support_standards.xlsx'+Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["O" /* getRandomNumber */])(),target:'_blank',className:'ant-btn ant-btn-primary color-white fr mt20'},'\u5BFC\u51FA\u77E9\u9635')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'padding20-30',style:{background:'#fff'}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',{className:'clearfix mb20'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'fl mr30'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('i',{className:'iconfont icon-gouxuan color-green font-16 mr5'}),'\u8868\u793A\u652F\u6491'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'fl'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('i',{className:'iconfont icon-gouxuan color-grey-eb font-16 mr5'}),'\u8868\u793A\u4E0D\u652F\u6491')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__RequirementVsObjective_SelectTable__["a" /* default */],{columns:columns,tableData:tableData,columnName:'\u6807\u51C6',onCellClick:this.onCellClick,firstColIndexArray:firstColIndexArray})));}}]);return RequirementVsObjective;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (RequirementVsObjective);
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
});
|
|
@ -0,0 +1,327 @@
|
||||||
|
webpackJsonp([224],{
|
||||||
|
|
||||||
|
/***/ 1238:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
var invariant = __webpack_require__(47);
|
||||||
|
|
||||||
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||||
|
var splice = Array.prototype.splice;
|
||||||
|
|
||||||
|
var toString = Object.prototype.toString
|
||||||
|
var type = function(obj) {
|
||||||
|
return toString.call(obj).slice(8, -1);
|
||||||
|
}
|
||||||
|
|
||||||
|
var assign = Object.assign || /* istanbul ignore next */ function assign(target, source) {
|
||||||
|
getAllKeys(source).forEach(function(key) {
|
||||||
|
if (hasOwnProperty.call(source, key)) {
|
||||||
|
target[key] = source[key];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return target;
|
||||||
|
};
|
||||||
|
|
||||||
|
var getAllKeys = typeof Object.getOwnPropertySymbols === 'function' ?
|
||||||
|
function(obj) { return Object.keys(obj).concat(Object.getOwnPropertySymbols(obj)) } :
|
||||||
|
/* istanbul ignore next */ function(obj) { return Object.keys(obj) };
|
||||||
|
|
||||||
|
/* istanbul ignore next */
|
||||||
|
function copy(object) {
|
||||||
|
if (Array.isArray(object)) {
|
||||||
|
return assign(object.constructor(object.length), object)
|
||||||
|
} else if (type(object) === 'Map') {
|
||||||
|
return new Map(object)
|
||||||
|
} else if (type(object) === 'Set') {
|
||||||
|
return new Set(object)
|
||||||
|
} else if (object && typeof object === 'object') {
|
||||||
|
var prototype = Object.getPrototypeOf(object);
|
||||||
|
return assign(Object.create(prototype), object);
|
||||||
|
} else {
|
||||||
|
return object;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function newContext() {
|
||||||
|
var commands = assign({}, defaultCommands);
|
||||||
|
update.extend = function(directive, fn) {
|
||||||
|
commands[directive] = fn;
|
||||||
|
};
|
||||||
|
update.isEquals = function(a, b) { return a === b; };
|
||||||
|
|
||||||
|
return update;
|
||||||
|
|
||||||
|
function update(object, spec) {
|
||||||
|
if (typeof spec === 'function') {
|
||||||
|
spec = { $apply: spec };
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!(Array.isArray(object) && Array.isArray(spec))) {
|
||||||
|
invariant(
|
||||||
|
!Array.isArray(spec),
|
||||||
|
'update(): You provided an invalid spec to update(). The spec may ' +
|
||||||
|
'not contain an array except as the value of $set, $push, $unshift, ' +
|
||||||
|
'$splice or any custom command allowing an array value.'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
invariant(
|
||||||
|
typeof spec === 'object' && spec !== null,
|
||||||
|
'update(): You provided an invalid spec to update(). The spec and ' +
|
||||||
|
'every included key path must be plain objects containing one of the ' +
|
||||||
|
'following commands: %s.',
|
||||||
|
Object.keys(commands).join(', ')
|
||||||
|
);
|
||||||
|
|
||||||
|
var nextObject = object;
|
||||||
|
var index, key;
|
||||||
|
getAllKeys(spec).forEach(function(key) {
|
||||||
|
if (hasOwnProperty.call(commands, key)) {
|
||||||
|
var objectWasNextObject = object === nextObject;
|
||||||
|
nextObject = commands[key](spec[key], nextObject, spec, object);
|
||||||
|
if (objectWasNextObject && update.isEquals(nextObject, object)) {
|
||||||
|
nextObject = object;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
var nextValueForKey =
|
||||||
|
type(object) === 'Map'
|
||||||
|
? update(object.get(key), spec[key])
|
||||||
|
: update(object[key], spec[key]);
|
||||||
|
var nextObjectValue =
|
||||||
|
type(nextObject) === 'Map'
|
||||||
|
? nextObject.get(key)
|
||||||
|
: nextObject[key];
|
||||||
|
if (!update.isEquals(nextValueForKey, nextObjectValue) || typeof nextValueForKey === 'undefined' && !hasOwnProperty.call(object, key)) {
|
||||||
|
if (nextObject === object) {
|
||||||
|
nextObject = copy(object);
|
||||||
|
}
|
||||||
|
if (type(nextObject) === 'Map') {
|
||||||
|
nextObject.set(key, nextValueForKey);
|
||||||
|
} else {
|
||||||
|
nextObject[key] = nextValueForKey;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return nextObject;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
var defaultCommands = {
|
||||||
|
$push: function(value, nextObject, spec) {
|
||||||
|
invariantPushAndUnshift(nextObject, spec, '$push');
|
||||||
|
return value.length ? nextObject.concat(value) : nextObject;
|
||||||
|
},
|
||||||
|
$unshift: function(value, nextObject, spec) {
|
||||||
|
invariantPushAndUnshift(nextObject, spec, '$unshift');
|
||||||
|
return value.length ? value.concat(nextObject) : nextObject;
|
||||||
|
},
|
||||||
|
$splice: function(value, nextObject, spec, originalObject) {
|
||||||
|
invariantSplices(nextObject, spec);
|
||||||
|
value.forEach(function(args) {
|
||||||
|
invariantSplice(args);
|
||||||
|
if (nextObject === originalObject && args.length) nextObject = copy(originalObject);
|
||||||
|
splice.apply(nextObject, args);
|
||||||
|
});
|
||||||
|
return nextObject;
|
||||||
|
},
|
||||||
|
$set: function(value, nextObject, spec) {
|
||||||
|
invariantSet(spec);
|
||||||
|
return value;
|
||||||
|
},
|
||||||
|
$toggle: function(targets, nextObject) {
|
||||||
|
invariantSpecArray(targets, '$toggle');
|
||||||
|
var nextObjectCopy = targets.length ? copy(nextObject) : nextObject;
|
||||||
|
|
||||||
|
targets.forEach(function(target) {
|
||||||
|
nextObjectCopy[target] = !nextObject[target];
|
||||||
|
});
|
||||||
|
|
||||||
|
return nextObjectCopy;
|
||||||
|
},
|
||||||
|
$unset: function(value, nextObject, spec, originalObject) {
|
||||||
|
invariantSpecArray(value, '$unset');
|
||||||
|
value.forEach(function(key) {
|
||||||
|
if (Object.hasOwnProperty.call(nextObject, key)) {
|
||||||
|
if (nextObject === originalObject) nextObject = copy(originalObject);
|
||||||
|
delete nextObject[key];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return nextObject;
|
||||||
|
},
|
||||||
|
$add: function(value, nextObject, spec, originalObject) {
|
||||||
|
invariantMapOrSet(nextObject, '$add');
|
||||||
|
invariantSpecArray(value, '$add');
|
||||||
|
if (type(nextObject) === 'Map') {
|
||||||
|
value.forEach(function(pair) {
|
||||||
|
var key = pair[0];
|
||||||
|
var value = pair[1];
|
||||||
|
if (nextObject === originalObject && nextObject.get(key) !== value) nextObject = copy(originalObject);
|
||||||
|
nextObject.set(key, value);
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
value.forEach(function(value) {
|
||||||
|
if (nextObject === originalObject && !nextObject.has(value)) nextObject = copy(originalObject);
|
||||||
|
nextObject.add(value);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return nextObject;
|
||||||
|
},
|
||||||
|
$remove: function(value, nextObject, spec, originalObject) {
|
||||||
|
invariantMapOrSet(nextObject, '$remove');
|
||||||
|
invariantSpecArray(value, '$remove');
|
||||||
|
value.forEach(function(key) {
|
||||||
|
if (nextObject === originalObject && nextObject.has(key)) nextObject = copy(originalObject);
|
||||||
|
nextObject.delete(key);
|
||||||
|
});
|
||||||
|
return nextObject;
|
||||||
|
},
|
||||||
|
$merge: function(value, nextObject, spec, originalObject) {
|
||||||
|
invariantMerge(nextObject, value);
|
||||||
|
getAllKeys(value).forEach(function(key) {
|
||||||
|
if (value[key] !== nextObject[key]) {
|
||||||
|
if (nextObject === originalObject) nextObject = copy(originalObject);
|
||||||
|
nextObject[key] = value[key];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return nextObject;
|
||||||
|
},
|
||||||
|
$apply: function(value, original) {
|
||||||
|
invariantApply(value);
|
||||||
|
return value(original);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
var contextForExport = newContext();
|
||||||
|
|
||||||
|
module.exports = contextForExport;
|
||||||
|
module.exports.default = contextForExport;
|
||||||
|
module.exports.newContext = newContext;
|
||||||
|
|
||||||
|
// invariants
|
||||||
|
|
||||||
|
function invariantPushAndUnshift(value, spec, command) {
|
||||||
|
invariant(
|
||||||
|
Array.isArray(value),
|
||||||
|
'update(): expected target of %s to be an array; got %s.',
|
||||||
|
command,
|
||||||
|
value
|
||||||
|
);
|
||||||
|
invariantSpecArray(spec[command], command)
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantSpecArray(spec, command) {
|
||||||
|
invariant(
|
||||||
|
Array.isArray(spec),
|
||||||
|
'update(): expected spec of %s to be an array; got %s. ' +
|
||||||
|
'Did you forget to wrap your parameter in an array?',
|
||||||
|
command,
|
||||||
|
spec
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantSplices(value, spec) {
|
||||||
|
invariant(
|
||||||
|
Array.isArray(value),
|
||||||
|
'Expected $splice target to be an array; got %s',
|
||||||
|
value
|
||||||
|
);
|
||||||
|
invariantSplice(spec['$splice']);
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantSplice(value) {
|
||||||
|
invariant(
|
||||||
|
Array.isArray(value),
|
||||||
|
'update(): expected spec of $splice to be an array of arrays; got %s. ' +
|
||||||
|
'Did you forget to wrap your parameters in an array?',
|
||||||
|
value
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantApply(fn) {
|
||||||
|
invariant(
|
||||||
|
typeof fn === 'function',
|
||||||
|
'update(): expected spec of $apply to be a function; got %s.',
|
||||||
|
fn
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantSet(spec) {
|
||||||
|
invariant(
|
||||||
|
Object.keys(spec).length === 1,
|
||||||
|
'Cannot have more than one key in an object with $set'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantMerge(target, specValue) {
|
||||||
|
invariant(
|
||||||
|
specValue && typeof specValue === 'object',
|
||||||
|
'update(): $merge expects a spec of type \'object\'; got %s',
|
||||||
|
specValue
|
||||||
|
);
|
||||||
|
invariant(
|
||||||
|
target && typeof target === 'object',
|
||||||
|
'update(): $merge expects a target of type \'object\'; got %s',
|
||||||
|
target
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function invariantMapOrSet(target, command) {
|
||||||
|
var typeOfTarget = type(target);
|
||||||
|
invariant(
|
||||||
|
typeOfTarget === 'Map' || typeOfTarget === 'Set',
|
||||||
|
'update(): %s expects a target of type Set or Map; got %s',
|
||||||
|
command,
|
||||||
|
typeOfTarget
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 3592:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_tooltip_style_css__ = __webpack_require__(174);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_tooltip_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_tooltip_style_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip__ = __webpack_require__(173);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_classnames__ = __webpack_require__(3);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_classnames__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_axios__ = __webpack_require__(8);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_axios__);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var SelectTable=function(_Component){_inherits(SelectTable,_Component);function SelectTable(props){_classCallCheck(this,SelectTable);var _this=_possibleConstructorReturn(this,(SelectTable.__proto__||Object.getPrototypeOf(SelectTable)).call(this,props));_this.state={};return _this;}_createClass(SelectTable,[{key:'componentDidMount',value:function componentDidMount(){}},{key:'render',value:function render(){var _this2=this;var _props=this.props,match=_props.match,columns=_props.columns,tableData=_props.tableData;if(!tableData||!tableData.length)return'';return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('table',{className:'edu-pop-table-all edu-txt-center color-grey-6 interval-td',cellspacing:'0',cellpadding:'0'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('tbody',null,__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('tr',null,columns.map(function(item,index){if(index==0)return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('td',{className:'gaugeOutfit'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',null,columns[0][0]),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',null,columns[0][1]));return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default.a,{title:item},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('td',null,_this2.props.columnName||'目标',index));})),tableData.map(function(item,rowIndex){var cells=item.map(function(cell,colIndex){// placement="bottom"
|
||||||
|
if(colIndex==0)return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default.a,{title:cell},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('td',null,'\u6307\u6807\u70B9',_this2.props.firstColIndexArray?_this2.props.firstColIndexArray[rowIndex]:rowIndex+1));return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_tooltip___default.a,{title:!!cell?'取消支撑':'选择支撑'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('td',{onClick:function onClick(){return _this2.props.onCellClick(rowIndex,colIndex,!!cell);}},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('i',{className:'iconfont icon-gouxuan '+(!!cell?'color-green':'color-grey-eb')+' font-16 mr5'})));});return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('tr',{className:'sustainLine editTd'},cells);})));}}]);return SelectTable;}(__WEBPACK_IMPORTED_MODULE_2_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (SelectTable);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 5183:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(3);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_educoder__ = __webpack_require__(5);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_axios__ = __webpack_require__(8);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_axios__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__SelectTable__ = __webpack_require__(3592);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_immutability_helper__ = __webpack_require__(1238);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_immutability_helper___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_immutability_helper__);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var testState={"graduation_requirements":[{"id":1,"position":1,"content":"毕业要求一"},{"id":2,"position":2,"content":"毕业要求二"}],"training_subitems":[{"id":1,"content":"培养目标一"},{"id":2,"content":"培养目标二"}],"requirement_support_objectives":[{"graduation_requirement_id":1,"training_subitem_id":1},{"graduation_requirement_id":2,"training_subitem_id":2}]};var RequirementVsObjective=function(_Component){_inherits(RequirementVsObjective,_Component);function RequirementVsObjective(props){_classCallCheck(this,RequirementVsObjective);var _this=_possibleConstructorReturn(this,(RequirementVsObjective.__proto__||Object.getPrototypeOf(RequirementVsObjective)).call(this,props));_this.init=function(){_this.graduationRequirementsIdIndexMap={};_this.trainingSubitemsIdIndexMap={};_this.state.graduation_requirements.forEach(function(item,index){_this.graduationRequirementsIdIndexMap[item.id]=index;});_this.state.training_subitems.forEach(function(item,index){// 对应table的列数
|
||||||
|
_this.trainingSubitemsIdIndexMap[item.id]=index+1;});var tableData=[];_this.state.graduation_requirements.forEach(function(item,index){tableData.push([item.content].concat(_toConsumableArray(Array(_this.state.training_subitems.length))));});_this.state.requirement_support_objectives.forEach(function(item){tableData[_this.graduationRequirementsIdIndexMap[item.graduation_requirement_id]][_this.trainingSubitemsIdIndexMap[item.training_subitem_id]]=true;});_this.setState({tableData:tableData});};_this.onCellClick=function(rowIndex,colIndex,select){console.log(rowIndex,colIndex,select);var ec_graduation_requirement_id=_this.state.graduation_requirements[rowIndex].id;var ec_training_subitem_id=_this.state.training_subitems[colIndex-1].id;var yearId=_this.props.match.params.yearId;var url='/ec_years/'+yearId+'/requirement_support_objectives.json';var method=select?__WEBPACK_IMPORTED_MODULE_3_axios___default.a.delete:__WEBPACK_IMPORTED_MODULE_3_axios___default.a.post;method(url,select?{params:{ec_graduation_requirement_id:ec_graduation_requirement_id,ec_training_subitem_id:ec_training_subitem_id}}:{ec_graduation_requirement_id:ec_graduation_requirement_id,ec_training_subitem_id:ec_training_subitem_id}).then(function(response){if(response.data.status==0){_this.setState(function(prevState){return{tableData:__WEBPACK_IMPORTED_MODULE_5_immutability_helper___default()(prevState.tableData,_defineProperty({},rowIndex,_defineProperty({},colIndex,{$set:select?false:true})))};});_this.props.showNotification((select?'取消':'选择')+'\u6210\u529F');}}).catch(function(e){});if(select){// 取消
|
||||||
|
}else{// 选择
|
||||||
|
}};_this.state={// ...testState
|
||||||
|
};return _this;}_createClass(RequirementVsObjective,[{key:'componentDidMount',value:function componentDidMount(){var _this2=this;// this.init()
|
||||||
|
// return;
|
||||||
|
var yearId=this.props.match.params.yearId;var url='/ec_years/'+yearId+'/requirement_support_objectives.json';__WEBPACK_IMPORTED_MODULE_3_axios___default.a.get(url).then(function(response){if(response.data.graduation_requirements){_this2.setState(Object.assign({},response.data),function(){_this2.init();});}}).catch(function(e){});}},{key:'render',value:function render(){var _props=this.props,match=_props.match,history=_props.history,current_user=_props.current_user;var _state=this.state,tableData=_state.tableData,training_subitems=_state.training_subitems,graduation_requirements=_state.graduation_requirements,is_manager=_state.is_manager;var columns=training_subitems&&[['毕业要求','培养目标']].concat(_toConsumableArray(training_subitems.map(function(item){return item.content;})));var columnIdIndexMap={};console.log(columns,tableData);return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'educontent requirementVsObjective',style:{background:'#fff'}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('ul',{className:'clearfix padding20-30 bor-bottom-greyE backgroundFFF',style:{'marginBottom':'0px'}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:'fl'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',{className:'font-18 courseSystem'},' \u6BD5\u4E1A\u8981\u6C42\u5BF9\u57F9\u517B\u76EE\u6807\u7684\u652F\u6491 '),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'color-grey-9 mr10'},'\u7528\u77E9\u9635\u56FE\u7684\u5F62\u5F0F\u8BF4\u660E\u672C\u4E13\u4E1A\u6BD5\u4E1A\u8981\u6C42\u5BF9\u57F9\u517B\u76EE\u6807\u7684\u652F\u6491\u5173\u7CFB\uFF0C\u9F20\u6807\u5DE6\u952E\u5355\u51FB\u5355\u5143\u683C\u5373\u53EF'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{target:'_blank',href:'/forums/3531',className:'color-blue'},'\u67E5\u770B\u8BE6\u60C5'))),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{href:'/api/ec_years/'+this.props.yearId+'/requirement_support_objectives.xlsx'+Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["O" /* getRandomNumber */])(),target:'_blank',className:'ant-btn ant-btn-primary color-white fr mt20'},'\u5BFC\u51FA\u77E9\u9635')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'padding20-30',style:{background:'#fff'}},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',{className:'clearfix mb20'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'fl mr30'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('i',{className:'iconfont icon-gouxuan color-green font-16 mr5'}),'\u8868\u793A\u652F\u6491'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'fl'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('i',{className:'iconfont icon-gouxuan color-grey-eb font-16 mr5'}),'\u8868\u793A\u4E0D\u652F\u6491')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__SelectTable__["a" /* default */],{columns:columns,tableData:tableData,onCellClick:this.onCellClick})));}}]);return RequirementVsObjective;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (RequirementVsObjective);
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,42 @@
|
||||||
|
webpackJsonp([271],{
|
||||||
|
|
||||||
|
/***/ 4711:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_button_style_css__ = __webpack_require__(88);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_button_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_button_style_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_button__ = __webpack_require__(74);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_button___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_button__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_antd_lib_form_style_css__ = __webpack_require__(975);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_antd_lib_form_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_antd_lib_form_style_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_antd_lib_form__ = __webpack_require__(976);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_antd_lib_form___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_antd_lib_form__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_antd_lib_input_style_css__ = __webpack_require__(60);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_antd_lib_input_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_antd_lib_input_style_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_antd_lib_input__ = __webpack_require__(61);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_antd_lib_input___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_antd_lib_input__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_antd_lib_breadcrumb_style_css__ = __webpack_require__(1452);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_antd_lib_breadcrumb_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_antd_lib_breadcrumb_style_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_antd_lib_breadcrumb__ = __webpack_require__(1453);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_antd_lib_breadcrumb___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_antd_lib_breadcrumb__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_educoder__ = __webpack_require__(5);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react_router_dom__ = __webpack_require__(51);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_axios__ = __webpack_require__(8);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_axios__);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}/**
|
||||||
|
---------------------------- START
|
||||||
|
*/function getModeByMirrorName(mirror_name){var mode='javascript';if(mirror_name&&mirror_name.length){for(var i=0;i<mirror_name.length;i++){var modeVal=mirrorNameModeMap[mirror_name[i]];if(modeVal){mode=modeVal;break;}}}return mode;}var _extraKeys={"Alt-/":"autocomplete"};function createCMOptions(mirror_name){var mode=getModeByMirrorName(mirror_name);var cmOptions={lineNumbers:true,mode:mode,theme:"railscasts",indentUnit:4,matchBrackets:true,autoRefresh:true,smartIndent:true,//智能换行
|
||||||
|
extraKeys:_extraKeys,autofocus:true,styleActiveLine:true,lint:true,gutters:["CodeMirror-linenumbers","breakpoints","CodeMirror-lint-markers"]};return cmOptions;}var mirrorNameModeMap={'JFinal':'text/x-java','Java':'text/x-java','Kotlin':'text/x-kotlin','C/C++':'text/x-c++src','MachineLearning':{name:"python",version:3,singleLineStringErrors:false},'Python2.7':{name:"python",version:3,singleLineStringErrors:false},'Python3.6':{name:"python",version:3,singleLineStringErrors:false}/**
|
||||||
|
---------------------------- END
|
||||||
|
*/};var RepositoryAddFile=function(_Component){_inherits(RepositoryAddFile,_Component);function RepositoryAddFile(props){_classCallCheck(this,RepositoryAddFile);var _this=_possibleConstructorReturn(this,(RepositoryAddFile.__proto__||Object.getPrototypeOf(RepositoryAddFile)).call(this,props));_this.checkPath=function(rule,value,callback){if(!value){callback('文件名不能为空');}else if(value=="/"||value.indexOf('.')==-1){callback('请输入正确的文件路径,如:src/HelloWorld.java');}else{callback();}};_this.handleSubmit=function(){_this.props.form.validateFieldsAndScroll(function(err,values){if(!err){var shixunId=_this.props.match.params.shixunId;var url='/shixuns/'+shixunId+'/add_file.json';__WEBPACK_IMPORTED_MODULE_11_axios___default.a.post(url,{path:values.path,message:values.message,content:_this.extend_editor.getValue()}).then(function(result){if(result){_this.props.history.push(''+result.data.url);}}).catch(function(error){console.log(error);});}});};return _this;}_createClass(RepositoryAddFile,[{key:'componentDidMount',value:function componentDidMount(){var cmOptions=createCMOptions(this.props.mirror_name);var extend_editor=window.CodeMirror.fromTextArea(window.$('#codemirror-file-edit')[0],cmOptions);// tpi没setValue也可以
|
||||||
|
extend_editor.setValue('');extend_editor.refresh();// 拖拽也需要用 : window.editor_CodeMirror.refresh()
|
||||||
|
window.editor_tempCodeMirror=extend_editor;this.extend_editor=extend_editor;}},{key:'render',value:function render(){var getFieldDecorator=this.props.form.getFieldDecorator;var shixunId=this.props.match.params.shixunId;return __WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('div',{className:'educontent'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('style',null,'\n .formStyle .ant-form-item{\n margin-bottom:10px!important;\n }\n .formStyle .ant-col.ant-form-item-label{\n margin-left:-10px;\n line-height:30px;\n margin-bottom:10px;\n }\n .breadcrumb .ant-breadcrumb-separator{\n margin:0px 2px;\n }\n .backgroudwhite{\n display:none;\n }\n /*.filecode .CodeMirror.cm-s-railscasts{\n border:1px solid #E5E5E5;\n }\n .filecode .CodeMirror.cm-s-railscasts .CodeMirror-sizer,.filecode .CodeMirror-gutters,.filecode .CodeMirror-scroll{\n background:#fff;\n }\n .filecode .CodeMirror-linenumber{\n text-align:center\n }*/\n '),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('p',{className:'mt10 mb10'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_antd_lib_breadcrumb___default.a,{separator:'>',className:'breadcrumb'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_antd_lib_breadcrumb___default.a.Item,{href:'/shixuns'},'\u5B9E\u8BAD\u9879\u76EE'),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_antd_lib_breadcrumb___default.a.Item,{href:'/shixuns/'+shixunId+'/repository'},'\u7248\u672C\u5E93'),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_antd_lib_breadcrumb___default.a.Item,null,'\u6DFB\u52A0\u65B0\u6587\u4EF6'))),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_form___default.a,{onSubmit:this.handleSubmit,className:'formStyle'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('div',{className:'edu-back-white padding20-30 mb10'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_form___default.a.Item,{label:'\u6587\u4EF6\u540D'},getFieldDecorator('path',{rules:[{validator:this.checkPath}]})(__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5_antd_lib_input___default.a,{placeholder:'\u8F93\u5165\u6587\u4EF6\u8DEF\u5F84\u540D\uFF0C\u5982\uFF1Asrc/HelloWorld.java',className:'winput-300-35 fl'})))),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('div',{className:'edu-back-white padding30'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('p',{className:'ant-form-item-label'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('label',null,'\u5185\u5BB9')),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('div',{className:'mt10 mb25 repoCMWrapper filecode'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('textarea',{className:'',id:'codemirror-file-edit',style:{display:'none'},name:'content'})),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_form___default.a.Item,{label:'\u63D0\u4EA4\u4FE1\u606F'},getFieldDecorator('message',{rules:[{required:true,message:"请输入提交信息"}]})(__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('textarea',{className:'winput-100-130 fl'})))),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('div',{className:'clearfix mt30 edu-txt-right mb30'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_button___default.a,{type:'primary',className:'defalutSubmitbtn fr ml20',onClick:this.handleSubmit},'\u63D0\u4EA4'),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_10_react_router_dom__["b" /* Link */],{className:'defalutCancelbtn fr',to:'/shixuns/'+shixunId+'/repository'},'\u53D6\u6D88'))));}}]);return RepositoryAddFile;}(__WEBPACK_IMPORTED_MODULE_8_react__["Component"]);var WrappedRepositoryAddFile=__WEBPACK_IMPORTED_MODULE_3_antd_lib_form___default.a.create({name:'taskRepositoryAddFile'})(RepositoryAddFile);// RouteHOC()
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (WrappedRepositoryAddFile);
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,35 @@
|
||||||
|
webpackJsonp([276],{
|
||||||
|
|
||||||
|
/***/ 4736:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_input_style_css__ = __webpack_require__(60);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_input_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_input_style_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_input__ = __webpack_require__(61);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_input___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_input__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_educoder__ = __webpack_require__(5);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__tpm_challengesnew_TPMMDEditor__ = __webpack_require__(338);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react_router_dom__ = __webpack_require__(51);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_axios__ = __webpack_require__(8);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_axios__);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}// import '../page/tpiPage.css';
|
||||||
|
__webpack_require__(359);var $=window.$;var PathNew=function(_Component){_inherits(PathNew,_Component);function PathNew(props){_classCallCheck(this,PathNew);var _this=_possibleConstructorReturn(this,(PathNew.__proto__||Object.getPrototypeOf(PathNew)).call(this,props));_this.submitNewPath=function(){var pathName=_this.state.pathName;if(pathName===""){_this.props.showSnackbar("请输入实践课程名称");window.location.href="#part_Name";_this.setState({flag_name:false});return;}var des=_this.contentMdRef.current.getValue().trim();if(des===""){_this.props.showSnackbar("请输入实践课程的简介");window.location.href="#part_Des";return;}if(des.length>8000){_this.props.showSnackbar("实践课程的简介最大限制8000个字符");window.location.href="#part_Des";return;}var point=_this.Point_editMD.current.getValue().trim();if(point===""){_this.props.showSnackbar("请输入实践课程的学习须知");window.location.href="#part_point";return;}if(point.length>2000){_this.props.showSnackbar("实践课程的学习须知最大限制2000个字符");window.location.href="#part_point";return;}if(_this.isEditPage==true){_this.setState({bottonloading:true});var pathId=_this.props.match.params.pathId;var editUrl='/paths/'+pathId+'.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.put(editUrl,{name:pathName,description:des,learning_notes:point}).then(function(response){// console.log(response.data.subject_id);
|
||||||
|
if(response.data.subject_id){_this.props.history.push('/paths/'+response.data.subject_id);}else{_this.setState({bottonloading:false});}}).catch(function(error){console.log(error);_this.setState({bottonloading:false});});}else{_this.setState({bottonloading:true});var url="/paths.json";__WEBPACK_IMPORTED_MODULE_6_axios___default.a.post(url,{name:pathName,description:des,learning_notes:point}).then(function(response){// console.log(response.data.subject_id);
|
||||||
|
if(response.data.subject_id){_this.props.history.push('/paths/'+response.data.subject_id);}else{_this.setState({bottonloading:false});}}).catch(function(error){console.log(error);_this.setState({bottonloading:false});});}};_this.InputName=function(e){_this.setState({pathName:e.target.value});};_this.contentMdRef=__WEBPACK_IMPORTED_MODULE_2_react___default.a.createRef();_this.Point_editMD=__WEBPACK_IMPORTED_MODULE_2_react___default.a.createRef();_this.state={pathName:"",description:"",point:"",flag_name:true,bottonloading:false};return _this;}// 提交
|
||||||
|
_createClass(PathNew,[{key:'componentDidMount',value:function componentDidMount(){var _this2=this;var url="/paths/new.json";__WEBPACK_IMPORTED_MODULE_6_axios___default.a.get(url).then(function(result){console.log(result);}).catch(function(error){console.log(error);});var pathId=this.props.match.params.pathId;if(pathId){this.isEditPage=true;// const url = `/paths/${pathId}.json`
|
||||||
|
var _url='/paths/'+pathId+'/edit.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.get(_url).then(function(response){/**
|
||||||
|
description:
|
||||||
|
id: 13
|
||||||
|
learning_notes:
|
||||||
|
name:
|
||||||
|
*/if(response.data.name){_this2.setState({pathName:response.data.name});_this2.contentMdRef.current.setValue(response.data&&response.data.description);_this2.Point_editMD.current.setValue(response.data&&response.data.learning_notes);}}).catch(function(error){console.log(error);});}else{this.isEditPage=false;this.contentMdRef.current.setValue("");this.Point_editMD.current.setValue("");}}},{key:'render',value:function render(){var pathId=this.props.match.params.pathId;var _state=this.state,pathName=_state.pathName,description=_state.description,point=_state.point,flag_name=_state.flag_name;return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'newContainer'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'educontent mt10 mb50'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'mb10 edu-back-white'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'padding20 bor-bottom-greyE font-18 color-grey-3'},pathId?'编辑':'创建','\u5B9E\u8DF5\u8BFE\u7A0B'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'padding30-20',id:'part_Name'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'color-grey-6 font-16 mb15'},'\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'df'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'mr30 color-orange pt10'},'*'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'flex1 mr20'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_input___default.a,{className:flag_name===true?"input-100-45 greyInput":"input-100-45 greyInput bor-red",maxLength:'60',placeholder:'\u4F8B\u5982\uFF1A\u4ECEPython\u7A0B\u5E8F\u8BBE\u8BA1-\u5165\u95E8\u7CBE\u901A',value:pathName,onInput:this.InputName}))))),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'mb10 edu-back-white padding30-20',id:'part_Des'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'color-grey-6 font-16 mb15'},'\u7B80\u4ECB'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'df'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'mr30 color-orange pt10'},'*'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'flex1 mr20'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{id:'shixun_introduction',className:'new_li'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__tpm_challengesnew_TPMMDEditor__["a" /* default */],{ref:this.contentMdRef,placeholder:'\u8BF7\u5728\u6B64\u8F93\u5165\u5B9E\u8DF5\u8BFE\u7A0B\u7684\u7B80\u4ECB\uFF0C\u6700\u5927\u9650\u52368000\u4E2A\u5B57\u7B26',mdID:'courseContentMD',refreshTimeout:1500,className:'courseMessageMD'// initValue={this.state.description === null ? "" : this.state.description}
|
||||||
|
})),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{id:'e_tip_shixun_introduction',className:'edu-txt-right color-grey-cd font-12'}),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{id:'e_tips_shixun_introduction',className:'edu-txt-right color-grey-cd font-12'})))),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'mb10 edu-back-white padding30-20',id:'part_point'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'color-grey-6 font-16 mb15',id:'learning_notes'},'\u5B66\u4E60\u987B\u77E5'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'df'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'mr30 color-orange pt10'},'*'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'flex1 mr20'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{id:'shixun_propaedeutics',className:'new_li '},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__tpm_challengesnew_TPMMDEditor__["a" /* default */],{ref:this.Point_editMD,placeholder:'\u8BF7\u5728\u6B64\u8F93\u5165\u5B9E\u8DF5\u8BFE\u7A0B\u7684\u5B66\u4E60\u987B\u77E5\uFF0C\u6700\u5927\u9650\u52362000\u4E2A\u5B57\u7B26',mdID:'Point_editMDs',refreshTimeout:1500,className:'courseMessageMD'// initValue={this.state.description === null ? "" : this.state.description}
|
||||||
|
})),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{id:'e_tip_shixun_propaedeutics',className:'edu-txt-right color-grey-cd font-12'}),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{id:'e_tips_shixun_propaedeutics',className:'edu-txt-right color-grey-cd font-12'})))),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'clearfix mb30 mt30'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('button',{className:'defalutSubmitbtn fl mr20',loading:this.state.bottonloading,onClick:this.submitNewPath},'\u63D0\u4EA4'),this.isEditPage?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5_react_router_dom__["b" /* Link */],{to:'/paths/'+this.props.match.params.pathId,className:'defalutCancelbtn fl'},'\u53D6\u6D88'):__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5_react_router_dom__["b" /* Link */],{to:'/paths',className:'defalutCancelbtn fl'},'\u53D6\u6D88')))));}}]);return PathNew;}(__WEBPACK_IMPORTED_MODULE_2_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (PathNew);
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
});
|
|
@ -0,0 +1,29 @@
|
||||||
|
webpackJsonp([279],{
|
||||||
|
|
||||||
|
/***/ 4790:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_educoder__ = __webpack_require__(5);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_router_dom__ = __webpack_require__(51);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_loadable__ = __webpack_require__(345);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_loadable__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Loading__ = __webpack_require__(344);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_axios__ = __webpack_require__(8);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_axios__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__common_CNotificationHOC__ = __webpack_require__(354);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__css_Courses_css__ = __webpack_require__(331);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__css_Courses_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__css_Courses_css__);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}// import { TPMIndexHOC } from '../tpm/TPMIndexHOC';
|
||||||
|
//引入对应跳转的组件
|
||||||
|
var ListPageIndex=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(46/* duplicate */).then(__webpack_require__.bind(null, 3287));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});// 讨论
|
||||||
|
var BoardsNew=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(101).then(__webpack_require__.bind(null, 4791));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var TopicDetail=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(155).then(__webpack_require__.bind(null, 4793));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});// 讨论
|
||||||
|
var Boards=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(141).then(__webpack_require__.bind(null, 3418));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var CoursesIndex=function(_Component){_inherits(CoursesIndex,_Component);function CoursesIndex(props){_classCallCheck(this,CoursesIndex);var _this=_possibleConstructorReturn(this,(CoursesIndex.__proto__||Object.getPrototypeOf(CoursesIndex)).call(this,props));_this.state={// coursedata:undefined
|
||||||
|
};return _this;}_createClass(CoursesIndex,[{key:'componentDidMount',value:function componentDidMount(){}},{key:'render',value:function render(){var _this2=this;var common={};return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId/messages/:topicId/edit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(BoardsNew,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId/messages/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(BoardsNew,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId/messages/:topicId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(TopicDetail,Object.assign({},_this2.props,_this2.state,props,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId/messages/:topicId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(TopicDetail,Object.assign({},_this2.props,_this2.state,props,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this2.props,props,_this2.state,common));}}));}}]);return CoursesIndex;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_6__common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_1_educoder__["w" /* SnackbarHOC */])()(CoursesIndex)));
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
});
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,18 @@
|
||||||
|
webpackJsonp([281],{
|
||||||
|
|
||||||
|
/***/ 4968:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_router_dom__ = __webpack_require__(51);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_loadable__ = __webpack_require__(345);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_loadable__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Loading__ = __webpack_require__(344);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var CoderRootDirectory=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(117).then(__webpack_require__.bind(null, 4969));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var CoderRootCommit=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(125).then(__webpack_require__.bind(null, 4973));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var CoderRootFileDetail=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(191).then(__webpack_require__.bind(null, 3565));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var CoderRootBranch=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(185).then(__webpack_require__.bind(null, 4974));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var CoderRootIndex=function(_Component){_inherits(CoderRootIndex,_Component);function CoderRootIndex(){_classCallCheck(this,CoderRootIndex);return _possibleConstructorReturn(this,(CoderRootIndex.__proto__||Object.getPrototypeOf(CoderRootIndex)).apply(this,arguments));}_createClass(CoderRootIndex,[{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'main'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/projects/:projectsId/coders/commit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoderRootCommit,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/projects/:projectsId/coders/branch',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoderRootBranch,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/projects/:projectsId/coders',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoderRootDirectory,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/projects/:projectsId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoderRootDirectory,Object.assign({},_this2.props,props,_this2.state));}})));}}]);return CoderRootIndex;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (CoderRootIndex);
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
});
|
|
@ -0,0 +1,83 @@
|
||||||
|
webpackJsonp([32],{
|
||||||
|
|
||||||
|
/***/ 1805:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* harmony export (immutable) */ __webpack_exports__["a"] = ImageLayerOfCommentHOC;
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ImageLayer__ = __webpack_require__(373);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_educoder__ = __webpack_require__(5);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var $=window.$;function ImageLayerOfCommentHOC(){var options=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return function wrap(WrappedComponent){return function(_Component){_inherits(Wrapper,_Component);function Wrapper(props){_classCallCheck(this,Wrapper);var _this=_possibleConstructorReturn(this,(Wrapper.__proto__||Object.getPrototypeOf(Wrapper)).call(this,props));_this.onDelegateClick=function(event){var imageSrc=event.target.src||event.target.getAttribute('src')||event.target.getAttribute('href');// 判断imageSrc是否是图片
|
||||||
|
var fileName=event.target.innerHTML.trim();if(Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["Z" /* isImageExtension */])(imageSrc.trim())||Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["Z" /* isImageExtension */])(fileName)||event.target.tagName=='IMG'){// 非回复里的头像图片; 非emoticons
|
||||||
|
if(imageSrc.indexOf('/images/avatars/User')===-1&&imageSrc.indexOf('kindeditor/plugins/emoticons')===-1){_this.setState({showImage:true,imageSrc:imageSrc});}event.stopPropagation();event.preventDefault&&event.preventDefault();event.originalEvent.preventDefault();// event.originalEvent.stopPropagation()
|
||||||
|
// event.originalEvent.cancelBubble = true
|
||||||
|
return false;}};_this.onImageLayerClose=function(){_this.setState({showImage:false,imageSrc:''});};_this.MdifHasAnchorJustScorll=function(){//mdhash滚动
|
||||||
|
var anchor=decodeURI(_this.props.location.hash).replace('#','');// 对应id的话, 滚动到相应位置
|
||||||
|
if(!!anchor){var anchorElement=document.getElementsByName(anchor);if(anchorElement){if(anchorElement.length!=0){anchorElement[anchorElement.length-1].scrollIntoView();}}}};_this.state={showImage:false,imageSrc:''};return _this;}_createClass(Wrapper,[{key:'componentDidMount',// jQuery._data( $('.newMain')[0], "events" )
|
||||||
|
value:function componentDidMount(){var _this2=this;this.props.wrappedComponentRef&&this.props.wrappedComponentRef(this.refs['wrappedComponentRef']);// commentsDelegateParent #game_left_contents #tab_con_4
|
||||||
|
setTimeout(function(){$(options.parentSelector||".commentsDelegateParent").delegate(options.imgSelector||".J_Comment_Reply .comment_content img, .J_Comment_Reply .childrenCommentsView img","click",_this2.onDelegateClick);},1200);}},{key:'componentWillUnmount',value:function componentWillUnmount(){$(options.parentSelector||".commentsDelegateParent",'click',this.onDelegateClick);}},{key:'render',value:function render(){this.MdifHasAnchorJustScorll();return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1__ImageLayer__["a" /* default */],Object.assign({},this.state,{onImageLayerClose:this.onImageLayerClose})),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(WrappedComponent,Object.assign({},this.props,{ref:'wrappedComponentRef'})));}}]);return Wrapper;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);};}
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 2358:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
||||||
|
|
||||||
|
// load the styles
|
||||||
|
var content = __webpack_require__(4883);
|
||||||
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
||||||
|
// Prepare cssTransformation
|
||||||
|
var transform;
|
||||||
|
|
||||||
|
var options = {"hmr":false}
|
||||||
|
options.transform = transform
|
||||||
|
// add the styles to the DOM
|
||||||
|
var update = __webpack_require__(317)(content, options);
|
||||||
|
if(content.locals) module.exports = content.locals;
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 4883:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
exports = module.exports = __webpack_require__(316)(true);
|
||||||
|
// imports
|
||||||
|
|
||||||
|
|
||||||
|
// module
|
||||||
|
exports.push([module.i, ".newMain{background-color:#fff}.main{width:1200px;margin:20px auto}.normal{width:1200px;margin:0 auto}.back-white{background:#fff}.back-black{background:#000}.btn_32{border-radius:4px;padding:0 12px;height:32px;line-height:32px;background-color:#f4f4f4;color:#666;display:inline-block}@media screen and (max-width:1200px){.main{width:1000px;margin:10px auto}}.hide-1{display:inline-block;white-space:nowrap}.hide-1,.hide-2{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.hide-2{display:inline-block;display:-webkit-box;-webkit-line-clamp:2}.df{display:-ms-flexbox;display:flex}.flex-1{-ms-flex:1 1;flex:1 1;width:0}.f-wrap-between{-ms-flex-pack:justify;justify-content:space-between}.f-wrap-alignCenter,.f-wrap-between{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.f-wrap-alignCenter{-ms-flex-align:center;align-items:center}.normalBox{border-radius:4px;border:1px solid #ddd}.normalBox-title{padding:10px;background-color:#f4f4f4;line-height:18px}.none_panels{text-align:center;height:400px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.none_panels img{margin-bottom:15px}.none_p_title{font-size:16px;color:#999}@media screen and (max-width:1000px){.main{margin:1rem auto}.main,.normal{width:750px}}@media screen and (max-width:750px){.main{width:95%;margin:1rem auto}.normal{width:100%}}", "", {"version":3,"sources":["/Users/hs/forgeplus-react/src/forge/css/index.css"],"names":[],"mappings":"AAAA,SACE,qBAAuB,CACxB,AACD,MACE,aAAc,AACd,gBAAiB,CAClB,AACD,QACE,aAAc,AACd,aAAgB,CACjB,AAED,YACE,eAAiB,CAClB,AACD,YACE,eAAiB,CAClB,AAED,QACE,kBAAmB,AACnB,eAAiB,AACjB,YAAa,AACb,iBAAkB,AAClB,yBAA0B,AAC1B,WAAY,AACZ,oBAAsB,CACvB,AACD,qCACE,MACE,aAAa,AACb,gBAAiB,CAClB,CACF,AAED,QACE,qBAAsB,AAEtB,kBAAoB,CAGrB,AACD,gBALE,gBAAiB,AAEjB,0BAA2B,AACxB,sBAAwB,CAS5B,AAPD,QACE,qBAAsB,AAItB,oBAAqB,AACrB,oBAAsB,CACvB,AAED,IAAI,oBAAqB,YAAa,CAAC,AACvC,QAAQ,aAAc,SAAU,OAAQ,CAAC,AAEzC,gBAKE,sBAAuB,AACnB,6BAA+B,CACpC,AACD,oCAPE,oBAAqB,AACrB,aAAc,AACd,mBAAoB,AAChB,cAAgB,CAWrB,AAPD,oBAKE,sBAAuB,AACnB,kBAAoB,CACzB,AAED,WACE,kBAAmB,AACnB,qBAAsB,CACvB,AACD,iBACE,aAAa,AACb,yBAA0B,AAC1B,gBAAkB,CACnB,AACD,aACE,kBAAmB,AACnB,aAAc,AACd,oBAAqB,AACrB,aAAc,AACd,qBAAsB,AAClB,uBAAwB,AAC5B,sBAAuB,AACnB,kBAAoB,CACzB,AACD,iBACE,kBAAoB,CACrB,AACD,cACE,eAAgB,AAChB,UAAY,CACb,AACD,qCACE,MAEE,gBAAiB,CAClB,AACD,cAHE,WAAa,CAKd,CACF,AACD,oCACE,MACE,UAAW,AACX,gBAAiB,CAClB,AACD,QACE,UAAY,CACb,CACF","file":"index.css","sourcesContent":[".newMain{\n background-color: #fff;\n}\n.main{\n width: 1200px;\n margin:20px auto;\n}\n.normal{\n width: 1200px;\n margin:0px auto;\n}\n/* 背景色 */\n.back-white{\n background: #fff;\n}\n.back-black{\n background: #000;\n}\n/* 灰色按钮-高度32 */\n.btn_32{\n border-radius: 4px;\n padding:0px 12px;\n height: 32px;\n line-height: 32px;\n background-color: #f4f4f4;\n color: #666;\n display: inline-block;\n}\n@media screen and (max-width: 1200px){\n .main{\n width:1000px;\n margin:10px auto;\n }\n}\n\n.hide-1{\n display: inline-block;\n overflow: hidden;\n white-space: nowrap;\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n}\n.hide-2 {\n display: inline-block;\n overflow: hidden;\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n}\n\n.df{display: -ms-flexbox;display: flex}\n.flex-1{-ms-flex: 1 1;flex: 1 1;width: 0}\n\n.f-wrap-between{\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.f-wrap-alignCenter{\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.normalBox{\n border-radius: 4px;\n border:1px solid #ddd;\n}\n.normalBox-title{\n padding:10px;\n background-color: #f4f4f4;\n line-height: 18px;\n}\n.none_panels{\n text-align: center;\n height: 400px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.none_panels img{\n margin-bottom: 15px;\n}\n.none_p_title{\n font-size: 16px;\n color: #999;\n}\n@media screen and (max-width: 1000px){\n .main{\n width: 750px;\n margin:1rem auto;\n }\n .normal{\n width: 750px;\n }\n}\n@media screen and (max-width: 750px){\n .main{\n width: 95%;\n margin:1rem auto;\n }\n .normal{\n width: 100%;\n }\n}"],"sourceRoot":""}]);
|
||||||
|
|
||||||
|
// exports
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 882:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_router_dom__ = __webpack_require__(51);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_router__ = __webpack_require__(77);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_educoder__ = __webpack_require__(5);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__modules_courses_common_CNotificationHOC__ = __webpack_require__(354);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modules_tpm_TPMIndexHOC__ = __webpack_require__(342);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__css_index_css__ = __webpack_require__(2358);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__css_index_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__css_index_css__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_react_loadable__ = __webpack_require__(345);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_react_loadable__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Loading__ = __webpack_require__(344);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__modules_page_layers_ImageLayerOfCommentHOC__ = __webpack_require__(1805);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_axios__ = __webpack_require__(8);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_axios__);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var ProjectNew=__WEBPACK_IMPORTED_MODULE_7_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(135).then(__webpack_require__.bind(null, 4884));},loading:__WEBPACK_IMPORTED_MODULE_8__Loading__["a" /* default */]});var ProjectIndex=__WEBPACK_IMPORTED_MODULE_7_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(166).then(__webpack_require__.bind(null, 4889));},loading:__WEBPACK_IMPORTED_MODULE_8__Loading__["a" /* default */]});var ProjectDetail=__WEBPACK_IMPORTED_MODULE_7_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(190).then(__webpack_require__.bind(null, 4893));},loading:__WEBPACK_IMPORTED_MODULE_8__Loading__["a" /* default */]});var Index=function(_Component){_inherits(Index,_Component);function Index(){_classCallCheck(this,Index);return _possibleConstructorReturn(this,(Index.__proto__||Object.getPrototypeOf(Index)).apply(this,arguments));}_createClass(Index,[{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/projects/:projectsType/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ProjectNew,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/projects/:projectsId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ProjectDetail,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/projects',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ProjectIndex,Object.assign({},_this2.props,props,_this2.state));}})));}}]);return Index;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_2_react_router__["b" /* withRouter */])(Object(__WEBPACK_IMPORTED_MODULE_9__modules_page_layers_ImageLayerOfCommentHOC__["a" /* ImageLayerOfCommentHOC */])({imgSelector:'.imageLayerParent img, .imageLayerParent .imageTarget',parentSelector:'.newMain'})(Object(__WEBPACK_IMPORTED_MODULE_4__modules_courses_common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_3_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_5__modules_tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Index))))));
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
});
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,21 @@
|
||||||
|
webpackJsonp([38],{
|
||||||
|
|
||||||
|
/***/ 898:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_router__ = __webpack_require__(77);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_router_dom__ = __webpack_require__(51);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Loading__ = __webpack_require__(344);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_loadable__ = __webpack_require__(345);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_loadable__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__ = __webpack_require__(342);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_educoder__ = __webpack_require__(5);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var PackageIndex=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(171).then(__webpack_require__.bind(null, 3584));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var Topic_bank=function(_Component){_inherits(Topic_bank,_Component);function Topic_bank(props){_classCallCheck(this,Topic_bank);return _possibleConstructorReturn(this,(Topic_bank.__proto__||Object.getPrototypeOf(Topic_bank)).call(this,props));}_createClass(Topic_bank,[{key:'componentDidMount',value:function componentDidMount(){}},{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["f" /* Switch */],null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/topicbank/:username/:topicstype',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PackageIndex,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/topicbank/:topicstype',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PackageIndex,Object.assign({},_this2.props,props,_this2.state));}})));}}]);return Topic_bank;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_6_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Topic_bank)));
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
});
|
|
@ -0,0 +1,25 @@
|
||||||
|
webpackJsonp([39],{
|
||||||
|
|
||||||
|
/***/ 878:
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_educoder__ = __webpack_require__(5);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_router_dom__ = __webpack_require__(51);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_loadable__ = __webpack_require__(345);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_loadable__);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Loading__ = __webpack_require__(344);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__ = __webpack_require__(342);
|
||||||
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__tpm_NewFooter__ = __webpack_require__(400);
|
||||||
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var PathsDetail=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(96).then(__webpack_require__.bind(null, 4721));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var PathsNew=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(276).then(__webpack_require__.bind(null, 4736));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});// const Statistics = Loadable({
|
||||||
|
// loader: () => import('./SchoolStatistics/Statistics'),
|
||||||
|
// loading:Loading
|
||||||
|
// })
|
||||||
|
var Statistics=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(118).then(__webpack_require__.bind(null, 4737));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var ShixunPaths=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(148).then(__webpack_require__.bind(null, 4741));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var Index=function(_Component){_inherits(Index,_Component);function Index(props){_classCallCheck(this,Index);return _possibleConstructorReturn(this,(Index.__proto__||Object.getPrototypeOf(Index)).call(this,props));}_createClass(Index,[{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],Object.assign({path:'/paths/:pathId/statistics',component:Statistics},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/paths/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PathsNew,Object.assign({},_this2.props,_this2.state,props));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/paths/:pathId/edit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PathsNew,Object.assign({},_this2.props,_this2.state,props));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/paths/:pathId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PathsDetail,Object.assign({},_this2.props,_this2.state,props));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/paths',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunPaths,Object.assign({},_this2.props,_this2.state,props));}})));}}]);return Index;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_1_educoder__["d" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_1_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Index))));
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue