Commit 95a5d28d authored by suhuiguang's avatar suhuiguang

Merge branch 'developer' of http://172.16.10.76/station/amos-station-module-view into developer

parents 1be3146e 6209d3b0
......@@ -101,7 +101,7 @@ export default {
fire: require('../assets/convertor/3dview/markers/fire.png'),
fireDetection: require('../assets/convertor/3dview/markers/fireDetector.png'),
//重点设备模式
impEquipmentMode_monitorEquipment: require('../assets/convertor/3dview/markers/IeqMode-monitorEquipment.png'),
impEquipmentMode_impEquipment: require('../assets/convertor/3dview/markers/IeqMode-impEquipment.png'),
......@@ -183,11 +183,11 @@ impEquipmentMode_fireCar: require('../assets/convertor/3dview/markers/IeqMode-fi
'shapan-dianlangoutu': require('../assets/convertor/3dview/prePlan/shapan-dianlangoutu.png'),
'jiaohuqu-yingjichuzhi': require('../assets/convertor/3dview/prePlan/jiaohuqu-yingjichuzhi.png'),
'jiaohuqu-dianlangou': require('../assets/convertor/3dview/prePlan/jiaohuqu-dianlangou.png'),
blue: '/src/assets/3dview/prePlan/jiaohuqu-2anniu-lan.png',
yellow: '/src/assets/3dview/prePlan/jiaohuqu-2anniu-cheng.png',
'blue-chang': '/src/assets/3dview/prePlan/jiaohuqu-2anniu-lan-chang.png',
'yellow-chang': '/src/assets/3dview/prePlan/jiaohuqu-2anniu-cheng-chang.png',
onlyOne: '/src/assets/3dview/prePlan/jiaohuqu-2anniu-cheng-chang.png'
blue: require('../assets/convertor/3dview/prePlan/jiaohuqu-2anniu-lan.png'),
yellow: require('../assets/convertor/3dview/prePlan/jiaohuqu-2anniu-cheng.png'),
'blue-chang': require('../assets/convertor/3dview/prePlan/jiaohuqu-2anniu-lan-chang.png'),
'yellow-chang': require('../assets/convertor/3dview/prePlan/jiaohuqu-2anniu-cheng-chang.png'),
onlyOne: require('../assets/convertor/3dview/prePlan/jiaohuqu-2anniu-cheng-chang.png')
},
main: {
user: require('../assets/convertor/main/user.png'),
......@@ -197,6 +197,12 @@ impEquipmentMode_fireCar: require('../assets/convertor/3dview/markers/IeqMode-fi
};
export const marker3DIoncMapper = {
riskSource_0: require('../assets/convertor/3dview/markers/risk-0.png'),
riskSource_1: require('../assets/convertor/3dview/markers/risk-1.png'),
riskSource_2: require('../assets/convertor/3dview/markers/risk-2.png'),
riskSource_3: require('../assets/convertor/3dview/markers/risk-3.png'),
riskSource_4: require('../assets/convertor/3dview/markers/risk-4.png'),
riskSource_5: require('../assets/convertor/3dview/markers/risk-5.png'),
risk_0: '/mods/components/3dviewConvertor/threeres/markers/risk-0.png',
risk_1: '/mods/components/3dviewConvertor/threeres/markers/risk-1.png',
risk_2: '/mods/components/3dviewConvertor/threeres/markers/risk-2.png',
......
......@@ -24,10 +24,10 @@
position: absolute;
top: -20px;
white-space: nowrap;
width: 38px;
width: 51px;
-webkit-transform-origin-x: 0;
-webkit-transform: scale(0.60);
text-align: end;
-webkit-transform: scale(0.70);
text-align: center;
}
.action-item-content{
......
......@@ -102,6 +102,12 @@
right: 14px;
}
.params-input-img1{
position: absolute;
width: 28px;
height: 28px;
right: 160px;
}
// .params-datePicker{
.ant-input{
background-color: #13428f;
......
......@@ -134,7 +134,10 @@
}
.common-title{
font-size: 16px;
font-size: 18px;
font-family: SourceHanSansCN-Medium, SourceHanSansCN;
font-weight: 500;
color: #70eeff;
}
.safetyIndex {
......@@ -160,13 +163,20 @@
.safetyIndex-content {
height: 100%;
margin-left: 30px;
margin-right: 20px;
margin-right: 14px;
cursor: pointer;
.content-item {
margin: 5px;
}
.safetyIndex-content-title{
font-size: 18px;
font-family: SourceHanSansCN-Medium, SourceHanSansCN;
font-weight: 500;
color: #70eeff;
}
.safetyIndex-content-row {
display: flex;
align-items: flex-end;
......@@ -257,6 +267,9 @@
.content-xj-middle {
height: 44%;
margin-top: 4%;
// background: url('/mods/components/3dviewConvertor/assets/panoramic/main_bg_rightmiddle.png');
// background-repeat: repeat;
// background-size: 100% 100%;
}
.content-xj-bottom {
......@@ -264,7 +277,7 @@
margin-top: 12px;
.content-week-font {
font-size: 16px;
font-size: 13px;
font-family: SourceHanSansCN-Regular, SourceHanSansCN;
font-weight: 400;
color: rgba(255, 255, 255, 1);
......
......@@ -62,7 +62,6 @@ class MaskContent extends Component {
}
changeSearchPaneVisible = () => {
debugger;
const { searchPaneVisible } = this.state;
this.setState({ searchPaneVisible: !searchPaneVisible });
}
......@@ -89,7 +88,8 @@ class MaskContent extends Component {
sideControlShow,
isShowActionBar,
headerName,
errorAreaId
errorAreaId,
focusPosition
} = this.props;
alarmStarted && this.props.editModelChange(true);
const wsURL = completeToken(SysWsURL.rulews);
......@@ -124,7 +124,7 @@ class MaskContent extends Component {
<AmosWebSocket ref={node => this.aws = node} url={wsURL} onMessage={this.handleData} reconnect debug />
{ !alarmStarted && sideControlShow && <SideControl multiple={multiple} errorAreaId={errorAreaId} onItemClick={onItemClick} layerConfig={layerConfig} animationProps={controlAnimation} />}
{ !alarmStarted && sideControlShow && <DataPane animationProps={datapaneAnim} />}
{ !alarmStarted && <SearchPane visible={searchPaneVisible} changeSearchPaneVisible={() => this.changeSearchPaneVisible} />}
{ !alarmStarted && <SearchPane visible={searchPaneVisible} focusPosition={focusPosition} changeSearchPaneVisible={() => this.changeSearchPaneVisible} />}
<TopMsg alarmStart={alarmStart} />
{ !alarmStarted && !isShowActionBar && <ModelHeader animationProps={controlAnimation} headerName={headerName} handleExceptModel={this.handleExceptModel} />}
{ !alarmStarted && isShowActionBar && <ActionBar activeAction={activeAction} onActionItemClick={(e) => this.actionBarClick(e)} animationProps={controlAnimation} /> }
......
......@@ -86,12 +86,19 @@ class View3D extends Component {
fireEquipmentPosition: [],
contingencyPlanId: '',
markers: {
patrol: [],
risk: [],
video: [],
person: [],
data: [],
room: []
riskSource:[],//风险点 - riskSource;
patrol:[],//巡检点 -
impEquipment:[],//重点设备 -
monitorEquipment:[],//探测器 -
video:[],//摄像头 -
fireEquipment:[],//消防设备 -
person:[],
pool:[],
hydrant:[],
fireChamber:[],
fireCar:[],
fire:[],
fireDetection:[]
},
markerType: null,
planStarted: false,
......@@ -181,7 +188,8 @@ class View3D extends Component {
planStart = data => {
this.setState(
{
planStarted: true
planStarted: true,
editFlag: false
},
() => {
this.props.trigger(eventTopics.plan_start, {
......@@ -201,6 +209,7 @@ class View3D extends Component {
removeFireAlarm2(this);
this.cameraFactory.fitView(desigerHelperConfig.cameraEffect);
this.quitEditMode();
this.handleExceptModel('out_except_model', '');
};
alarmStart = () => {
......@@ -243,6 +252,7 @@ class View3D extends Component {
_bindPubSubEvents = () => {
this.props.subscribe(eventTopics.base3d_view, (topic, data) => {
console.log('subscribe base3d_view')
if (isControllerEvent(topic)) {
executeView3dCMD(this, topic, data);
} else if (isManualOperate(topic)) {
......@@ -268,6 +278,7 @@ class View3D extends Component {
this.setState({ fireEquipmentPosition });
}
assembleTroubleView(this, data, this.state.markers);
this.handleExceptModel('out_except_model');
break;
case 'base3d.fromws.mapArea_action1-2': //镜头切换(旋转+推进)
changeGoodView(this, data);
......@@ -532,8 +543,6 @@ class View3D extends Component {
getPointList = () => {
let { markers } = this.state
getPointListAction().then(data => {
// console.log(data);
console.log(JSON.stringify(data))
for (let i = 0; i < data.length;i++){
markers[data[i].type].push(data[i])
}
......@@ -730,6 +739,11 @@ class View3D extends Component {
}
//选中区域变化
selectItemChange = (selectArea) => {
this.a3dRef.changeDrawState(PEN_STATE.CLEARED);//清除当前路径
// 结束绘制
this.setState({
drawing: false
});
this.setState({
selectArea,
showRightPanel: true
......@@ -819,7 +833,8 @@ class View3D extends Component {
//保存点绑定
savePointData = () => {
let { markers ,pointTypeArr} = this.state;
let { markers ,pointTypeArr,pointType} = this.state;
console.log(markers)
let paramsArr = [];
for ( let key in markers ){
let item = markers[key];
......@@ -831,10 +846,11 @@ class View3D extends Component {
});
}
}
savePointListAction(paramsArr).then(data => {
getPointTreeAction(pointTypeArr[0].code || '').then(data => {
getPointTreeAction(pointType).then(data => {
this.setState({
pointType: pointTypeArr[0].code || '',
treeData: data || [],
pageType: 'point',
showRightPanel: false
......@@ -846,7 +862,7 @@ class View3D extends Component {
}
// 删除点绑定
deletePointBind = () => {
let { selectPoints ,pointTypeArr,markers} = this.state;
let { selectPoints ,pointTypeArr,pointType,markers} = this.state;
if (selectPoints) {
let pointParams = [];
pointParams.push({
......@@ -856,10 +872,30 @@ class View3D extends Component {
})
savePointListAction(pointParams).then(data => {
getPointTreeAction(pointTypeArr[0].code || '').then(data => {
this.getPointList()
getPointTreeAction(pointType).then(data => {
getPointListAction().then(data => {
let newMarkers ={
riskSource:[],//风险点 - riskSource;
patrol:[],//巡检点 -
impEquipment:[],//重点设备 -
monitorEquipment:[],//探测器 -
video:[],//摄像头 -
fireEquipment:[],//消防设备 -
person:[],
pool:[],
hydrant:[],
fireChamber:[],
fireCar:[],
fire:[],
fireDetection:[]
}
for (let i = 0; i < data.length;i++){
newMarkers[data[i].type].push(data[i])
}
this.setState({markers:newMarkers})
})
this.setState({
pointType: pointTypeArr[0].code || '',
treeData: data || [],
pageType: 'point',
showRightPanel: false
......@@ -948,7 +984,7 @@ class View3D extends Component {
drop = (event) => {
event.preventDefault();
let { dragItem,markers } = this.state;
console.log(dragItem);
//alert(JSON.stringify(dragItem));
if (dragItem) {
if (dragItem.isBind) {
this.tipMsg = '只能放置未绑定的标记点'
......@@ -975,6 +1011,7 @@ class View3D extends Component {
return false;
}
let uid = UUID.uuidFast();
let type = dragItem.type;
let addPointParam = {
type: dragItem.type,
position,
......@@ -983,11 +1020,11 @@ class View3D extends Component {
key: `${dragItem.type}-${dragItem.id}`,
title: dragItem.name,
label: dragItem.name,
level: '1',
levelStr: 'level_2'
level: dragItem.level,
levelStr: dragItem.levelStr,
};
markers.riskSource.push(addPointParam);
markers[`${type}`].push(addPointParam);
console.log(markers)
this.setState({
markers
});
......@@ -1227,7 +1264,7 @@ class View3D extends Component {
const { markers } = this.state;
pointModelistAction(actionType).then(d =>{
// if (markerType === 'fireResource') {
markers['impEquipmentMode'] = d.dataList.filter(item => item.position !== null);
markers['impEquipmentMode'] = d.filter(item => item.position !== null);
// markers[markerType] = d;
this.setState({
markers,
......@@ -1259,9 +1296,9 @@ class View3D extends Component {
}
getExceptionAreasList = () => {
// exceptionRegionListAction().then(data=>{
// this.setState({ exceptionAreas: data });
// });
exceptionRegionListAction().then(data=>{
this.setState({ exceptionAreas: data });
});
}
initExceptionAreasData = ()=>{
......@@ -1407,6 +1444,7 @@ class View3D extends Component {
errorAreaId={errorAreaId}
handleExceptModel={this.handleExceptModel}
editModelChange={editModelChange}
focusPosition={this.focusPosition}
/>
}
modelContentProps={modelContentProps}
......
......@@ -100,6 +100,9 @@ export const parseSearchMenuMarkers = (instance, content) => {
} else {
markersArr.push(item);
markers[type.replace(/(^\s*)|(\s*$)/g, '')] = markersArr;
instance.setState({
markers
});
}
});
}
......@@ -267,6 +270,7 @@ export const parseLevelFilter = (instance, topic, data) => {
*/
export const parseManual = (instance, topic, data) => {
const { operateType, target } = data;
console.log('parseManual..');
switch (operateType) {
// 线路操作
case operateTypes.LINK:
......
......@@ -130,7 +130,7 @@ export default class SafetyIndex extends Component {
<img className="safetyIndex-safetyrate" src={panoramicIcon.safetyrate} alt="safetyrate" />
</div>
<div className='safetyIndex-content' onClick={() => this.modelOpen(true)}>
<div>今日安全指数 </div>
<div className='safetyIndex-content-title'>今日安全指数 </div>
<div className='safetyIndex-content-row'>
<div className='number-large'>{safetyIndexData.safetyIndex}</div>
<span className='number-unit'>&nbsp;&nbsp;
......
......@@ -74,7 +74,7 @@ class StatisticsCheck extends Component {
statisticsCheckData = () => {
statisticsCheckAction().then(data => {
this.setState({
data
data
});
});
}
......@@ -83,7 +83,7 @@ class StatisticsCheck extends Component {
return {
tooltip: {
trigger: 'item',
formatter: "{a} <br/>{b}: {c} ({d}%)"
formatter: "{b}: {c} ({d}%)"
},
legend: {
orient: 'vertical',
......@@ -159,17 +159,17 @@ class StatisticsCheck extends Component {
<ReactEcharts option={this.getOptionsx(data)} eventpool={this.onclick} className="div-echars" />
</div>
<div className="content-xj-bottom" >
<div className="yellow-div">
<div className="yellow-div-content">
<span className='titleIcon' style={this.rederStyle('check_buhege')}></span><span className="content-week-font"> 合
<span className="content-font-number"> {hege}</span>
<div className="green-div">
<div className="green-div-content">
<span className='titleIcon' style={this.rederStyle('check_hege')}></span><span className="content-week-font"> 合
<span className="content-font-number">{hege}</span>
</span>
</div>
</div>
<div className="green-div">
<div className="green-div-content">
<span className='titleIcon' style={this.rederStyle('check_hege')}></span><span className="content-week-font"> 未开
<span className="content-font-number">{weikaishi}</span>
<div className="grey-div">
<div className="grey-div-content">
<span className='titleIcon' style={this.rederStyle('check_weizhixing')}></span><span className="content-week-font"> 未开
<span className="content-font-number"> {weikaishi}</span>
</span>
</div>
</div>
......@@ -180,9 +180,9 @@ class StatisticsCheck extends Component {
</span>
</div>
</div>
<div className="grey-div">
<div className="grey-div-content">
<span className='titleIcon' style={this.rederStyle('check_weizhixing')}></span><span className="content-week-font"> 不合
<div className="yellow-div">
<div className="yellow-div-content">
<span className='titleIcon' style={this.rederStyle('check_buhege')}></span><span className="content-week-font"> 不合
<span className="content-font-number"> {buhege}</span>
</span>
</div>
......
......@@ -133,4 +133,4 @@ export const ImpEquipmentMode = marker3DFactory(BasicPoint,
{
markerType: 'impEquipmentMode'
}
);
\ No newline at end of file
);
......@@ -15,7 +15,6 @@ const getIcon = (markerType, level) => {
const buildMarkerOptions = (markers, markerType, defaultParams = {}) => {
if (!utils.isEmpty(markers)){
markers.forEach(m => {
debugger;
const url = getIcon(markerType, m.level);
let position;
if (!utils.isArray(m.position)){
......
......@@ -23,13 +23,21 @@ export default function markerFactory(WrappedComponent = 'div', options){
super(props);
this.markerEvents = {
click: this.onMarkerClick,
dblclick: this.onMarkerDblClick
dblclick: this.onMarkerDblClick,
// mouseover: (marker) => {
// marker.redraw(this.renderMarkerHover);
// },
// mouseout: (marker) => {
// marker.redraw(this.renderMarker);
// }
mouseover: (marker, evt) => {
console.log('mouseover', marker, evt);
marker.object2DPipe && marker.object2DPipe.toggleDisplay(true);
},
mouseout: (marker, evt) => {
console.log('mouseout', marker, evt);
marker.object2DPipe && marker.object2DPipe.toggleDisplay(false);
}
};
}
......@@ -84,7 +92,9 @@ export default function markerFactory(WrappedComponent = 'div', options){
return <MarkerIcon {...extData} markerType={markerType} />;
}
}
markerCreated = ({ markersCache }) => {
this.markersCache = markersCache;
};
render() {
const { markers } = this.props;
const { planStarted } = this.state;
......@@ -96,6 +106,7 @@ export default function markerFactory(WrappedComponent = 'div', options){
markers={deepCopy(markers)}
events={this.markerEvents}
render={this.renderMarker}
onCreated={this.markerCreated}
/>
{!planStarted && <PointDialog style={dialogStyle} ref={node => this.pdRef = node} />}
</WrappedComponent>
......
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { SidePane, Tabs } from 'amos-framework';
import { SidePane, Tabs, message } from 'amos-framework';
import Icon from 'amos-icon';
import ParamsHeader from './paramsHeader';
import AmosGridTable from './../common/tableComponent/table/AmosGridTable';
import { update3DViewData } from './../dataProcessor';
import { operateTypes } from './../consts';
import {
searchAction,
msgAction,
exeRecordAction,
trajectoryAction
trajectoryAction,
recordAction
} from './../../services/3dService';
const { TabList, Tab, TabPanel } = Tabs;
......@@ -19,7 +22,7 @@ const getColumns = (self,retrieveType) => {
return [
{title: '编号',dataIndex: 'code',key: 'code',width: '25%'},
{title: '名称',dataIndex: 'label',key: 'label',width: '25%'},
{title: '等级',dataIndex: 'level',key: 'level',width: '25%'},
{title: '等级',dataIndex: 'levelStr',key: 'level',width: '25%'},
{title: '类别',dataIndex: 'typeName',key: 'typeName',width: '25%'}
];
case 'patrol':
......@@ -65,9 +68,9 @@ const getMsgColumns = () => {
const getRecordColumns = () => {
return [
{title: '名称',dataIndex: 'equipment_Name',key: 'equipment_Name',width: '33%'},
{title: '时间',dataIndex: 'create_time',key: 'create_time',width: '33%'},
{title: '重点设备',dataIndex: 'equipment_Name',key: 'equipment_Name',width: '33%'}
{title: '名称',dataIndex: 'pointName',key: 'pointName',width: '33%'},
{title: '时间',dataIndex: 'checkTime',key: 'checkTime',width: '33%'},
{title: '路线名称',dataIndex: 'routeName',key: 'status',width: '33%'}
]
}
......@@ -169,7 +172,7 @@ class SearchPane extends Component {
//预案
fetchRecordData = () => {
const { filter } = this.state;
exeRecordAction(filter, this.pageConfig.current, this.pageConfig.pageSize).then(d => {
recordAction(filter, this.pageConfig.current, this.pageConfig.pageSize).then(d => {
this.setState({recordDataList:d.content,totalCount: d.totalElements});
});
}
......@@ -234,6 +237,26 @@ class SearchPane extends Component {
}
};
onRetrieveRowDoubleClick = (record) => {
// 更新视图数据
let views = new Array();
if(record.position){
views.push(record);
let args = {
target: views,
operateType: operateTypes.POINT_SEARCH
};
update3DViewData(args);
this.props.focusPosition(this.toCameraPosition(record.position));
}else{
message.danger('坐标未绑定!!!');
}
}
toCameraPosition = (item) => {
return { x: item.x , y: item.y + 200 , z: item.z + 200 }
}
render() {
const { dataList,activeKey,retrieveType,totalCount,msgDataList,recordDataList,trajectoryDataList } = this.state;
return (
......@@ -246,7 +269,7 @@ class SearchPane extends Component {
<Tabs
activeKey={activeKey}
onChange={(index, key) => this.onTabClick(key)}
destroyContent
// destroyContent
>
<TabList>
{tabs.map((item, i) => (
......@@ -255,8 +278,9 @@ class SearchPane extends Component {
</TabList>
<ParamsHeader paramsOnChange={this.paramsOnChange} activeKey={activeKey}/>
<TabPanel activeKey="search">
<div className="search-pane-table">
{/* <div className="search-pane-table"> */}
<AmosGridTable
rowKey="id"
columns={getColumns(this,retrieveType)}
getTableDataAction={()=>{}}
callBack={this.reload}
......@@ -266,9 +290,10 @@ class SearchPane extends Component {
// getPanelHeight={this.getPanelHeight}
dataList={dataList}
totals={totalCount}
onRowDoubleClick={this.onRetrieveRowDoubleClick}
getTableDataAction={this.fetchRetrieveData}
/>
</div>
{/* </div> */}
</TabPanel>
<TabPanel activeKey="message">
<AmosGridTable
......
......@@ -73,7 +73,6 @@ class paramsHeader extends Component {
onPamarmsChange = (name,value) => {
let { filter } = this.state;
debugger;
if(name === 'inputText'){
this.setState({ textValue: value });
}
......@@ -81,7 +80,7 @@ class paramsHeader extends Component {
this.setState({ msgTextValue: value });
}
if(name === 'time'){
value = moment(value).format("YYYY-MM-DD");
value = value == null ? '' : moment(value).format("YYYY-MM-DD");
}
if (value) {
const flag = filter.some(e => {
......@@ -97,14 +96,20 @@ class paramsHeader extends Component {
this.setState({ filter }, this.props.paramsOnChange(filter));
}
paramsTypeonChange = (name,value,type) => {
paramsTypeonChange = (name,value,type,key) => {
let {recordFilter} = this.state;
debugger;
if(name === 'contingencyName'){
this.setState({recordTextValue:value})
}
if(name === 'pointName'){
this.setState({ trajectoryTextValue: value })
if(key === 'record'){
this.setState({ recordTextValue:value });
}else{
this.setState({ trajectoryTextValue: value });
}
}
if(name === 'checkTime'){
value = value == null ? '' : moment(value).format("YYYY-MM-DD");
}
if (value) {
const flag = recordFilter.some(e => {
......@@ -187,7 +192,7 @@ class paramsHeader extends Component {
onChange={(e) => this.onPamarmsChange('title',e.target.value)}
placeholder="输入关键字"
/>
<img className="params-input-img" src={imgStatic.datapane.searchPane} alt="" />
<img className="params-input-img1" src={imgStatic.datapane.searchPane} alt="" />
</div>
<DatePicker
key="time"
......@@ -205,22 +210,22 @@ class paramsHeader extends Component {
getRecordContent = () =>{
const { impEquiList } = this.state;
return (<Group style={groupStyle}>
<Select
{/* <Select
key="recordImpl"
style={selectStyle}
data={impEquiList}
renderOption={item => <Option key={item.id+item.name} value={item.id}>{item.name}</Option>}
defaultOption={<Option>重点设备</Option>}
onChange={(v) => this.paramsTypeonChange('equipmentId', v , SingleQueryEnum.EQUAL)}
/>
/> */}
<div className="params-input" style={inputStyle}>
<Input
key="recordTextValue"
value={this.state.recordTextValue}
onChange={(e) => this.paramsTypeonChange('contingencyName', e.target.value, SingleQueryEnum.LIKE)}
onChange={(e) => this.paramsTypeonChange('pointName', e.target.value, SingleQueryEnum.LIKE,'record')}
placeholder="输入关键字"
/>
<img className="params-input-img" src={imgStatic.datapane.searchPane} alt="" />
<img className="params-input-img1" src={imgStatic.datapane.searchPane} alt="" />
</div>
<DatePicker
key="createTime"
......@@ -228,7 +233,7 @@ class paramsHeader extends Component {
style={datePickerStyle}
placeholder="时间"
format="YYYY/MM/DD"
onChange={(v) => this.paramsTypeonChange('createTime', v, SingleQueryEnum.EQUAL)}
onChange={(v) => this.paramsTypeonChange('checkTime', v, SingleQueryEnum.EQUAL)}
/>
</Group>);
}
......@@ -251,7 +256,7 @@ class paramsHeader extends Component {
onChange={(e) => this.paramsTypeonChange('pointName', e.target.value, SingleQueryEnum.LIKE)}
placeholder="输入关键字"
/>
<img className="params-input-img" src={imgStatic.datapane.searchPane} alt="" />
<img className="params-input-img1" src={imgStatic.datapane.searchPane} alt="" />
</div>
<DatePicker
key="createTime"
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment