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
887e1617
Commit
887e1617
authored
May 27, 2020
by
xinglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改消防点位样式
parent
e7b47b78
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
9 deletions
+4
-9
AmosGridTable.js
...view/bizview/common/tableComponent/table/AmosGridTable.js
+1
-1
MonitorPointConfig.js
...tLedger/FireResources/FireEquipment/MonitorPointConfig.js
+3
-5
index.js
src/view/bizview/equipmentLedger/Monitor/index.js
+0
-3
No files found.
src/view/bizview/common/tableComponent/table/AmosGridTable.js
View file @
887e1617
...
...
@@ -53,7 +53,7 @@ class AmosGridTable extends Component {
this
.
setState
({
current
:
Math
.
ceil
(
nextProps
.
totals
/
pageSize
)})
}
if
(
nextProps
.
current
===
0
&&
this
.
state
.
current
!==
1
&&
(
nextProps
.
current
!==
this
.
state
.
current
)){
this
.
onPaginationChange
(
nextProps
.
current
);
this
.
onPaginationChange
(
nextProps
.
current
+
1
);
}
}
...
...
src/view/bizview/equipmentLedger/FireResources/FireEquipment/MonitorPointConfig.js
View file @
887e1617
...
...
@@ -29,13 +29,14 @@ const monitorPointTableColumns = self => {
return
[
{
title
:
'序号'
,
render
:
(
text
,
record
,
index
)
=>
`
${
index
+
1
}
`
render
:
(
text
,
record
,
index
)
=>
`
${
index
+
1
}
`
,
width
:
'5%'
},
{
title
:
'编号'
,
dataIndex
:
'code'
,
key
:
'code'
,
width
:
'
20
%'
width
:
'
15
%'
},
{
title
:
'名称'
,
...
...
@@ -173,9 +174,6 @@ class MonitorPointConfig extends Component {
//前端的current 即后端的pageNumber
param
.
pageNumber
=
param
.
current
;
}
if
(
param
.
current
<
0
){
return
;
}
Object
.
assign
(
searchParam
,
{
...
param
});
getMonitorPointListAction
(
searchParam
,
param
.
pageNumber
,
param
.
pageSize
).
then
(
data
=>
{
this
.
setState
({
...
...
src/view/bizview/equipmentLedger/Monitor/index.js
View file @
887e1617
...
...
@@ -130,9 +130,6 @@ class Monitor extends Component {
}
Object
.
assign
(
searchParam
,
{
...
param
});
searchParam
.
equipClassify
=
2
;
if
(
param
.
current
<
0
){
return
;
}
getFireEquipmentListAction
(
searchParam
,
searchParam
.
pageNumber
,
searchParam
.
pageSize
).
then
(
data
=>
{
this
.
setState
({
dataList
:
data
.
content
,
...
...
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