| | |
| | | |
| | | |
| | | questionnaireCancle = () => { |
| | | const {selectedQuestionnaireData}=this.state; |
| | | const { selectedQuestionnaireData } = this.state; |
| | | // this.props.history.push(`/questionnaire/detail/${selectedQuestionnaireData.id}`) |
| | | window.open('index.html#/activeManageEditquestionnaire/' + selectedQuestionnaireData.id); |
| | | } |
| | |
| | | title: '报名方', |
| | | dataIndex: 'proposerName', |
| | | key: 'proposerName' |
| | | }, { |
| | | title: '报名方性质', |
| | | dataIndex: 'signerType', |
| | | key: 'signerType', |
| | | render: text => (<span>{text == 1 ? '个人' : '企业'}</span>) |
| | | }, { |
| | | title: '报名人数', |
| | | dataIndex: 'signNum', |
| | | key: 'signNum', |
| | | }, { |
| | | }, |
| | | // { |
| | | // title: '报名方性质', |
| | | // dataIndex: 'signerType', |
| | | // key: 'signerType', |
| | | // render: text => (<span>{text == 1 ? '个人' : '企业'}</span>) |
| | | // }, { |
| | | // title: '报名人数', |
| | | // dataIndex: 'signNum', |
| | | // key: 'signNum', |
| | | // }, |
| | | { |
| | | title: '审核状态', |
| | | dataIndex: 'signStatus', |
| | | key: 'signStatus', |
| | |
| | | cancelText="不通过" |
| | | > |
| | | <a href="#">审核</a> |
| | | </Popconfirm> : <span disabled>审核</span> |
| | | </Popconfirm> : <span disabled></span> |
| | | ) |
| | | }]; |
| | | |
| | | console.log('savedate.activityStatus', savedate.activityStatus) |
| | | console.log('savedate.activityType', savedate.activityType) |
| | | return ( |
| | | <div className="app-page"> |
| | | <Spin spinning={loading}> |
| | |
| | | } |
| | | |
| | | { |
| | | activityType == 'act_1' ? (dateSource.length > 0 ? |
| | | savedate.activityType == 'act_1' ? (dateSource.length > 0 ? |
| | | <div style={divStyle}> |
| | | <Divider orientation="left" style={{ margin: '20px', width: '97%' }}>报名人员信息</Divider> |
| | | <TableView columns={columns} data={dateSource} pageSize='6' size='small' /> |
| | | </div> : null) : null |
| | | } |
| | | { |
| | | activityType == 'act_2' || activityType == 'act_3' ? (dateSource.length > 0 ? |
| | | savedate.activityType == 'act_2' || savedate.activityType == 'act_3' ? (dateSource.length > 0 ? |
| | | <div style={divStyle}> |
| | | <Divider orientation="left" style={{ margin: '20px', width: '97%' }}>报名名单</Divider> |
| | | <TableView columns={act2columns} data={dateSource} pageSize='6' size='small' /> |
| | | </div> : null) : null |
| | | } |
| | | { |
| | | activityType == 'act_2' || activityType == 'act_3' ? (dateSource.length > 0 ? |
| | | savedate.activityType == 'act_2' || savedate.activityType == 'act_3' ? (dateSource.length > 0 ? |
| | | <div style={divStyle}> |
| | | <Divider orientation="left" style={{ margin: '20px', width: '97%' }}>培训结果</Divider> |
| | | <div style={divStyle}> |
| | |
| | | </Modal> |
| | | </Col> |
| | | </Row> |
| | | <Row type="flex" align='top' justify="space-around"> |
| | | <Col span={6} pull={0} style={{ textAlign: 'center' }}><span>培训结果</span></Col> |
| | | <Col span={18} push={0} > |
| | | <span>{savedate.result}</span> |
| | | </Col> |
| | | </Row> |
| | | </div> |
| | | |
| | | </div> : null) : null |
| | | } |
| | | |
| | | { |
| | | activityType == 'act_1' && ( |
| | | savedate.activityType == 'act_1' && ( |
| | | savedate.activityStatus == null || savedate.activityStatus == 0 ? |
| | | <div style={{ display: 'flex', justifyContent: 'center' }}> |
| | | <Button style={{ marginRight: '15px', width: '150px' }} type="primary" onClick={this.submit}>提交</Button> |
| | |
| | | ) |
| | | } |
| | | { |
| | | activityType == 'act_2' || activityType == 'act_3' && ( |
| | | savedate.activityType == 'act_2' || savedate.activityType == 'act_3' ? ( |
| | | savedate.activityStatus == null || savedate.activityStatus == 0 ? |
| | | <div style={{ display: 'flex', justifyContent: 'center' }}> |
| | | <Button style={{ marginRight: '15px', width: '150px' }} type="primary" onClick={this.submit}>提交</Button> |
| | |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.cancle}>返回</Button> |
| | | </div> |
| | | ) |
| | | ) |
| | | ) : '123' |
| | | } |
| | | |
| | | </BusDetailView> |