diff --git a/.fatherrc.ts b/.fatherrc.ts index 528940ab3a9725b35383532406594c402b1eb82d..1abc7574cbcc74ae54907a13742632908bc282c1 100644 --- a/.fatherrc.ts +++ b/.fatherrc.ts @@ -1,10 +1,21 @@ -import { IBundleOptions } from 'umi-library/src/types'; +// import { IBundleOptions } from 'umi-library/src/types'; // @ts-ignore -const options: IBundleOptions = { - cjs: 'rollup', - esm: 'rollup', - doc: { typescript: true }, +const options: any = { + cjs: 'rollup', + esm: 'rollup', + doc: { typescript: true }, + extraBabelPlugins: [ + [ + 'babel-plugin-import', + { + libraryName: 'antd', + libraryDirectory: 'es', + style: true, + }, + ], + ], + cssModules:true, }; export default options; diff --git a/package.json b/package.json index 71d211f01a92968bacafd5fe11fcb72cecdefcf1..996fc6b54bf5a00d28ea698472fa1a29b9efb00f 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ }, "repository": "/airtable", "scripts": { - "dev": "umi-lib doc dev", + "dev": "father doc dev", "build": "umi-lib build", - "lint:ts": "tslint \"src/**/*.ts\" \"src/**/*.tsx\"", - "precommit": "lint-staged:ts" + "lint:ts": "tslint \"src/**/*.ts\" \"src/**/*.tsx\"", + "precommit": "lint-staged:ts" }, "peerDependencies": { "react": "16.x" @@ -21,8 +21,13 @@ "devDependencies": { "@types/react": "^16.9.13", "@types/react-dom": "^16.9.4", + "babel-plugin-import": "^1.13.0", + "css-loader": "^3.3.0", "docz": "^2.0.0-rc.76", "js-cookie": "^2.2.1", + "less": "^3.10.3", + "less-loader": "^5.0.0", + "style-loader": "^1.0.1", "typescript": "^3.3.3", "umi": "^2.12.2", "umi-library": "^1.1.1", @@ -31,12 +36,13 @@ "license": "MIT", "dependencies": { "antd": "^3.25.2", + "father": "^2.29.1", "react-virtualized": "^9.21.2" }, - "lint-staged:ts": { - "src/**/*.{ts,tsx}": [ - "prettier --write", - "tslint --fix" - ] - } + "lint-staged:ts": { + "src/**/*.{ts,tsx}": [ + "prettier --write", + "tslint --fix" + ] + } } diff --git a/src/apollo-table/component/Cell.less b/src/apollo-table/component/Cell.less index 412c365c868b77d796239717c4ed63f8fa493c31..df64046435e60a7795bfe20a506f597e744ecd92 100644 --- a/src/apollo-table/component/Cell.less +++ b/src/apollo-table/component/Cell.less @@ -1,9 +1,12 @@ +@import '../../common'; + .cell { - width: 100%; + max-width: 100%; + min-width: 100%; height: 100%; &.disabled { - background: #f9f9f9; + background: @disabledColor; } .cellContent { @@ -19,10 +22,14 @@ .editPop { width: 300px; + :global(.ant-popover-inner){ + box-shadow: none; + } + :global(.ant-popover-inner-content) { padding: 0; - border: 1px solid #5c99ff; - border-radius: 4px; + border: 1px solid @primaryColor; + border-radius: 2px; } } @@ -30,8 +37,8 @@ width: 110px; :global(.ant-popover-inner-content) { - padding: 6px 0; - border-radius: 4px; + padding: @paddingSmX 0; + border-radius: @borderRadius; background: #333333; } @@ -45,7 +52,7 @@ .menu { display: flex; height: 28px; - padding: 0 10px; + padding: 0 @paddingGen; align-items: center; cursor: pointer; @@ -55,11 +62,14 @@ .menuIcon { width: 12px; - margin-right: 6px; + margin-right: @marginSmX; + color: white; + font-size: @textFontGen; + display: flex; } .menuTitle { - font-size: 14px; + font-size: @textFontGen; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: white; diff --git a/src/apollo-table/component/Cell.tsx b/src/apollo-table/component/Cell.tsx index 4fb8d357f3975c6d5a270a06423d37a79a87c1fd..5e591dd1ee7c07a34aa3dc7e000ac15b85504112 100644 --- a/src/apollo-table/component/Cell.tsx +++ b/src/apollo-table/component/Cell.tsx @@ -1,20 +1,27 @@ import React from 'react'; import { message, Popover, Modal } from 'antd'; -import { getComponent } from './base'; - -import style from './index.less'; +import { config } from './config'; +import style from './Cell.less'; import _ from 'lodash'; import { CellProps, CellState } from './interface'; -// import EditCell from './EditCell'; +import EditCell from './EditCell'; +import FormHelper from '../utils/formHelper'; +import insertMenu from '../assets/insertMenu.png'; +import copyMenu from '../assets/copyMenu.png'; +import extendMenu from '../assets/extendMenu.png'; +import delMenu from '../assets/delMenu.png'; -export default class Cell extends React.Component { +export default class Cell extends React.Component { static getDerivedStateFromProps(nextProps: CellProps, prevState: CellState) { const { prevProps } = prevState; let nextState: CellState = { ...prevState, prevProps: nextProps, }; + if (JSON.stringify(prevProps.cellData) !== JSON.stringify(nextProps.cellData)) { + nextState.editValue = nextProps.cellData; + } return nextState; } constructor(props: CellProps) { @@ -24,7 +31,7 @@ export default class Cell extends React.Component { isEditVisible: false, isMenuVisible: false, editValue: [], - value: [], + originValue: [], }; } @@ -40,7 +47,7 @@ export default class Cell extends React.Component { handleChange = ({ newValue, originValue, emitFlag }: any) => { this.setState( { - inputValue: newValue, + editValue: newValue, originValue, }, () => { @@ -52,67 +59,207 @@ export default class Cell extends React.Component { }; emitChange = () => { - let { value, editValue } = this.state; - if (_.isEqual(value, editValue)) { + let { originValue, editValue } = this.state; + let { cellData } = this.props; + if (_.isEqual(cellData, editValue)) { return; } + const { - record, - columnObj, - columnObj: { key }, + updateData, + rowData, + columnConfig, + columnConfig: { key }, } = this.props; - if (this.props.updateData) { - this.props.updateData({ - id: record.id, - value: editValue, + const extraData = FormHelper.changeTableData({ + item: columnConfig, + changedKey: key, + changedValue: editValue, + originValue, + }); + extraData.push({ + columnCode: key, + cellValueList: editValue, + }); + if (typeof updateData === 'function') { + updateData({ + rowId: rowData.id, + value: extraData, }); } this.setState({ editValue: [], + originValue: [], }); }; - renderPopContent = () => { - return
ca
; - // return ( - // - // ); + copy = (record: any) => { + const { showForm } = this.props; + if (typeof showForm === 'function') { + showForm({ rowData: record.rowData }); + } }; - renderCellContent = () => { - let { columnConfig, cellData } = this.props; - let { isEditVisible, isMenuVisible, inputValue } = this.state; - let { columnType, columnAttrObj = {}, width, readOnlyFlag } = columnConfig || {}; - columnAttrObj.disabled = readOnlyFlag || false; - //模糊搜索单选 - if (String(columnType) === '13' && !columnAttrObj.isMultiple) { - columnType = '2'; + delData = (record: any) => { + const { delData, getData, hasGroup, tableId } = this.props; + // 拆分情况需检查数据是否原始数据 + if (hasGroup) { + if (record.id === record.groupId) { + Modal.warning({ title: '删除', content: '不能删除原始拆分数据' }); + return; + } } - const component: any = getComponent(String(columnType)); - if (!component) { - console.log('[TableCell] unknown type ' + columnType); - return null; + Modal.confirm({ + title: '确认要删除该条数据吗?', + autoFocusButton: null, + onOk: async () => { + const response = await delData({ tableId, data: { id: record.id } }); + if (response && response.success) { + message.success('删除成功'); + if (typeof getData === 'function') { + getData({ isClean: true }); + } + } + }, + }); + }; + + clickExtraMenu = (menu: any, record: any) => { + if (menu.check && typeof menu.check === 'function') { + menu.check({ data: [record] }, this.menuClickFunc.bind(this, menu, record)); + } else { + this.menuClickFunc(menu, record); + } + }; + + menuClickFunc = async (menu: any, record: any) => { + const { flush } = this.props; + if (typeof menu.onClick === 'function') { + await menu.onClick({ data: [record], flush }); } + if (!menu.noNeedFlush) { + if (typeof flush === 'function') { + flush(); + } + } + }; + + renderPopEdit = ({ columnAttrObj, component }: any) => { + let { columnConfig, rowData, cellData, columns, tableId } = this.props; + let { editValue } = this.state; + return ( + + ); + }; + + renderPopMenu = () => { + let { cellData, showForm, extraMenu, noAdd, noDel, hasGroup } = this.props; return ( -
- +
+ {!noAdd && ( +
+ 插入 + 插入 +
+ )} + {!noAdd && ( +
+ 复制 + 复制 +
+ )} +
+ 展开 + 展开 +
+ {!noDel && (!hasGroup || (hasGroup && cellData.id !== cellData.groupId)) && ( +
+ 删除 + 删除 +
+ )} + {extraMenu && extraMenu.length > 0 && ( + <> +
+ {extraMenu.map((item: any, i: number) => { + if (typeof item.hidden === 'function' && item.hidden({ record: cellData, menu: item })) { + return; + } + return ( +
+ {item.icon && + (typeof item.icon === 'string' ? ( + + ) : ( + {item.icon} + ))} + {item.label} +
+ ); + })} + + )}
); }; + renderCellContent = () => { + let { columnConfig, cellData, noEdit, tableId } = this.props; + let { isEditVisible, isMenuVisible } = this.state; + + const { readOnlyFlag, columnType } = columnConfig || {}; + let { columnAttrObj } = columnConfig || {}; + if (config[String(columnType)] === undefined) { + return false; + } + columnAttrObj = columnAttrObj || {}; + columnAttrObj.disabled = readOnlyFlag || noEdit || false; + const { component } = config[String(columnType)]; + return ( + + +
+ +
+
+
+ ); + }; + render() { - const { columnConfig } = this.props; + const { columnConfig, overlayClassName } = this.props; const { width } = columnConfig || {}; return ( -
+
{this.renderCellContent()}
); diff --git a/src/apollo-table/component/Column.less b/src/apollo-table/component/Column.less index 7ac48043f1934f2c7d83b8d96a79e7b9fb87e7f5..99b7b1eff4bb2d4d393ed1d4fa22f62648e1ad91 100644 --- a/src/apollo-table/component/Column.less +++ b/src/apollo-table/component/Column.less @@ -1,18 +1,21 @@ +@import '../../common'; + .colContainer { display: flex; align-items: center; justify-content: space-between; height: 100%; + width: 100%; .colBrief { display: flex; align-items: center; flex: 1; + width: 100%; .colIcon { - width: 14px; - //height: 12px; - margin-right: 5px; + width: @textFontGen; + color: @textPrimaryColor; } .colTitle { @@ -21,9 +24,12 @@ text-overflow: ellipsis; white-space: nowrap; text-align: left; + margin-left: 5px; + color: @textPrimaryColor; } } + .colOpera { width: 20px; text-align: center; diff --git a/src/apollo-table/component/Column.tsx b/src/apollo-table/component/Column.tsx index 5752f99b0bb5129aad97e0cf7c13421adffe89f6..3c5332a1751fa275e8824fcc408ead177b53b470 100644 --- a/src/apollo-table/component/Column.tsx +++ b/src/apollo-table/component/Column.tsx @@ -1,20 +1,21 @@ -import React, { Component } from 'react'; -import { config } from './base/config'; +import React, { PureComponent } from 'react'; +import { config } from './config'; import s from './Column.less'; import { ColumnProps } from './interface'; +import IconFont from './base/extra/iconFont'; -export default class TableColumn extends Component { - constructor(props: ColumnProps) { - super(props); - } +export default class TableColumn extends PureComponent { render() { - let { type, title, width=200 } = this.props; + let { type, title, width = 200, columnAttrObj = {} } = this.props; let icon = config[String(type)] && config[String(type)].icon; + if (String(type) === '13' && !columnAttrObj.isMultiple) { + icon = 'iconziduan-lianxiangdanxuan'; + } return ( -
+
- + {icon && (typeof icon === 'string' ? : icon)} {title}
diff --git a/src/apollo-table/component/EditCell.tsx b/src/apollo-table/component/EditCell.tsx index 1f3ca540ef8bafbaea90279f202757c46da3a118..f785304cac7f18d3dab9e8e834324e277befbd2f 100644 --- a/src/apollo-table/component/EditCell.tsx +++ b/src/apollo-table/component/EditCell.tsx @@ -1,5 +1,6 @@ import React from 'react'; import { EditCellProps, EditCellState } from './interface'; +import FormHelper from '../utils/formHelper'; export default class EditCell extends React.Component { static getDerivedStateFromProps(nextProps: EditCellProps, prevState: EditCellState) { @@ -8,32 +9,72 @@ export default class EditCell extends React.Component { ...prevState, prevProps: nextProps, }; - if (JSON.stringify(prevProps.columnAttrObj) !== JSON.stringify(nextProps.columnAttrObj)) { - nextState.columnAttrObj = nextProps.columnAttrObj; + if ( + JSON.stringify(prevProps.columnConfig) !== JSON.stringify(nextProps.columnConfig) || + JSON.stringify(prevProps.rowData) !== JSON.stringify(nextProps.rowData) + ) { + let columnConfig = this.formHelp(nextProps.columnConfig, nextProps.rowData); + if (JSON.stringify(prevState.columnConfig) !== JSON.stringify(columnConfig)) { + nextState.columnConfig = columnConfig; + } } return nextState; } constructor(props: EditCellProps) { super(props); this.state = { - itemConfig: {}, + prevProps: props, + columnConfig: {}, }; } - handleChange = ({ newValue, originValue, emitFlag }: any) => { - this.props.onChange(newValue, originValue, emitFlag); + formHelp = async (item: any, record: any) => { + const list = this.formatData(record.rowData); + const itemsConfig = await FormHelper.getFormData({ list, rowLocked: record.isLocked }); + const itemConfig = itemsConfig.find((temp: any) => { + return temp.columnName === item.columnName; + }); + return itemConfig; + }; + + formatData = (rowData: []) => { + const { columns, noEdit } = this.props; + const temp: any[] = []; + columns.forEach((item: any) => { + const value: any = rowData.find((itemData: any) => { + return itemData.colName === item.key; + }); + temp.push({ + ...item, + value: (value && value.cellValueList) || [{ text: '', value: '' }], + type: item.columnType, + readonlyFlag: noEdit ? true : item.readonlyFlag, + }); + }); + return temp; + }; + + handleChange = (newValue: any, originValue: any, emitFlag: boolean) => { + const { onChange } = this.props; + if (typeof onChange === 'function') { + onChange(newValue, originValue, emitFlag); + } }; render() { - const Component = this.props.component; - const { itemConfig } = this.state; + const { columnConfig } = this.state; + const { component, value, tableId, cellData, rowId } = this.props; + const Component = component; return ( ); } diff --git a/src/apollo-table/component/Table.less b/src/apollo-table/component/Table.less index 8090b6db78b1d655a300bf5e2aaaa2fcf40401b9..69931a67d4a8ccb70877ec460e24f549c4b83481 100644 --- a/src/apollo-table/component/Table.less +++ b/src/apollo-table/component/Table.less @@ -38,20 +38,6 @@ padding: 10px; background: white; } - - :global(.ant-table-row-hover) { - .unchecked { - display: block; - } - - .no { - display: none; - } - - .showFormBtn { - visibility: visible; - } - } } .indexCell { @@ -74,8 +60,10 @@ &:hover { box-shadow: inset 0 0 0 1px @operateColor; - .showFormBtn { - visibility: visible; + .showFormBtnCls { + .showFormBtn { + display: initial; + } } .unchecked { @@ -85,6 +73,12 @@ .no { display: none; } + + .addCls { + .addIcon { + display: initial; + } + } } .cellNo { @@ -94,10 +88,34 @@ } .cellContent { - flex: 1; overflow: hidden; height: 100%; + display: flex; + align-items: center; + .firstCell { + min-width: 0; + max-width: 80%; + } + .empty { + min-width: 80%; + } + .historyCount { + margin: @marginSmX; + cursor: pointer; + .countNo { + color: @primaryColor; + } + } + } + .addCls { + width: 20px; + text-align: center; + cursor: pointer; + .addIcon { + display: none; + color: @primaryColor; + } } .unchecked { @@ -111,15 +129,18 @@ white-space: nowrap; } - .showFormBtn { - visibility: hidden; + .showFormBtnCls { margin: 0 5px; width: 18px; - border-radius: 50%; cursor: pointer; - &:hover { - background: #d0f0fd; + .showFormBtn { + display: none; + width: 18px; + border-radius: 50%; + &:hover { + background: #d0f0fd; + } } } } @@ -129,7 +150,7 @@ display: flex; flex-direction: row; background: #fff; - .LeftSideContainer{ + .LeftSideContainer { box-shadow: 6px 0 6px -4px rgba(0, 0, 0, 0.15); position: absolute; z-index: 1; @@ -186,20 +207,3 @@ outline: none; } -.cell, -.headerCell, -.leftCell { - width: 100%; - height: 100%; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - text-align: center; - padding: 0 .5em; -} - -.headerCell, -.leftCell { - font-weight: bold; -} diff --git a/src/apollo-table/component/Table.tsx b/src/apollo-table/component/Table.tsx index 45c1b36109e2ba0d832c85a6b20c2599fb074a6a..932f58651a4883a1655f091e3fa66aa864013159 100644 --- a/src/apollo-table/component/Table.tsx +++ b/src/apollo-table/component/Table.tsx @@ -9,6 +9,8 @@ import { TableProps, TableState } from './interface'; import Column from './Column'; import Cell from './Cell'; import extendIcon from '../assets/extend.png'; +import IconFont from './base/extra/iconFont'; +import scrollbarSize from '../utils/scrollbarSize'; export default class AirTable extends Component { static getDerivedStateFromProps(nextProps: TableProps, prevState: TableState) { @@ -23,6 +25,9 @@ export default class AirTable extends Component { if (JSON.stringify(prevProps.columns) !== JSON.stringify(nextProps.columns)) { nextState.columns = nextProps.columns; } + if (JSON.stringify(prevProps.checked) !== JSON.stringify(nextProps.checked)) { + nextState.checked = nextProps.checked; + } return nextState; } constructor(props: TableProps) { @@ -36,7 +41,6 @@ export default class AirTable extends Component { prevProps: props, height: document.body.clientHeight - 193, }; - this.indexCount = {}; this.config = { overscanColumnCount: 5, overscanRowCount: 5, @@ -166,7 +170,8 @@ export default class AirTable extends Component { // 下拉加载 onScrollRow = ({ clientHeight, scrollTop }: any) => { const height = clientHeight + scrollTop || 0; - const { dataSource = [], rowHeight = 40 } = this.state; + const { dataSource = [], } = this.state; + const { rowHeight } = this.config; const { onScroll } = this.props; const offset = 100; if (dataSource.length === 0) return; @@ -243,6 +248,7 @@ export default class AirTable extends Component { noDel, tableId, flush, + showHistory=()=>{}, } = this.props; if (columns.length === 0 || data.length === 0) { return; @@ -305,6 +311,11 @@ export default class AirTable extends Component {
0 + ? styles.firstCell + : styles.empty + } columns={columns} columnConfig={columnConfig} rowData={rowData} @@ -321,7 +332,37 @@ export default class AirTable extends Component { tableId={tableId} flush={flush} /> + {(tableId === 1 || tableId === 14) && ( +
+ {filterRowData.groupHistoryCount && filterRowData.groupHistoryCount > 1 && ( + + {`(${filterRowData.groupHistoryCount > 99 ? '99+' : filterRowData.groupHistoryCount})`} + + )} +
+ )}
+ {(tableId === 1 || tableId === 14) && ( +
+ +
+ )}
); } @@ -382,7 +423,7 @@ export default class AirTable extends Component { className={styles.LeftSideContainer} style={{ width: `${columnWidth * leftCount}px`, - height: `${height + rowHeight}px`, + height: `${height - scrollbarSize() + rowHeight}px`, }} > { @@ -434,7 +475,7 @@ export default class AirTable extends Component { width={columnWidth * leftCount} rowHeight={rowHeight} rowCount={rowCount} - height={height} + height={height - scrollbarSize()} scrollTop={scrollTop} checked={checked} dataSource={dataSource} @@ -446,8 +487,10 @@ export default class AirTable extends Component {
- {({ width }: any) => ( -
+ {({ width }: any) => { + // 如果列太少不满一屏时,列头宽度按列计算 + const headerWidth:number = columnWidth * columnCount < width ? columnWidth * columnCount : width; + return (
{ //右侧表头
{ width: columnWidth * columnCount < width ? columnWidth * columnCount - : width, //如果列太少不满一屏时,列头宽度按列计算 + : headerWidth - scrollbarSize(), }} > { columnData={columns} columnWidth={columnWidth} columnCount={columnCount} - width={width} + width={width - scrollbarSize()} rowHeight={rowHeight} rowCount={1} height={rowHeight} @@ -507,7 +550,7 @@ export default class AirTable extends Component {
}
- )} + )}}
diff --git a/src/apollo-table/component/base/detail/index.tsx b/src/apollo-table/component/base/detail/index.tsx index 7cbaaa01dd60a68c9887a78d8a8ce474130f5afb..e4116ed3c6a2d586f870ba4b4372e46e6d5c873d 100644 --- a/src/apollo-table/component/base/detail/index.tsx +++ b/src/apollo-table/component/base/detail/index.tsx @@ -1,27 +1,19 @@ import React from 'react'; -import _ from 'lodash'; import { config } from '../config'; import styles from './styles.less'; import { transferAttr } from '../_utils/transferAttr'; -import { BaseComponentProps } from '@/apollo-table/component/interface'; +import { BaseComponentProps } from '../../../component/interface'; import Text from './input'; // 此方法为高阶组件,不应再render里面频繁调用,防止频繁实例化,带来性能上的浪费 export const getDetail = (type: string) => { const NodeObj = config[type] || {}; - const Node = NodeObj.detail || Text; // 默认文本类型 + const Detail = NodeObj.detail || Text; // 默认文本类型 if (!NodeObj.detail) { - console.warn(NodeObj.name + '---详情组件暂未定义,默认使用文本类型'); + console.warn(`${NodeObj.name}---详情组件暂未定义,默认使用文本类型`); } - return class extends React.Component { - state = { - value: undefined, - }; - shouldComponentUpdate(nextProps: BaseComponentProps) { - return !_.isEqual(this.props, nextProps); - } - + return class extends React.PureComponent { render() { const { columnConfig: { columnAttrObj, columnType }, @@ -31,11 +23,11 @@ export const getDetail = (type: string) => { ...(NodeObj.componentAttr || {}), ...(columnAttrObj || {}), }; - let transferColumn = transferAttr(columnType, newProps); + const transferColumn = transferAttr(columnType, newProps); - return Node ? ( + return (
- { onChange={this.onChange} />
- ) : null; + ); } }; }; diff --git a/src/apollo-table/component/base/extra/iconFont/index.tsx b/src/apollo-table/component/base/extra/iconFont/index.tsx new file mode 100755 index 0000000000000000000000000000000000000000..e8f66173146ca851e4ffaaf894d41755e5f86280 --- /dev/null +++ b/src/apollo-table/component/base/extra/iconFont/index.tsx @@ -0,0 +1,7 @@ +import { Icon } from 'antd'; + +const IconFont = Icon.createFromIconfontCN({ + scriptUrl: '//at.alicdn.com/t/font_1509781_8rwgy6vdhtx.js', +}); + +export default IconFont; diff --git a/src/apollo-table/component/base/index.tsx b/src/apollo-table/component/base/index.tsx index 58e57711a73d7cdef8f182e854d370dd80226925..ba5f3293651eb6a228439ae25844a57e2e45b8cb 100644 --- a/src/apollo-table/component/base/index.tsx +++ b/src/apollo-table/component/base/index.tsx @@ -25,7 +25,6 @@ export const getComponent = (type: string) => { componentDidMount() { const { value, columnConfig } = this.props; - debugger this.setState({ value: this.getFormat(value), columnConfig }); } diff --git a/src/apollo-table/component/config.ts b/src/apollo-table/component/config.ts new file mode 100644 index 0000000000000000000000000000000000000000..984182726ee2457a4236abfd2c7bcc936a81d9e7 --- /dev/null +++ b/src/apollo-table/component/config.ts @@ -0,0 +1,80 @@ +import { getComponent } from './base'; + +export const config:any = { + '1': { + name: '单行文本', + component: getComponent('1'), + icon: 'iconziduan-danhangwenben', + }, + '2': { + name: '超链接', + component: getComponent('2'), + icon: 'iconziduan-chaolianjie', + }, + '3': { + name: '多行文本', + component: getComponent('3'), + icon: 'iconziduan-duohangwenben', + }, + '4': { + name: '附件上传', + component: getComponent('4'), + icon: 'iconziduan-fujian', + }, + '5': { + name: '复选', + component: getComponent('5'), + icon: 'iconziduan-fuxuan', + }, + '6': { + name: '下拉单选', + component: getComponent('6'), + icon: 'iconziduan-xiala', + }, + '7': { + name: '下拉多选', + component: getComponent('7'), + icon: 'iconziduan-xialaduoxuan', + }, + '8': { + name: '评级', + component: getComponent('8'), + icon: 'iconziduan-pingji', + }, + '9': { + name: '数字输入', + component: getComponent('9'), + icon: 'iconziduan-shuzi', + }, + '10': { + name: '百分比', + component: getComponent('10'), + icon: 'iconziduan-baifenbi', + }, + '11': { + name: '日期', + component: getComponent('11'), + icon: 'iconziduan-riqi', + }, + '12': { + name: '引用', + component: getComponent('12'), + icon: 'iconziduan-yinyong', + }, + '13': { + name: '模糊搜索多选', + component: getComponent('13'), + icon: 'iconziduan-lianxiangduoxuan', + }, + '14': { + name: '树结构', + component: getComponent('14'), + icon: 'iconziduan-ren', + }, + '15': { + name: '文本搜索框', + component: getComponent('15'), + icon: 'iconziduan-lianxiangdanxuan', + }, +}; +export default config; diff --git a/src/apollo-table/component/data.ts b/src/apollo-table/component/data.ts new file mode 100644 index 0000000000000000000000000000000000000000..2d418eb7bf979ae4c544f5b7e81e4ecc0e17c9f5 --- /dev/null +++ b/src/apollo-table/component/data.ts @@ -0,0 +1,3275 @@ +const cols = [ + { + align: '', + columnAttr: '{"maxLength":50,"placeholder":"请输入"}', + columnAttrObj: { + placeholder: '请输入', + maxLength: 50, + }, + columnChsName: '品牌名称', + columnName: 'customerNameInput', + columnType: 1, + createTime: '2019-10-15 10:25:37', + createUserId: null, + enableStatus: 1, + entityFlag: 1, + filterFlag: 1, + fixed: 'left', + groupFlag: 1, + hideFlag: 0, + id: 26, + limit: 0, + modifyTime: '2019-11-18 17:24:16', + modifyUserId: null, + operator: [ + { + color: null, + name: '包含', + id: 'CONTAIN', + }, + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 0, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '{"type":"customer","isMultiple":false,"placeholder":"请输入或通过下拉列表勾选"}', + columnAttrObj: { + isMultiple: false, + placeholder: '请输入或通过下拉列表勾选', + type: 'customer', + }, + columnChsName: '客户名称', + columnName: 'customerName', + columnType: 15, + createTime: '2019-09-09 21:08:08', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 1, + hideFlag: 1, + id: 1, + limit: 0, + modifyTime: '2019-11-22 17:18:35', + modifyUserId: null, + operator: [ + { + color: null, + name: '包含', + id: 'CONTAIN', + }, + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 1, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: + '{"type":"user","presetValue":{"type":"2","value":[{"text":"userName","value":"userId"}]},"isMultiple":false,"placeholder":"请选择","events":[{"eventValue":"onChange,onBlur","behaviors":[{"behaviorValue":"changDynamicValue","targets":"followUpDepartmentName","fieldValueName":"user","fieldValueValueRequired":false,"nameCol":"followUpUserName","nameRequired":false,"paramsJsonRequired":false}]}]}', + columnAttrObj: { + presetValue: { + type: '2', + value: [ + { + text: 'userName', + value: 'userId', + }, + ], + }, + isMultiple: false, + placeholder: '请选择', + type: 'user', + events: [ + { + eventValue: 'onChange,onBlur', + behaviors: [ + { + nameCol: 'followUpUserName', + nameRequired: false, + behaviorValue: 'changDynamicValue', + paramsJsonRequired: false, + fieldValueName: 'user', + targets: 'followUpDepartmentName', + fieldValueValueRequired: false, + }, + ], + }, + ], + }, + columnChsName: '跟进人名称', + columnName: 'followUpUserName', + columnType: 13, + createTime: '2019-09-09 21:14:02', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 1, + hideFlag: 1, + id: 2, + limit: 0, + modifyTime: '2019-11-22 00:28:23', + modifyUserId: null, + operator: [ + { + color: null, + name: '包含', + id: 'CONTAIN', + }, + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 2, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: + '{"type":"deptment","presetValue":{"type":"2","value":[{"text":"departmentName","value":"departmentId"}]},"isMultiple":false,"placeholder":"请选择"}', + columnAttrObj: { + presetValue: { + type: '2', + value: [ + { + text: 'departmentName', + value: 'departmentId', + }, + ], + }, + isMultiple: false, + placeholder: '请选择', + type: 'deptment', + }, + columnChsName: '跟进人部门', + columnName: 'followUpDepartmentName', + columnType: 14, + createTime: '2019-09-09 21:15:55', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 1, + hideFlag: 1, + id: 3, + limit: 0, + modifyTime: '2019-11-22 00:28:23', + modifyUserId: null, + operator: [ + { + color: null, + name: '包含', + id: 'CONTAIN', + }, + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 3, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 1, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '{"placeholder":"请选择"}', + columnAttrObj: { + placeholder: '请选择', + }, + columnChsName: '跟进日期', + columnName: 'followUpDate', + columnType: 11, + createTime: '2019-09-09 21:17:05', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 0, + hideFlag: 1, + id: 4, + limit: 0, + modifyTime: '2019-09-22 15:16:59', + modifyUserId: null, + operator: [ + { + color: null, + name: '等于', + id: 'EQUAL', + }, + { + color: null, + name: '大于', + id: 'GREATER_THAN', + }, + { + color: null, + name: '大于等于', + id: 'GREATER_THAN_OR_EQUAL', + }, + { + color: null, + name: '小于', + id: 'LESS_THAN', + }, + { + color: null, + name: '小于等于', + id: 'LESS_THEN_OR_EQUAL', + }, + ], + orderNo: 4, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: + '{"options":[{"id":"1","name":"客户拜访","color":"FCD5DCFF"},{"id":"2","name":"线索跟进(主动)","color":"CDE1FFFF"},{"id":"5","name":"线索跟进(被动)","color":"ECD5ECFF"},{"id":"3","name":"项目执行","color":"FFF3D2FF"},{"id":"4","name":"项目回款","color":"CBE8E7FF"}],"placeholder":"请选择"}', + columnAttrObj: { + options: [ + { + color: 'FCD5DCFF', + name: '客户拜访', + id: '1', + }, + { + color: 'CDE1FFFF', + name: '线索跟进(主动)', + id: '2', + }, + { + color: 'ECD5ECFF', + name: '线索跟进(被动)', + id: '5', + }, + { + color: 'FFF3D2FF', + name: '项目执行', + id: '3', + }, + { + color: 'CBE8E7FF', + name: '项目回款', + id: '4', + }, + ], + placeholder: '请选择', + }, + columnChsName: '跟进类型', + columnName: 'followUpType', + columnType: 6, + createTime: '2019-09-09 21:17:12', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 1, + hideFlag: 1, + id: 5, + limit: 0, + modifyTime: '2019-11-05 15:33:25', + modifyUserId: null, + operator: [ + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 5, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '{"type":"talent","isMultiple":true,"placeholder":"请选择","maxCount":30}', + columnAttrObj: { + isMultiple: true, + placeholder: '请选择', + type: 'talent', + maxCount: 30, + }, + columnChsName: '涉及Talent', + columnName: 'talentName', + columnType: 13, + createTime: '2019-09-09 21:19:19', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 1, + hideFlag: 1, + id: 6, + limit: 0, + modifyTime: '2019-09-25 11:32:32', + modifyUserId: null, + operator: [ + { + color: null, + name: '包含', + id: 'CONTAIN', + }, + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 6, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '{"maxLength":300,"placeholder":"请输入"}', + columnAttrObj: { + placeholder: '请输入', + maxLength: 300, + }, + columnChsName: '跟进内容', + columnName: 'negotiationContent', + columnType: 3, + createTime: '2019-09-09 21:20:07', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 0, + hideFlag: 1, + id: 7, + limit: 0, + modifyTime: '2019-09-22 15:16:59', + modifyUserId: null, + operator: [ + { + color: null, + name: '包含', + id: 'CONTAIN', + }, + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 7, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '{"maxLength":300,"placeholder":"请输入"}', + columnAttrObj: { + placeholder: '请输入', + maxLength: 300, + }, + columnChsName: '客户反馈', + columnName: 'customerResult', + columnType: 3, + createTime: '2019-09-10 22:12:37', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 0, + hideFlag: 1, + id: 8, + limit: 0, + modifyTime: '2019-09-22 15:17:00', + modifyUserId: null, + operator: [ + { + color: null, + name: '包含', + id: 'CONTAIN', + }, + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 8, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '{"maxLength":10,"placeholder":"请输入"}', + columnAttrObj: { + placeholder: '请输入', + maxLength: 10, + }, + columnChsName: '联系人', + columnName: 'contactName', + columnType: 1, + createTime: '2019-09-09 21:21:13', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 0, + hideFlag: 1, + id: 9, + limit: 0, + modifyTime: '2019-09-23 12:03:24', + modifyUserId: null, + operator: [ + { + color: null, + name: '包含', + id: 'CONTAIN', + }, + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 9, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: + '{"options":[{"id":"1","name":"到访","color":"FCD5DCFF"},{"id":"2","name":"电话","color":"CDE1FFFF"},{"id":"3","name":"微信","color":"FFF3D2FF"},{"id":"4","name":"短信","color":"CBE8E7FF"},{"id":"5","name":"邮件","color":"CBE8E7FF"},{"id":"6","name":"QQ","color":"CBE8E7FF"},{"id":"7","name":"其它","color":"CBE8E7FF"}],"placeholder":"请选择"}', + columnAttrObj: { + options: [ + { + color: 'FCD5DCFF', + name: '到访', + id: '1', + }, + { + color: 'CDE1FFFF', + name: '电话', + id: '2', + }, + { + color: 'FFF3D2FF', + name: '微信', + id: '3', + }, + { + color: 'CBE8E7FF', + name: '短信', + id: '4', + }, + { + color: 'CBE8E7FF', + name: '邮件', + id: '5', + }, + { + color: 'CBE8E7FF', + name: 'QQ', + id: '6', + }, + { + color: 'CBE8E7FF', + name: '其它', + id: '7', + }, + ], + placeholder: '请选择', + }, + columnChsName: '跟进形式', + columnName: 'followUpMethod', + columnType: 6, + createTime: '2019-09-09 21:21:41', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 1, + hideFlag: 1, + id: 10, + limit: 0, + modifyTime: '2019-09-22 15:17:41', + modifyUserId: null, + operator: [ + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 10, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '{"maxLength":50,"placeholder":"请输入"}', + columnAttrObj: { + placeholder: '请输入', + maxLength: 50, + }, + columnChsName: '地点', + columnName: 'followUpAddress', + columnType: 1, + createTime: '2019-09-09 21:22:16', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 0, + hideFlag: 1, + id: 11, + limit: 0, + modifyTime: '2019-09-23 12:03:24', + modifyUserId: null, + operator: [ + { + color: null, + name: '包含', + id: 'CONTAIN', + }, + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 11, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '{"placeholder":"请选择"}', + columnAttrObj: { + placeholder: '请选择', + }, + columnChsName: '下次跟进时间', + columnName: 'nextFollowUpDate', + columnType: 11, + createTime: '2019-09-09 21:22:50', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 0, + hideFlag: 1, + id: 12, + limit: 0, + modifyTime: '2019-09-22 15:17:00', + modifyUserId: null, + operator: [ + { + color: null, + name: '等于', + id: 'EQUAL', + }, + { + color: null, + name: '大于', + id: 'GREATER_THAN', + }, + { + color: null, + name: '大于等于', + id: 'GREATER_THAN_OR_EQUAL', + }, + { + color: null, + name: '小于', + id: 'LESS_THAN', + }, + { + color: null, + name: '小于等于', + id: 'LESS_THEN_OR_EQUAL', + }, + ], + orderNo: 12, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '{"maxLength":300,"placeholder":"请输入"}', + columnAttrObj: { + placeholder: '请输入', + maxLength: 300, + }, + columnChsName: '下次跟进内容', + columnName: 'nextFollowUpContent', + columnType: 3, + createTime: '2019-09-10 22:31:38', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 0, + hideFlag: 1, + id: 13, + limit: 0, + modifyTime: '2019-09-23 12:03:25', + modifyUserId: null, + operator: [ + { + color: null, + name: '包含', + id: 'CONTAIN', + }, + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 13, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: + '{"options":[{"id":"-1","name":"无提醒","color":"FCD5DCFF"},{"id":"0","name":"准时提醒","color":"CDE1FFFF"},{"id":"10","name":"提前10分钟提醒","color":"FFF3D2FF"},{"id":"30","name":"提前30分钟提醒","color":"CBE8E7FF"},{"id":"60","name":"提前1小时提醒","color":"CBE8E7FF"},{"id":"120","name":"提前2小时提醒","color":"CBE8E7FF"},{"id":"1440","name":"提前1天提醒","color":"CBE8E7FF"}],"placeholder":"请选择"}', + columnAttrObj: { + options: [ + { + color: 'FCD5DCFF', + name: '无提醒', + id: '-1', + }, + { + color: 'CDE1FFFF', + name: '准时提醒', + id: '0', + }, + { + color: 'FFF3D2FF', + name: '提前10分钟提醒', + id: '10', + }, + { + color: 'CBE8E7FF', + name: '提前30分钟提醒', + id: '30', + }, + { + color: 'CBE8E7FF', + name: '提前1小时提醒', + id: '60', + }, + { + color: 'CBE8E7FF', + name: '提前2小时提醒', + id: '120', + }, + { + color: 'CBE8E7FF', + name: '提前1天提醒', + id: '1440', + }, + ], + placeholder: '请选择', + }, + columnChsName: '下次跟进提醒', + columnName: 'nextFollowWarnType', + columnType: 6, + createTime: '2019-09-10 22:38:50', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 0, + hideFlag: 1, + id: 14, + limit: 0, + modifyTime: '2019-09-23 16:55:35', + modifyUserId: null, + operator: [ + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 14, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '{"options":[{"id":"0","name":"系统消息","color":"FCD5DCFF"}],"placeholder":"请选择"}', + columnAttrObj: { + options: [ + { + color: 'FCD5DCFF', + name: '系统消息', + id: '0', + }, + ], + placeholder: '请选择', + }, + columnChsName: '提醒方式', + columnName: 'nextFollowWarnChannel', + columnType: 6, + createTime: '2019-09-10 23:14:56', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 0, + hideFlag: 1, + id: 15, + limit: 0, + modifyTime: '2019-09-23 17:14:18', + modifyUserId: null, + operator: [ + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 15, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '{"type":"user","isMultiple":true,"placeholder":"请选择","maxCount":30}', + columnAttrObj: { + isMultiple: true, + placeholder: '请选择', + type: 'user', + maxCount: 30, + }, + columnChsName: '提醒谁看', + columnName: 'nextFollowWarnUser', + columnType: 13, + createTime: '2019-09-10 23:06:58', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 0, + hideFlag: 1, + id: 16, + limit: 0, + modifyTime: '2019-09-23 13:27:59', + modifyUserId: null, + operator: [ + { + color: null, + name: '包含', + id: 'CONTAIN', + }, + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 16, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '', + columnAttrObj: null, + columnChsName: '附件', + columnName: 'attachments', + columnType: 4, + createTime: '2019-09-10 23:08:55', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 0, + hideFlag: 1, + id: 17, + limit: 0, + modifyTime: '2019-09-22 15:17:00', + modifyUserId: null, + operator: [ + { + color: null, + name: '包含', + id: 'CONTAIN', + }, + { + color: null, + name: '等于', + id: 'EQUAL', + }, + ], + orderNo: 17, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, + { + align: '', + columnAttr: '', + columnAttrObj: null, + columnChsName: '评分', + columnName: 'score', + columnType: 8, + createTime: '2019-09-16 21:02:02', + createUserId: null, + enableStatus: 1, + entityFlag: null, + filterFlag: 1, + fixed: '', + groupFlag: 0, + hideFlag: 1, + id: 19, + limit: 0, + modifyTime: '2019-09-22 15:17:00', + modifyUserId: null, + operator: [ + { + color: null, + name: '等于', + id: 'EQUAL', + }, + { + color: null, + name: '大于', + id: 'GREATER_THAN', + }, + { + color: null, + name: '大于等于', + id: 'GREATER_THAN_OR_EQUAL', + }, + { + color: null, + name: '小于', + id: 'LESS_THAN', + }, + { + color: null, + name: '小于等于', + id: 'LESS_THEN_OR_EQUAL', + }, + ], + orderNo: 19, + pageNum: 0, + pageSize: 0, + readOnlyFlag: 0, + requiredFlag: 0, + showStatus: 1, + sonColumnList: [], + sortFlag: 1, + splitFlag: 0, + start: 0, + tableId: 1, + width: null, + }, +]; +const list = [ + { + groupId: null, + groupList: [], + id: 1866, + rowData: [ + { + cellValueList: [ + { + text: '模型制作', + value: '模型制作', + }, + ], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '测试组2', + value: 'null', + }, + ], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1860, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '你好好看看看去年', + value: '', + }, + ], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '测试组2', + value: 'null', + }, + ], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1859, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '测试组2', + value: 'null', + }, + ], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1857, + rowData: [ + { + cellValueList: [ + { + text: '流量监控', + value: '流量监控', + }, + ], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '公司名称五', + value: '782', + }, + ], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '测试组2', + value: 'null', + }, + ], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '2019-11-22 08:07:00', + value: '2019-11-22 08:07:00', + }, + ], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1856, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '测试组2', + value: 'null', + }, + ], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1855, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '测试组2', + value: '测试组2', + }, + ], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1854, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1853, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1852, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1851, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1849, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1847, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '123123123', + value: '', + }, + ], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1846, + rowData: [ + { + cellValueList: [ + { + text: '你好好看看', + value: '你好好看看', + }, + ], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1845, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: 'sdfsdf', + value: '', + }, + ], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '石墨一花名', + value: '1007', + }, + ], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1842, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1841, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '测试组2', + value: 'null', + }, + ], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, + { + groupId: null, + groupList: [], + id: 1840, + rowData: [ + { + cellValueList: [], + colChsName: '品牌名称', + colName: 'customerNameInput', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户名称', + colName: 'customerName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进人名称', + colName: 'followUpUserName', + linkObjRlowDateList: [], + }, + { + cellValueList: [ + { + text: '测试组2', + value: 'null', + }, + ], + colChsName: '跟进人部门', + colName: 'followUpDepartmentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进日期', + colName: 'followUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进类型', + colName: 'followUpType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '涉及Talent', + colName: 'talentName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进内容', + colName: 'negotiationContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '客户反馈', + colName: 'customerResult', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '联系人', + colName: 'contactName', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '跟进形式', + colName: 'followUpMethod', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '地点', + colName: 'followUpAddress', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进时间', + colName: 'nextFollowUpDate', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进内容', + colName: 'nextFollowUpContent', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '下次跟进提醒', + colName: 'nextFollowWarnType', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒方式', + colName: 'nextFollowWarnChannel', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '提醒谁看', + colName: 'nextFollowWarnUser', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '附件', + colName: 'attachments', + linkObjRlowDateList: [], + }, + { + cellValueList: [], + colChsName: '评分', + colName: 'score', + linkObjRlowDateList: [], + }, + ], + }, +]; +export default { + cols, + list, +}; diff --git a/src/apollo-table/component/index.tsx b/src/apollo-table/component/index.tsx index 36979a690094373391278e97b4a5887e85c980eb..0f12b3186e89ab97bbe3fc2d1f54d0e640fd08cd 100644 --- a/src/apollo-table/component/index.tsx +++ b/src/apollo-table/component/index.tsx @@ -3,3277 +3,9 @@ import * as PropTypes from 'prop-types'; import styles from './index.less'; import { CommonProps, CommonState } from './interface'; import Table from './Table'; -const cols = [ - { - align: '', - columnAttr: '{"maxLength":50,"placeholder":"请输入"}', - columnAttrObj: { - placeholder: '请输入', - maxLength: 50, - }, - columnChsName: '品牌名称', - columnName: 'customerNameInput', - columnType: 1, - createTime: '2019-10-15 10:25:37', - createUserId: null, - enableStatus: 1, - entityFlag: 1, - filterFlag: 1, - fixed: 'left', - groupFlag: 1, - hideFlag: 0, - id: 26, - limit: 0, - modifyTime: '2019-11-18 17:24:16', - modifyUserId: null, - operator: [ - { - color: null, - name: '包含', - id: 'CONTAIN', - }, - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 0, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '{"type":"customer","isMultiple":false,"placeholder":"请输入或通过下拉列表勾选"}', - columnAttrObj: { - isMultiple: false, - placeholder: '请输入或通过下拉列表勾选', - type: 'customer', - }, - columnChsName: '客户名称', - columnName: 'customerName', - columnType: 15, - createTime: '2019-09-09 21:08:08', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 1, - hideFlag: 1, - id: 1, - limit: 0, - modifyTime: '2019-11-22 17:18:35', - modifyUserId: null, - operator: [ - { - color: null, - name: '包含', - id: 'CONTAIN', - }, - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 1, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: - '{"type":"user","presetValue":{"type":"2","value":[{"text":"userName","value":"userId"}]},"isMultiple":false,"placeholder":"请选择","events":[{"eventValue":"onChange,onBlur","behaviors":[{"behaviorValue":"changDynamicValue","targets":"followUpDepartmentName","fieldValueName":"user","fieldValueValueRequired":false,"nameCol":"followUpUserName","nameRequired":false,"paramsJsonRequired":false}]}]}', - columnAttrObj: { - presetValue: { - type: '2', - value: [ - { - text: 'userName', - value: 'userId', - }, - ], - }, - isMultiple: false, - placeholder: '请选择', - type: 'user', - events: [ - { - eventValue: 'onChange,onBlur', - behaviors: [ - { - nameCol: 'followUpUserName', - nameRequired: false, - behaviorValue: 'changDynamicValue', - paramsJsonRequired: false, - fieldValueName: 'user', - targets: 'followUpDepartmentName', - fieldValueValueRequired: false, - }, - ], - }, - ], - }, - columnChsName: '跟进人名称', - columnName: 'followUpUserName', - columnType: 13, - createTime: '2019-09-09 21:14:02', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 1, - hideFlag: 1, - id: 2, - limit: 0, - modifyTime: '2019-11-22 00:28:23', - modifyUserId: null, - operator: [ - { - color: null, - name: '包含', - id: 'CONTAIN', - }, - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 2, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: - '{"type":"deptment","presetValue":{"type":"2","value":[{"text":"departmentName","value":"departmentId"}]},"isMultiple":false,"placeholder":"请选择"}', - columnAttrObj: { - presetValue: { - type: '2', - value: [ - { - text: 'departmentName', - value: 'departmentId', - }, - ], - }, - isMultiple: false, - placeholder: '请选择', - type: 'deptment', - }, - columnChsName: '跟进人部门', - columnName: 'followUpDepartmentName', - columnType: 14, - createTime: '2019-09-09 21:15:55', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 1, - hideFlag: 1, - id: 3, - limit: 0, - modifyTime: '2019-11-22 00:28:23', - modifyUserId: null, - operator: [ - { - color: null, - name: '包含', - id: 'CONTAIN', - }, - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 3, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 1, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '{"placeholder":"请选择"}', - columnAttrObj: { - placeholder: '请选择', - }, - columnChsName: '跟进日期', - columnName: 'followUpDate', - columnType: 11, - createTime: '2019-09-09 21:17:05', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 0, - hideFlag: 1, - id: 4, - limit: 0, - modifyTime: '2019-09-22 15:16:59', - modifyUserId: null, - operator: [ - { - color: null, - name: '等于', - id: 'EQUAL', - }, - { - color: null, - name: '大于', - id: 'GREATER_THAN', - }, - { - color: null, - name: '大于等于', - id: 'GREATER_THAN_OR_EQUAL', - }, - { - color: null, - name: '小于', - id: 'LESS_THAN', - }, - { - color: null, - name: '小于等于', - id: 'LESS_THEN_OR_EQUAL', - }, - ], - orderNo: 4, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: - '{"options":[{"id":"1","name":"客户拜访","color":"FCD5DCFF"},{"id":"2","name":"线索跟进(主动)","color":"CDE1FFFF"},{"id":"5","name":"线索跟进(被动)","color":"ECD5ECFF"},{"id":"3","name":"项目执行","color":"FFF3D2FF"},{"id":"4","name":"项目回款","color":"CBE8E7FF"}],"placeholder":"请选择"}', - columnAttrObj: { - options: [ - { - color: 'FCD5DCFF', - name: '客户拜访', - id: '1', - }, - { - color: 'CDE1FFFF', - name: '线索跟进(主动)', - id: '2', - }, - { - color: 'ECD5ECFF', - name: '线索跟进(被动)', - id: '5', - }, - { - color: 'FFF3D2FF', - name: '项目执行', - id: '3', - }, - { - color: 'CBE8E7FF', - name: '项目回款', - id: '4', - }, - ], - placeholder: '请选择', - }, - columnChsName: '跟进类型', - columnName: 'followUpType', - columnType: 6, - createTime: '2019-09-09 21:17:12', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 1, - hideFlag: 1, - id: 5, - limit: 0, - modifyTime: '2019-11-05 15:33:25', - modifyUserId: null, - operator: [ - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 5, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '{"type":"talent","isMultiple":true,"placeholder":"请选择","maxCount":30}', - columnAttrObj: { - isMultiple: true, - placeholder: '请选择', - type: 'talent', - maxCount: 30, - }, - columnChsName: '涉及Talent', - columnName: 'talentName', - columnType: 13, - createTime: '2019-09-09 21:19:19', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 1, - hideFlag: 1, - id: 6, - limit: 0, - modifyTime: '2019-09-25 11:32:32', - modifyUserId: null, - operator: [ - { - color: null, - name: '包含', - id: 'CONTAIN', - }, - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 6, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '{"maxLength":300,"placeholder":"请输入"}', - columnAttrObj: { - placeholder: '请输入', - maxLength: 300, - }, - columnChsName: '跟进内容', - columnName: 'negotiationContent', - columnType: 3, - createTime: '2019-09-09 21:20:07', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 0, - hideFlag: 1, - id: 7, - limit: 0, - modifyTime: '2019-09-22 15:16:59', - modifyUserId: null, - operator: [ - { - color: null, - name: '包含', - id: 'CONTAIN', - }, - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 7, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '{"maxLength":300,"placeholder":"请输入"}', - columnAttrObj: { - placeholder: '请输入', - maxLength: 300, - }, - columnChsName: '客户反馈', - columnName: 'customerResult', - columnType: 3, - createTime: '2019-09-10 22:12:37', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 0, - hideFlag: 1, - id: 8, - limit: 0, - modifyTime: '2019-09-22 15:17:00', - modifyUserId: null, - operator: [ - { - color: null, - name: '包含', - id: 'CONTAIN', - }, - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 8, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '{"maxLength":10,"placeholder":"请输入"}', - columnAttrObj: { - placeholder: '请输入', - maxLength: 10, - }, - columnChsName: '联系人', - columnName: 'contactName', - columnType: 1, - createTime: '2019-09-09 21:21:13', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 0, - hideFlag: 1, - id: 9, - limit: 0, - modifyTime: '2019-09-23 12:03:24', - modifyUserId: null, - operator: [ - { - color: null, - name: '包含', - id: 'CONTAIN', - }, - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 9, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: - '{"options":[{"id":"1","name":"到访","color":"FCD5DCFF"},{"id":"2","name":"电话","color":"CDE1FFFF"},{"id":"3","name":"微信","color":"FFF3D2FF"},{"id":"4","name":"短信","color":"CBE8E7FF"},{"id":"5","name":"邮件","color":"CBE8E7FF"},{"id":"6","name":"QQ","color":"CBE8E7FF"},{"id":"7","name":"其它","color":"CBE8E7FF"}],"placeholder":"请选择"}', - columnAttrObj: { - options: [ - { - color: 'FCD5DCFF', - name: '到访', - id: '1', - }, - { - color: 'CDE1FFFF', - name: '电话', - id: '2', - }, - { - color: 'FFF3D2FF', - name: '微信', - id: '3', - }, - { - color: 'CBE8E7FF', - name: '短信', - id: '4', - }, - { - color: 'CBE8E7FF', - name: '邮件', - id: '5', - }, - { - color: 'CBE8E7FF', - name: 'QQ', - id: '6', - }, - { - color: 'CBE8E7FF', - name: '其它', - id: '7', - }, - ], - placeholder: '请选择', - }, - columnChsName: '跟进形式', - columnName: 'followUpMethod', - columnType: 6, - createTime: '2019-09-09 21:21:41', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 1, - hideFlag: 1, - id: 10, - limit: 0, - modifyTime: '2019-09-22 15:17:41', - modifyUserId: null, - operator: [ - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 10, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '{"maxLength":50,"placeholder":"请输入"}', - columnAttrObj: { - placeholder: '请输入', - maxLength: 50, - }, - columnChsName: '地点', - columnName: 'followUpAddress', - columnType: 1, - createTime: '2019-09-09 21:22:16', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 0, - hideFlag: 1, - id: 11, - limit: 0, - modifyTime: '2019-09-23 12:03:24', - modifyUserId: null, - operator: [ - { - color: null, - name: '包含', - id: 'CONTAIN', - }, - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 11, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '{"placeholder":"请选择"}', - columnAttrObj: { - placeholder: '请选择', - }, - columnChsName: '下次跟进时间', - columnName: 'nextFollowUpDate', - columnType: 11, - createTime: '2019-09-09 21:22:50', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 0, - hideFlag: 1, - id: 12, - limit: 0, - modifyTime: '2019-09-22 15:17:00', - modifyUserId: null, - operator: [ - { - color: null, - name: '等于', - id: 'EQUAL', - }, - { - color: null, - name: '大于', - id: 'GREATER_THAN', - }, - { - color: null, - name: '大于等于', - id: 'GREATER_THAN_OR_EQUAL', - }, - { - color: null, - name: '小于', - id: 'LESS_THAN', - }, - { - color: null, - name: '小于等于', - id: 'LESS_THEN_OR_EQUAL', - }, - ], - orderNo: 12, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '{"maxLength":300,"placeholder":"请输入"}', - columnAttrObj: { - placeholder: '请输入', - maxLength: 300, - }, - columnChsName: '下次跟进内容', - columnName: 'nextFollowUpContent', - columnType: 3, - createTime: '2019-09-10 22:31:38', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 0, - hideFlag: 1, - id: 13, - limit: 0, - modifyTime: '2019-09-23 12:03:25', - modifyUserId: null, - operator: [ - { - color: null, - name: '包含', - id: 'CONTAIN', - }, - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 13, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: - '{"options":[{"id":"-1","name":"无提醒","color":"FCD5DCFF"},{"id":"0","name":"准时提醒","color":"CDE1FFFF"},{"id":"10","name":"提前10分钟提醒","color":"FFF3D2FF"},{"id":"30","name":"提前30分钟提醒","color":"CBE8E7FF"},{"id":"60","name":"提前1小时提醒","color":"CBE8E7FF"},{"id":"120","name":"提前2小时提醒","color":"CBE8E7FF"},{"id":"1440","name":"提前1天提醒","color":"CBE8E7FF"}],"placeholder":"请选择"}', - columnAttrObj: { - options: [ - { - color: 'FCD5DCFF', - name: '无提醒', - id: '-1', - }, - { - color: 'CDE1FFFF', - name: '准时提醒', - id: '0', - }, - { - color: 'FFF3D2FF', - name: '提前10分钟提醒', - id: '10', - }, - { - color: 'CBE8E7FF', - name: '提前30分钟提醒', - id: '30', - }, - { - color: 'CBE8E7FF', - name: '提前1小时提醒', - id: '60', - }, - { - color: 'CBE8E7FF', - name: '提前2小时提醒', - id: '120', - }, - { - color: 'CBE8E7FF', - name: '提前1天提醒', - id: '1440', - }, - ], - placeholder: '请选择', - }, - columnChsName: '下次跟进提醒', - columnName: 'nextFollowWarnType', - columnType: 6, - createTime: '2019-09-10 22:38:50', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 0, - hideFlag: 1, - id: 14, - limit: 0, - modifyTime: '2019-09-23 16:55:35', - modifyUserId: null, - operator: [ - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 14, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '{"options":[{"id":"0","name":"系统消息","color":"FCD5DCFF"}],"placeholder":"请选择"}', - columnAttrObj: { - options: [ - { - color: 'FCD5DCFF', - name: '系统消息', - id: '0', - }, - ], - placeholder: '请选择', - }, - columnChsName: '提醒方式', - columnName: 'nextFollowWarnChannel', - columnType: 6, - createTime: '2019-09-10 23:14:56', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 0, - hideFlag: 1, - id: 15, - limit: 0, - modifyTime: '2019-09-23 17:14:18', - modifyUserId: null, - operator: [ - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 15, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '{"type":"user","isMultiple":true,"placeholder":"请选择","maxCount":30}', - columnAttrObj: { - isMultiple: true, - placeholder: '请选择', - type: 'user', - maxCount: 30, - }, - columnChsName: '提醒谁看', - columnName: 'nextFollowWarnUser', - columnType: 13, - createTime: '2019-09-10 23:06:58', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 0, - hideFlag: 1, - id: 16, - limit: 0, - modifyTime: '2019-09-23 13:27:59', - modifyUserId: null, - operator: [ - { - color: null, - name: '包含', - id: 'CONTAIN', - }, - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 16, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '', - columnAttrObj: null, - columnChsName: '附件', - columnName: 'attachments', - columnType: 4, - createTime: '2019-09-10 23:08:55', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 0, - hideFlag: 1, - id: 17, - limit: 0, - modifyTime: '2019-09-22 15:17:00', - modifyUserId: null, - operator: [ - { - color: null, - name: '包含', - id: 'CONTAIN', - }, - { - color: null, - name: '等于', - id: 'EQUAL', - }, - ], - orderNo: 17, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, - { - align: '', - columnAttr: '', - columnAttrObj: null, - columnChsName: '评分', - columnName: 'score', - columnType: 8, - createTime: '2019-09-16 21:02:02', - createUserId: null, - enableStatus: 1, - entityFlag: null, - filterFlag: 1, - fixed: '', - groupFlag: 0, - hideFlag: 1, - id: 19, - limit: 0, - modifyTime: '2019-09-22 15:17:00', - modifyUserId: null, - operator: [ - { - color: null, - name: '等于', - id: 'EQUAL', - }, - { - color: null, - name: '大于', - id: 'GREATER_THAN', - }, - { - color: null, - name: '大于等于', - id: 'GREATER_THAN_OR_EQUAL', - }, - { - color: null, - name: '小于', - id: 'LESS_THAN', - }, - { - color: null, - name: '小于等于', - id: 'LESS_THEN_OR_EQUAL', - }, - ], - orderNo: 19, - pageNum: 0, - pageSize: 0, - readOnlyFlag: 0, - requiredFlag: 0, - showStatus: 1, - sonColumnList: [], - sortFlag: 1, - splitFlag: 0, - start: 0, - tableId: 1, - width: null, - }, -]; -const list = [ - { - groupId: null, - groupList: [], - id: 1866, - rowData: [ - { - cellValueList: [ - { - text: '模型制作', - value: '模型制作', - }, - ], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '测试组2', - value: 'null', - }, - ], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1860, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '你好好看看看去年', - value: '', - }, - ], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '测试组2', - value: 'null', - }, - ], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1859, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '测试组2', - value: 'null', - }, - ], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1857, - rowData: [ - { - cellValueList: [ - { - text: '流量监控', - value: '流量监控', - }, - ], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '公司名称五', - value: '782', - }, - ], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '测试组2', - value: 'null', - }, - ], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '2019-11-22 08:07:00', - value: '2019-11-22 08:07:00', - }, - ], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1856, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '测试组2', - value: 'null', - }, - ], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1855, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '测试组2', - value: '测试组2', - }, - ], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1854, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1853, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1852, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1851, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1849, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1847, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '123123123', - value: '', - }, - ], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1846, - rowData: [ - { - cellValueList: [ - { - text: '你好好看看', - value: '你好好看看', - }, - ], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1845, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: 'sdfsdf', - value: '', - }, - ], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '石墨一花名', - value: '1007', - }, - ], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1842, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1841, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '测试组2', - value: 'null', - }, - ], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, - { - groupId: null, - groupList: [], - id: 1840, - rowData: [ - { - cellValueList: [], - colChsName: '品牌名称', - colName: 'customerNameInput', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户名称', - colName: 'customerName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进人名称', - colName: 'followUpUserName', - linkObjRlowDateList: [], - }, - { - cellValueList: [ - { - text: '测试组2', - value: 'null', - }, - ], - colChsName: '跟进人部门', - colName: 'followUpDepartmentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进日期', - colName: 'followUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进类型', - colName: 'followUpType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '涉及Talent', - colName: 'talentName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进内容', - colName: 'negotiationContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '客户反馈', - colName: 'customerResult', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '联系人', - colName: 'contactName', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '跟进形式', - colName: 'followUpMethod', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '地点', - colName: 'followUpAddress', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进时间', - colName: 'nextFollowUpDate', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进内容', - colName: 'nextFollowUpContent', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '下次跟进提醒', - colName: 'nextFollowWarnType', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒方式', - colName: 'nextFollowWarnChannel', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '提醒谁看', - colName: 'nextFollowWarnUser', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '附件', - colName: 'attachments', - linkObjRlowDateList: [], - }, - { - cellValueList: [], - colChsName: '评分', - colName: 'score', - linkObjRlowDateList: [], - }, - ], - }, -]; +import Data from './data'; + +const {cols,list} = Data; class AirTable extends React.Component { static propTypes = { dataSource: PropTypes.array, diff --git a/src/apollo-table/component/interface.tsx b/src/apollo-table/component/interface.tsx index 3904b68820a0368a34e261f6a79ee32e33a86eca..abe047283c5a251812aa37d60cc60ccf12aa84d9 100644 --- a/src/apollo-table/component/interface.tsx +++ b/src/apollo-table/component/interface.tsx @@ -5,6 +5,7 @@ export interface CommonProps { dataSource?: []; tableId?: number; checked?: []; + columnWidth?: number; } export interface CommonState { @@ -13,6 +14,7 @@ export interface CommonState { dataSource?: []; tableId?: number; checked?: []; + columnWidth?: number; } export interface TableProps extends CommonProps {} @@ -48,7 +50,15 @@ export interface CellState { columns: []; columnConfig: any; rowData: []; - cellData: []; + editValue: []; + originValue: []; +} +export interface EditCellProps { + columnConfig: any; + rowData: []; + value: any; +} +export interface EditCellState { + prevProps: EditCellProps; + columnConfig: any; } -export interface EditCellProps extends BaseComponentProps {} -export interface EditCellState extends BaseComponentState {} diff --git a/src/apollo-table/utils/scrollbarSize.ts b/src/apollo-table/utils/scrollbarSize.ts new file mode 100644 index 0000000000000000000000000000000000000000..73105464e190863e489ea8421ead3d3125c70547 --- /dev/null +++ b/src/apollo-table/utils/scrollbarSize.ts @@ -0,0 +1,23 @@ +const canUseDOM:boolean = !!(typeof window !== 'undefined' && window.document && window.document.createElement); + +let size: number; + +export default function scrollbarSize(recalc?: boolean) { + if ((!size && size !== 0) || recalc) { + if (canUseDOM) { + const scrollDiv = document.createElement('div'); + + scrollDiv.style.position = 'absolute'; + scrollDiv.style.top = '-9999px'; + scrollDiv.style.width = '50px'; + scrollDiv.style.height = '50px'; + scrollDiv.style.overflow = 'scroll'; + + document.body.appendChild(scrollDiv); + size = scrollDiv.offsetWidth - scrollDiv.clientWidth; + document.body.removeChild(scrollDiv); + } + } + + return size; +}