diff --git a/src/components/VideoPlay/index.jsx b/src/components/VideoPlay/index.jsx
index 4b6c268..fdf4084 100644
--- a/src/components/VideoPlay/index.jsx
+++ b/src/components/VideoPlay/index.jsx
@@ -8,8 +8,8 @@ let reloadTimes = 0
let flvPlayer = null
let lastUrl = null
-function VideoPlay (props, ref) {
- const {videoType = "flv"} = props
+function VideoPlay(props, ref) {
+ const { videoType = "flv", controlslist } = props
const videoElement = useRef()
const [videoUrl, setVideoUrl] = useState('')
// console.log(videoType)
@@ -47,7 +47,7 @@ function VideoPlay (props, ref) {
console.log(e)
}
}
- }else{
+ } else {
console.log("不支持flvjs!!!")
}
}
@@ -84,7 +84,7 @@ function VideoPlay (props, ref) {
useImperativeHandle(ref, () => ({
changeUrl: (url) => {
- if(lastUrl == url) {
+ if (lastUrl == url) {
flvPlayer.play()
return
}
@@ -99,7 +99,7 @@ function VideoPlay (props, ref) {
return (
)
}
diff --git a/src/pages/DataAnalysisPrediction/EquipmentAly/EquipmentRunningStat/loadable.jsx b/src/pages/DataAnalysisPrediction/EquipmentAly/EquipmentRunningStat/loadable.jsx
index 16c41fe..2b408c6 100644
--- a/src/pages/DataAnalysisPrediction/EquipmentAly/EquipmentRunningStat/loadable.jsx
+++ b/src/pages/DataAnalysisPrediction/EquipmentAly/EquipmentRunningStat/loadable.jsx
@@ -728,7 +728,7 @@ function ExceptionParkReport() {
导出}
modalType="noImg"
- totalRecords={500}
+ totalRecords={Data?.total || 0}
exportUrl="/api/ana/equipmentRuning/export"
postdata={{
formData: {
diff --git a/src/pages/DataAnalysisPrediction/ParkingOverview/loadable.jsx b/src/pages/DataAnalysisPrediction/ParkingOverview/loadable.jsx
index e408dc6..2a09968 100644
--- a/src/pages/DataAnalysisPrediction/ParkingOverview/loadable.jsx
+++ b/src/pages/DataAnalysisPrediction/ParkingOverview/loadable.jsx
@@ -680,23 +680,6 @@ const ParkingOverview = connect(function mapStateToProps(state) {
series.push(seriesItem);
}
- // 使用上一次遍历时,计算出的数据和 sumValue,调用 getParametricEquation 函数,
- // 向每个 series-surface 传入不同的参数方程 series-surface.parametricEquation,也就是实现每一个扇形。
-
- // for (let i = 0; i < series.length; i++) {
- // endValue = startValue + series[i].pieData.value;
- // series[i].pieData.startRatio = startValue / sumValue;
- // series[i].pieData.endRatio = endValue / sumValue;
- // series[i].parametricEquation = getParametricEquation(
- // series[i].pieData.startRatio,
- // series[i].pieData.endRatio,
- // false,
- // false,
- // k,
- // series[i].pieData.value
- // );
- // startValue = endValue;
- // }
for (let i = 0; i < series.length; i++) {
endValue = startValue + series[i].pieData.value;
@@ -753,13 +736,6 @@ const ParkingOverview = connect(function mapStateToProps(state) {
// });
let option = {
- // backgroundColor: "#203598",
- // labelLine: {
- // show: true,
- // lineStyle: {
- // color: "#fff",
- // },
- // },
legend: {
selectedMode: false,
data: legendData,
@@ -790,26 +766,6 @@ const ParkingOverview = connect(function mapStateToProps(state) {
},
tooltip: {
backgroundColor: "#fff",
- // formatter: (params) => {
- // if (
- // params.seriesName !== "mouseoutSeries" &&
- // params.seriesName !== "pie2d"
- // ) {
- // let bfb = (
- // (option.series[params.seriesIndex].pieData.endRatio -
- // option.series[params.seriesIndex].pieData.startRatio) *
- // 100
- // ).toFixed(2);
- // if (bfb == "NaN") {
- // bfb = 0;
- // }
- // return (
- // `${params.seriesName}
` +
- // `` +
- // `${bfb}%`
- // );
- // }
- // },
formatter: (params) => {
if (
params.seriesName !== "mouseoutSeries" &&
diff --git a/src/pages/FinancialMgm/SettleBill/GeneralBusiness/loadable.jsx b/src/pages/FinancialMgm/SettleBill/GeneralBusiness/loadable.jsx
index 7c40d54..a46f593 100644
--- a/src/pages/FinancialMgm/SettleBill/GeneralBusiness/loadable.jsx
+++ b/src/pages/FinancialMgm/SettleBill/GeneralBusiness/loadable.jsx
@@ -6,22 +6,14 @@ import {
Select,
Input,
Popover,
- Modal,
- Row,
- Form,
- Col,
Button,
DatePicker,
} from "antd";
-import { dictionary, utils } from "@/config/common";
+import { dictionary } from "@/config/common";
import moment from "moment";
-import { DeleteOutlined } from "@ant-design/icons";
import ajax from "@/services";
-// import { useSessionStorageState, useUpdateEffect, useSize, useUpdate } from 'ahooks';
import { ResultFlow } from "@/components";
import "./index.scss";
-// import errorImg from "@/assets/images/layout/error.png"
-// import { useLocation } from "react-router-dom";
const { RangePicker } = DatePicker;
const { TextArea } = Input;
function GeneralBusiness() {
diff --git a/src/pages/FinancialMgm/SettleBill/PayRepeat/loadable.jsx b/src/pages/FinancialMgm/SettleBill/PayRepeat/loadable.jsx
index f509610..a1ddcfa 100644
--- a/src/pages/FinancialMgm/SettleBill/PayRepeat/loadable.jsx
+++ b/src/pages/FinancialMgm/SettleBill/PayRepeat/loadable.jsx
@@ -699,42 +699,6 @@ function PayRepeat() {
/>
- {/*
-
操作人
-
-
-
*/}
>
) : (
<>
@@ -767,7 +731,7 @@ function PayRepeat() {
record.order_id}
dataSource={Data.data}
pagination={false}
@@ -931,7 +887,6 @@ function PayRepeat() {
className="pagination-common"
showSizeChanger={true}
showQuickJumper={true}
- // showTotal={() => `共 ${total_records} 条`}
total={Data.total}
current={FormData.pn}
pageSize={FormData.page_size}
@@ -963,10 +918,8 @@ function PayRepeat() {
record.id}
dataSource={Tabdata.order}
pagination={false}
- // scroll={{ y: "calc(100vh - 300px)" }}
/>
流水信息
record.id}
dataSource={Tabdata.flow_list}
pagination={false}
- // scroll={{ y: "calc(100vh - 300px)" }}
/>
处理方式
退款
diff --git a/src/pages/NewEnergy/NewEnergyOverview/Map.jsx b/src/pages/NewEnergy/NewEnergyOverview/Map.jsx
index 84a7091..ef51781 100644
--- a/src/pages/NewEnergy/NewEnergyOverview/Map.jsx
+++ b/src/pages/NewEnergy/NewEnergyOverview/Map.jsx
@@ -120,7 +120,7 @@ function BaseMap(props) {
content: `
${e.data.name}
-

${e.data.location}
+

${e.data.location}
慢充占用
${e.data.slow_charge}
快充占用
${e.data.fast_charge}
@@ -131,8 +131,8 @@ function BaseMap(props) {
});
mass.on('mouseout', function (e) {
- marker.setPosition(e.data.lnglat);
- marker.setLabel()
+ // marker.setPosition(e.data.lnglat);
+ // marker.setLabel()
});
mass.setMap(map);
//这里经纬度需要注意,data里面的lnglat数据格式不知道为什么给改了
diff --git a/src/pages/NewEnergy/NewEnergyOverview/index.scss b/src/pages/NewEnergy/NewEnergyOverview/index.scss
index 37aebc9..9b9e37e 100644
--- a/src/pages/NewEnergy/NewEnergyOverview/index.scss
+++ b/src/pages/NewEnergy/NewEnergyOverview/index.scss
@@ -85,6 +85,10 @@
}
.location{
margin-bottom:3px;
+ overflow:hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+
img{
width: 23px;
}
diff --git a/src/pages/NewEnergy/NewEnergyOverview/loadable.jsx b/src/pages/NewEnergy/NewEnergyOverview/loadable.jsx
index cf90ca0..cc9e8cb 100644
--- a/src/pages/NewEnergy/NewEnergyOverview/loadable.jsx
+++ b/src/pages/NewEnergy/NewEnergyOverview/loadable.jsx
@@ -26,6 +26,8 @@ function NewEnergyOverview() {
}
});
}
+ const filterOption = (input, option) =>
+ (option?.label ?? '').toLowerCase().includes(input.toLowerCase());
useEffect(()=>{
getPointData()
},[])
@@ -46,6 +48,7 @@ function NewEnergyOverview() {
> : null}
-

{ setBigPic(resultData[indexby].disabled_certificate_img1); setBigpicVisible(true) }} />
+

{ setBigPic(resultData[indexby].disabled_certificate_img1); setBigpicVisible(true) }} />
-

{ setBigPic(resultData[indexby].disabled_certificate_img2); setBigpicVisible(true) }} />
+

{ setBigPic(resultData[indexby].disabled_certificate_img2); setBigpicVisible(true) }} />
diff --git a/src/pages/OperationCenter/OperationSales/CreditScoreMgm/loadable.jsx b/src/pages/OperationCenter/OperationSales/CreditScoreMgm/loadable.jsx
index b71c944..94741c4 100644
--- a/src/pages/OperationCenter/OperationSales/CreditScoreMgm/loadable.jsx
+++ b/src/pages/OperationCenter/OperationSales/CreditScoreMgm/loadable.jsx
@@ -354,6 +354,10 @@ function CreditScoreMgm() {
}
//积分兑换配置 编辑保存
function getRedeemEdit(e, type) {
+ if(!addData?.awardId||!addData?.redeem_points||!addData.total_num){
+ message.error('请填写完整!')
+ return
+ }
ajax.getCreditScoreRedeemEdit({ ...e }).then((res) => {
let { status, data, total } = res
if (status == 20000) {
@@ -375,6 +379,10 @@ function CreditScoreMgm() {
}
//积分兑换配置 添加
function getRedeemAdd(e, type) {
+ if(!addData?.awardId||!addData?.redeem_points||!addData.total_num){
+ message.error('请填写完整!')
+ return
+ }
ajax.getCreditScoreRedeemAdd({ ...e }).then((res) => {
let { status, data, total } = res
if (status == 20000) {
diff --git a/src/pages/OutRoadMgm/OutDeviceMgm/OutMonitorMgm/loadable.jsx b/src/pages/OutRoadMgm/OutDeviceMgm/OutMonitorMgm/loadable.jsx
index 23e1315..7b788d4 100644
--- a/src/pages/OutRoadMgm/OutDeviceMgm/OutMonitorMgm/loadable.jsx
+++ b/src/pages/OutRoadMgm/OutDeviceMgm/OutMonitorMgm/loadable.jsx
@@ -71,8 +71,9 @@ function OutMonitorMgm(props) {
device_name: "",
nvr_id: "",
device_code: "",
- berth_ids: "",
- nvr_type: ""
+ channel_ids: "",
+ nvr_type: "",
+ id: '',
};
// 行数据
const [rowData, setRowData] = useState(defRowData);
@@ -501,9 +502,15 @@ function OutMonitorMgm(props) {
// message.error("请选择泊位");
// return;
// }
+ if (form.getFieldValue("nvr_type") == 1) {
+ if (!rowData?.channel_ids) {
+ message.error("请选择通道号");
+ return;
+ }
+ }
ajax[values?.id ? "monitorOutEdit" : "monitorOutAdd"]({
...values,
- berth_ids: rowData?.berth_ids,
+ channel_ids: rowData?.channel_ids,
}).then(
(res) => {
if (res?.status == 20000) {
@@ -794,7 +801,8 @@ function OutMonitorMgm(props) {
>