|
|
@ -11,6 +11,7 @@ import HightModal from './highways/highwaysdata'; |
|
|
|
const OperaTionalTable = (props) => { |
|
|
|
const { dispatch, user, depData, depMessage, depLoading } = props |
|
|
|
const [rowSelected, setRowSelected] = useState([]) |
|
|
|
|
|
|
|
const [sitename, setSitename] = useState()//场所名称
|
|
|
|
const [counts, setCounts] = useState()//shuju
|
|
|
|
const [modalVisible, setModalVisible] = useState(false); |
|
|
@ -23,7 +24,7 @@ const OperaTionalTable = (props) => { |
|
|
|
const [delet, setDelet] = useState() |
|
|
|
|
|
|
|
const ref = useRef() |
|
|
|
useEffect(() => { ref.current.reload() }, [modalVisible, modalVisibleyilan,rewkeys,activeKey,delet]) |
|
|
|
useEffect(() => { ref.current.reload() }, [rewkeys,activeKey,delet]) |
|
|
|
//打开弹窗
|
|
|
|
const openModal = (type, record) => { |
|
|
|
setModalVisible(true); |
|
|
@ -150,7 +151,7 @@ const OperaTionalTable = (props) => { |
|
|
|
title: '车牌号', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time2', |
|
|
|
valueType: 'dateRange', |
|
|
|
valueType: 'dateRange1', |
|
|
|
// align: 'right',
|
|
|
|
width: 120, |
|
|
|
render: (dom, record) => { |
|
|
@ -164,7 +165,7 @@ const OperaTionalTable = (props) => { |
|
|
|
title: '燃料类型', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time3', |
|
|
|
valueType: 'dateRange', |
|
|
|
valueType: 'dateRange2', |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -179,7 +180,7 @@ const OperaTionalTable = (props) => { |
|
|
|
title: '住址', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time4', |
|
|
|
valueType: 'dateRange', |
|
|
|
valueType: 'dateRange3', |
|
|
|
|
|
|
|
|
|
|
|
width: 120, |
|
|
@ -193,7 +194,7 @@ const OperaTionalTable = (props) => { |
|
|
|
title: '经济性质', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time5', |
|
|
|
valueType: 'dateRange', |
|
|
|
valueType: 'dateRange4', |
|
|
|
|
|
|
|
|
|
|
|
width: 120, |
|
|
@ -207,7 +208,7 @@ const OperaTionalTable = (props) => { |
|
|
|
title: '核定载客位数', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time6', |
|
|
|
valueType: 'dateRange', |
|
|
|
valueType: 'dateRange5', |
|
|
|
|
|
|
|
|
|
|
|
width: 120, |
|
|
@ -221,7 +222,7 @@ const OperaTionalTable = (props) => { |
|
|
|
title: '核定载质量', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time7', |
|
|
|
valueType: 'dateRange', |
|
|
|
valueType: 'dateRange6', |
|
|
|
|
|
|
|
|
|
|
|
width: 120, |
|
|
@ -235,7 +236,7 @@ const OperaTionalTable = (props) => { |
|
|
|
title: '车辆车轴数', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time8', |
|
|
|
valueType: 'dateRange', |
|
|
|
valueType: 'dateRange7', |
|
|
|
|
|
|
|
|
|
|
|
width: 120, |
|
|
@ -249,7 +250,7 @@ const OperaTionalTable = (props) => { |
|
|
|
title: '车辆厂牌', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
valueType: 'dateRange', |
|
|
|
valueType: 'dateRange8', |
|
|
|
|
|
|
|
|
|
|
|
width: 140, |
|
|
@ -263,8 +264,8 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '经营范围', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
valueType: 'dateRange', |
|
|
|
dataIndex: 'time10', |
|
|
|
valueType: 'dateRange9', |
|
|
|
|
|
|
|
|
|
|
|
width: 140, |
|
|
@ -278,8 +279,8 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '车辆营运状态', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
valueType: 'dateRange', |
|
|
|
dataIndex: 'time11', |
|
|
|
valueType: 'dateRange10', |
|
|
|
|
|
|
|
|
|
|
|
width: 140, |
|
|
@ -293,7 +294,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '客车类型与等级', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time12', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -308,7 +309,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '年审结果', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time13', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -323,7 +324,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '本次年审日期', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time14', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -338,7 +339,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '下次年审日期', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time15', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -353,7 +354,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '注册登记日期', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time16', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -368,7 +369,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '运力来源', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time17', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -383,7 +384,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '有效期起', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time18', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -398,7 +399,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '有效期止', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time19', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -413,7 +414,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '发动机排量', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time20', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -428,7 +429,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '发动机号', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time21', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -443,7 +444,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '车辆发动机功率', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time22', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -458,7 +459,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '经营许可证号', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time23', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -473,7 +474,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '车牌颜色', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time24', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -488,7 +489,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '车辆总质量', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time25', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -503,7 +504,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '车辆准牵引总质量', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time26', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -518,7 +519,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '道路运输证号', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time27', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -533,7 +534,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '车辆车高', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time28', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -548,7 +549,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '车辆车长', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time29', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -563,7 +564,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '车辆车宽', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time30', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -578,7 +579,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '车辆类型', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time31', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -593,7 +594,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '行驶证车辆类型', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time30', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -608,7 +609,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '车辆轴距', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time31', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -623,7 +624,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '等级评定日期', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time32', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -638,7 +639,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '技术评定等级', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time33', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -653,7 +654,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '下次等级评定日期', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time34', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -668,7 +669,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, { |
|
|
|
title: '创建日期', |
|
|
|
search: false, |
|
|
|
dataIndex: 'time9', |
|
|
|
dataIndex: 'time35', |
|
|
|
valueType: 'dateRange', |
|
|
|
|
|
|
|
|
|
|
@ -683,7 +684,7 @@ const OperaTionalTable = (props) => { |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '操作', |
|
|
|
dataIndex: 'creatTime', |
|
|
|
dataIndex: 'creatTime55', |
|
|
|
valueType: 'dateTimeRange', |
|
|
|
hideInSearch: true, |
|
|
|
width: 120, |
|
|
@ -1903,7 +1904,7 @@ const OperaTionalTable = (props) => { |
|
|
|
options={false} |
|
|
|
ref={c => { finishedProductTable = c; }} |
|
|
|
style={{ width: "100% ", overflow: "auto", height: '760px' }} |
|
|
|
rowKey='key' |
|
|
|
rowKey='id' |
|
|
|
rowSelection={{ |
|
|
|
selectedRowKeys: rowSelected, |
|
|
|
onChange: (selectedRowKeys) => { |
|
|
@ -1987,6 +1988,7 @@ const OperaTionalTable = (props) => { |
|
|
|
data={rewkeys==='yehu'?data:date} |
|
|
|
recortd={recortd} |
|
|
|
// sitename={sitename}
|
|
|
|
setDelet={setDelet} |
|
|
|
setRecortd={setRecortd} |
|
|
|
/> : ''} |
|
|
|
{modalVisibleyilan ? <HightModal |
|
|
@ -1996,6 +1998,7 @@ const OperaTionalTable = (props) => { |
|
|
|
typecard={typecard} |
|
|
|
rewkeys={'passenger'} |
|
|
|
recortd={recortd} |
|
|
|
setDelet={setDelet} |
|
|
|
setRecortd={setRecortd} |
|
|
|
/> : ''} |
|
|
|
</Spin > |
|
|
|