Commit d1520eba by fanyj

tijiao

parent 4ae3a97a
......@@ -149,6 +149,6 @@
"react-app"
]
},
"proxy": "http://139.198.126.96:9011",
"proxy": "http://192.168.0.216:9090",
"homepage": "http://myhost/data-platform"
}
......@@ -87,11 +87,11 @@
.ant-table-thead > tr > th {
background: #e8f5fb !important;
text-align: center !important;
// text-align: center !important;
}
.ant-table-tbody > tr > td {
text-align: center !important;
// text-align: center !important;
}
.ant-table-title {
......
......@@ -74,9 +74,10 @@ export default (props)=>{
},[state.tabKey])
const getIcon = (type) => {
if (type === 'Table') return <Icon type="table" className="mr-2" />;
if (type === 'HanaView') return <Icon type="area-chart" className="mr-2" />;
return null;
if (type === 'Table')
return <Icon type="table" className="mr-2" />;
else
return <Icon type="area-chart" className="mr-2" />;
};
const apply= (columnPositions, reason, expireDate, fileList) => {
......
......@@ -16,7 +16,7 @@ class Assets extends Component {
constructor(props) {
super(props);
this.state = { treeData: null, items: null, total: 0, keyword: '', pageNum: 1, pageSize: 20, currentNode: null, loading: false };
this.state = { treeData: null, items: null, total: 0, keyword: '', pageNum: 1, pageSize: 30, currentNode: null, loading: false };
}
componentDidMount() {
......@@ -35,7 +35,7 @@ class Assets extends Component {
}
getList = (node, pageNum = 1, pageSize = 20) => {
getList = (node, pageNum = 1, pageSize = 30) => {
const { keyword } = this.state;
if (node) {
this.setState({ currentNode: node, pageNum, pageSize, loading: true });
......
......@@ -15,10 +15,10 @@ export default class Indicator extends Component {
constructor(props) {
super(props);
this.state = { items: null, total: 0, keyword: '', pageNum: 1, pageSize: 20, loading: false, treeSelectId: '' };
this.state = { items: null, total: 0, keyword: '', pageNum: 1, pageSize: 30, loading: false, treeSelectId: '' };
}
getList = (treeSelectId, pageNum = 1, pageSize = 20) => {
getList = (treeSelectId, pageNum = 1, pageSize = 30) => {
const { keyword } = this.state;
this.setState({ treeSelectId, pageNum, pageSize, loading: true });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment