| | |
| | | })) |
| | | } |
| | | |
| | | selectonClick = () => { |
| | | selectonClick = (value) => { |
| | | this.setState({ |
| | | questionnaireModal: true, |
| | | modalLoading: true |
| | | }) |
| | | Fetch.questionQuery({ |
| | | status: 3, |
| | | title : value, |
| | | page: this.state.page, |
| | | size: this.state.pageSize, |
| | | }) |
| | |
| | | |
| | | } |
| | | }); |
| | | } |
| | | |
| | | selClick = () =>{ |
| | | this.selectonClick(""); |
| | | } |
| | | |
| | | selectCancelModel = () => { |
| | |
| | | ) |
| | | }]; |
| | | const questionnaireColumns = [{ |
| | | title: '主题', |
| | | title: '问卷标题', |
| | | dataIndex: 'title', |
| | | key: 'title', |
| | | ellipsis: true, |
| | |
| | | <Button type="link" onClick={this.questionnaireCancle}>查看</Button> |
| | | <Button type="link" onClick={this.questionnaireDel}>删除</Button> |
| | | </div> : |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.selectonClick}>请选择</Button> |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.selClick}>请选择</Button> |
| | | } |
| | | </Col> |
| | | </Row> |
| | |
| | | <Button type="link" onClick={this.questionnaireCancle}>查看</Button> |
| | | <Button type="link" disabled onClick={this.questionnaireDel}>删除</Button> |
| | | </div> : |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.selectonClick}>请选择</Button> |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.selClick}>请选择</Button> |
| | | } |
| | | </Col> |
| | | </Row> |
| | |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.cancle}>返回</Button> |
| | | </div> |
| | | ) |
| | | ) : '123' |
| | | ) : '' |
| | | } |
| | | |
| | | </BusDetailView> |
| | |
| | | enterButton="查询" |
| | | size="large" |
| | | style={{ margin: '12px' }} |
| | | onSearch={value => this.questionnaireSearch(value)} |
| | | onSearch={value => this.selectonClick(value)} |
| | | /> |
| | | |
| | | <Table |