Commit 6d90c958 authored by maoying's avatar maoying

巡查统一页面删除风险等级字段显示

parent 0a0c7b0c
......@@ -32,14 +32,14 @@ const pointListColumns = (changeColour, self) => {
title: '名称',
dataIndex: 'name',
key: 'name',
width: '10%'
},
{
title: '级别',
dataIndex: 'level',
key: 'level',
width: '4%'
width: '18%'
},
// {
// title: '级别',
// dataIndex: 'level',
// key: 'level',
// width: '4%'
// },
{
title: '类型',
dataIndex: 'checkType',
......@@ -57,7 +57,7 @@ const pointListColumns = (changeColour, self) => {
title: '责任人',
dataIndex: 'realName',
key: 'realName',
width: '19%'
width: '10%'
},
/**
......@@ -72,7 +72,7 @@ const pointListColumns = (changeColour, self) => {
title: '状态',
dataIndex: 'realTimeStatus',
key: 'realTimeStatus',
width: '5%',
width: '8%',
render: text => (changeColour(text))
},
{
......
......@@ -185,8 +185,19 @@ class PointSearch extends Component {
render() {
let { userData, dataTypeOptions, departmentOptions, statusData, pointLevelOptions, selectData, searchParam, checkUserOptions } = this.state;
// const checkUserOptions = userData ? userData.map(d => <Option key={d.id}>{d.name}</Option>) : [];
// console.log(checkUserOptions);
// <div className='catalog-select'>
// <Select
// style={{ width: '150px' }}
// dropdownStyle={{ width: '150px' }}
// dropdownMatchSelectWidth
// onChange={(e)=>this.onSelectedChange(e,'pointLevel')}
// placeholder='巡检点级别'
// allowClear
// >
// {pointLevelOptions}
// </Select>
// </div>
return (
<div className='create-device-search-root'>
<div className='catalog-select'>
......@@ -194,18 +205,6 @@ class PointSearch extends Component {
style={{ width: '150px' }}
dropdownStyle={{ width: '150px' }}
dropdownMatchSelectWidth
onChange={(e)=>this.onSelectedChange(e,'pointLevel')}
placeholder='巡检点级别'
allowClear
>
{pointLevelOptions}
</Select>
</div>
<div className='catalog-select'>
<Select
style={{ width: '150px' }}
dropdownStyle={{ width: '150px' }}
dropdownMatchSelectWidth
onChange={(e)=>this.onSelectedChange(e,'checkType')}
placeholder='类型'
allowClear
......
......@@ -1698,3 +1698,12 @@ li.ant-calendar-time-picker-select-option-selected {
background: #1f5383 !important;
}
.point-view .create-device-root .create-device-host-top .table-search .create-device-search-root .ant-select-selection-selected-value {
color: #f5f5f5;
}
.point-view .point-first-row .point-execution-situation .point-list-content .ant-table-placeholder {
color: #f5f5f5;
background: #1f5383;
}
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