bug:19948、19947、19942、19946
parent
c53843128c
commit
6cb130a75d
|
|
@ -116,9 +116,9 @@ export const getSensorDeviceFireSituation = declareRequest(
|
||||||
"getSensorDeviceFireSituationLoading",
|
"getSensorDeviceFireSituationLoading",
|
||||||
"Post > @/iotalarm/sensorDevice/fireSituation",
|
"Post > @/iotalarm/sensorDevice/fireSituation",
|
||||||
);
|
);
|
||||||
export const getFireBrigadeMemberScreenList = declareRequest(
|
export const getRescueTeamScreenList = declareRequest(
|
||||||
"getFireBrigadeMemberScreenListLoading",
|
"getRescueTeamScreenListLoading",
|
||||||
"Post > @/fireAlarm/fireBrigade/member/screen/list",
|
"Post > @/fireResource/rescueTeam/screenList",
|
||||||
);
|
);
|
||||||
export const getPrimeportMkmjStatistics = declareRequest(
|
export const getPrimeportMkmjStatistics = declareRequest(
|
||||||
"getPrimeportMkmjStatisticsLoading",
|
"getPrimeportMkmjStatisticsLoading",
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ function DepartmentResponsibilityPanel(props) {
|
||||||
color: ["#7d4449", "#009944", "#167ce4", "#00ffff"],
|
color: ["#7d4449", "#009944", "#167ce4", "#00ffff"],
|
||||||
tooltip: {
|
tooltip: {
|
||||||
trigger: "axis",
|
trigger: "axis",
|
||||||
|
valueFormatter: value => `${value}%`,
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
textStyle: {
|
textStyle: {
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,6 @@ function FireAlarmRecordPanel(props) {
|
||||||
<div>报警设备</div>
|
<div>报警设备</div>
|
||||||
<div>报警时间</div>
|
<div>报警时间</div>
|
||||||
<div>报警区域</div>
|
<div>报警区域</div>
|
||||||
<div>状态</div>
|
|
||||||
<div>处置状态</div>
|
<div>处置状态</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.branchOfficeFireAlarmRecord__body}>
|
<div className={styles.branchOfficeFireAlarmRecord__body}>
|
||||||
|
|
@ -53,7 +52,6 @@ function FireAlarmRecordPanel(props) {
|
||||||
<div>{item.sensorName}</div>
|
<div>{item.sensorName}</div>
|
||||||
<div>{item.alarmTime}</div>
|
<div>{item.alarmTime}</div>
|
||||||
<div>{item.fireRegionName}</div>
|
<div>{item.fireRegionName}</div>
|
||||||
<div>{item.sensorStatusName}</div>
|
|
||||||
<div>{disposalStatus[item.status]}</div>
|
<div>{disposalStatus[item.status]}</div>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
.branchOfficeFireAlarmRecord__row {
|
.branchOfficeFireAlarmRecord__row {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1.5fr 2fr 1fr 1fr 1fr;
|
grid-template-columns: 1.5fr 2fr 1fr 1fr;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
background-color: rgba(17, 51, 112, 0.8);
|
background-color: rgba(17, 51, 112, 0.8);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,12 +14,14 @@ function VolunteerFireTeamPanel(props) {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const loadData = async () => {
|
const loadData = async () => {
|
||||||
const { data } = await props.getFireBrigadeMemberScreenList({
|
const { data } = await props.getRescueTeamScreenList({
|
||||||
portArea,
|
portArea,
|
||||||
corpinfoId: currentBranchOffice,
|
corpinfoId: currentBranchOffice,
|
||||||
pageIndex: 1,
|
pageIndex: 1,
|
||||||
pageSize: 99,
|
pageSize: 99,
|
||||||
|
teamType: "volunteer_rescue",
|
||||||
});
|
});
|
||||||
|
console.log(data);
|
||||||
setData(data || []);
|
setData(data || []);
|
||||||
};
|
};
|
||||||
loadData();
|
loadData();
|
||||||
|
|
@ -34,22 +36,22 @@ function VolunteerFireTeamPanel(props) {
|
||||||
<div className={styles.branchOfficeVolunteerFireTeam__table}>
|
<div className={styles.branchOfficeVolunteerFireTeam__table}>
|
||||||
<div className={styles.branchOfficeVolunteerFireTeam__row}>
|
<div className={styles.branchOfficeVolunteerFireTeam__row}>
|
||||||
<div>消防队名称</div>
|
<div>消防队名称</div>
|
||||||
<div>姓名</div>
|
<div>类型</div>
|
||||||
<div>年龄</div>
|
<div>队长</div>
|
||||||
<div>手机号</div>
|
<div>所属区域或范围</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.branchOfficeVolunteerFireTeam__body}>
|
<div className={styles.branchOfficeVolunteerFireTeam__body}>
|
||||||
<Spin spinning={props.biStatistics.getFireBrigadeMemberScreenListLoading}>
|
<Spin spinning={props.biStatistics.getRescueTeamScreenListLoading}>
|
||||||
<SeamlessScroll list={data} step={0.5}>
|
<SeamlessScroll list={data} step={0.5}>
|
||||||
{data.map((item, index) => (
|
{data.map((item, index) => (
|
||||||
<div
|
<div
|
||||||
className={styles.branchOfficeVolunteerFireTeam__row}
|
className={styles.branchOfficeVolunteerFireTeam__row}
|
||||||
key={index}
|
key={index}
|
||||||
>
|
>
|
||||||
<div>{item.brigadeName}</div>
|
<div>{item.teamName}</div>
|
||||||
<div>{item.userName}</div>
|
<div>{item.teamTypeName}</div>
|
||||||
<div>{item.age}</div>
|
<div>{item.captainName}</div>
|
||||||
<div>{item.phone}</div>
|
<div>{item.regionScopeName}</div>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</SeamlessScroll>
|
</SeamlessScroll>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue