|
@@ -758,56 +758,66 @@ const DiurnalStatistics = React.createClass({
|
|
|
<div className='set-content'>
|
|
|
<p style={{fontSize:'20px',marginBottom:'10px'}}>订单统计报表</p>
|
|
|
<div className="clearfix">
|
|
|
- <Button type="primary" onClick={this.tabExel} style={{ float:'right' }}>导出到表格</Button>
|
|
|
- <span style={{fontSize:'16px'}}>部门机构 : </span>
|
|
|
- <Select placeholder="选择部门"
|
|
|
- style={{ width:'200px',marginRight:'10px' }}
|
|
|
- value={this.state.superId}
|
|
|
- onChange={(e) => { this.setState({ superId: e }) }} notFoundContent="未获取到上级组织列表">
|
|
|
- {this.state.contactsOption}
|
|
|
- </Select>
|
|
|
-
|
|
|
- <Select placeholder="任务状态"
|
|
|
- style={{ width: 150 ,marginRight:'10px'}}
|
|
|
- value={this.state.taskStatus}
|
|
|
- onChange={(e) => { this.setState({ taskStatus: e }) }}>
|
|
|
- {
|
|
|
- taskStatus.map(function (item) {
|
|
|
- return <Select.Option key={item.value} >{item.key}</Select.Option>
|
|
|
- })
|
|
|
- }
|
|
|
- </Select>
|
|
|
- <Select placeholder="公示状态"
|
|
|
- style={{ width: 150 ,marginRight:'10px'}}
|
|
|
- value={this.state.publishStatus}
|
|
|
- onChange={(e) => { this.setState({ publishStatus: e }) }}>
|
|
|
- {
|
|
|
- publishStatus.map(function (item) {
|
|
|
- return <Select.Option key={item.value} >{item.key}</Select.Option>
|
|
|
- })
|
|
|
- }
|
|
|
- </Select>
|
|
|
- <Button type="primary" onClick={this.search} style={{marginLeft:'10px',marginRight:'10px'}}>搜索</Button>
|
|
|
- <Button onClick={this.reset}>重置</Button>
|
|
|
- <div className="clearfix" style={{marginTop:"10px"}}>
|
|
|
- <Button onClick={this.week} style={{marginRight:'5px'}} type={this.state.weekColor?"primary":''}>本周</Button>
|
|
|
- <Button onClick={this.month} style={{marginRight:'5px'}} type={this.state.monthColor?"primary":''}>本月</Button>
|
|
|
- <Button onClick={this.quarter} style={{marginRight:'5px'}} type={this.state.quarterColor?"primary":''}>本季</Button>
|
|
|
- <Button onClick={this.year} style={{marginRight:'5px'}} type={this.state.yearColor?"primary":''}>本年</Button>
|
|
|
- <span className="titleTime" style={{marginRight:'5px',marginTop:"0px"}}>起止时间:</span>
|
|
|
- <RangePicker style={{marginRight:'5px',marginTop:"0px"}}
|
|
|
- value={[this.state.releaseDate[0] ? moment(this.state.releaseDate[0]) : null,
|
|
|
- this.state.releaseDate[1] ? moment(this.state.releaseDate[1]) : null]}
|
|
|
- onChange={(data, dataString) => { this.setState({ releaseDate: dataString }); }} />
|
|
|
- <ChooseList
|
|
|
- columns={this.state.columns}
|
|
|
- changeFn={this.changeList}
|
|
|
- changeList={this.state.changeList}
|
|
|
- top={55}
|
|
|
- margin={11}
|
|
|
- />
|
|
|
- </div>
|
|
|
-
|
|
|
+ <Tabs defaultActiveKey="1" className="test">
|
|
|
+ <TabPane tab="搜索" key="1">
|
|
|
+ <div className="user-search" style={{padding:'11px'}}>
|
|
|
+ <Button type="primary" onClick={this.tabExel} style={{ float:'right' }}>导出到表格</Button>
|
|
|
+ <span style={{fontSize:'16px'}}>部门机构 : </span>
|
|
|
+ <Select placeholder="选择部门"
|
|
|
+ style={{ width:'200px',marginRight:'10px' }}
|
|
|
+ value={this.state.superId}
|
|
|
+ onChange={(e) => { this.setState({ superId: e }) }} notFoundContent="未获取到上级组织列表">
|
|
|
+ {this.state.contactsOption}
|
|
|
+ </Select>
|
|
|
+ <Select placeholder="任务状态"
|
|
|
+ style={{ width: 150 ,marginRight:'10px'}}
|
|
|
+ value={this.state.taskStatus}
|
|
|
+ onChange={(e) => { this.setState({ taskStatus: e }) }}>
|
|
|
+ {
|
|
|
+ taskStatus.map(function (item) {
|
|
|
+ return <Select.Option key={item.value} >{item.key}</Select.Option>
|
|
|
+ })
|
|
|
+ }
|
|
|
+ </Select>
|
|
|
+ <Select placeholder="公示状态"
|
|
|
+ style={{ width: 150 ,marginRight:'10px'}}
|
|
|
+ value={this.state.publishStatus}
|
|
|
+ onChange={(e) => { this.setState({ publishStatus: e }) }}>
|
|
|
+ {
|
|
|
+ publishStatus.map(function (item) {
|
|
|
+ return <Select.Option key={item.value} >{item.key}</Select.Option>
|
|
|
+ })
|
|
|
+ }
|
|
|
+ </Select>
|
|
|
+ <Button type="primary" onClick={this.search} style={{marginLeft:'10px',marginRight:'10px'}}>搜索</Button>
|
|
|
+ <Button onClick={this.reset}>重置</Button>
|
|
|
+ <div className="clearfix" style={{marginTop:"10px"}}>
|
|
|
+ <Button onClick={this.week} style={{marginRight:'5px'}} type={this.state.weekColor?"primary":''}>本周</Button>
|
|
|
+ <Button onClick={this.month} style={{marginRight:'5px'}} type={this.state.monthColor?"primary":''}>本月</Button>
|
|
|
+ <Button onClick={this.quarter} style={{marginRight:'5px'}} type={this.state.quarterColor?"primary":''}>本季</Button>
|
|
|
+ <Button onClick={this.year} style={{marginRight:'5px'}} type={this.state.yearColor?"primary":''}>本年</Button>
|
|
|
+ <span className="titleTime" style={{marginRight:'5px',marginTop:"0px"}}>起止时间:</span>
|
|
|
+ <RangePicker
|
|
|
+ style={{marginRight:'5px',marginTop:"0px"}}
|
|
|
+ value={[this.state.releaseDate[0] ? moment(this.state.releaseDate[0]) : null,
|
|
|
+ this.state.releaseDate[1] ? moment(this.state.releaseDate[1]) : null]}
|
|
|
+ onChange={(data, dataString) => { this.setState({ releaseDate: dataString }); }}
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </TabPane>
|
|
|
+ <TabPane tab="更改表格显示数据" key="2">
|
|
|
+ <div style={{ marginLeft: 10 }}>
|
|
|
+ <ChooseList
|
|
|
+ columns={this.state.columns}
|
|
|
+ changeFn={this.changeList}
|
|
|
+ changeList={this.state.changeList}
|
|
|
+ top={55}
|
|
|
+ margin={11}
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </TabPane>
|
|
|
+ </Tabs>
|
|
|
</div>
|
|
|
<div id='daochu'>
|
|
|
{/* <div className="surfaceTitle">
|