diff --git a/src/components/Common/CommonTable/index.js b/src/components/Common/CommonTable/index.js index 738d7bc..64ff4b1 100644 --- a/src/components/Common/CommonTable/index.js +++ b/src/components/Common/CommonTable/index.js @@ -1068,7 +1068,6 @@ class CommonTableRc extends React.Component { this.setState({ currentHoverSid: record.sId }); - // console.log('=====record', record); // this.handleSelectRowChange(this.props.name, [record[this.rowKey]]); }, 150); } @@ -1562,7 +1561,6 @@ class CommonTableRc extends React.Component { getTableProps = () => { /* 给数据都添加上key */ const { tableColumn, dataSource } = this.state; - console.log("🚀 ~ CommonTableRc ~ dataSource:", dataSource) // 二级表头 const subTableColumn = tableColumn.reduce((result, item) => { if (commonUtils.isNotEmptyArr(item.children)) { @@ -3366,7 +3364,6 @@ class CommonTableRc extends React.Component { } let bPagination = true; /* 默认表格分页s */ let { mesTotalCount, mesPageSize, mesPageNum, isPagination } = this.props.tableProps || {}; - console.log(this.props.tableProps, 'this.props.tableProps'); if (commonUtils.isNotEmptyObject(this.props)) { bPagination = @@ -7516,7 +7513,6 @@ class CommonTableRc extends React.Component { ) ? showConfig.sControlName : ""; - console.log("sFormId:", sFormId); if (commonUtils.isNotEmptyObject(sBtnContent)) { const urlPrint = `${commonConfig.server_host }template/getSql/${sBtnName}/?sBtnContent=${sBtnContent}&sBtnControlName=${sBtnControlName}&sFormId=${sFormId}`; @@ -7739,7 +7735,7 @@ class CommonTableRc extends React.Component { genFooter = () => { const { tableColumn, totalData, totalData1 } = this.state; const { dNetMoney, dNetPrice } = this.props.app.decimals; - console.log('totalData', totalData); + const sModelsType = commonUtils.isNotEmptyObject(this.props) && commonUtils.isNotEmptyObject(this.props.app) @@ -8379,8 +8375,7 @@ class CommonTableRc extends React.Component { : { [this.props.config.sId]: handleData }; - // console.log(postData, 'postData'); - // console.log(sortItems, 'sortItems'); + const value = { handleType: "group", @@ -10842,7 +10837,7 @@ class CommonTableRc extends React.Component { /* 获取table中的props */ const tableProps = this.getTableProps(); - console.log("🚀 ~ CommonTableRc ~ render ~ tableProps:", tableProps) + let autoHeight = this.props.tableProps.AutoTableHeight; const realizeHeight = @@ -12375,7 +12370,7 @@ const useGetTableBtnOprSetting = props => { list.forEach(btnType => { if (btnType.includes("add")) { resultTemp.mesAdd = params => { - console.log("🚀 ~ useGetTableBtnOprSetting ~ params:", params, props) + const { sDefault: str } = btnTableAddConfig; let disabled = props.getBtnDisabled({ str,