src/tabviews/custom/components/share/tabtransfer/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/custom/components/table/edit-table/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/custom/components/table/edit-table/normalTable/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/custom/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/tabviews/custom/components/share/tabtransfer/index.jsx
@@ -243,7 +243,7 @@ } else if (item.type === 'table' && item.subtype === 'editable') { return ( <Col span={item.width} key={item.uuid}> <EditTable config={item} data={data} BID={BID} BData={BData} mainSearch={mainSearch} menuType={menuType} /> <EditTable config={item} BID={BID} BData={BData} mainSearch={mainSearch} menuType={menuType} /> </Col> ) } else if (item.type === 'group' && item.subtype === 'normalgroup') { src/tabviews/custom/components/table/edit-table/index.jsx
@@ -1,6 +1,6 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' import {connect} from 'react-redux' import { connect } from 'react-redux' import { is, fromJS } from 'immutable' import { notification } from 'antd' @@ -15,13 +15,11 @@ // 通用组件 const MainSearch = asyncComponent(() => import('@/tabviews/zshare/topSearch')) const MainAction = asyncComponent(() => import('@/tabviews/zshare/actionList')) // const MainTable = asyncComponent(() => import('./normalTable')) const NormalHeader = asyncComponent(() => import('@/tabviews/custom/components/share/normalheader')) class EditableTable extends Component { static propTpyes = { BID: PropTypes.any, // 父级Id data: PropTypes.array, // 统一查询数据 config: PropTypes.object, // 组件配置信息 mainSearch: PropTypes.any, // 外层搜索条件 menuType: PropTypes.any, // 菜单类型 @@ -566,7 +564,7 @@ } render() { const { BID, setting, searchlist, actions, config, columns, BData, data, selectedData, lock } = this.state const { BID, setting, searchlist, actions, config, columns, BData, selectedData, lock } = this.state return ( <div className="custom-edit-table" style={config.style}> @@ -586,7 +584,6 @@ <div className={'main-table-box ' + (!actions || actions.length === 0 ? 'no-action' : '')}> <MainTable BID={BID} data={data} setting={setting} columns={columns} MenuID={config.uuid} src/tabviews/custom/components/table/edit-table/normalTable/index.jsx
@@ -873,7 +873,6 @@ lineMarks: PropTypes.any, // 行标记 fields: PropTypes.array, // 组件字段集 BID: PropTypes.any, // 主表ID data: PropTypes.any, // 表格数据 total: PropTypes.any, // 总数 loading: PropTypes.bool, // 表格加载中 refreshdata: PropTypes.func, // 表格中排序列、页码的变化时刷新 src/tabviews/custom/index.jsx
@@ -1140,7 +1140,7 @@ } else if (item.type === 'table' && item.subtype === 'editable') { return ( <Col span={item.width} key={item.uuid}> <EditTable config={item} data={data} BID={_bid} mainSearch={mainSearch} menuType={menuType} /> <EditTable config={item} BID={_bid} mainSearch={mainSearch} menuType={menuType} /> </Col> ) } else if (item.type === 'group' && item.subtype === 'normalgroup') {