| | |
| | | |
| | | import asyncComponent from '@/utils/asyncComponent' |
| | | import asyncExcelComponent from './asyncButtonComponent' |
| | | import MKEmitter from '@/utils/events.js' |
| | | import '@/assets/css/table.scss' |
| | | import './index.scss' |
| | | |
| | |
| | | /> |
| | | ) |
| | | } else if (item.OpenType === 'funcbutton') { |
| | | if (item.funcType === 'changeuser') { |
| | | if (item.funcType === 'changeuser' || item.funcType === 'closetab') { |
| | | return ( |
| | | <ChangeUserButton |
| | | key={item.uuid} |
| | |
| | | if (isNaN(originVal) || isNaN(contrastVal)) { |
| | | originVal = '' |
| | | } |
| | | } catch { |
| | | } catch (e) { |
| | | originVal = '' |
| | | } |
| | | } |
| | |
| | | if (isNaN(content)) { |
| | | content = '' |
| | | } |
| | | } catch { |
| | | } catch (e) { |
| | | content = '' |
| | | } |
| | | } |
| | |
| | | tableId: PropTypes.string, |
| | | loading: PropTypes.bool, |
| | | data: PropTypes.array, |
| | | handleTableId: PropTypes.func |
| | | } |
| | | |
| | | state = { |
| | |
| | | |
| | | this.setState({selectKey: data.key}) |
| | | |
| | | this.props.handleTableId(this.props.tableId, _id, data) |
| | | MKEmitter.emit('changeTableLine', this.props.ContainerId, this.props.tableId, _id, data) |
| | | } |
| | | |
| | | render() { |