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
ba5facf4
Commit
ba5facf4
authored
Jun 17, 2020
by
单奇雲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
1db97b33
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
43 additions
and
26 deletions
+43
-26
PointToolBar.js
...uipmentLedger/FireResources/FireEquipment/PointToolBar.js
+4
-4
FireStrengthEdit.js
...mentLedger/FireResources/FireStrength/FireStrengthEdit.js
+1
-1
fireTruckModel.js
...equipmentLedger/FireResources/FireTruck/fireTruckModel.js
+6
-0
PointListView.js
src/view/bizview/point/PointListView.js
+1
-1
PointStatistics.js
src/view/bizview/point/PointStatistics.js
+28
-20
RiskLevelModel.js
...w/bizview/preControl/paramSet/riskLevel/RiskLevelModel.js
+3
-0
No files found.
src/view/bizview/equipmentLedger/FireResources/FireEquipment/PointToolBar.js
View file @
ba5facf4
...
...
@@ -74,11 +74,11 @@ class PointToolBar extends Component {
if
(
info
.
file
.
status
!==
'uploading'
)
{
console
.
log
(
info
.
file
,
info
.
fileList
);
}
if
(
info
.
file
.
status
===
'done'
)
{
message
.
success
(
`
${
info
.
file
.
name
}
上传
成功`
);
if
(
info
.
file
.
status
===
'done'
&&
info
.
file
.
response
.
success
)
{
message
.
success
(
`
${
info
.
file
.
name
}
导入
成功`
);
this
.
props
.
reload
();
}
else
if
(
info
.
file
.
status
===
'error'
)
{
message
.
danger
(
`
${
info
.
file
.
name
}
失败.`
);
}
else
if
(
info
.
file
.
status
===
'error'
||
!
info
.
file
.
response
.
success
)
{
message
.
danger
(
`
${
info
.
file
.
name
}
导入
失败.`
);
}
}
};
...
...
src/view/bizview/equipmentLedger/FireResources/FireStrength/FireStrengthEdit.js
View file @
ba5facf4
...
...
@@ -144,7 +144,7 @@ class FireStrengthEdit extends Component {
<
/FormItem
>
<
FormItem
label
=
"工作描述"
field
=
"jobDes"
{...
formItemLayout
}
>
<
Input
value
=
{
strength
.
job
Des
?
strength
.
jobD
es
:
''
}
value
=
{
strength
.
job
_des
?
strength
.
job_d
es
:
''
}
onChange
=
{(
e
)
=>
this
.
onChange
(
'jobDes'
,
e
)}
className
=
"risk_factor_input"
/>
...
...
src/view/bizview/equipmentLedger/FireResources/FireTruck/fireTruckModel.js
View file @
ba5facf4
...
...
@@ -152,6 +152,12 @@ class FireTruckModel extends Component {
<
FormItem
label
=
{
<
span
>
3
维坐标
<
/span>} field="position3d" {...formItemLayout}
>
<
Input
className
=
"risk_factor_input"
required
disabled
=
{
!
this
.
props
.
editable
}
value
=
{
form
.
position3d
}
onChange
=
{
e
=>
this
.
onInputChange
(
'position3d'
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
FormItem
label
=
{
<
span
>
ue4
位置
<
/span>} field="ue4Location" {...formItemLayout}
>
<
Input
className
=
"risk_factor_input"
required
disabled
=
{
!
this
.
props
.
editable
}
value
=
{
form
.
ue4Location
}
onChange
=
{
e
=>
this
.
onInputChange
(
'ue4Location'
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
FormItem
label
=
{
<
span
>
ue4
旋转
<
/span>} field="ue4Rotation" {...formItemLayout}
>
<
Input
className
=
"risk_factor_input"
required
disabled
=
{
!
this
.
props
.
editable
}
value
=
{
form
.
ue4Rotation
}
onChange
=
{
e
=>
this
.
onInputChange
(
'ue4Rotation'
,
e
.
target
.
value
)}
/
>
<
/FormItem
>
<
FormItem
label
=
{
<
span
>
3
维楼层
<
/span>} field="floor3d" {...formItemLayout}
>
<
Select
className
=
"fire-equip-select"
...
...
src/view/bizview/point/PointListView.js
View file @
ba5facf4
...
...
@@ -229,7 +229,7 @@ class PointListView extends Component {
return
(
<
div
className
=
"create-device-root"
>
<
div
className
=
"create-device-host-top"
>
<
div
className
=
"table-title"
>
风险
点信息列表
<
/div
>
<
div
className
=
"table-title"
>
巡检
点信息列表
<
/div
>
<
div
className
=
"table-search"
>
<
PointSearch
setSearchParam
=
{
this
.
setSearchParam
}
countStatus
=
{
status
}
/
>
<
/div
>
...
...
src/view/bizview/point/PointStatistics.js
View file @
ba5facf4
...
...
@@ -63,26 +63,26 @@ class PointStatistics extends Component {
itemStyle
:
{
normal
:
{
label
:
{
show
:
tru
e
,
position
:
'center'
,
formatter
:
function
(
params
)
{
let
dataIndex
=
params
.
dataIndex
;
if
(
parseInt
(
dataIndex
)
===
0
)
{
return
'{a|'
+
total
+
'}'
+
'
\
r
\
n'
+
'{b|'
+
'总数'
+
'}'
;
}
else
{
return
''
;
}
},
rich
:
{
a
:
{
fontSize
:
'28'
,
color
:
'black'
},
b
:
{
fontSize
:
'16'
,
color
:
'black'
}
}
show
:
fals
e
,
//
position: 'center',
//
formatter: function(params) {
//
let dataIndex = params.dataIndex;
//
if (parseInt(dataIndex) === 0) {
//
return '{a|' + total + '}' + '\r\n' + '{b|' + '总数' + '}';
//
} else {
//
return '';
//
}
//
},
//
rich: {
//
a: {
//
fontSize: '28',
//
color: 'black'
//
},
//
b: {
//
fontSize: '16',
//
color: 'black'
//
}
//
}
},
labelLine
:
{
show
:
false
...
...
@@ -132,6 +132,14 @@ render(){
<
div
className
=
"point-statistics-concent"
>
异常点数:
<
span
>
{
error
}
<
/span
>
<
/div
>
{
total
&&
<
div
className
=
"point-statistics-label"
>
{
total
}
<
br
/>
总数
<
/div
>
}
<
/div
>
);
}
...
...
src/view/bizview/preControl/paramSet/riskLevel/RiskLevelModel.js
View file @
ba5facf4
...
...
@@ -130,6 +130,9 @@ class RiskLevelModel extends Component {
onChange
=
{(
value
)
=>
this
.
onSelectChange
(
'level'
,
value
)}
/
>
<
/FormItem
>
<
FormItem
label
=
{
<
span
>
图标颜色
<
/span>}{...formItemLayout}
>
<
Input
value
=
{
form
.
color
}
disabled
/>
<
/FormItem
>
<
FormItem
label
=
{
<
span
>
上限
<
/span>} field="topLimit" {...formItemLayout}
>
<
InputNumber
defaultValue
=
{
1
}
max
=
{
1000
}
min
=
{
1
}
value
=
{
form
.
topLimit
}
onChange
=
{
value
=>
this
.
onChange
(
value
,
'topLimit'
)}
/
>
<
/FormItem
>
...
...
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