|
|
|
@ -3,6 +3,8 @@ import {Link} from 'react-router-dom';
|
|
|
|
|
import { Input ,Dropdown , Menu , Icon } from 'antd';
|
|
|
|
|
import './order.css';
|
|
|
|
|
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
|
|
|
|
|
const Search = Input.Search;
|
|
|
|
|
|
|
|
|
|
const tagList= ['所有标签','release','test'];
|
|
|
|
@ -12,6 +14,24 @@ const levelList=['优先度','低','正常','高','紧急','立刻'];
|
|
|
|
|
const percentList=['完成度','0%','10%','20%','30%','40%','50%','60%','70%','80%','90%','100%'];
|
|
|
|
|
class order extends Component{
|
|
|
|
|
|
|
|
|
|
componentDidMount=()=>{
|
|
|
|
|
this.getIssueList();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
getIssueList=()=>{
|
|
|
|
|
const { projectsId } = this.props.match.params;
|
|
|
|
|
|
|
|
|
|
const url = `/projects/${projectsId}/issues.json`;
|
|
|
|
|
axios.get(url,{
|
|
|
|
|
params:{}
|
|
|
|
|
}).then((result)=>{
|
|
|
|
|
if(result){
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}).catch((error)=>{
|
|
|
|
|
console.log(error);
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
renderMenu =(array)=>{
|
|
|
|
|
return(
|
|
|
|
|
<Menu>
|
|
|
|
@ -84,6 +104,11 @@ class order extends Component{
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|