修改部分问题

This commit is contained in:
sylor_huang@126.com 2020-04-13 17:46:25 +08:00
parent a977e559b9
commit f3c6de3a59
159 changed files with 3213775 additions and 155 deletions

View File

@ -242,6 +242,35 @@ class PullRequestsController < ApplicationController
end
def simple_update
ActiveRecord::Base.transaction do
begin
issue_params = {
assigned_to_id: params[:assigned_to_id].to_s,
fixed_version_id: params[:fixed_version_id],
issue_tags_value: params[:issue_tag_ids].present? ? params[:issue_tag_ids].join(",") : "",
}
if params[:issue_tag_ids].present? && !@issue&.issue_tags_relates.where(issue_tag_id: params[:issue_tag_ids]).exists?
@issue&.issue_tags_relates&.destroy_all
params[:issue_tag_ids].each do |tag|
IssueTagsRelate.create(issue_id: @issue.id, issue_tag_id: tag)
end
end
if @issue.update_attributes(issue_params)
normal_status(0, "PullRequest更新成功")
else
normal_status(-1, "PullRequest更新成功")
end
rescue => e
normal_status(-1, e.message)
raise ActiveRecord::Rollback
end
end
end
def show
@user_permission = current_user.present? && current_user.logged? && (!@issue.is_lock || @project.member?(current_user) || current_user.admin? || @issue.user == current_user)
@issue_attachments = @issue.attachments

View File

@ -56,6 +56,7 @@ Rails.application.routes.draw do
member do
post :pr_merge
post :check_merge
post :simple_update
end
collection do
post :check_can_merge

View File

@ -1,152 +1,152 @@
{
"./static/js/0.0cdb6fe3.chunk.js": "./static/js/0.0cdb6fe3.chunk.js",
"./static/js/1.4c97d114.chunk.js": "./static/js/1.4c97d114.chunk.js",
"./static/js/10.dbe92874.chunk.js": "./static/js/10.dbe92874.chunk.js",
"./static/js/0.dacc2220.chunk.js": "./static/js/0.dacc2220.chunk.js",
"./static/js/1.9cf72b3b.chunk.js": "./static/js/1.9cf72b3b.chunk.js",
"./static/js/10.1db812a1.chunk.js": "./static/js/10.1db812a1.chunk.js",
"./static/js/100.f1bc2a7b.chunk.js": "./static/js/100.f1bc2a7b.chunk.js",
"./static/js/101.9ef328b2.chunk.js": "./static/js/101.9ef328b2.chunk.js",
"./static/js/101.8dce6e7f.chunk.js": "./static/js/101.8dce6e7f.chunk.js",
"./static/js/102.1b9c5733.chunk.js": "./static/js/102.1b9c5733.chunk.js",
"./static/js/103.96cbd560.chunk.js": "./static/js/103.96cbd560.chunk.js",
"./static/js/104.843cc8eb.chunk.js": "./static/js/104.843cc8eb.chunk.js",
"./static/js/105.9a14aaa5.chunk.js": "./static/js/105.9a14aaa5.chunk.js",
"./static/js/104.9963ad2e.chunk.js": "./static/js/104.9963ad2e.chunk.js",
"./static/js/105.1eba90e3.chunk.js": "./static/js/105.1eba90e3.chunk.js",
"./static/js/106.1b5b3d30.chunk.js": "./static/js/106.1b5b3d30.chunk.js",
"./static/js/107.d0b81cfc.chunk.js": "./static/js/107.d0b81cfc.chunk.js",
"./static/js/107.cd80fc99.chunk.js": "./static/js/107.cd80fc99.chunk.js",
"./static/js/108.ea1315c8.chunk.js": "./static/js/108.ea1315c8.chunk.js",
"./static/js/109.6c7205b2.chunk.js": "./static/js/109.6c7205b2.chunk.js",
"./static/js/11.37c10927.chunk.js": "./static/js/11.37c10927.chunk.js",
"./static/js/11.3acd0087.chunk.js": "./static/js/11.3acd0087.chunk.js",
"./static/js/110.4510bead.chunk.js": "./static/js/110.4510bead.chunk.js",
"./static/js/111.861646d1.chunk.js": "./static/js/111.861646d1.chunk.js",
"./static/js/112.c56f972e.chunk.js": "./static/js/112.c56f972e.chunk.js",
"./static/js/112.fa01210e.chunk.js": "./static/js/112.fa01210e.chunk.js",
"./static/js/113.bbae6c53.chunk.js": "./static/js/113.bbae6c53.chunk.js",
"./static/js/114.43a6af75.chunk.js": "./static/js/114.43a6af75.chunk.js",
"./static/js/115.7bbbfa68.chunk.js": "./static/js/115.7bbbfa68.chunk.js",
"./static/js/116.e8c402de.chunk.js": "./static/js/116.e8c402de.chunk.js",
"./static/js/117.87cfc640.chunk.js": "./static/js/117.87cfc640.chunk.js",
"./static/js/118.4123fb7e.chunk.js": "./static/js/118.4123fb7e.chunk.js",
"./static/js/119.6188d79f.chunk.js": "./static/js/119.6188d79f.chunk.js",
"./static/js/12.089c2535.chunk.js": "./static/js/12.089c2535.chunk.js",
"./static/js/120.142d64b1.chunk.js": "./static/js/120.142d64b1.chunk.js",
"./static/js/121.423a0869.chunk.js": "./static/js/121.423a0869.chunk.js",
"./static/js/122.977fc171.chunk.js": "./static/js/122.977fc171.chunk.js",
"./static/js/123.1b2fa8cb.chunk.js": "./static/js/123.1b2fa8cb.chunk.js",
"./static/js/124.74f4634b.chunk.js": "./static/js/124.74f4634b.chunk.js",
"./static/js/118.a5bb1a41.chunk.js": "./static/js/118.a5bb1a41.chunk.js",
"./static/js/119.bdf84216.chunk.js": "./static/js/119.bdf84216.chunk.js",
"./static/js/12.dac67207.chunk.js": "./static/js/12.dac67207.chunk.js",
"./static/js/120.45d42839.chunk.js": "./static/js/120.45d42839.chunk.js",
"./static/js/121.934178ca.chunk.js": "./static/js/121.934178ca.chunk.js",
"./static/js/122.84598fd4.chunk.js": "./static/js/122.84598fd4.chunk.js",
"./static/js/123.e08c5628.chunk.js": "./static/js/123.e08c5628.chunk.js",
"./static/js/124.6efbade4.chunk.js": "./static/js/124.6efbade4.chunk.js",
"./static/js/125.f1265e17.chunk.js": "./static/js/125.f1265e17.chunk.js",
"./static/js/126.de17cfd7.chunk.js": "./static/js/126.de17cfd7.chunk.js",
"./static/js/127.9f6432b6.chunk.js": "./static/js/127.9f6432b6.chunk.js",
"./static/js/128.682f1651.chunk.js": "./static/js/128.682f1651.chunk.js",
"./static/js/126.31955392.chunk.js": "./static/js/126.31955392.chunk.js",
"./static/js/127.2490049e.chunk.js": "./static/js/127.2490049e.chunk.js",
"./static/js/128.9f53154c.chunk.js": "./static/js/128.9f53154c.chunk.js",
"./static/js/129.1833b0ab.chunk.js": "./static/js/129.1833b0ab.chunk.js",
"./static/js/13.372d14b5.chunk.js": "./static/js/13.372d14b5.chunk.js",
"./static/js/130.b68ee2e0.chunk.js": "./static/js/130.b68ee2e0.chunk.js",
"./static/js/131.91688fad.chunk.js": "./static/js/131.91688fad.chunk.js",
"./static/js/132.e8d8bac5.chunk.js": "./static/js/132.e8d8bac5.chunk.js",
"./static/js/130.5feacaa1.chunk.js": "./static/js/130.5feacaa1.chunk.js",
"./static/js/131.f24a5827.chunk.js": "./static/js/131.f24a5827.chunk.js",
"./static/js/132.7d629cd1.chunk.js": "./static/js/132.7d629cd1.chunk.js",
"./static/js/133.32f62338.chunk.js": "./static/js/133.32f62338.chunk.js",
"./static/js/134.e7d05767.chunk.js": "./static/js/134.e7d05767.chunk.js",
"./static/js/135.d1fb4cfb.chunk.js": "./static/js/135.d1fb4cfb.chunk.js",
"./static/js/134.a6be5f8a.chunk.js": "./static/js/134.a6be5f8a.chunk.js",
"./static/js/135.16cbd1cb.chunk.js": "./static/js/135.16cbd1cb.chunk.js",
"./static/js/136.745269b6.chunk.js": "./static/js/136.745269b6.chunk.js",
"./static/js/137.8e54480c.chunk.js": "./static/js/137.8e54480c.chunk.js",
"./static/js/138.a63c1969.chunk.js": "./static/js/138.a63c1969.chunk.js",
"./static/js/139.70afdf02.chunk.js": "./static/js/139.70afdf02.chunk.js",
"./static/js/14.14c516b2.chunk.js": "./static/js/14.14c516b2.chunk.js",
"./static/js/137.3f917c0e.chunk.js": "./static/js/137.3f917c0e.chunk.js",
"./static/js/138.c0157542.chunk.js": "./static/js/138.c0157542.chunk.js",
"./static/js/139.aa5ef293.chunk.js": "./static/js/139.aa5ef293.chunk.js",
"./static/js/14.1c61e5c9.chunk.js": "./static/js/14.1c61e5c9.chunk.js",
"./static/js/140.37fc643b.chunk.js": "./static/js/140.37fc643b.chunk.js",
"./static/js/141.645c893b.chunk.js": "./static/js/141.645c893b.chunk.js",
"./static/js/142.0838355d.chunk.js": "./static/js/142.0838355d.chunk.js",
"./static/js/143.c73bf51b.chunk.js": "./static/js/143.c73bf51b.chunk.js",
"./static/js/144.b798b90a.chunk.js": "./static/js/144.b798b90a.chunk.js",
"./static/js/142.1e42f85b.chunk.js": "./static/js/142.1e42f85b.chunk.js",
"./static/js/143.c6a85285.chunk.js": "./static/js/143.c6a85285.chunk.js",
"./static/js/144.8d86d443.chunk.js": "./static/js/144.8d86d443.chunk.js",
"./static/js/145.7579e24f.chunk.js": "./static/js/145.7579e24f.chunk.js",
"./static/js/146.93d5d02d.chunk.js": "./static/js/146.93d5d02d.chunk.js",
"./static/js/147.810b04c4.chunk.js": "./static/js/147.810b04c4.chunk.js",
"./static/js/148.b77bd9e4.chunk.js": "./static/js/148.b77bd9e4.chunk.js",
"./static/js/149.9dcd14ee.chunk.js": "./static/js/149.9dcd14ee.chunk.js",
"./static/js/15.ef10e1a1.chunk.js": "./static/js/15.ef10e1a1.chunk.js",
"./static/js/150.f6bce300.chunk.js": "./static/js/150.f6bce300.chunk.js",
"./static/js/148.cf2763eb.chunk.js": "./static/js/148.cf2763eb.chunk.js",
"./static/js/149.8b10e1db.chunk.js": "./static/js/149.8b10e1db.chunk.js",
"./static/js/15.56305174.chunk.js": "./static/js/15.56305174.chunk.js",
"./static/js/150.6ee35221.chunk.js": "./static/js/150.6ee35221.chunk.js",
"./static/js/151.5772314d.chunk.js": "./static/js/151.5772314d.chunk.js",
"./static/js/152.3530d5e0.chunk.js": "./static/js/152.3530d5e0.chunk.js",
"./static/js/153.1d5599bb.chunk.js": "./static/js/153.1d5599bb.chunk.js",
"./static/js/153.aefe03e0.chunk.js": "./static/js/153.aefe03e0.chunk.js",
"./static/js/154.8821c871.chunk.js": "./static/js/154.8821c871.chunk.js",
"./static/js/155.86c89269.chunk.js": "./static/js/155.86c89269.chunk.js",
"./static/js/156.a55cd589.chunk.js": "./static/js/156.a55cd589.chunk.js",
"./static/js/157.0756810d.chunk.js": "./static/js/157.0756810d.chunk.js",
"./static/js/158.0860c509.chunk.js": "./static/js/158.0860c509.chunk.js",
"./static/js/159.09de649c.chunk.js": "./static/js/159.09de649c.chunk.js",
"./static/js/16.251af995.chunk.js": "./static/js/16.251af995.chunk.js",
"./static/js/160.e1acd47a.chunk.js": "./static/js/160.e1acd47a.chunk.js",
"./static/js/161.80e7eca6.chunk.js": "./static/js/161.80e7eca6.chunk.js",
"./static/js/162.d2c21880.chunk.js": "./static/js/162.d2c21880.chunk.js",
"./static/js/163.690b1162.chunk.js": "./static/js/163.690b1162.chunk.js",
"./static/js/16.2de644a4.chunk.js": "./static/js/16.2de644a4.chunk.js",
"./static/js/160.80cd9280.chunk.js": "./static/js/160.80cd9280.chunk.js",
"./static/js/161.a10830d5.chunk.js": "./static/js/161.a10830d5.chunk.js",
"./static/js/162.aa7d3cb2.chunk.js": "./static/js/162.aa7d3cb2.chunk.js",
"./static/js/163.f20c9c4a.chunk.js": "./static/js/163.f20c9c4a.chunk.js",
"./static/js/164.2da0fdc2.chunk.js": "./static/js/164.2da0fdc2.chunk.js",
"./static/js/165.ef2d43f1.chunk.js": "./static/js/165.ef2d43f1.chunk.js",
"./static/js/166.a0941851.chunk.js": "./static/js/166.a0941851.chunk.js",
"./static/js/167.7ad276f7.chunk.js": "./static/js/167.7ad276f7.chunk.js",
"./static/js/165.1b121093.chunk.js": "./static/js/165.1b121093.chunk.js",
"./static/js/166.57b4933e.chunk.js": "./static/js/166.57b4933e.chunk.js",
"./static/js/167.6ec24443.chunk.js": "./static/js/167.6ec24443.chunk.js",
"./static/js/168.ef674622.chunk.js": "./static/js/168.ef674622.chunk.js",
"./static/js/169.903262c2.chunk.js": "./static/js/169.903262c2.chunk.js",
"./static/js/17.2d15c26d.chunk.js": "./static/js/17.2d15c26d.chunk.js",
"./static/js/170.75c220b9.chunk.js": "./static/js/170.75c220b9.chunk.js",
"./static/js/171.c936e3a4.chunk.js": "./static/js/171.c936e3a4.chunk.js",
"./static/js/169.3f23df6d.chunk.js": "./static/js/169.3f23df6d.chunk.js",
"./static/js/17.c8ce3397.chunk.js": "./static/js/17.c8ce3397.chunk.js",
"./static/js/170.de42e97b.chunk.js": "./static/js/170.de42e97b.chunk.js",
"./static/js/171.78b481ff.chunk.js": "./static/js/171.78b481ff.chunk.js",
"./static/js/172.e39cc8a1.chunk.js": "./static/js/172.e39cc8a1.chunk.js",
"./static/js/173.1549fd57.chunk.js": "./static/js/173.1549fd57.chunk.js",
"./static/js/174.1bb14717.chunk.js": "./static/js/174.1bb14717.chunk.js",
"./static/js/174.91ac22b3.chunk.js": "./static/js/174.91ac22b3.chunk.js",
"./static/js/175.17b2c1ba.chunk.js": "./static/js/175.17b2c1ba.chunk.js",
"./static/js/176.b3f0933c.chunk.js": "./static/js/176.b3f0933c.chunk.js",
"./static/js/177.580a6d15.chunk.js": "./static/js/177.580a6d15.chunk.js",
"./static/js/178.e5109246.chunk.js": "./static/js/178.e5109246.chunk.js",
"./static/js/179.da4bde30.chunk.js": "./static/js/179.da4bde30.chunk.js",
"./static/js/18.2b92719b.chunk.js": "./static/js/18.2b92719b.chunk.js",
"./static/js/180.fc648be9.chunk.js": "./static/js/180.fc648be9.chunk.js",
"./static/js/181.ad8c1318.chunk.js": "./static/js/181.ad8c1318.chunk.js",
"./static/js/182.5a184edd.chunk.js": "./static/js/182.5a184edd.chunk.js",
"./static/js/183.11ab2730.chunk.js": "./static/js/183.11ab2730.chunk.js",
"./static/js/184.0f94c797.chunk.js": "./static/js/184.0f94c797.chunk.js",
"./static/js/177.3c4fa83e.chunk.js": "./static/js/177.3c4fa83e.chunk.js",
"./static/js/178.1be7f9e6.chunk.js": "./static/js/178.1be7f9e6.chunk.js",
"./static/js/179.749d573c.chunk.js": "./static/js/179.749d573c.chunk.js",
"./static/js/18.e02d8e15.chunk.js": "./static/js/18.e02d8e15.chunk.js",
"./static/js/180.9c58ccd5.chunk.js": "./static/js/180.9c58ccd5.chunk.js",
"./static/js/181.4480167b.chunk.js": "./static/js/181.4480167b.chunk.js",
"./static/js/182.f5d43c9c.chunk.js": "./static/js/182.f5d43c9c.chunk.js",
"./static/js/183.5258d0af.chunk.js": "./static/js/183.5258d0af.chunk.js",
"./static/js/184.8c7442f9.chunk.js": "./static/js/184.8c7442f9.chunk.js",
"./static/js/185.36a63b95.chunk.js": "./static/js/185.36a63b95.chunk.js",
"./static/js/186.8aa69200.chunk.js": "./static/js/186.8aa69200.chunk.js",
"./static/js/187.4b9275a3.chunk.js": "./static/js/187.4b9275a3.chunk.js",
"./static/js/186.eab6f0e9.chunk.js": "./static/js/186.eab6f0e9.chunk.js",
"./static/js/187.5b7c5824.chunk.js": "./static/js/187.5b7c5824.chunk.js",
"./static/js/188.c65b6379.chunk.js": "./static/js/188.c65b6379.chunk.js",
"./static/js/189.3d85634b.chunk.js": "./static/js/189.3d85634b.chunk.js",
"./static/js/19.62697e3c.chunk.js": "./static/js/19.62697e3c.chunk.js",
"./static/js/189.3e2652ca.chunk.js": "./static/js/189.3e2652ca.chunk.js",
"./static/js/19.5d5a3b43.chunk.js": "./static/js/19.5d5a3b43.chunk.js",
"./static/js/190.36949d03.chunk.js": "./static/js/190.36949d03.chunk.js",
"./static/js/191.edde9928.chunk.js": "./static/js/191.edde9928.chunk.js",
"./static/js/192.7f2b0310.chunk.js": "./static/js/192.7f2b0310.chunk.js",
"./static/js/193.672bb71f.chunk.js": "./static/js/193.672bb71f.chunk.js",
"./static/js/194.c942b23e.chunk.js": "./static/js/194.c942b23e.chunk.js",
"./static/js/195.718bd088.chunk.js": "./static/js/195.718bd088.chunk.js",
"./static/js/196.ec8f5dce.chunk.js": "./static/js/196.ec8f5dce.chunk.js",
"./static/js/197.8d14acf8.chunk.js": "./static/js/197.8d14acf8.chunk.js",
"./static/js/198.0d4ab996.chunk.js": "./static/js/198.0d4ab996.chunk.js",
"./static/js/199.07534112.chunk.js": "./static/js/199.07534112.chunk.js",
"./static/js/2.c979254f.chunk.js": "./static/js/2.c979254f.chunk.js",
"./static/js/191.9d44d5c9.chunk.js": "./static/js/191.9d44d5c9.chunk.js",
"./static/js/192.e1693dea.chunk.js": "./static/js/192.e1693dea.chunk.js",
"./static/js/193.2619dbc7.chunk.js": "./static/js/193.2619dbc7.chunk.js",
"./static/js/194.ae17b65a.chunk.js": "./static/js/194.ae17b65a.chunk.js",
"./static/js/195.51f67fed.chunk.js": "./static/js/195.51f67fed.chunk.js",
"./static/js/196.615ea830.chunk.js": "./static/js/196.615ea830.chunk.js",
"./static/js/197.b3eb1c30.chunk.js": "./static/js/197.b3eb1c30.chunk.js",
"./static/js/198.c7683a5e.chunk.js": "./static/js/198.c7683a5e.chunk.js",
"./static/js/199.2faa6693.chunk.js": "./static/js/199.2faa6693.chunk.js",
"./static/js/2.714b856c.chunk.js": "./static/js/2.714b856c.chunk.js",
"./static/js/20.a8062e1c.chunk.js": "./static/js/20.a8062e1c.chunk.js",
"./static/js/200.77a511e3.chunk.js": "./static/js/200.77a511e3.chunk.js",
"./static/js/201.64e7862b.chunk.js": "./static/js/201.64e7862b.chunk.js",
"./static/js/202.9b09116b.chunk.js": "./static/js/202.9b09116b.chunk.js",
"./static/js/203.4b46e3c8.chunk.js": "./static/js/203.4b46e3c8.chunk.js",
"./static/js/204.c6676a60.chunk.js": "./static/js/204.c6676a60.chunk.js",
"./static/js/205.a78930f3.chunk.js": "./static/js/205.a78930f3.chunk.js",
"./static/js/200.9e081ac5.chunk.js": "./static/js/200.9e081ac5.chunk.js",
"./static/js/201.72e20bd9.chunk.js": "./static/js/201.72e20bd9.chunk.js",
"./static/js/202.3ccf54f7.chunk.js": "./static/js/202.3ccf54f7.chunk.js",
"./static/js/203.9856bd86.chunk.js": "./static/js/203.9856bd86.chunk.js",
"./static/js/204.8d020827.chunk.js": "./static/js/204.8d020827.chunk.js",
"./static/js/205.a1e6f477.chunk.js": "./static/js/205.a1e6f477.chunk.js",
"./static/js/206.fad3b5ad.chunk.js": "./static/js/206.fad3b5ad.chunk.js",
"./static/js/207.5a2eabce.chunk.js": "./static/js/207.5a2eabce.chunk.js",
"./static/js/208.5bd27912.chunk.js": "./static/js/208.5bd27912.chunk.js",
"./static/js/209.4f6b1d15.chunk.js": "./static/js/209.4f6b1d15.chunk.js",
"./static/js/21.fb453d30.chunk.js": "./static/js/21.fb453d30.chunk.js",
"./static/js/207.6f920c94.chunk.js": "./static/js/207.6f920c94.chunk.js",
"./static/js/208.f6086870.chunk.js": "./static/js/208.f6086870.chunk.js",
"./static/js/209.02aaeaf0.chunk.js": "./static/js/209.02aaeaf0.chunk.js",
"./static/js/21.bddfe988.chunk.js": "./static/js/21.bddfe988.chunk.js",
"./static/js/210.412c2c8b.chunk.js": "./static/js/210.412c2c8b.chunk.js",
"./static/js/211.8099ba87.chunk.js": "./static/js/211.8099ba87.chunk.js",
"./static/js/212.a69aad47.chunk.js": "./static/js/212.a69aad47.chunk.js",
"./static/js/213.3f51b710.chunk.js": "./static/js/213.3f51b710.chunk.js",
"./static/js/214.f979f857.chunk.js": "./static/js/214.f979f857.chunk.js",
"./static/js/211.37b8fcb7.chunk.js": "./static/js/211.37b8fcb7.chunk.js",
"./static/js/212.126db150.chunk.js": "./static/js/212.126db150.chunk.js",
"./static/js/213.2d5ea647.chunk.js": "./static/js/213.2d5ea647.chunk.js",
"./static/js/214.6ac3e69e.chunk.js": "./static/js/214.6ac3e69e.chunk.js",
"./static/js/215.a4983f40.chunk.js": "./static/js/215.a4983f40.chunk.js",
"./static/js/216.d830bb8f.chunk.js": "./static/js/216.d830bb8f.chunk.js",
"./static/js/216.444f281d.chunk.js": "./static/js/216.444f281d.chunk.js",
"./static/js/217.d6bd4afe.chunk.js": "./static/js/217.d6bd4afe.chunk.js",
"./static/js/218.78d0ed46.chunk.js": "./static/js/218.78d0ed46.chunk.js",
"./static/js/219.cc13fc75.chunk.js": "./static/js/219.cc13fc75.chunk.js",
"./static/js/22.a4d68b3c.chunk.js": "./static/js/22.a4d68b3c.chunk.js",
"./static/js/220.2decb827.chunk.js": "./static/js/220.2decb827.chunk.js",
"./static/js/219.faa66960.chunk.js": "./static/js/219.faa66960.chunk.js",
"./static/js/22.b33c68fe.chunk.js": "./static/js/22.b33c68fe.chunk.js",
"./static/js/220.1f946316.chunk.js": "./static/js/220.1f946316.chunk.js",
"./static/js/221.62bdf7e3.chunk.js": "./static/js/221.62bdf7e3.chunk.js",
"./static/js/222.c5065aea.chunk.js": "./static/js/222.c5065aea.chunk.js",
"./static/js/223.742598c7.chunk.js": "./static/js/223.742598c7.chunk.js",
"./static/js/224.db537ed4.chunk.js": "./static/js/224.db537ed4.chunk.js",
"./static/js/225.748cafa3.chunk.js": "./static/js/225.748cafa3.chunk.js",
"./static/js/226.ef9f7dc6.chunk.js": "./static/js/226.ef9f7dc6.chunk.js",
"./static/js/224.0a3c5cda.chunk.js": "./static/js/224.0a3c5cda.chunk.js",
"./static/js/225.30e2c482.chunk.js": "./static/js/225.30e2c482.chunk.js",
"./static/js/226.bf618fd2.chunk.js": "./static/js/226.bf618fd2.chunk.js",
"./static/js/227.edf63b3f.chunk.js": "./static/js/227.edf63b3f.chunk.js",
"./static/js/228.aa20a90d.chunk.js": "./static/js/228.aa20a90d.chunk.js",
"./static/js/229.f8750c29.chunk.js": "./static/js/229.f8750c29.chunk.js",
"./static/js/23.8311aa87.chunk.js": "./static/js/23.8311aa87.chunk.js",
"./static/js/230.5606e625.chunk.js": "./static/js/230.5606e625.chunk.js",
"./static/js/228.5371aa47.chunk.js": "./static/js/228.5371aa47.chunk.js",
"./static/js/229.cea57269.chunk.js": "./static/js/229.cea57269.chunk.js",
"./static/js/23.5a2e9707.chunk.js": "./static/js/23.5a2e9707.chunk.js",
"./static/js/230.fbb2d332.chunk.js": "./static/js/230.fbb2d332.chunk.js",
"./static/js/231.c8e19a5c.chunk.js": "./static/js/231.c8e19a5c.chunk.js",
"./static/js/232.2c1caebe.chunk.js": "./static/js/232.2c1caebe.chunk.js",
"./static/js/233.9becc7e5.chunk.js": "./static/js/233.9becc7e5.chunk.js",
@ -156,7 +156,7 @@
"./static/js/237.863baf46.chunk.js": "./static/js/237.863baf46.chunk.js",
"./static/js/238.27bd87a6.chunk.js": "./static/js/238.27bd87a6.chunk.js",
"./static/js/239.fb695bca.chunk.js": "./static/js/239.fb695bca.chunk.js",
"./static/js/24.8d2dd0d3.chunk.js": "./static/js/24.8d2dd0d3.chunk.js",
"./static/js/24.0c3031c3.chunk.js": "./static/js/24.0c3031c3.chunk.js",
"./static/js/240.5e3c1b60.chunk.js": "./static/js/240.5e3c1b60.chunk.js",
"./static/js/241.f845d662.chunk.js": "./static/js/241.f845d662.chunk.js",
"./static/js/242.6b401083.chunk.js": "./static/js/242.6b401083.chunk.js",
@ -167,7 +167,7 @@
"./static/js/247.b63b9b48.chunk.js": "./static/js/247.b63b9b48.chunk.js",
"./static/js/248.40866bc1.chunk.js": "./static/js/248.40866bc1.chunk.js",
"./static/js/249.04bf2c05.chunk.js": "./static/js/249.04bf2c05.chunk.js",
"./static/js/25.757e2685.chunk.js": "./static/js/25.757e2685.chunk.js",
"./static/js/25.24413743.chunk.js": "./static/js/25.24413743.chunk.js",
"./static/js/250.35881f89.chunk.js": "./static/js/250.35881f89.chunk.js",
"./static/js/251.f1f5e7d2.chunk.js": "./static/js/251.f1f5e7d2.chunk.js",
"./static/js/252.072c40f8.chunk.js": "./static/js/252.072c40f8.chunk.js",
@ -178,7 +178,7 @@
"./static/js/257.c979bdfb.chunk.js": "./static/js/257.c979bdfb.chunk.js",
"./static/js/258.c23785f4.chunk.js": "./static/js/258.c23785f4.chunk.js",
"./static/js/259.b16028a6.chunk.js": "./static/js/259.b16028a6.chunk.js",
"./static/js/26.6a28f2a7.chunk.js": "./static/js/26.6a28f2a7.chunk.js",
"./static/js/26.aa298283.chunk.js": "./static/js/26.aa298283.chunk.js",
"./static/js/260.9ec9f132.chunk.js": "./static/js/260.9ec9f132.chunk.js",
"./static/js/261.5a41d904.chunk.js": "./static/js/261.5a41d904.chunk.js",
"./static/js/262.2ce44a70.chunk.js": "./static/js/262.2ce44a70.chunk.js",
@ -198,92 +198,92 @@
"./static/js/275.98ec42af.chunk.js": "./static/js/275.98ec42af.chunk.js",
"./static/js/276.5a6f5fe3.chunk.js": "./static/js/276.5a6f5fe3.chunk.js",
"./static/js/277.2561e854.chunk.js": "./static/js/277.2561e854.chunk.js",
"./static/js/278.380810fd.chunk.js": "./static/js/278.380810fd.chunk.js",
"./static/js/279.17939ce9.chunk.js": "./static/js/279.17939ce9.chunk.js",
"./static/js/28.4a635c25.chunk.js": "./static/js/28.4a635c25.chunk.js",
"./static/js/280.f15c7b6a.chunk.js": "./static/js/280.f15c7b6a.chunk.js",
"./static/js/278.d6eba546.chunk.js": "./static/js/278.d6eba546.chunk.js",
"./static/js/279.7cbf8af3.chunk.js": "./static/js/279.7cbf8af3.chunk.js",
"./static/js/28.0220f58b.chunk.js": "./static/js/28.0220f58b.chunk.js",
"./static/js/280.f0949587.chunk.js": "./static/js/280.f0949587.chunk.js",
"./static/js/281.0dda560f.chunk.js": "./static/js/281.0dda560f.chunk.js",
"./static/js/282.ce2dc8d4.chunk.js": "./static/js/282.ce2dc8d4.chunk.js",
"./static/js/282.b279f862.chunk.js": "./static/js/282.b279f862.chunk.js",
"./static/js/29.5fa5b825.chunk.js": "./static/js/29.5fa5b825.chunk.js",
"./static/js/3.84a074fa.chunk.js": "./static/js/3.84a074fa.chunk.js",
"./static/js/30.cd4effdb.chunk.js": "./static/js/30.cd4effdb.chunk.js",
"./static/js/31.c5784223.chunk.js": "./static/js/31.c5784223.chunk.js",
"./static/js/3.872344f3.chunk.js": "./static/js/3.872344f3.chunk.js",
"./static/js/30.c4fa564a.chunk.js": "./static/js/30.c4fa564a.chunk.js",
"./static/js/31.bc98b78a.chunk.js": "./static/js/31.bc98b78a.chunk.js",
"./static/js/32.2e8e09f9.chunk.js": "./static/js/32.2e8e09f9.chunk.js",
"./static/js/33.39a68896.chunk.js": "./static/js/33.39a68896.chunk.js",
"./static/js/34.a6d64262.chunk.js": "./static/js/34.a6d64262.chunk.js",
"./static/js/35.7c22ff3d.chunk.js": "./static/js/35.7c22ff3d.chunk.js",
"./static/js/36.28d226cf.chunk.js": "./static/js/36.28d226cf.chunk.js",
"./static/js/37.b78777f9.chunk.js": "./static/js/37.b78777f9.chunk.js",
"./static/js/33.076176ee.chunk.js": "./static/js/33.076176ee.chunk.js",
"./static/js/34.a65434e3.chunk.js": "./static/js/34.a65434e3.chunk.js",
"./static/js/35.a7fc2e34.chunk.js": "./static/js/35.a7fc2e34.chunk.js",
"./static/js/36.c10a153d.chunk.js": "./static/js/36.c10a153d.chunk.js",
"./static/js/37.d3bdbb5f.chunk.js": "./static/js/37.d3bdbb5f.chunk.js",
"./static/js/38.010f78e5.chunk.js": "./static/js/38.010f78e5.chunk.js",
"./static/js/39.4376f272.chunk.js": "./static/js/39.4376f272.chunk.js",
"./static/js/4.e45e36b6.chunk.js": "./static/js/4.e45e36b6.chunk.js",
"./static/js/4.948a9c90.chunk.js": "./static/js/4.948a9c90.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/42.a936197f.chunk.js": "./static/js/42.a936197f.chunk.js",
"./static/js/42.be43f9dc.chunk.js": "./static/js/42.be43f9dc.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/45.92ec57ab.chunk.js": "./static/js/45.92ec57ab.chunk.js",
"./static/js/46.d665cd43.chunk.js": "./static/js/46.d665cd43.chunk.js",
"./static/js/46.a14757e3.chunk.js": "./static/js/46.a14757e3.chunk.js",
"./static/js/47.e0c840f4.chunk.js": "./static/js/47.e0c840f4.chunk.js",
"./static/js/48.0a796345.chunk.js": "./static/js/48.0a796345.chunk.js",
"./static/js/49.2dce406b.chunk.js": "./static/js/49.2dce406b.chunk.js",
"./static/js/5.8e57a1c7.chunk.js": "./static/js/5.8e57a1c7.chunk.js",
"./static/js/5.99b18bfc.chunk.js": "./static/js/5.99b18bfc.chunk.js",
"./static/js/50.40a9fae5.chunk.js": "./static/js/50.40a9fae5.chunk.js",
"./static/js/51.c58c0784.chunk.js": "./static/js/51.c58c0784.chunk.js",
"./static/js/52.6a95427d.chunk.js": "./static/js/52.6a95427d.chunk.js",
"./static/js/52.77c89a08.chunk.js": "./static/js/52.77c89a08.chunk.js",
"./static/js/53.977ddfee.chunk.js": "./static/js/53.977ddfee.chunk.js",
"./static/js/54.b63fc3f3.chunk.js": "./static/js/54.b63fc3f3.chunk.js",
"./static/js/55.1a7eb9d6.chunk.js": "./static/js/55.1a7eb9d6.chunk.js",
"./static/js/56.e81609c9.chunk.js": "./static/js/56.e81609c9.chunk.js",
"./static/js/57.77d1ac6c.chunk.js": "./static/js/57.77d1ac6c.chunk.js",
"./static/js/57.1dee2dec.chunk.js": "./static/js/57.1dee2dec.chunk.js",
"./static/js/58.d91e943d.chunk.js": "./static/js/58.d91e943d.chunk.js",
"./static/js/59.423c3e11.chunk.js": "./static/js/59.423c3e11.chunk.js",
"./static/js/6.04df9675.chunk.js": "./static/js/6.04df9675.chunk.js",
"./static/js/60.72cca16c.chunk.js": "./static/js/60.72cca16c.chunk.js",
"./static/js/60.2512fc37.chunk.js": "./static/js/60.2512fc37.chunk.js",
"./static/js/61.94141d29.chunk.js": "./static/js/61.94141d29.chunk.js",
"./static/js/62.b9c777b5.chunk.js": "./static/js/62.b9c777b5.chunk.js",
"./static/js/63.0d3f68d9.chunk.js": "./static/js/63.0d3f68d9.chunk.js",
"./static/js/63.09372357.chunk.js": "./static/js/63.09372357.chunk.js",
"./static/js/64.127c318f.chunk.js": "./static/js/64.127c318f.chunk.js",
"./static/js/65.18ad8e3f.chunk.js": "./static/js/65.18ad8e3f.chunk.js",
"./static/js/66.bcedca1d.chunk.js": "./static/js/66.bcedca1d.chunk.js",
"./static/js/67.6f6dad7a.chunk.js": "./static/js/67.6f6dad7a.chunk.js",
"./static/js/68.45e682bb.chunk.js": "./static/js/68.45e682bb.chunk.js",
"./static/js/69.3111fd93.chunk.js": "./static/js/69.3111fd93.chunk.js",
"./static/js/7.23a301f8.chunk.js": "./static/js/7.23a301f8.chunk.js",
"./static/js/70.d5669a50.chunk.js": "./static/js/70.d5669a50.chunk.js",
"./static/js/65.8a467182.chunk.js": "./static/js/65.8a467182.chunk.js",
"./static/js/66.2e34f7b3.chunk.js": "./static/js/66.2e34f7b3.chunk.js",
"./static/js/67.04e986c2.chunk.js": "./static/js/67.04e986c2.chunk.js",
"./static/js/68.4d9dee05.chunk.js": "./static/js/68.4d9dee05.chunk.js",
"./static/js/69.bea6b79c.chunk.js": "./static/js/69.bea6b79c.chunk.js",
"./static/js/7.aff33df2.chunk.js": "./static/js/7.aff33df2.chunk.js",
"./static/js/70.59a5b99a.chunk.js": "./static/js/70.59a5b99a.chunk.js",
"./static/js/71.228ec363.chunk.js": "./static/js/71.228ec363.chunk.js",
"./static/js/72.8c307134.chunk.js": "./static/js/72.8c307134.chunk.js",
"./static/js/72.0f2675f4.chunk.js": "./static/js/72.0f2675f4.chunk.js",
"./static/js/73.551abec1.chunk.js": "./static/js/73.551abec1.chunk.js",
"./static/js/74.710ae75f.chunk.js": "./static/js/74.710ae75f.chunk.js",
"./static/js/74.03e7ffa4.chunk.js": "./static/js/74.03e7ffa4.chunk.js",
"./static/js/75.e5a7f153.chunk.js": "./static/js/75.e5a7f153.chunk.js",
"./static/js/76.fa87a45b.chunk.js": "./static/js/76.fa87a45b.chunk.js",
"./static/js/76.5e8a9278.chunk.js": "./static/js/76.5e8a9278.chunk.js",
"./static/js/77.09b7a555.chunk.js": "./static/js/77.09b7a555.chunk.js",
"./static/js/78.1d5fbe7a.chunk.js": "./static/js/78.1d5fbe7a.chunk.js",
"./static/js/79.baeee1aa.chunk.js": "./static/js/79.baeee1aa.chunk.js",
"./static/js/8.754bf745.chunk.js": "./static/js/8.754bf745.chunk.js",
"./static/js/80.b8d3ac09.chunk.js": "./static/js/80.b8d3ac09.chunk.js",
"./static/js/81.41a60223.chunk.js": "./static/js/81.41a60223.chunk.js",
"./static/js/78.2ca6256f.chunk.js": "./static/js/78.2ca6256f.chunk.js",
"./static/js/79.1d358093.chunk.js": "./static/js/79.1d358093.chunk.js",
"./static/js/8.dddd4c61.chunk.js": "./static/js/8.dddd4c61.chunk.js",
"./static/js/80.c78e9f1d.chunk.js": "./static/js/80.c78e9f1d.chunk.js",
"./static/js/81.944dad0e.chunk.js": "./static/js/81.944dad0e.chunk.js",
"./static/js/82.0ddecf95.chunk.js": "./static/js/82.0ddecf95.chunk.js",
"./static/js/83.b1022f43.chunk.js": "./static/js/83.b1022f43.chunk.js",
"./static/js/84.f8634ed5.chunk.js": "./static/js/84.f8634ed5.chunk.js",
"./static/js/85.7d5f2549.chunk.js": "./static/js/85.7d5f2549.chunk.js",
"./static/js/83.f5655f4b.chunk.js": "./static/js/83.f5655f4b.chunk.js",
"./static/js/84.83666af0.chunk.js": "./static/js/84.83666af0.chunk.js",
"./static/js/85.2b694ad1.chunk.js": "./static/js/85.2b694ad1.chunk.js",
"./static/js/86.10009f16.chunk.js": "./static/js/86.10009f16.chunk.js",
"./static/js/87.77fcb912.chunk.js": "./static/js/87.77fcb912.chunk.js",
"./static/js/88.f24f3327.chunk.js": "./static/js/88.f24f3327.chunk.js",
"./static/js/89.8f2af046.chunk.js": "./static/js/89.8f2af046.chunk.js",
"./static/js/9.4f44e657.chunk.js": "./static/js/9.4f44e657.chunk.js",
"./static/js/87.de86e831.chunk.js": "./static/js/87.de86e831.chunk.js",
"./static/js/88.595cb09d.chunk.js": "./static/js/88.595cb09d.chunk.js",
"./static/js/89.ef5e6985.chunk.js": "./static/js/89.ef5e6985.chunk.js",
"./static/js/9.e9335b39.chunk.js": "./static/js/9.e9335b39.chunk.js",
"./static/js/90.5adafc72.chunk.js": "./static/js/90.5adafc72.chunk.js",
"./static/js/91.8fea9d85.chunk.js": "./static/js/91.8fea9d85.chunk.js",
"./static/js/92.6e4d56e6.chunk.js": "./static/js/92.6e4d56e6.chunk.js",
"./static/js/91.1eafd1a9.chunk.js": "./static/js/91.1eafd1a9.chunk.js",
"./static/js/92.1c01e923.chunk.js": "./static/js/92.1c01e923.chunk.js",
"./static/js/93.3448d24e.chunk.js": "./static/js/93.3448d24e.chunk.js",
"./static/js/94.39c10b37.chunk.js": "./static/js/94.39c10b37.chunk.js",
"./static/js/95.8177da33.chunk.js": "./static/js/95.8177da33.chunk.js",
"./static/js/96.1cda44a7.chunk.js": "./static/js/96.1cda44a7.chunk.js",
"./static/js/97.bbbc6be0.chunk.js": "./static/js/97.bbbc6be0.chunk.js",
"./static/js/98.e99cbe0b.chunk.js": "./static/js/98.e99cbe0b.chunk.js",
"./static/js/99.f6d8f40e.chunk.js": "./static/js/99.f6d8f40e.chunk.js",
"./static/js/94.68962652.chunk.js": "./static/js/94.68962652.chunk.js",
"./static/js/95.7f801368.chunk.js": "./static/js/95.7f801368.chunk.js",
"./static/js/96.eb4b55fe.chunk.js": "./static/js/96.eb4b55fe.chunk.js",
"./static/js/97.a4f796ff.chunk.js": "./static/js/97.a4f796ff.chunk.js",
"./static/js/98.f63f8b2f.chunk.js": "./static/js/98.f63f8b2f.chunk.js",
"./static/js/99.20c292ba.chunk.js": "./static/js/99.20c292ba.chunk.js",
"main.css": "./static/css/main.fd229636.css",
"main.js": "./static/js/main.49a6d278.js",
"main.js": "./static/js/main.39de4d55.js",
"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.woff2": "static/media/KaTeX_AMS-Regular.e78e28b4.woff2",
@ -350,6 +350,7 @@
"static/media/beian.png": "static/media/beian.d0289dc0.png",
"static/media/beijintulogontwo.png": "static/media/beijintulogontwo.245dc9e1.png",
"static/media/bg.jpg": "static/media/bg.88a774b5.jpg",
"static/media/book.svg": "static/media/book.02f483b8.svg",
"static/media/douyu.jpg": "static/media/douyu.e5ea5a90.jpg",
"static/media/firefox_icon.png": "static/media/firefox_icon.cfd87a8f.png",
"static/media/guihome1.png": "static/media/guihome1.eca5276e.png",

View File

@ -24,7 +24,7 @@
_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 + 'static/js/main.49a6d278.js"><\/script>');
document.write('<script type="text/javascript" src="' + _host + 'static/js/main.39de4d55.js"><\/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>

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 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

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,147 @@
webpackJsonp([205],{
/***/ 1836:
/***/ (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__(2056);
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;
/***/ }),
/***/ 2055:
/***/ (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__(1836);
/* 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);
/***/ }),
/***/ 2056:
/***/ (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
/***/ }),
/***/ 3219:
/***/ (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__(1836);
/* 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.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 _props=this.props,datas=_props.datas,bool=_props.bool;return bool===true?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"ml47text"},datas===undefined?"":datas.min_num===undefined||datas.max_num===undefined?"":datas.min_num===null||datas.max_num===null?"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u5206\u7EC4\u8981\u6C42\uFF1A"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},datas&&datas.min_num,"~ ",datas&&datas.max_num," \u4EBA\uFF08\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u65F6\u9700\u8981\u5173\u8054\u540C\u7EC4\u6210\u5458\uFF0C\u7EC4\u5185\u6210\u5458\u4F5C\u54C1\u5171\u4EAB\uFF09")),datas===undefined?"":datas.base_on_project===undefined?"":datas.base_on_project===true?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u57FA\u4E8E\u9879\u76EE\u5B9E\u65BD"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},"\uFF08\u5B66\u751F\u5FC5\u987B\u5728\u672C\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u9879\u76EE\u7BA1\u7406\u5458\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09")):datas.base_on_project===false?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u4E0D\u57FA\u4E8E\u9879\u76EE"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},"\uFF08\u65E0\u9700\u5728\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u4EFB\u610F\u5C0F\u7EC4\u6210\u5458\u5747\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09")):""):__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"ml47text"},datas===undefined?"":datas.group_info===undefined?"":datas.group_info.min_number===undefined||datas.group_info.max_number===undefined?"":datas.group_info.min_number===null||datas.group_info.max_number===null?"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u5206\u7EC4\u8981\u6C42\uFF1A"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},datas&&datas.group_info&&datas.group_info.min_number,"~ ",datas&&datas.group_info&&datas.group_info.max_number," \u4EBA\uFF08\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u65F6\u9700\u8981\u5173\u8054\u540C\u7EC4\u6210\u5458\uFF0C\u7EC4\u5185\u6210\u5458\u4F5C\u54C1\u5171\u4EAB\uFF09")),datas&&datas.group_info&&datas.group_info.base_on_project===1?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u57FA\u4E8E\u9879\u76EE\u5B9E\u65BD"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},"\uFF08\u5B66\u751F\u5FC5\u987B\u5728\u672C\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u9879\u76EE\u7BA1\u7406\u5458\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09")):datas&&datas.group_info&&datas.group_info.base_on_project===0?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u4E0D\u57FA\u4E8E\u9879\u76EE"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},"\uFF08\u65E0\u9700\u5728\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u4EFB\u610F\u5C0F\u7EC4\u6210\u5458\u5747\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09")):"");}}]);return GroupPackage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (GroupPackage);
/***/ }),
/***/ 5047:
/***/ (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__completetaskdetails_css__ = __webpack_require__(5048);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__completetaskdetails_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__completetaskdetails_css__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__groupjobbank_GroupPackage__ = __webpack_require__(2055);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__groupjobbank_GroupPackage2__ = __webpack_require__(3219);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__common_components_attachment_AttachmentList__ = __webpack_require__(371);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__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 Groupjobbandetails=function(_Component){_inherits(Groupjobbandetails,_Component);function Groupjobbandetails(props){_classCallCheck(this,Groupjobbandetails);var _this=_possibleConstructorReturn(this,(Groupjobbandetails.__proto__||Object.getPrototypeOf(Groupjobbandetails)).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(Groupjobbandetails,[{key:"componentDidMount",value:function componentDidMount(){console.log("Groupjobbandetails");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.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"}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"mt24"},datas.attachments===undefined||datas.attachments===null||datas.attachments===""?"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5__common_components_attachment_AttachmentList__["a" /* default */],Object.assign({},this.state,this.props,{attachments:datas.attachments})),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__groupjobbank_GroupPackage2__["a" /* default */],{datas:datas,bool:false}))));}}]);return Groupjobbandetails;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Groupjobbandetails);
/***/ }),
/***/ 5048:
/***/ (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__(5049);
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;
/***/ }),
/***/ 5049:
/***/ (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;padding-bottom:37px}.ysltextcolor99999{color:#999;font-size:16px}.yslboomdivs{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start}.yslboomdivs p{width:282px}.yslboomdivs p span{text-align:left}.yslboomdivsy{color:#999;font-size:14px}.yslboomdivsys{color:#666;font-size:14px}.pad20{padding-bottom:20px!important}.mt24{margin-top:24px!important}.pd30{margin-bottom:30px}", "", {"version":3,"sources":["/Users/hs/forgeplus-react/src/modules/courses/completetaskdetails/completetaskdetails.css"],"names":[],"mappings":"AACA,kBACI,2BAA6B,AAC7B,6BAA+B,AAC/B,4BAA8B,AAC9B,0BAA6B,CAChC,AACD,eACI,oBAAuB,CAG1B,AACD,qBACI,eAAgB,AAChB,aAAe,CAClB,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,mBAAqB,CACxB,AACD,mBACI,WAAe,AACf,cAAgB,CACnB,AACD,aAEI,oBAAqB,AAErB,aAAc,AACd,oBAAoB,AAChB,0BAA2B,CAClC,AACD,eACI,WAAa,CAChB,AACD,oBACI,eAAiB,CACpB,AACD,cACI,WAAe,AACf,cAAgB,CAEnB,AACD,eACI,WAAe,AACf,cAAgB,CACnB,AACD,OACI,6BAAgC,CACnC,AACD,MACK,yBAA6B,CAChC,AACF,MACI,kBAAoB,CACvB","file":"completetaskdetails.css","sourcesContent":["\n.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.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 padding-bottom: 37px;\n}\n.ysltextcolor99999{\n color: #999999;\n font-size: 16px;\n}\n.yslboomdivs{\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-pack:start;\n justify-content:flex-start;\n}\n.yslboomdivs p{\n width: 282px;\n}\n.yslboomdivs p span {\n text-align: left;\n}\n.yslboomdivsy{\n color: #999999;\n font-size: 14px;\n\n}\n.yslboomdivsys{\n color: #666666;\n font-size: 14px;\n}\n.pad20{\n padding-bottom: 20px !important;\n}\n.mt24{\n margin-top: 24px !important ;\n }\n.pd30{\n margin-bottom: 30px;\n}"],"sourceRoot":""}]);
// exports
/***/ })
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,125 @@
webpackJsonp([208],{
/***/ 1836:
/***/ (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__(2056);
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;
/***/ }),
/***/ 2055:
/***/ (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__(1836);
/* 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);
/***/ }),
/***/ 2056:
/***/ (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
/***/ }),
/***/ 3642:
/***/ (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__(3643);
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;
/***/ }),
/***/ 3643:
/***/ (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
/***/ }),
/***/ 5037:
/***/ (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__(2055);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__questionbank_css__ = __webpack_require__(3642);
/* 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);
/***/ })
});

View File

@ -0,0 +1,123 @@
webpackJsonp([209],{
/***/ 1836:
/***/ (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__(2056);
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;
/***/ }),
/***/ 2055:
/***/ (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__(1836);
/* 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);
/***/ }),
/***/ 2056:
/***/ (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
/***/ }),
/***/ 3642:
/***/ (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__(3643);
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;
/***/ }),
/***/ 3643:
/***/ (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
/***/ }),
/***/ 5038:
/***/ (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__(2055);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__questionbank_css__ = __webpack_require__(3642);
/* 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

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,146 @@
webpackJsonp([212],{
/***/ 1127:
/***/ (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__(1440);
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;
/***/ }),
/***/ 1440:
/***/ (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
/***/ }),
/***/ 1932:
/***/ (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);
/***/ }),
/***/ 2126:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_menu_style_css__ = __webpack_require__(1019);
/* 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__(956);
/* 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__(1750);
/* 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__(1127);
/* 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__(1932);
/* 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);
/***/ }),
/***/ 5030:
/***/ (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__(2126);
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, 3837));},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() */(220).then(__webpack_require__.bind(null, 5031));},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() */(197).then(__webpack_require__.bind(null, 5032));},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);
/***/ })
});

View File

@ -0,0 +1,112 @@
webpackJsonp([213],{
/***/ 1836:
/***/ (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__(2056);
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;
/***/ }),
/***/ 2055:
/***/ (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__(1836);
/* 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);
/***/ }),
/***/ 2056:
/***/ (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
/***/ }),
/***/ 3219:
/***/ (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__(1836);
/* 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.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 _props=this.props,datas=_props.datas,bool=_props.bool;return bool===true?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"ml47text"},datas===undefined?"":datas.min_num===undefined||datas.max_num===undefined?"":datas.min_num===null||datas.max_num===null?"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u5206\u7EC4\u8981\u6C42\uFF1A"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},datas&&datas.min_num,"~ ",datas&&datas.max_num," \u4EBA\uFF08\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u65F6\u9700\u8981\u5173\u8054\u540C\u7EC4\u6210\u5458\uFF0C\u7EC4\u5185\u6210\u5458\u4F5C\u54C1\u5171\u4EAB\uFF09")),datas===undefined?"":datas.base_on_project===undefined?"":datas.base_on_project===true?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u57FA\u4E8E\u9879\u76EE\u5B9E\u65BD"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},"\uFF08\u5B66\u751F\u5FC5\u987B\u5728\u672C\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u9879\u76EE\u7BA1\u7406\u5458\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09")):datas.base_on_project===false?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u4E0D\u57FA\u4E8E\u9879\u76EE"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},"\uFF08\u65E0\u9700\u5728\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u4EFB\u610F\u5C0F\u7EC4\u6210\u5458\u5747\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09")):""):__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"ml47text"},datas===undefined?"":datas.group_info===undefined?"":datas.group_info.min_number===undefined||datas.group_info.max_number===undefined?"":datas.group_info.min_number===null||datas.group_info.max_number===null?"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u5206\u7EC4\u8981\u6C42\uFF1A"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},datas&&datas.group_info&&datas.group_info.min_number,"~ ",datas&&datas.group_info&&datas.group_info.max_number," \u4EBA\uFF08\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u65F6\u9700\u8981\u5173\u8054\u540C\u7EC4\u6210\u5458\uFF0C\u7EC4\u5185\u6210\u5458\u4F5C\u54C1\u5171\u4EAB\uFF09")),datas&&datas.group_info&&datas.group_info.base_on_project===1?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u57FA\u4E8E\u9879\u76EE\u5B9E\u65BD"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},"\uFF08\u5B66\u751F\u5FC5\u987B\u5728\u672C\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u9879\u76EE\u7BA1\u7406\u5458\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09")):datas&&datas.group_info&&datas.group_info.base_on_project===0?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u4E0D\u57FA\u4E8E\u9879\u76EE"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},"\uFF08\u65E0\u9700\u5728\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u4EFB\u610F\u5C0F\u7EC4\u6210\u5458\u5747\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09")):"");}}]);return GroupPackage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (GroupPackage);
/***/ }),
/***/ 5041:
/***/ (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__common_components_attachment_AttachmentList__ = __webpack_require__(371);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__GroupPackage__ = __webpack_require__(2055);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__GroupPackage2__ = __webpack_require__(3219);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__courses_coursesPublic_NoneData__ = __webpack_require__(335);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__questionbanks_css__ = __webpack_require__(1836);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__questionbanks_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__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 Groupjobquesanswer=function(_Component){_inherits(Groupjobquesanswer,_Component);function Groupjobquesanswer(props){_classCallCheck(this,Groupjobquesanswer);var _this=_possibleConstructorReturn(this,(Groupjobquesanswer.__proto__||Object.getPrototypeOf(Groupjobquesanswer)).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(Groupjobquesanswer,[{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 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.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_2__common_components_attachment_AttachmentList__["a" /* default */],Object.assign({},this.state,this.props,{attachments:datas.reference_attachments})))));}}]);return Groupjobquesanswer;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Groupjobquesanswer);
/***/ })
});

View File

@ -0,0 +1,113 @@
webpackJsonp([214],{
/***/ 1836:
/***/ (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__(2056);
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;
/***/ }),
/***/ 2055:
/***/ (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__(1836);
/* 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);
/***/ }),
/***/ 2056:
/***/ (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
/***/ }),
/***/ 3219:
/***/ (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__(1836);
/* 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.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 _props=this.props,datas=_props.datas,bool=_props.bool;return bool===true?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"ml47text"},datas===undefined?"":datas.min_num===undefined||datas.max_num===undefined?"":datas.min_num===null||datas.max_num===null?"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u5206\u7EC4\u8981\u6C42\uFF1A"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},datas&&datas.min_num,"~ ",datas&&datas.max_num," \u4EBA\uFF08\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u65F6\u9700\u8981\u5173\u8054\u540C\u7EC4\u6210\u5458\uFF0C\u7EC4\u5185\u6210\u5458\u4F5C\u54C1\u5171\u4EAB\uFF09")),datas===undefined?"":datas.base_on_project===undefined?"":datas.base_on_project===true?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u57FA\u4E8E\u9879\u76EE\u5B9E\u65BD"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},"\uFF08\u5B66\u751F\u5FC5\u987B\u5728\u672C\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u9879\u76EE\u7BA1\u7406\u5458\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09")):datas.base_on_project===false?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u4E0D\u57FA\u4E8E\u9879\u76EE"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},"\uFF08\u65E0\u9700\u5728\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u4EFB\u610F\u5C0F\u7EC4\u6210\u5458\u5747\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09")):""):__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{className:"ml47text"},datas===undefined?"":datas.group_info===undefined?"":datas.group_info.min_number===undefined||datas.group_info.max_number===undefined?"":datas.group_info.min_number===null||datas.group_info.max_number===null?"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u5206\u7EC4\u8981\u6C42\uFF1A"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},datas&&datas.group_info&&datas.group_info.min_number,"~ ",datas&&datas.group_info&&datas.group_info.max_number," \u4EBA\uFF08\u5B66\u751F\u63D0\u4EA4\u4F5C\u54C1\u65F6\u9700\u8981\u5173\u8054\u540C\u7EC4\u6210\u5458\uFF0C\u7EC4\u5185\u6210\u5458\u4F5C\u54C1\u5171\u4EAB\uFF09")),datas&&datas.group_info&&datas.group_info.base_on_project===1?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u57FA\u4E8E\u9879\u76EE\u5B9E\u65BD"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},"\uFF08\u5B66\u751F\u5FC5\u987B\u5728\u672C\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u9879\u76EE\u7BA1\u7406\u5458\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09")):datas&&datas.group_info&&datas.group_info.base_on_project===0?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p",null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor66"},"\u4E0D\u57FA\u4E8E\u9879\u76EE"),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",{className:"ysltextcolor05"},"\uFF08\u65E0\u9700\u5728\u5E73\u53F0\u521B\u5EFA\u9879\u76EE\uFF0C\u4EFB\u610F\u5C0F\u7EC4\u6210\u5458\u5747\u53EF\u4EE5\u63D0\u4EA4\u4F5C\u54C1\uFF09")):"");}}]);return GroupPackage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (GroupPackage);
/***/ }),
/***/ 5040:
/***/ (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__questionbanks_css__ = __webpack_require__(1836);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__questionbanks_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__questionbanks_css__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__GroupPackage__ = __webpack_require__(2055);
/* 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);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__GroupPackage2__ = __webpack_require__(3219);
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 Groupjobbandetails=function(_Component){_inherits(Groupjobbandetails,_Component);function Groupjobbandetails(props){_classCallCheck(this,Groupjobbandetails);var _this=_possibleConstructorReturn(this,(Groupjobbandetails.__proto__||Object.getPrototypeOf(Groupjobbandetails)).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(Groupjobbandetails,[{key:"componentDidMount",value:function componentDidMount(){console.log("Groupjobbandetails");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.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:"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.attachments}))),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6__GroupPackage2__["a" /* default */],{datas:datas,bool:true})));}}]);return Groupjobbandetails;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Groupjobbandetails);
/***/ })
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,287 @@
webpackJsonp([219],{
/***/ 3305:
/***/ (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_spin_style_css__ = __webpack_require__(75);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_antd_lib_spin_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_antd_lib_spin_style_css__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_antd_lib_spin__ = __webpack_require__(76);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_antd_lib_spin___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_antd_lib_spin__);
/* 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__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_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;}// import '../../modules/user/common.css';
//完善个人资料
var WriteaprivateletterModal=function(_Component){_inherits(WriteaprivateletterModal,_Component);function WriteaprivateletterModal(props){_classCallCheck(this,WriteaprivateletterModal);var _this=_possibleConstructorReturn(this,(WriteaprivateletterModal.__proto__||Object.getPrototypeOf(WriteaprivateletterModal)).call(this,props));_this.Recentcontacts=function(){_this.setState({isSpin:true});var url='/users/'+_this.props.current_user.user_id+'/recent_contacts.json';__WEBPACK_IMPORTED_MODULE_7_axios___default.a.get(url).then(function(result){if(result===undefined){return;}//console.log(result);
_this.setState({users:result.data.users,Recentcontacts:false,floatingboxdisplay:false,isSpin:false});}).catch(function(error){//console.log(error)
_this.setState({isSpin:false});});};_this.SendprivatemessageAPI=function(idvalue,contentvalue){var url='/users/'+_this.props.current_user.user_id+'/private_messages.json';contentvalue=Object(__WEBPACK_IMPORTED_MODULE_8_educoder__["X" /* htmlEncode */])(contentvalue);var data={target_id:idvalue,content:contentvalue};__WEBPACK_IMPORTED_MODULE_7_axios___default.a.post(url,data).then(function(result){if(result===undefined){return;}_this.setState({floatingboxdisplays:false,Pleaseselectthesender:false});_this.props.smyJump(3,result.data.private_message.receiver_id);//console.log(result);
}).catch(function(error){//console.log(error)
});};_this.Retrieveprivatemessageusers=function(value){_this.setState({isSpin:true});var url='/users_for_private_messages.json';__WEBPACK_IMPORTED_MODULE_7_axios___default.a.get(url,{params:{keyword:value}}).then(function(result){if(result===undefined){return;}_this.setState({users:result.data.users,Recentcontacts:true,floatingboxdisplay:true,isSpin:false});//console.log(result);
}).catch(function(error){//console.log(error)
_this.setState({isSpin:false});});};_this.modalCancel=function(){// var weekArray = JSON.parse(window.sessionStorage.getItem('yslgeturls'));
// if(weekArray===undefined){
// weekArray="/";
// }
// if(weekArray===null){
// weekArray="/";
// }
// if(weekArray==="null"){
// weekArray="/";
// }
// window.location.href = weekArray;
};_this.setDownload=function(){// window.location.href ='/account/profile';
};_this.search_message_person=function(){//console.log("点击搜索按钮");
if(_this.state.inputvulue.length===0){_this.Recentcontacts();}else{_this.Retrieveprivatemessageusers(_this.state.inputvulue);}};_this.HideModal=function(){_this.props.cancelmodalsType();};_this.OKModal=function(){var _this$state=_this.state,inputvulue=_this$state.inputvulue,Personalid=_this$state.Personalid,inputvulues=_this$state.inputvulues;// console.log("发送私信了");
// console.log(inputvulue);
// console.log(Personalid);
// console.log(inputvulues);
if(inputvulue.length===0){_this.setState({Pleaseselectthesender:true});return;}if(inputvulues.length===0){_this.setState({floatingboxdisplays:true});return;}else{if(Personalid===undefined){_this.setState({Pleaseselectthesender:true});return;}_this.SendprivatemessageAPI(Personalid,inputvulues);}};_this.Myοnkeydοwn=function(){//console.log("点击了回车事件");
if(_this.state.inputvulue.length===0){_this.Recentcontacts();}else{_this.Retrieveprivatemessageusers(_this.state.inputvulue);}};_this.handleEnterKey=function(e){//console.log("");
if(e.nativeEvent.keyCode===13){//e.nativeEvent获取原生的事件对像
_this.Myοnkeydοwn();}};_this.setdatafunsval=function(e){if(e.target.value.length===0){_this.setState({inputvulue:e.target.value,Pleaseselectthesender:false,floatingboxdisplay:true,Personalid:undefined});_this.Recentcontacts();}else{_this.setState({inputvulue:e.target.value,Pleaseselectthesender:false,floatingboxdisplay:true});}//console.log(e.target.value);
};_this.setdatafunsvals=function(e){//console.log(e.target.value);
_this.setState({inputvulues:e.target.value,Pleaseselectthesenders:false,floatingboxdisplays:false,floatingboxdisplay:false});};_this.myonBlur=function(e){//console.log("失去焦点了");
e.preventDefault();_this.setState({// floatingboxdisplay:false,
});};_this.myonFocus=function(e){//console.log("获取到焦点了");
_this.setState({floatingboxdisplay:true});};_this.Getuserinformation=function(item){//console.log("获取到了用户信息");
//console.log(item.id);
_this.setState({Personalid:item.id===undefined?undefined:item.id===null?undefined:item.id,inputvulue:item.name,floatingboxdisplay:false});};_this.state={modalsType:false,Pleaseselectthesender:false,Pleaseselectthesenders:false,inputvulue:"",inputvulues:"",floatingboxdisplay:false,users:[],Personalid:undefined,isSpin:false,Recentcontacts:false,floatingboxdisplays:false};return _this;}_createClass(WriteaprivateletterModal,[{key:'componentDidMount',value:function componentDidMount(){//用户id
//console.log(this.props.current_user.user_id);
this.Recentcontacts();}//获取最近联系人
//发送私信
//搜索私信人
// 搜索
//取消事件
//确认事件
// 回车事件
//判断点击的键盘的keyCode是否为13是就调用上面的搜索函数
// 查找联系人输入模式
// 输入内容
//失去焦点
//获取焦点
//获取用户信息
},{key:'render',value:function render(){var _this2=this;var _state=this.state,Pleaseselectthesender=_state.Pleaseselectthesender,inputvulue=_state.inputvulue,inputvulues=_state.inputvulues,floatingboxdisplay=_state.floatingboxdisplay,users=_state.users,floatingboxdisplays=_state.floatingboxdisplays,Recentcontacts=_state.Recentcontacts,isSpin=_state.isSpin;//console.log(floatingboxdisplay);
return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_modal___default.a,{keyboard:false,closable:false,footer:null,destroyOnClose:true,title:"写私信",centered:true,visible:this.props.modalsType,width:'550px'},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('div',null,__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('div',{className:'mb20 pr'},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('div',{className:'myw100baifenbi'},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5_antd_lib_input___default.a,{className:'',placeholder:'\u53D1\u9001\u7ED9...',value:inputvulue,onKeyPress:this.handleEnterKey,onBlur:this.myonBlur,onFocus:this.myonFocus,onChange:this.setdatafunsval,suffix:__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('img',{src:Object(__WEBPACK_IMPORTED_MODULE_8_educoder__["M" /* getImageUrl */])("images/"+"educoder/icon/search.svg"),onClick:function onClick(){return _this2.search_message_person();}})})),__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('div',{className:'recently_person',style:floatingboxdisplay===false?{display:"none"}:{display:"block"}},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_spin___default.a,{size:'large',className:'myw100baifenbi',spinning:isSpin},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('p',{className:'padding10-20 color-grey-9 cdefault'},Recentcontacts===false?"最近联系人":"搜索结果"),users.map(function(item,key){return __WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('p',{className:'clearfix recently_item',key:key,onMouseDown:function onMouseDown(c){return _this2.Getuserinformation(item);}},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('img',{alt:'\u5934\u50CF',className:'radius fl mr10 myimgw48 myimgh48',src:Object(__WEBPACK_IMPORTED_MODULE_8_educoder__["M" /* getImageUrl */])("images/"+item.image_url)}),__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('span',{className:'recently_name'},item.name));})))),__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('div',{className:'writeLetter_Info'},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('textarea',{className:'writeLetter_text greyInput',value:inputvulues,onChange:this.setdatafunsvals,name:'content',id:'writeLetter_text',maxLength:'200'}),__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('span',{className:'longchar'},'200'))),Pleaseselectthesender===true?__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('p',{className:'color-orange-tip ',style:{height:"25px"}},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('span',{id:'notice_send_person'},'\u8BF7\u9009\u62E9\u53D1\u9001\u5BF9\u8C61')):floatingboxdisplays===false?__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('p',{style:{height:"25px"}}):"",floatingboxdisplays===true?__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('p',{className:'color-orange-tip ',style:{height:"25px"}},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('span',{id:'notice_send_person'},'\u8BF7\u8F93\u5165\u53D1\u9001\u5185\u5BB9')):"",__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('p',{className:'clearfix edu-txt-center'},__WEBPACK_IMPORTED_MODULE_6_react___default.a.createElement('a',{onClick:function onClick(){return _this2.HideModal();},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.OKModal();},id:'submit_send_letter'},'\u786E\u5B9A')));}}]);return WriteaprivateletterModal;}(__WEBPACK_IMPORTED_MODULE_6_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (WriteaprivateletterModal);
/***/ }),
/***/ 5102:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_spin_style_css__ = __webpack_require__(75);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_spin_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_spin_style_css__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_spin__ = __webpack_require__(76);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_spin___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_spin__);
/* 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__css_messagemy_css__ = __webpack_require__(2455);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__css_messagemy_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__css_messagemy_css__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_educoder__ = __webpack_require__(5);
/* 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__tpm_challengesnew_TPMMDEditor__ = __webpack_require__(338);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_moment__ = __webpack_require__(70);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_moment___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_moment__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Rightdialogue__ = __webpack_require__(5103);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Leftdialogue__ = __webpack_require__(5104);
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 MessagChat=function(_Component){_inherits(MessagChat,_Component);function MessagChat(props){_classCallCheck(this,MessagChat);var _this=_possibleConstructorReturn(this,(MessagChat.__proto__||Object.getPrototypeOf(MessagChat)).call(this,props));_this.contentViewScrolltop=function(e){if(e.currentTarget.scrollTop===0){if(_this.state.datanull===0){return;}console.log("调用了方法1111111");var pages=_this.state.pages;var newpage=pages+1;var query=_this.props.location.search;var target_ids=query.split('?target_ids=');_this.shuaxingetChatList(newpage,_this.state.limits,target_ids[1],true);_this.messageList.scrollTop=50;}};_this.contentViewScrolledit=function(e){var newscrollTop=parseInt(e.currentTarget.scrollTop);var allclientHeight=e.currentTarget.clientHeight+newscrollTop;//滑动到底判断
if(e.currentTarget.scrollHeight-allclientHeight===0||e.currentTarget.scrollHeight-allclientHeight===1||e.currentTarget.scrollHeight-allclientHeight===-1){// console.log("滑动到底判断");
var page=_this.state.page;var newpage=page+1;_this.getdata(newpage);// let ls=newpage*20
// this.setState({
// limits:ls,
// })
}//滑动到顶部
// console.log("滑动到顶部判断");
// console.log(e.currentTarget.clientHeight);
// console.log(e.currentTarget.scrollTop);
// console.log(e.currentTarget.scrollHeight);
// if(e.currentTarget.scrollHeight+e.currentTarget.scrollTop===e.currentTarget.clientHeight){
// console.log("滑动到顶部判断");
//
// // let ls=newpage*20
// // this.setState({
// // limits:ls,
// // })
// }
};_this.shuaxingetChatList=function(page,listl,target_ids,bool){_this.setState({isSpin:true});var url='/users/'+_this.props.match.params.userid+'/private_message_details.json';__WEBPACK_IMPORTED_MODULE_5_axios___default.a.get(url,{params:{target_id:target_ids,page:page,per_page:listl}}).then(function(result){_this.setState({isSpin:false});if(result){// if (result.data.status === 0) {
if(result.data!==null){if(result.data.messages.length===0){console.log("没有数据了");_this.setState({datanull:0});return;}var laoshuju=_this.state.messages;var datas=[];var datay=result.data.messages;datay=datay.reverse();datay=datay.concat(laoshuju);var obj={};for(var i=0;i<datay.length;i++){if(i===0){var timetwoy=datay[i].send_time.slice(0,10);datay[i].send_day=timetwoy;obj=datay[i];datas.push(datay[i]);}else{try{var timeone=obj.send_time.slice(0,10);var timetwo=datay[i].send_time.slice(0,10);if(__WEBPACK_IMPORTED_MODULE_7_moment___default()(timeone).isSame(timetwo)){datay[i].send_day="";}else{datay[i].send_day=timetwo;obj=datay[i];}}catch(e){}datas.push(datay[i]);}}console.log("新数组+++++++++++++++++++++++++++++++++++++");console.log(datas);//颠倒数组
_this.setState({messages:datas,myuserl:result.data.target,pages:page});// }
}}}).catch(function(error){console.log(error);_this.setState({isSpin:false});});};_this.getChatList=function(page,listl,target_ids){_this.setState({isSpin:true});var url='/users/'+_this.props.match.params.userid+'/private_message_details.json';__WEBPACK_IMPORTED_MODULE_5_axios___default.a.get(url,{params:{target_id:target_ids,page:page,per_page:listl}}).then(function(result){if(result){// if (result.data.status === 0) {
if(result.data!==null){var datas=[];var datay=result.data.messages;datay=datay.reverse();var obj={};for(var i=0;i<datay.length;i++){if(i===0){var timetwoy=datay[i].send_time.slice(0,10);datay[i].send_day=timetwoy;obj=datay[i];datas.push(datay[i]);}else{try{var timeone=obj.send_time.slice(0,10);var timetwo=datay[i].send_time.slice(0,10);if(__WEBPACK_IMPORTED_MODULE_7_moment___default()(timeone).isSame(timetwo)){datay[i].send_day="";}else{datay[i].send_day=timetwo;obj=datay[i];}}catch(e){}datas.push(datay[i]);}}//颠倒数组
_this.setState({messages:datas,myuserl:result.data.target,pages:page});// }
_this.scrollToBottom();}}_this.setState({isSpin:false});}).catch(function(error){console.log(error);_this.setState({isSpin:false});});};_this.getChatListtwo=function(pages,listls,target_ids){_this.setState({isSpin:true});var url='/users/'+_this.props.match.params.userid+'/private_message_details.json';__WEBPACK_IMPORTED_MODULE_5_axios___default.a.get(url,{params:{target_id:target_ids,page:pages,per_page:listls}}).then(function(result){if(result){// if (result.data.status === 0) {
if(result){// if (result.data.status === 0) {
if(result.data!==null){var datas=[];var datay=result.data.messages;datay=datay.reverse();var obj={};for(var i=0;i<datay.length;i++){if(i===0){var timetwoy=datay[i].send_time.slice(0,10);datay[i].send_day=timetwoy;obj=datay[i];datas.push(datay[i]);}else{try{var timeone=obj.send_time.slice(0,10);var timetwo=datay[i].send_time.slice(0,10);if(__WEBPACK_IMPORTED_MODULE_7_moment___default()(timeone).isSame(timetwo)){datay[i].send_day="";}else{datay[i].send_day=timetwo;obj=datay[i];}}catch(e){console.log("271271271271");console.log(e);}datas.push(datay[i]);}}//颠倒数组
_this.setState({messages:datas,myuserl:result.data.target,pages:pages,datanull:1});_this.scrollToBottom();// }
}}}_this.setState({isSpin:false});}).catch(function(error){console.log(error);_this.setState({isSpin:false});// this.getdatatwo(this.state.page);
});};_this.getdata=function(page){var limit=_this.state.limit;var url='/users/'+(_this.props.match&&_this.props.match.params.userid)+'/private_messages.json';// let url = `/users/71519/private_messages.json`;
__WEBPACK_IMPORTED_MODULE_5_axios___default.a.get(url,{params:{page:page,per_page:limit}}).then(function(result){if(result){// console.log(types);
// console.log(result);
// console.log("调用了消失的方法");
// console.log("5454545454");
// if(result.data.status===0) {
if(result.data!==null){if(result.data.private_messages!==null){if(result.data.private_messages.length>0){for(var i=0;i<result.data.private_messages.length;i++){_this.state.datay.push(result.data.private_messages[i]);}}}}_this.setState({page:page,isSpins:false,datay:_this.state.datay,data:result.data.private_messages===null?undefined:result.data.private_messages===undefined?undefined:result.data.private_messages===[]?undefined:result.data.private_messages==="[]"?undefined:result.data.private_messages.length===0?undefined:result.data.private_messages});}// console.log(this.state.datay);
// }
}).catch(function(error){console.log(error);_this.setState({isSpins:false});});};_this.getdatatwo=function(page){var limits=_this.state.limits;var url='/users/'+(_this.props.match&&_this.props.match.params.userid)+'/private_messages.json';// let url = `/users/71519/private_messages.json`;
__WEBPACK_IMPORTED_MODULE_5_axios___default.a.get(url,{params:{page:page,per_page:limits}}).then(function(result){if(result){// if(result.data.status===0){
_this.setState({page:page,isSpins:false,datay:result.data.private_messages===null?undefined:result.data.private_messages===undefined?undefined:result.data.private_messages===[]?undefined:result.data.private_messages==="[]"?undefined:result.data.private_messages.length===0?undefined:result.data.private_messages});// }
// console.log(this.state.datay);
}}).catch(function(error){console.log(error);_this.setState({isSpins:false});});};_this.smyJump=function(i){// console.log("跳转页面");
// console.log(i);
_this.props.Modifyur(i);};_this.getdatas2=function(){};_this.Clickedontheuser=function(user){// debugger
// console.log("点击了用户");
// console.log(user);
// this.setState({
// myyslusers:user,
// mess:true,
// })
_this.setState({myuserl:user});_this.props.history.replace('/messages/'+_this.props.current_user.login+'/message_detail?target_ids='+user.id);// this.getdatatwo(this.state.page);
_this.getChatListtwo(1,_this.state.mypagey,user.id);};_this.setreplyfun=function(){_this.setState({isSpin:true});var contents=_this.messageRef.current.getValue().trim();var query=_this.props.location.search;var target_ids=query.split('?target_ids=');contents=Object(__WEBPACK_IMPORTED_MODULE_4_educoder__["X" /* htmlEncode */])(contents);var url='/users/'+_this.props.match.params.userid+'/private_messages.json';__WEBPACK_IMPORTED_MODULE_5_axios___default.a.post(url,{target_id:target_ids[1],content:contents}).then(function(response){_this.setState({isSpin:false});if(response===undefined){return;}if(response.data.status===0){// console.log("回复成功");
// console.log(response);
// var datas=[];
// var dataso=this.state.messages;
// var datays=response.data.private_message;
// var obj={};
// for (var i=0;i<dataso.length;i++){
// if(i===0){
// obj=dataso[i];
// datas.push(dataso[i]);
// }else{
// if( moment(obj.send_day).isSame(dataso[i].send_day)){
// dataso[i].send_day="";
// }else {
// obj=dataso[i];
// }
// datas.push(dataso[i]);
// }
// }
_this.getChatListtwo(1,_this.state.mypagey,target_ids[1]);// try {
// var time =dataso[dataso.length-1].send_time.slice(0,10);
// console.log(time);
// var timetwo=datays.send_time.slice(0,10);
// console.log(timetwo);
// if( moment(time).isSame(timetwo)){
// datays.send_day="";
// dataso.push(datays);
// }else {
// datays.send_day=timetwo;
// dataso.push(datays);
// }
// }catch (e) {
// console.log("回去出现错误");
// console.log(e);
// }
//
// //颠倒数组
// this.setState({
// messages: dataso,
//
// });
_this.scrollToBottom();_this.messageRef.current.setValue('');}}).catch(function(error){console.log(error);this.setState({isSpin:false});});};_this.DELETEsetreplyfun=function(user_id,id){//user_id不用
// console.log("311");
_this.setState({isSpin:true});var url='/users/'+_this.props.match.params.userid+'/private_messages/'+id+'.json';__WEBPACK_IMPORTED_MODULE_5_axios___default.a.delete(url).then(function(response){if(response){if(response.data.status===0){if(_this.state.messages.length>0){for(var i=0;i<_this.state.messages.length;i++){if(parseInt(_this.state.messages[i].id)===id){_this.state.messages.splice(i,1);}}// setTimeout(()=>{
//
// }, 200);
_this.setState({messages:_this.state.messages,isSpin:false// datanull:1
});// this.scrollToBottom()
}}}}).catch(function(error){console.log(error);this.setState({isSpin:false});});};_this.messageRef=__WEBPACK_IMPORTED_MODULE_2_react___default.a.createRef();_this.state={isSpin:false,isSpins:false,limit:20,page:1,datay:[],limits:20,mess:false,myuserl:[],pages:1,mypagey:20,messages:[],objc:[],datanull:1};return _this;}_createClass(MessagChat,[{key:'componentDidMount',value:function componentDidMount(){this.getdata(1);var query=this.props.location.search;var target_ids=query.split('?target_ids=');this.getChatList(1,this.state.limits,target_ids[1]);// console.log("MessagChat111111");
// console.log(this.props.myysluser);
this.setState({myyslusers:this.props.myysluser});try{this.props.Mtab(3);}catch(e){}// console.log("MessagChat111111");
// console.log(this.props);
// console.log(this.props.match.params.userid);
this.scrollToBottom();this.props.triggerRef(this);}},{key:'componentDidUpdate',value:function componentDidUpdate(){// this.scrollToBottom();
}},{key:'scrollToBottom',value:function scrollToBottom(){var scrollHeight=this.messageList.scrollHeight;var height=this.messageList.clientHeight;var maxScrollTop=scrollHeight-height;this.messageList.scrollTop=maxScrollTop>0?maxScrollTop:0;}// 滑动刷新
//获取数据地方
//获取数据地方
// 跳转页面
// 点击了用户
//回复
//删除
},{key:'render',value:function render(){var _this2=this;var _state=this.state,isSpins=_state.isSpins,datay=_state.datay,myyslusers=_state.myyslusers,mess=_state.mess,limits=_state.limits,myuserl=_state.myuserl,messages=_state.messages,isSpin=_state.isSpin,datanull=_state.datanull;// console.log(mess);
// console.log(myyslusers);
// console.log("MessagChat");
// console.log(this.state);
// console.log("112");
// console.log(limits);
// console.log(myuserl);
// console.log(messages);
return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'edu-back-white ml20'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'df clearfix'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'flex1'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'clearfix pt30 pb30 edu-txt-center font-16 bor-bottom-greyE'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('a',{onClick:function onClick(){return _this2.smyJump(2);}},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('i',{className:'iconfont icon-zuojiantou font-14 fl ml25 color-grey-9','data-tip-down':'\u8FD4\u56DE\u5230\u5217\u8868'})),myuserl!==undefined?myuserl.name:"",'\u4E0E\u4F60\u7684\u79C1\u4FE1'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('style',null,'\n\t\t\t\t\t\t\t.dialogPanel{\n\t\t\t\t\t\t\t padding: 0px 20px;\n\t\t\t\t\t\t\t\t\theight: 400px !important;\n\t\t\t\t\t\t\t\t\toverflow-y: auto;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'dialogPanel',onScroll:this.contentViewScrolltop,ref:function ref(div){_this2.messageList=div;}},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',null,__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_spin___default.a,{size:'large',className:'myw100baifenbi',spinning:isSpin},datanull===0?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'mt30 edu-txt-center'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'letter-time'},'\u6CA1\u6709\u4FE1\u606F\u4E86\uFF5E\uFF5E')):"",__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{id:'yslysl'},messages===undefined?"":messages.map(function(item,key){// console.log("-----------------================-=-==-==");
// console.log(item.sender_id);
// console.log(this.props.match.params.userid);
return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{key:key},item.send_day===undefined?"":item.send_day===null?"":item.send_day===""?"":__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'mt30 edu-txt-center'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'letter-time'},item.send_day)),parseInt(item.sender_id)===parseInt(_this2.props.match.params.userid)?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_8__Rightdialogue__["a" /* default */],Object.assign({keys:key,objeysl:item},_this2.state,_this2.props,{DELETEsetreplyfun:function DELETEsetreplyfun(user_id,id){return _this2.DELETEsetreplyfun(user_id,id);}})):__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_9__Leftdialogue__["a" /* default */],Object.assign({keys:key,objeysl:item},_this2.state,_this2.props,{DELETEsetreplyfun:function DELETEsetreplyfun(user_id,id){return _this2.DELETEsetreplyfun(user_id,id);}})));}))))),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'bor-top-greyE padding20'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('style',null,'\n\t\t\t\t\t\t\t.rememberTip{\n\t\t\t\t\t\t\t\tdisplay:none;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6__tpm_challengesnew_TPMMDEditor__["a" /* default */],{ref:this.messageRef,placeholder:'请输入您的回复',watch:false,initValue:'',mdID:'courseMessageMD',className:'courseMessageMD',height:200}),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:"msheight30"},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'fl ml5 color-orange font-12'},'\u5728\u95EE\u9898\u53CD\u9988\u65F6\uFF0C\u8BF7\u540C\u65F6\u53D1\u9001\u95EE\u9898\u53D1\u751F\u9875\u7684\u7F51\u5740\u94FE\u63A5\uFF0C\u4EE5\u4FBF\u6211\u4EEC\u9AD8\u6548\u7684\u4E3A\u60A8\u670D\u52A1'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('a',{className:'fr task-btn task-btn-orange',onClick:function onClick(){return _this2.setreplyfun();}},'\u56DE\u590D')))),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'bor-left-greyE',style:{width:"290px"}},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'pt30 pb30 pl30 edu-txt-left font-16 bor-bottom-greyE'},'\u79C1\u4FE1\u5217\u8868'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_spin___default.a,{size:'large',className:'myw100baifenbi',spinning:isSpins},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('style',null,'\n\t\t\t\t\t\t \t.private-list{\n\t\t\t\t\t\t \tmin-height: 680px !important;\n\t\t\t\t\t\t\tmax-height: 680px !important;\n\t\t\t\t\t\t\toverflow-y: auto;\n\t\t\t\t\t\t\toverflow-x: hidden;\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \t'),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'private-list',onScroll:this.contentViewScrolledit},datay===undefined?"":datay.map(function(item,key){return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'private-part clearfix',key:key,onClick:function onClick(i){return _this2.Clickedontheuser(item.target);}},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'part-line df'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('img',{src:Object(__WEBPACK_IMPORTED_MODULE_4_educoder__["M" /* getImageUrl */])("images/"+item.target.image_url),className:'radius mr10 myimgw48 myimgh48'}),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('div',{className:'flex1'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'clearfix mb15 lineh-17'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'fl pr'},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'task-hide privatePartName'},item.target.name),item.unread===true?__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'newLetter'}):""),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('span',{className:'color-grey-c fr'},__WEBPACK_IMPORTED_MODULE_7_moment___default()(item.send_time).fromNow())),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement('p',{className:'color-grey-6 lineh-20 justify break_word task-hide-2 markdown-body',style:{wordBreak:"break-word"},id:'MakedownHTML',dangerouslySetInnerHTML:{__html:Object(__WEBPACK_IMPORTED_MODULE_4_educoder__["_0" /* markdownToHTML */])(item.content).replace(/▁/g,"▁▁▁")}}))));}))))));}}]);return MessagChat;}(__WEBPACK_IMPORTED_MODULE_2_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (MessagChat);// onClick="delete_confirm_box('/users/innov/delete_message?mess_id=25137', '确定要删除该条记录吗?')"
//
// {/*左边*/}
/***/ }),
/***/ 5103:
/***/ (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_axios__ = __webpack_require__(8);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_axios__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_moment__ = __webpack_require__(70);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_moment___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_moment__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_educoder__ = __webpack_require__(5);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__css_messagemy_css__ = __webpack_require__(2455);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__css_messagemy_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__css_messagemy_css__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__messagemodal_WriteaprivateletterModal__ = __webpack_require__(3305);
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 _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 Rightdialogue=function(_Component){_inherits(Rightdialogue,_Component);function Rightdialogue(props){_classCallCheck(this,Rightdialogue);var _this=_possibleConstructorReturn(this,(Rightdialogue.__proto__||Object.getPrototypeOf(Rightdialogue)).call(this,props));_this.mydelete=function(user_id,id){_this.props.DELETEsetreplyfun(user_id,id);};_this.myCome=function(e){window.location.href="/users/"+e.login;};_this.state={};return _this;}_createClass(Rightdialogue,[{key:'componentDidMount',value:function componentDidMount(){// console.log("Rightdialogue");
// console.log(this.props);
}},{key:'componentDidUpdate',value:function componentDidUpdate(prevProps){// console.log("11111111111");
// console.log(prevProps);
// console.log("22222222222");
// console.log(this.props);
// console.log("33333333333");
// if(prevProps.current_user !== this.props.current_user){
// this.getdata(1);
// }
}},{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'ThisSide clearfix',id:'message_content_25137'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{onMouseDown:function onMouseDown(){return _this2.myCome(_this2.props.objeysl.sender);}},this.props.objeysl&&this.props.objeysl.sender.image_url?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('img',{alt:'\u5934\u50CF',className:'ml10 radius fr myimgw48 myimgh48',src:Object(__WEBPACK_IMPORTED_MODULE_3_educoder__["M" /* getImageUrl */])("images/"+this.props.objeysl.sender.image_url)}):""),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'fr pr ThisSide-info'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'trangle'}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_educoder__["q" /* ImageLayer2 */],_defineProperty({parentSel:'#Rightdialogue'+this.props.keys},'parentSel','#Rightdialogue'+this.props.keys)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'sms break_word markdown-body',id:'Rightdialogue'+this.props.keys,dangerouslySetInnerHTML:{__html:Object(__WEBPACK_IMPORTED_MODULE_3_educoder__["_0" /* markdownToHTML */])(this.props.objeysl.content).replace(/▁/g,"▁▁▁")}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'edu-txt-left mt5'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:'color-grey-c',onClick:function onClick(){return _this2.mydelete(_this2.props.objeysl.sender.id,_this2.props.objeysl.id);}},'\u5220\u9664'))),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'fr mr15 color-grey-c lineh-15 mt15'},__WEBPACK_IMPORTED_MODULE_2_moment___default()(this.props.objeysl.send_time).hour(),':',__WEBPACK_IMPORTED_MODULE_2_moment___default()(this.props.objeysl.send_time).minute()<10?"0"+__WEBPACK_IMPORTED_MODULE_2_moment___default()(this.props.objeysl.send_time).minute():__WEBPACK_IMPORTED_MODULE_2_moment___default()(this.props.objeysl.send_time).minute()));}}]);return Rightdialogue;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (Rightdialogue);
/***/ }),
/***/ 5104:
/***/ (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_axios__ = __webpack_require__(8);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_axios__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_moment__ = __webpack_require__(70);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_moment___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_moment__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_educoder__ = __webpack_require__(5);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__css_messagemy_css__ = __webpack_require__(2455);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__css_messagemy_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__css_messagemy_css__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__messagemodal_WriteaprivateletterModal__ = __webpack_require__(3305);
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 _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 Leftdialogue=function(_Component){_inherits(Leftdialogue,_Component);function Leftdialogue(props){_classCallCheck(this,Leftdialogue);var _this=_possibleConstructorReturn(this,(Leftdialogue.__proto__||Object.getPrototypeOf(Leftdialogue)).call(this,props));_this.mydelete=function(user_id,id){_this.props.DELETEsetreplyfun(user_id,id);};_this.myCome=function(e){window.location.href="/users/"+e.login;};_this.state={};return _this;}_createClass(Leftdialogue,[{key:'componentDidMount',value:function componentDidMount(){console.log("Leftdialogue");console.log(this.props);}},{key:'componentDidUpdate',value:function componentDidUpdate(prevProps){// console.log("11111111111");
// console.log(prevProps);
// console.log("22222222222");
// console.log(this.props);
// console.log("33333333333");
// if(prevProps.current_user !== this.props.current_user){
// this.getdata(1);
// }
}},{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'OtherSide clearfix',id:'message_content_25148'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{onMouseDown:function onMouseDown(){return _this2.myCome(_this2.props.objeysl.sender);}},this.props.objeysl&&this.props.objeysl.sender.image_url?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('img',{alt:'\u5934\u50CF',className:'mr10 radius fl myimgw48 myimgh48',src:Object(__WEBPACK_IMPORTED_MODULE_3_educoder__["M" /* getImageUrl */])("images/"+this.props.objeysl.sender.image_url)}):""),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'fl pr OtherSide-info'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'trangle'}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_educoder__["q" /* ImageLayer2 */],_defineProperty({parentSel:'#Leftdialogue'+this.props.keys},'parentSel','#Leftdialogue'+this.props.keys)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'sms break_word markdown-body',id:'Leftdialogue'+this.props.keys,dangerouslySetInnerHTML:{__html:Object(__WEBPACK_IMPORTED_MODULE_3_educoder__["_0" /* markdownToHTML */])(this.props.objeysl.content).replace(/▁/g,"▁▁▁")}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'edu-txt-right mt5'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{className:'color-grey-c',onClick:function onClick(){return _this2.mydelete(_this2.props.objeysl.sender.id,_this2.props.objeysl.id);}},'\u5220\u9664'))),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'fl ml15 color-grey-c lineh-15 mt15'},__WEBPACK_IMPORTED_MODULE_2_moment___default()(this.props.objeysl.send_time).hour(),':',__WEBPACK_IMPORTED_MODULE_2_moment___default()(this.props.objeysl.send_time).minute()<10?"0"+__WEBPACK_IMPORTED_MODULE_2_moment___default()(this.props.objeysl.send_time).minute():__WEBPACK_IMPORTED_MODULE_2_moment___default()(this.props.objeysl.send_time).minute()));}}]);return Leftdialogue;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (Leftdialogue);// onClick="delete_confirm_box('/users/innov/delete_message?mess_id=25148', '确定要删除该条记录吗?')"
/***/ })
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,326 @@
webpackJsonp([224],{
/***/ 1243:
/***/ (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
);
}
/***/ }),
/***/ 3646:
/***/ (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);
/***/ }),
/***/ 5187:
/***/ (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__(3646);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_immutability_helper__ = __webpack_require__(1243);
/* 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);
/***/ })
});

View File

@ -0,0 +1,327 @@
webpackJsonp([225],{
/***/ 1243:
/***/ (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
);
}
/***/ }),
/***/ 3646:
/***/ (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);
/***/ }),
/***/ 5186:
/***/ (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__(3646);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_immutability_helper__ = __webpack_require__(1243);
/* 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

View File

@ -0,0 +1,26 @@
webpackJsonp([228],{
/***/ 3640:
/***/ (function(module, exports) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAABgBAMAAAAnVGd6AAAAHlBMVEVHcExNrf9Prf9Osf9Mrf9Nrf9guP9Orf9Orv9MrP8FsCMcAAAACXRSTlMA7kQqy58Jgljrf+twAAABc0lEQVRYw+2ZoW7DMBCGb0lXjxeFNWgayyNMmlZpbKCaVBZNA8VjZpEKhjs1wG/b2Gky5LvofjTpjvvTV/dqn/8SERX7Kijq/LqlVA9vQVmXLq5fH4K6+nYAfAWgdgPggAD6YQcCVB2tMMAzPWGA37QFfUOKKtNSik3wTqq6j61AsQkbHaCM7Ujxg5Cy0loDGMAABjCAAnD8xgBFFV4gQB0vEQBQxAtoCwDq8S5XA5IAYpAEgD0YBTZ6QBI4N2pARmA5ICOwGJATWAzICTCA9U+3QIAB1OHSygJ5QFmNU7AgkAek+a0VBfKAu2kQ5wXygDQ/3xQYgTzgOL8FWAHmW/CzAifAANykwApwnTgpsAIc4KbAC7C/hVGBF2AB7u9RstHdTH5+oDY6gJMFhPPAiwICwIkC0onkJQEJ4CQB8Uz0goAIGBQ+sAnl8WRTmgEMYIB/BYCjMDiMg+NAOJCEI1E4lIVjYTyYhqNxOJwn+kT+HrgC4ZxMj7df2qIAAAAASUVORK5CYII="
/***/ }),
/***/ 5028:
/***/ (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_axios__ = __webpack_require__(8);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_axios__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__images_ok_border_png__ = __webpack_require__(3640);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__images_ok_border_png___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__images_ok_border_png__);
function VideoUpload(props){var theme=Object(__WEBPACK_IMPORTED_MODULE_0_react__["useContext"])(__WEBPACK_IMPORTED_MODULE_1_educoder__["y" /* ThemeContext */]);var history=props.history;var username=props.match.params.username;function toList(){history.push('/users/'+username+'/videos');}function toUpload(){history.push('/users/'+username+'/videos/upload');}return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'videoPublishSuccess educontent'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_educoder__["c" /* CBreadcrumb */],{className:'mb26 mt16',separator:' > ',items:[{to:'/users/'+username+'/videos',name:'视频'},{name:'上传'}]}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('style',null,'\n .videoPublishSuccess .section {\n background: #fff;\n padding: 72px 20px;\n position: relative;\n\n text-align: center;\n color: '+theme.foreground_tip+';\n }\n .videoPublishSuccess img.ok {\n width: 64px;\n margin: 16px;\n margin-top: 0px;\n }\n .videoPublishSuccess .tip {\n margin-top: 10px;\n margin-bottom: 12px;\n }\n .videoPublishSuccess .toListBtn {\n margin-right: 10px;\n }\n .videoPublishSuccess .toUploadBtn {\n width: 112px;\n }\n '),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'section'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('img',{className:'ok',src:__WEBPACK_IMPORTED_MODULE_3__images_ok_border_png___default.a})),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'font-16',style:{'line-height':'16px'}},'\u606D\u559C\uFF01'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'font-16'},'\u63D0\u4EA4\u6210\u529F'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'tip'},'\u5E73\u53F0\u6B63\u5728\u5BA1\u6838\u60A8\u7684\u7533\u8BF7\uFF0C\u5BA1\u6838\u7ED3\u679C\u5C06\u4EE5\u5E73\u53F0\u6D88\u606F\u7684\u5F62\u5F0F\u901A\u77E5\u60A8'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_educoder__["a" /* ActionBtn */],{className:'toListBtn',onClick:toList},'\u67E5\u770B\u5DF2\u4E0A\u4F20\u89C6\u9891'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_educoder__["a" /* ActionBtn */],{className:'toUploadBtn',onClick:toUpload},'\u7EE7\u7EED\u4E0A\u4F20'))));}/* harmony default export */ __webpack_exports__["default"] = (VideoUpload);
/***/ })
});

Some files were not shown because too many files have changed in this diff Show More