Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
amos-convertor-view
Commits
6d90c958
Commit
6d90c958
authored
Sep 14, 2022
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
巡查统一页面删除风险等级字段显示
parent
0a0c7b0c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
23 deletions
+31
-23
PointListView.js
src/view/bizview/point/PointListView.js
+9
-9
PointSearch.js
src/view/bizview/point/PointSearch.js
+13
-14
transparent.css
themes/transparent.css
+9
-0
No files found.
src/view/bizview/point/PointListView.js
View file @
6d90c958
...
@@ -32,14 +32,14 @@ const pointListColumns = (changeColour, self) => {
...
@@ -32,14 +32,14 @@ const pointListColumns = (changeColour, self) => {
title
:
'名称'
,
title
:
'名称'
,
dataIndex
:
'name'
,
dataIndex
:
'name'
,
key
:
'name'
,
key
:
'name'
,
width
:
'10%'
width
:
'18%'
},
{
title
:
'级别'
,
dataIndex
:
'level'
,
key
:
'level'
,
width
:
'4%'
},
},
// {
// title: '级别',
// dataIndex: 'level',
// key: 'level',
// width: '4%'
// },
{
{
title
:
'类型'
,
title
:
'类型'
,
dataIndex
:
'checkType'
,
dataIndex
:
'checkType'
,
...
@@ -57,7 +57,7 @@ const pointListColumns = (changeColour, self) => {
...
@@ -57,7 +57,7 @@ const pointListColumns = (changeColour, self) => {
title
:
'责任人'
,
title
:
'责任人'
,
dataIndex
:
'realName'
,
dataIndex
:
'realName'
,
key
:
'realName'
,
key
:
'realName'
,
width
:
'1
9
%'
width
:
'1
0
%'
},
},
/**
/**
...
@@ -72,7 +72,7 @@ const pointListColumns = (changeColour, self) => {
...
@@ -72,7 +72,7 @@ const pointListColumns = (changeColour, self) => {
title
:
'状态'
,
title
:
'状态'
,
dataIndex
:
'realTimeStatus'
,
dataIndex
:
'realTimeStatus'
,
key
:
'realTimeStatus'
,
key
:
'realTimeStatus'
,
width
:
'
5
%'
,
width
:
'
8
%'
,
render
:
text
=>
(
changeColour
(
text
))
render
:
text
=>
(
changeColour
(
text
))
},
},
{
{
...
...
src/view/bizview/point/PointSearch.js
View file @
6d90c958
...
@@ -185,8 +185,19 @@ class PointSearch extends Component {
...
@@ -185,8 +185,19 @@ class PointSearch extends Component {
render
()
{
render
()
{
let
{
userData
,
dataTypeOptions
,
departmentOptions
,
statusData
,
pointLevelOptions
,
selectData
,
searchParam
,
checkUserOptions
}
=
this
.
state
;
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
(
return
(
<
div
className
=
'create-device-search-root'
>
<
div
className
=
'create-device-search-root'
>
<
div
className
=
'catalog-select'
>
<
div
className
=
'catalog-select'
>
...
@@ -194,18 +205,6 @@ class PointSearch extends Component {
...
@@ -194,18 +205,6 @@ class PointSearch extends Component {
style
=
{{
width
:
'150px'
}}
style
=
{{
width
:
'150px'
}}
dropdownStyle
=
{{
width
:
'150px'
}}
dropdownStyle
=
{{
width
:
'150px'
}}
dropdownMatchSelectWidth
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'
)}
onChange
=
{(
e
)
=>
this
.
onSelectedChange
(
e
,
'checkType'
)}
placeholder
=
'类型'
placeholder
=
'类型'
allowClear
allowClear
...
...
themes/transparent.css
View file @
6d90c958
...
@@ -1698,3 +1698,12 @@ li.ant-calendar-time-picker-select-option-selected {
...
@@ -1698,3 +1698,12 @@ li.ant-calendar-time-picker-select-option-selected {
background
:
#1f5383
!important
;
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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment