forked from Gitlink/forgeplus
1 line
22 KiB
JavaScript
1 line
22 KiB
JavaScript
(this.webpackJsonp=this.webpackJsonp||[]).push([[80],{"6JOy":function(e,t,a){},D5tj:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(a("mr32"));t.TagInfo=function(e,t){var a="#e74c3c";a="高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c";return l.default.createElement(s.default,{color:a,className:t,style:{height:"25px",lineHeight:"23px"}},e)},a("0lcf");var l=n(a("q1tI"));function n(e){return e&&e.__esModule?e:{default:e}}},GqXi:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=o(a("NJEC")),l=function(){function e(e,t){for(var a=0;a<t.length;a++){var s=t[a];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,a,s){return a&&e(t.prototype,a),s&&e(t,s),t}}();a("k994");var n=a("q1tI"),r=o(n),i=a("eO8H"),u=a("D5tj");function o(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.set_issue_tags=function(e){return e&&e.length>0?e.map((function(e,t){return r.default.createElement("span",{className:"mr10",key:t},e.name)})):"--"},a.deletedetail=function(e){a.props.deletedetail(e)},a.onMouseMove=function(e){a.setState({isdisplay:!0,orderid:e})},a.onMouseOut=function(){a.setState({isdisplay:!1})},a.state={isdisplay:!1,orderid:""},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),l(t,[{key:"render",value:function(){var e=this,t=this.props,a=t.item,l=t.checkbox,n=t.mile,o=t.user_admin_or_member,c=this.props.match.params,d=c.projectsId,p=c.owner,m=this.state,f=m.orderid,_=m.isdisplay,h=this.props.current_user;return a&&r.default.createElement("div",{className:"issueItem"},h&&h.login&&l,r.default.createElement("div",{className:"flex-1"},r.default.createElement("p",{className:"mb10 df",style:{alignItems:"center"}},r.default.createElement(i.Link,{to:"/"+p+"/"+d+"/issues/"+a.id,target:"_blank",title:a.name,className:"hide-1 font-16 color-grey-3 lineh-30 mr10",style:{maxWidth:"370px"}},a.name),(0,u.TagInfo)(a.priority,"mr10")),r.default.createElement("p",{className:"color-grey-6 font-12"},r.default.createElement("span",null,a.format_time),r.default.createElement("span",{className:"ml5"},"发布"),a.updated_at===a.format_time?"":r.default.createElement("span",{className:"ml20"},r.default.createElement("span",null,a.updated_at),r.default.createElement("span",{className:"ml5"},"更新")))),r.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(a.id)},onMouseOut:function(){return e.onMouseOut()}},r.default.createElement("li",null,this.set_issue_tags(a.issue_tags)),r.default.createElement("li",null,a.author_name?r.default.createElement(i.Link,{to:"/"+a.author_login,className:"show-user-link"},a.author_name):"--"),r.default.createElement("li",null,a.assign_user_name?r.default.createElement(i.Link,{to:"/"+a.assign_user_login,className:"show-user-link"},a.assign_user_name):"--"),r.default.createElement("li",null,a.tracker||"--"),n?"":r.default.createElement("li",null,a.version||"--"),r.default.createElement("li",null,a.issue_status||"--"),r.default.createElement("li",{style:{color:"100%"===a.done_ratio?"#28BD6C":"#F73030"}},a.done_ratio||"--"),r.default.createElement("li",null,r.default.createElement("div",{className:"milepostleft"},r.default.createElement(i.Link,{to:"/"+p+"/"+d+"/issues/"+a.id},r.default.createElement("i",{className:"iconfont icon-pinglun1 mr3 font-16"}),a.journals_count),o?r.default.createElement("div",{style:{display:f===a.id&&_?"flex":"none"}},r.default.createElement("div",{className:"mr8 ml8 color-grey-9"},r.default.createElement(i.Link,{to:"/"+p+"/"+d+"/issues/"+a.id+"/updatedetail",className:"color-grey-9"},r.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"}))),r.default.createElement("div",{className:"color-grey-9"},r.default.createElement(s.default,{placement:"bottom",overlayClassName:f===a.id&&_?"overlayBox":"overlayBox hideOverlay",title:"您确定要删除当前易修吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deletedetail(a.id)}},r.default.createElement("i",{className:"iconfont icon-yiguanbi1 font-14"})))):""))))}}]),t}(n.Component);t.default=c},Phz4:function(e,t,a){},WT1Z:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=y(a("W9HT")),l=y(a("NUBc")),n=y(a("jsC+")),r=y(a("CtXQ")),i=y(a("kaz8")),u=y(a("+eQT")),o=y(a("BvKs")),c=y(a("5rEg")),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e},p=function(){function e(e,t){for(var a=0;a<t.length;a++){var s=t[a];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,a,s){return a&&e(t.prototype,a),s&&e(t,s),t}}();a("04bd"),a("YQTV"),a("aIZi"),a("2oDE"),a("MKzF"),a("U8R4"),a("2WkQ"),a("1vPl");var m=a("q1tI"),f=y(m);a("6JOy"),a("Phz4");var _=y(a("wd/R")),h=y(a("2CTR")),g=y(a("GqXi")),v=y(a("aqs5")),E=y(a("vDqi"));function y(e){return e&&e.__esModule?e:{default:e}}function b(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var k=c.default.Search,N=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.componentDidMount=function(){a.getSelectList(),a.getIssueList("1")},a.getSelectList=function(){a.setState({isSpin:!0});var e=a.props.match.params,t=e.projectsId,s="/"+e.owner+"/"+t+"/issues/index_chosen.json";E.default.get(s).then((function(e){e&&a.setState({issue_chosen:e.data.issue_chosen,isSpin:!1})})).catch((function(e){console.log(e)}))},a.getIssueList=function(e,t,s){a.setState({isSpin:!0});var l=a.state.select_params,n=a.props.match.params,r=n.projectsId,i="/"+n.owner+"/"+r+"/issues.json";E.default.get(i,{params:d({},l,{start_date:t,due_date:s,status_type:e})}).then((function(e){if(e){var t=e.data.issues;a.setState({data:e.data,issues:t,search_count:e.data.search_count,isSpin:!1,allValue:t&&t.length>0&&t.map((function(e){return e.id}))})}})).catch((function(e){console.log(e)}))},a.getMenu=function(e,t,s){a.setState({isSpin:!0});var l=e.key.split("-");"created_on"===l[0]?("desc"===e.item.props.value?a.setState({paix:"最新创建"}):a.setState({paix:"最早创建"}),a.state.select_params.order_name=e.key):"updated_on"===l[0]&&("desc"===e.item.props.value?a.setState({paix:"最新更新"}):a.setState({paix:"最早更新"})),a.state.select_params.order_name=l[0],a.state.select_params.order_type=e.item.props.value,a.state.select_params.page=1;var n=a.state.status_type;a.getIssueList(n)},a.getOption=function(e,t,s,l){var n,r=a.props.current_user,i="all"===e.key?void 0:e.key,u=a.state.author_id,o=a.state.assigned_to_id,c=a.state.select_params;if(c[""+t]=i,c.page=1,r&&(u=c.author_id&&c.author_id===r.user_id?r.user_id:void 0,o=c.assigned_to_id&&c.assigned_to_id===r.user_id?r.user_id:void 0),a.setState((b(n={},t+"s",s),b(n,"select_params",c),b(n,"author_id",u),b(n,"assigned_to_id",o),n)),!l){var d=a.state.status_type;a.getIssueList(d)}},a.renderMenu=function(e,t,s,l){return f.default.createElement(o.default,{className:"orderCondition"},f.default.createElement(o.default.Item,{key:"all",onClick:function(e){return a.getOption(e,s,t,l)}},t),e&&e.length>0&&e.map((function(e,t){return f.default.createElement(o.default.Item,{key:e.id,onClick:function(t){return a.getOption(t,s,e.name,l)},style:{textAlign:e.color?"left":"center",padding:"6px 15px"}},e.color&&f.default.createElement("span",{className:"tagColor",style:{backgroundColor:""+e.color}}),e.name)})))},a.ChangePage=function(e){a.setState({isSpin:!0,checkedValue:[],all:!1});var t=a.state.status_type;a.state.select_params.page=e,a.getIssueList(t)},a.searchFunc=function(e){a.setState({search:e,isSpin:!0,checkedValue:[],all:void 0});var t=a.state.status_type;a.state.select_params.search=e,a.state.select_params.page=1,a.getIssueList(t)},a.openorder=function(e){a.setState({author_id:void 0,assigned_to_id:void 0,status_type:e,issue_tag_ids:"标记",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",fixed_version_ids:"里程碑",paix:"排序",checkedValue:[],all:void 0}),a.state.select_params.page=1,a.state.select_params.limit=15,a.getIssueList(e)},a.ChangeAssign=function(e){var t=a.props.current_user;if(a.setState({isSpin:!0}),e){if(!t)return void a.setState({isSpin:!1});1===e?(a.setState({assigned_to_ids:t.username,assigned_to_id:t.user_id,author_id:void 0,author_ids:"发布人"}),a.state.select_params.author_id=void 0,a.state.select_params.assigned_to_id=t.user_id):(a.setState({author_ids:t.username,author_id:t.user_id,assigned_to_id:void 0,assigned_to_ids:"负责人"}),a.state.select_params.assigned_to_id=void 0,a.state.select_params.author_id=t.user_id)}else a.setState({author_ids:"发布人",author_id:void 0,assigned_to_ids:"负责人",assigned_to_id:void 0}),a.state.select_params.assigned_to_id=void 0,a.state.select_params.author_id=void 0;var s=a.state.status_type;a.getIssueList(s)},a.deletedetail=function(e){var t=a.props.match.params,s=t.projectsId,l="/"+t.owner+"/"+s+"/issues/"+e+".json";E.default.delete(l,{data:{project_id:s,id:e}}).then((function(e){if(e){var t=a.state.status_type;a.getIssueList(t);var s=a.props.getDetail;s&&s()}})).catch((function(e){console.log(e)}))},a.islogin=function(){a.props.showLoginDialog()},a.renderNew=function(){var e=a.state.data;if(e&&e.user_admin_or_member){var t=a.props.match.params,s=t.projectsId,l=t.owner;return f.default.createElement(v.default,d({},a.props,{className:"topWrapper_btn ml10",sureFunc:function(){window.open("/"+l+"/"+s+"/issues/new","_blank")}}),"+ 创建易修")}},a.changeBeginTime=function(e,t){var s=a.state.status_type;a.setState({begin:t}),a.getIssueList(s,t,a.state.end)},a.changeEndTime=function(e,t){var s=a.state.status_type;a.setState({end:t}),a.getIssueList(s,a.state.begin,t)},a.checkIssues=function(e){a.setState({checkedValue:e});var t=a.state.allValue;a.setState({all:t&&e&&e.length===t.length}),0===e.length&&a.setState({update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",select_params:{update_author_id:void 0,update_fixed_version_id:void 0,update_status_id:void 0}})},a.changeAll=function(e){if(e.target.checked){var t=a.state.allValue;a.setState({checkedValue:t})}else a.setState({checkedValue:[]});a.setState({all:e.target.checked})},a.updateIssues=function(){var e=a.state,t=e.checkedValue,s=e.select_params,l=a.props.match.params,n=l.projectsId,r=l.owner;if(s.update_author_id||s.update_fixed_version_id||s.update_status_id){a.setState({isSpin:!0});var i="/"+r+"/"+n+"/issues/series_update.json";E.default.post(i,{ids:t,assigned_to_id:s.update_author_id,fixed_version_id:s.update_fixed_version_id,status_id:s.update_status_id}).then((function(e){if(e){var t=a.props.getDetail;s&&s.update_status_id&&t&&t(),a.props.showNotification("修改成功!"),a.successFunc()}})).catch((function(e){console.log(e)}))}else a.resetSelectParams()},a.successFunc=function(){a.resetSelectParams();var e=a.state.status_type;a.getIssueList(e)},a.resetSelectParams=function(){var e=a.state.select_params;e.update_author_id=void 0,e.update_fixed_version_id=void 0,e.update_status_id=void 0,a.setState({all:!1,checkedValue:[],update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",select_params:e})},a.deleteIssues=function(){a.props.confirm({content:"是否确认删除所有选中的任务?",onOk:function(){a.setState({isSpin:!0});var e=a.state.checkedValue,t=a.props.match.params,s=t.projectsId,l="/"+t.owner+"/"+s+"/issues/clean.json";E.default.post(l,{ids:e}).then((function(e){if(e){var t=a.props.getDetail;t&&t(),a.props.showNotification("删除成功!"),a.successFunc()}})).catch((function(e){console.log(e)}))}})},a.menu=function(){return f.default.createElement(o.default,{onClick:function(e){return a.getMenu(e)}},f.default.createElement(o.default.Item,{key:"created_on-desc",value:"desc"},"最新创建"),f.default.createElement(o.default.Item,{key:"created_on-asc",value:"asc"},"最早创建"),f.default.createElement(o.default.Item,{key:"updated_on-desc",value:"desc"},"最新更新"),f.default.createElement(o.default.Item,{key:"updated_on-asc",value:"asc"},"最早更新"))},a.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!1,search:void 0,author_id:void 0,assigned_to_id:void 0,search_count:void 0,issue_type:void 0,status_type:"1",issue_tag_ids:"标记",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",fixed_version_ids:"里程碑",status_ids:"状态",done_ratios:"完成度",paix:"排序",update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",begin:"",end:"",checkedValue:[],allValue:[],all:!1,select_params:{assigned_to_id:void 0,author_id:void 0,issue_tag_id:void 0,tracker_id:void 0,done_ratio:void 0,status_id:void 0,fixed_version_id:void 0,order_name:void 0,order_type:void 0,search:void 0,update_author_id:void 0,update_fixed_version_id:void 0,update_status_id:void 0,page:1,limit:15}},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),p(t,[{key:"render",value:function(){var e=this,t=this.props.current_user,a=this.state,o=a.issue_chosen,c=a.issues,p=a.search_count,m=a.data,v=a.author_id,E=a.assigned_to_id,y=a.isSpin,b=a.status_type,N=a.select_params,S=a.begin,x=a.end,w=a.checkedValue,C=a.all;return f.default.createElement("div",{className:"main",style:{padding:"0px"}},f.default.createElement("div",{style:{padding:"10px 20px 0px 20px"}},f.default.createElement("div",{className:"topWrapper",style:{paddingTop:"10px"}},f.default.createElement("ul",{className:"topWrapper_type"},f.default.createElement("li",null,f.default.createElement("label",null,"所有:"),f.default.createElement("span",{className:b?"":"active",onClick:function(){return e.openorder()}},m&&m.all_count)),f.default.createElement("li",null,f.default.createElement("label",null,"开启中:"),f.default.createElement("span",{className:"1"===b?"active":"",onClick:function(){return e.openorder("1")}},m&&m.open_count)),f.default.createElement("li",null,f.default.createElement("label",null,"已关闭:"),f.default.createElement("span",{className:"2"===b?"active":"",onClick:function(){return e.openorder("2")}},m&&m.close_count))),this.renderNew()),f.default.createElement("div",{className:"topWrapper",style:{borderBottom:"none"}},f.default.createElement("div",{className:"target-detail-search"},f.default.createElement(k,{placeholder:"输入关键字搜索易修",enterButton:!0,onSearch:this.searchFunc,style:{width:300}})),f.default.createElement("div",null,f.default.createElement(u.default,{value:S?(0,_.default)(S,"YYYY-MM-DD"):"",style:{marginRight:"20px"},placeholder:"请选择开始时间",onChange:this.changeBeginTime}),f.default.createElement(u.default,{value:x?(0,_.default)(x,"YYYY-MM-DD"):"",placeholder:"请选择结束时间",onChange:this.changeEndTime})))),f.default.createElement(s.default,{spinning:y},f.default.createElement("div",{className:"f-wrap-between screenWrap"},f.default.createElement("div",{className:"df"},t&&t.login&&m&&m.user_admin_or_member?f.default.createElement(i.default,{value:"0",style:{lineHeight:"50px",marginRight:"15px"},checked:C,onChange:this.changeAll}):"",w&&w.length>0?f.default.createElement("span",{style:{lineHeight:"50px"}},"选中",w.length,"个issue"):f.default.createElement("ul",{className:"searchBanner"},f.default.createElement("li",{className:v||E?"":"active",onClick:function(){return e.ChangeAssign()}},f.default.createElement("label",null,"搜索结果"),f.default.createElement("span",null,m&&m.search_count)),f.default.createElement("li",{style:{display:t&&""===t.login?"none":"flex"},className:E?"active":"",onClick:function(){return e.ChangeAssign(1)}},f.default.createElement("label",null,"指派给我"),f.default.createElement("span",null,m&&m.assign_me_count)),f.default.createElement("li",{style:{display:t&&""===t.login?"none":"flex"},className:v?"active":"",onClick:function(){return e.ChangeAssign(2)}},f.default.createElement("label",null,"我的发布"),f.default.createElement("span",null,m&&m.my_published_count)))),w&&w.length>0?f.default.createElement("ul",{className:"topWrapper_select wrapperStyle"},f.default.createElement("li",{className:"mr20"},f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.assign_user,"更换负责人","update_author_id",!0),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.update_author_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",{className:"mr20"},f.default.createElement(n.default,{className:"topWrapperSelect wrapperStyle",overlay:this.renderMenu(o&&o.issue_version,"更换里程碑","update_fixed_version_id",!0),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.update_fixed_version_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",{className:"mr20"},f.default.createElement(n.default,{className:"topWrapperSelect wrapperStyle",overlay:this.renderMenu(o&&o.issue_status,"修改状态","update_status_id",!0),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.update_status_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("a",{onClick:this.updateIssues,className:"updateBtn blue mr20"},"确定"),f.default.createElement("a",{onClick:this.deleteIssues,className:"updateBtn red mr20"},"删除")):f.default.createElement("ul",{className:"topWrapper_select"},f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.issue_tag,"标记","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.issue_tag_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.assign_user,"发布人","author_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.author_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.assign_user,"负责人","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.assigned_to_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.tracker,"类型","tracker_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.tracker_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.issue_version,"里程碑","fixed_version_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.fixed_version_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.issue_status,"状态","status_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.status_ids,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.renderMenu(o&&o.done_ratio,"完成度","done_ratio"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.done_ratios,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(n.default,{className:"topWrapperSelect",overlay:this.menu(),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.paix,f.default.createElement(r.default,{type:"caret-down",className:"ml5"})))))),0===p?f.default.createElement(h.default,{_html:"暂时还没有相关数据!"}):f.default.createElement("div",{style:{minHeight:"500px"}},f.default.createElement(i.default.Group,{name:"issues",onChange:this.checkIssues,value:w,style:{width:"100%"}},c&&c.length>0&&c.map((function(a,s){return f.default.createElement(g.default,d({key:s,item:a,checkbox:t&&m&&m.user_admin_or_member?f.default.createElement(i.default,{value:a.id,key:a.id,style:{margin:"4px 15px 0px 0px"}}):"",search_count:p,page:N.page,limit:N.limit},e.props,e.state,{deletedetail:e.deletedetail,user_admin_or_member:m&&m.user_admin_or_member}))})))),p>N.limit?f.default.createElement("div",{className:"mt30 mb30 edu-txt-center"},f.default.createElement(l.default,{simple:!0,defaultCurrent:N.page,total:p,pageSize:N.limit,onChange:this.ChangePage})):""))}}]),t}(m.Component);t.default=N}}]); |