Browse Source

bitmap 背景

dev
wenlele 2 years ago
parent
commit
f8acd401eb
  1. BIN
      web/client/assets/images/problem/bitmap.png
  2. 4
      web/client/src/sections/problem/components/statistics.jsx
  3. 4
      web/client/src/sections/problem/components/tableData.jsx

BIN
web/client/assets/images/problem/bitmap.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 KiB

After

Width:  |  Height:  |  Size: 512 KiB

4
web/client/src/sections/problem/components/statistics.jsx

@ -9,7 +9,7 @@ const Statistics = ({ dispatch, actions, route ,statistic}) => {
return (
<>{route == 'useAbnormal' ?
<Inspection statistic={statistic} route={route} /> :
<div style={{ width: '100%', height: 180, backgroundColor: 'white', marginBottom: 20 }}>
<div style={{ width: '100%', height: 210, backgroundColor: 'white', marginBottom: 20 }}>
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
<div style={{ width: 190, fontSize: 24, fontFamily: 'YouSheBiaoTiHei', color: '#101531', }}><span style={{ width: 3, height: 20, background: '#005ABD', display: 'inline-block', margin: "0 10px 0 10px" }}></span>{statistic[route]}</div>
{/* <DatePicker
@ -34,7 +34,7 @@ const Statistics = ({ dispatch, actions, route ,statistic}) => {
暂未开放 敬请期待
</div> */}
<img src="/assets/images/problem/bitmap.png" style={{ width: 'calc(100% - 20px)', height: 156, margin: '0 0 0 10px' }} />
<img src="/assets/images/problem/bitmap.png" style={{ width: 'calc(100% - 20px)', height: 196, margin: '0 0 0 10px' }} />
</div >
}</>

4
web/client/src/sections/problem/components/tableData.jsx

@ -122,8 +122,8 @@ const TableData = ({ dispatch, actions, route, collectData, setSetup, exhibition
collectData[route]?.map((v, index) => {
if (index == 0) {
frame.push(<Form.InputGroup key={v.field} label={v.name + ':'} labelPosition="left" style={{ width: 203, marginRight: 10, marginBottom: 16 }}>
<Form.Select style={{ width: 88 }} field='keywordTarget' initValue='source' rules={[{ required: true, message: '搜索条件必选' }]} showClear>
{[{ name: "告警源", value: "source" }, { name: "项企项", value: "pepProject" }, { name: "结构物", value: "struc" },].map(vv => {
<Form.Select style={{ width: 88 }} field='keywordTarget' initValue='source' rules={[{ required: true, message: '请选择筛选类型' }]} showClear>
{[{ name: "告警源", value: "source" }, { name: "项目", value: "pepProject" }, { name: "结构物", value: "struc" },].map(vv => {
return <Form.Select.Option value={vv.value} key={vv.value}>{vv.name}</Form.Select.Option>
})}
</Form.Select>

Loading…
Cancel
Save