diff --git a/src/pages/Measure/columnsCommon.js b/src/pages/Measure/columnsCommon.js index 5e7a616..8e2a9fc 100644 --- a/src/pages/Measure/columnsCommon.js +++ b/src/pages/Measure/columnsCommon.js @@ -1,35 +1,36 @@ -import {RegExpIsFloat} from '../../components/Table' -import {Input} from 'antd' +import React from 'react' +import { Input } from 'antd' +import { RegExpIsFloat } from '../../components/Table' -const {TextArea} = Input +const { TextArea } = Input -// export const v = (text) =>
-// {text} -//
+export const v = (text) => ( +
+
-// {text} -//
- -export const v = (text) => text + WebkitTransform: 'rotate(-90deg)', + MozTransform: 'rotate(-90deg)', + MsTransform: 'rotate(-90deg)', + OTransform: 'rotate(-90deg)', + transform: 'rotate(-90deg)', + }}> + {text} +
+
+) export const numericColumnOptions = { editable: true, initialValue: 0, - width:'4rem', + width: '3rem', formItemRules: [ { required: true, @@ -40,12 +41,11 @@ export const numericColumnOptions = { }; export const textColumnOptions = { - editable:true, - input: