forked from ddrilling/asb_cloud_front
fix smbo worktime caption
This commit is contained in:
parent
85d8f8b614
commit
ac278edbf3
@ -34,7 +34,7 @@
|
||||
"react_test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"proxy": "http://192.168.1.70:5000",
|
||||
"proxy": "http://192.168.1.58:5000",
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"react-app",
|
||||
|
@ -40,7 +40,7 @@ export default function SmboPlate({title, state, operatingTime, units, children,
|
||||
<div className="plate_title">{title}</div>
|
||||
<div className="plate_state"><SquareIndicator state={state}/></div>
|
||||
|
||||
<div className="plate_param_title">наработка: {captionValue}</div>
|
||||
<div className="plate_param_title">{captionValue??'наработка'} :</div>
|
||||
<div className="plate_param_value">{operatingTime}</div>
|
||||
<div className="plate_param_units">{units??'ч'}</div>
|
||||
</div>
|
||||
|
@ -28,7 +28,7 @@ const platesData = [
|
||||
{label: 'Состояние ПЧ1', value: 1, unit: ''},
|
||||
{label: 'Состояние ПЧ2', value: 1, unit: ''},
|
||||
],
|
||||
captionValue: 'У-У-У-у-у-у',
|
||||
//captionValue: 'У-У-У-у-у-у',
|
||||
custom: 'Я не понял про это',
|
||||
className: 'c1 r1'
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user