提交 ef4ca222 authored 作者: 钟是志's avatar 钟是志

样式修改

上级 1553d057
...@@ -227,7 +227,7 @@ class FormList extends React.Component { ...@@ -227,7 +227,7 @@ class FormList extends React.Component {
}); });
}, },
}); });
// } else { // } else {
// router.push({ // router.push({
// pathname: '/admin/ddl/dataObj/formEdit', // pathname: '/admin/ddl/dataObj/formEdit',
...@@ -649,7 +649,7 @@ class FormList extends React.Component { ...@@ -649,7 +649,7 @@ class FormList extends React.Component {
}; };
sqlBs16 = Base16Encode(this.props.sql); sqlBs16 = Base16Encode(this.props.sql);
getPage = (params, values, callPage) => { getPage = (params, values, callPage) => {
if (this.columns == null || this.columns.length == 0) { if (this.columns == null || this.columns.length == 0) {
return; return;
} }
...@@ -657,13 +657,13 @@ class FormList extends React.Component { ...@@ -657,13 +657,13 @@ class FormList extends React.Component {
const pagination = this.state.data.pagination; const pagination = this.state.data.pagination;
if (params == null) { if (params == null) {
params = { params = {
pageNo: pagination.current ? pagination.current : 1, pageNo: pagination.current ? pagination.current : 1,
pageSize: pagination.pageSize ? pagination.pageSize : this.props.pageSize || 10, pageSize: pagination.pageSize ? pagination.pageSize : this.props.pageSize || 10,
query: JSON.stringify(values != null ? values : this.state.formValues), query: JSON.stringify(values != null ? values : this.state.formValues),
}; };
}else{ }else{
if(params.pageNo==null) return; if(params.pageNo==null) return;
} }
...@@ -931,7 +931,7 @@ class FormList extends React.Component { ...@@ -931,7 +931,7 @@ class FormList extends React.Component {
placeholder="请选择" placeholder="请选择"
allowClear allowClear
> >
{ops.map(r => {ops.map(r =>
<Option value={r[item.referenceCodeName]} key={r[item.referenceCodeName]}> <Option value={r[item.referenceCodeName]} key={r[item.referenceCodeName]}>
{r[item.referenceNameName]} {r[item.referenceNameName]}
</Option> </Option>
...@@ -1223,7 +1223,7 @@ class FormList extends React.Component { ...@@ -1223,7 +1223,7 @@ class FormList extends React.Component {
render: (text, record) => { render: (text, record) => {
return ( return (
<Fragment> <Fragment>
<div style={{ textAlign: 'center', 'padding-left': '0px', 'padding-right': '0px' }}> <div style={{ textAlign: 'center', paddingLeft: '0px', paddingRight: '0px' }}>
{isSelect ? ( {isSelect ? (
this.state.selects.includes(record[valueName]) ? ( this.state.selects.includes(record[valueName]) ? (
<> <>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论