Browse Source

数据修改

master
wenlele 1 year ago
parent
commit
d31fb45254
  1. 11
      api/config.js
  2. 3
      super-screen/client/src/sections/fire-control/components/right-bottom.js
  3. 35
      super-screen/client/src/sections/fire-control/components/style.less
  4. 13
      super-screen/client/src/sections/fire-control/containers/homePage.js

11
api/config.js

@ -91,11 +91,6 @@ const product = {
password: 'Fs2689' password: 'Fs2689'
} }
}, },
pssaRequest: [{
name: 'yingshiRequest',
root: YINGSHI_URL,
params: {}
},],
backupsUrl: BACKUPS_URL, backupsUrl: BACKUPS_URL,
k8s: KUBESPHERE_URL, k8s: KUBESPHERE_URL,
dbConfig: DATABASE_CONFIG, dbConfig: DATABASE_CONFIG,
@ -104,7 +99,11 @@ const product = {
pssaRequest: [{// name 会作为一个 request 出现在 ctx.app.fs pssaRequest: [{// name 会作为一个 request 出现在 ctx.app.fs
name: 'anxinyun', name: 'anxinyun',
root: AXY_API_URL root: AXY_API_URL
}], }, {
name: 'yingshiRequest',
root: YINGSHI_URL,
params: {}
},],
} }
}, { }, {
entry: require('./app/lib/middlewares/proxy').entry, entry: require('./app/lib/middlewares/proxy').entry,

3
super-screen/client/src/sections/fire-control/components/right-bottom.js

@ -30,7 +30,8 @@ const DataTop5 = ({ dispatch, actions }) => {
<div className='box_header_bg' > <div className='box_header_bg' >
<span className='card-title'>视频监控</span> <span className='card-title'>视频监控</span>
<Select <Select
className='bigscreen-select' className="gis-search-select"
popupClassName="super-dropdownClassName"
style={{ style={{
width: 100, width: 100,
float: 'right', float: 'right',

35
super-screen/client/src/sections/fire-control/components/style.less

@ -503,38 +503,5 @@
} }
} }
.bigscreen-select {
.ant-select-selector {
background-color: #24dcf74d !important;
height: 18px !important;
}
.ant-select-focused {
border: 0px;
}
.ant-select-selection-item {
color: #fff;
font-family: YouSheBiaoTiHei;
height: 16px !important;
line-height: 17px !important;
text-align: right;
}
.ant-select-selection-search {
color: #fff;
}
.ant-select-arrow {
color: #fff;
}
.ant-select-selection-item {
background: transparent;
border: 0;
}
.ant-select-multiple,
.ant-select-selection-item-remove {
color: #fff;
}
}

13
super-screen/client/src/sections/fire-control/containers/homePage.js

@ -29,7 +29,7 @@ function homePage (props) {
const [fireDevice, setFireDevice] = useState([]) const [fireDevice, setFireDevice] = useState([])
const [fireTrend, setFireTrend] = useState([]) const [fireTrend, setFireTrend] = useState([])
const { data: emergencyList = {} } = useFsRequest({ url: 'water/emergency' });
useEffect(() => { useEffect(() => {
getFireData(); getFireData();
}, []) }, [])
@ -87,6 +87,7 @@ function homePage (props) {
<div className='homepage-center'> <div className='homepage-center'>
<Gis <Gis
emergencyList={emergencyList} emergencyList={emergencyList}
setLongitudeLatitude={setLongitudeLatitude}
dispatch={dispatch} dispatch={dispatch}
actions={actions} actions={actions}
propTab={tab} propTab={tab}
@ -102,11 +103,11 @@ function homePage (props) {
<div className='homepage-left homepage-left-right'> <div className='homepage-left homepage-left-right'>
{tab == 'overview' ? <div className="list"> {tab == 'overview' ? <div className="list">
{/* <div className='child-right' style={childStyle}> {/* <div className='child-right' style={childStyle}>
<RightTop /> <RightTop />
</div> </div>
<div className='child-right' style={childStyle}> <div className='child-right' style={childStyle}>
<RightMiddle cardContentHeight={cardContentHeight} /> <RightMiddle cardContentHeight={cardContentHeight} />
</div> */} </div> */}
<div className='child-right' style={{ height: 'calc(64% + 17px)', color: '#fff', marginBottom: 17 }}> <div className='child-right' style={{ height: 'calc(64% + 17px)', color: '#fff', marginBottom: 17 }}>
<RightTop2 longitudeLatitude={longitudeLatitude} /> <RightTop2 longitudeLatitude={longitudeLatitude} />
</div> </div>

Loading…
Cancel
Save