Browse Source

fix():bug修改

tags/PMS_V1.0.0_Alpha5
xingjx 1 year ago
parent
commit
14f57d2489
  1. 19
      src/pages/OperationCenter/CarMgm/CarAuth/loadable.jsx
  2. 20
      src/pages/OutRoadMgm/OutDeviceMgm/OutDevice/loadable.jsx
  3. 2
      src/pages/OutRoadMgm/OutDeviceMgm/OutNvrMgm/loadable.jsx
  4. 168
      src/pages/OutRoadMgm/OutExceptionMgm/PlateChangeMgm/index.jsx
  5. 389
      src/pages/OutRoadMgm/OutExceptionMgm/PlateChangeMgm/index.scss
  6. 168
      src/pages/OutRoadMgm/OutExceptionMgm/SpecialReleaseMgm/index.jsx
  7. 389
      src/pages/OutRoadMgm/OutExceptionMgm/SpecialReleaseMgm/index.scss
  8. 6
      src/pages/OutRoadMgm/OutExceptionMgm/index.jsx
  9. 12
      src/pages/OutRoadMgm/OutRoadOverview/loadable.jsx
  10. 6
      src/pages/OutRoadMgm/OutSegmentMgm/ChargeRulesMgm/EffectiveDate.jsx
  11. 42
      src/pages/OutRoadMgm/OutSegmentMgm/OutSegment/loadable.jsx
  12. 12
      src/router/router.config.js

19
src/pages/OperationCenter/CarMgm/CarAuth/loadable.jsx

@ -216,11 +216,11 @@ function CarAuth() {
</div>
}
{resultData[indexby].auditState == '已作废' || resultData[indexby].auditState == '残疾车已作废' ?
<div className="ltc-item">
<div className="new-item">拒审理由</div>
<div className="new-value" title={resultData[indexby].text || "--"}>{resultData[indexby].text || "--"}</div>
</div>
:null
<div className="ltc-item">
<div className="new-item">拒审理由</div>
<div className="new-value" title={resultData[indexby].text || "--"}>{resultData[indexby].text || "--"}</div>
</div>
: null
}
</div>
@ -240,14 +240,17 @@ function CarAuth() {
</div>
</div>
<div className="ltc-content">
<div className="ltc-item ltc-item-img">
<div className="ltc-item ltc-item-img" style={{ width: "520px" }}>
<img src={resultData[indexby].vehicle_travel_license_img1} onError={handleImgError} onClick={() => { setBigPic(resultData[indexby].vehicle_travel_license_img1); setBigpicVisible(true) }} />
{/* <img src={'https://ts1.cn.mm.bing.net/th/id/R-C.31df3a5a2d8462228734f95d459883e2?rik=7EE6TeWDk%2f%2bctQ&riu=http%3a%2f%2fwww.quazero.com%2fuploads%2fallimg%2f140303%2f1-140303214331.jpg&ehk=SpI7mz%2byLqOkT8BL79jcd3iCtQYNFlBHQzbtF1p0vuQ%3d&risl=&pid=ImgRaw&r=0'} onClick={() => { setBigPic(resultData[indexby].vehicle_travel_license_img1); setBigpicVisible(true) }} /> */}
</div>
<div className="ltc-item ltc-item-img">
<div className="ltc-item ltc-item-img" style={{ width: "520px" }}>
<img src={resultData[indexby].vehicle_travel_license_img2} onError={handleImgError} onClick={() => { setBigPic(resultData[indexby].vehicle_travel_license_img2); setBigpicVisible(true) }} />
{/* <img src={'https://ts1.cn.mm.bing.net/th/id/R-C.31df3a5a2d8462228734f95d459883e2?rik=7EE6TeWDk%2f%2bctQ&riu=http%3a%2f%2fwww.quazero.com%2fuploads%2fallimg%2f140303%2f1-140303214331.jpg&ehk=SpI7mz%2byLqOkT8BL79jcd3iCtQYNFlBHQzbtF1p0vuQ%3d&risl=&pid=ImgRaw&r=0'} onClick={() => { setBigPic(resultData[indexby].vehicle_travel_license_img2); setBigpicVisible(true) }} /> */}
</div>
<div className="ltc-item ltc-item-img" style={{ width: "520px" }}>
<img src={resultData[indexby].car_img} onError={handleImgError} onClick={() => { setBigPic(resultData[indexby].car_img); setBigpicVisible(true) }} />
</div>
</div>
<div className="ltc-content">
<div className="ltc-item">
@ -386,7 +389,7 @@ function CarAuth() {
>
<div>
<div className="eae-modal-item">
<img src={bigPic} width={1420} onError={handleImgError}/>
<img src={bigPic} width={1420} onError={handleImgError} />
</div>
</div>
</Modal>

20
src/pages/OutRoadMgm/OutDeviceMgm/OutDevice/loadable.jsx

@ -216,7 +216,7 @@ function OutDevice() {
setDefaultParams({ ...postData, ...pageInfo });
// console.log(postData);
setTabLoading(true);
ajax.getDeviceMgnList({ ...postData, ...v, ...pageInfo, area_id: formData.area, }).then(
ajax.getDeviceMgnList({ ...postData, ...v, ...pageInfo, area_id: sessionTabList?.area, }).then(
(res) => {
if (parseInt(res?.status) === 20000) {
setResultData(res?.data || {});
@ -297,19 +297,23 @@ function OutDevice() {
};
function cascaderChange(value, options) {
console.log(options)
let last = options[options.length - 1];
let res = [];
if (last.children) {
addChild(last, res);
if (options) {
let last = options[options.length - 1];
if (last.children) {
addChild(last, res);
} else {
res = [last.id]
}
}
res.push(last.id);
console.log(300, res)
setAreaId(res);
setFormData({ ...formData, area: res, area_id: value })
setFormData({ ...formData, area_id: value, area: res });
}
const addChild = (child, res) => {
if (child.children) {
res.push(child.id)
child.children.forEach((item) => {
addChild(item, res);
});
@ -471,7 +475,7 @@ function OutDevice() {
columns={columns}
pagination={false}
loading={tabLoading}
scroll={{ y: "calc(100% - 50px)" }}
scroll={{ y: "620px" }}
/>
<Pagination {...paginationProps} className="pagination-common" />
</ResultFlowResult>

2
src/pages/OutRoadMgm/OutDeviceMgm/OutNvrMgm/loadable.jsx

@ -637,7 +637,7 @@ function OutNvrMgm(props) {
columns={tableColumns}
pagination={false}
loading={tabLoading}
scroll={{ y: "calc(100% - 50px)" }}
scroll={{ y: "620px" }}
/>
<Pagination {...paginationProps} className="pagination-common" />
</ResultFlowResult>

168
src/pages/OutRoadMgm/OutExceptionMgm/PlateChangeMgm/index.jsx

@ -0,0 +1,168 @@
import React, { useState, useRef, useEffect } from "react";
import {
message,
Pagination,
Table,
Input,
Space,
Modal,
Button,
Select,
Tabs,
Descriptions,
Timeline
} from "antd";
import moment from "moment";
import ajax from '@/services'
import { TableModule } from "@/components";
import { dictionary } from "@/config/common.js";
import "./index.scss";
//plateChangeMgm
function PlateChangeMgm() {
const [resultData, setResultData] = useState([])
const [total, setTotal] = useState(0);
const [searchSelectList, setSearchSelectList] = useState([]); //
const columns = [
{
title: "停车场名称",
dataIndex: "road_name",
key: "road_name",
align: "center",
fixed: "right",
},
{
title: "泊位总数",
dataIndex: "total_berths",
key: "total_berths",
align: "center",
fixed: "right",
},
{
title: "停车记录数(次)",
dataIndex: "record_count",
key: "record_count",
align: "center",
fixed: "right",
},
{
title: "订单应收金额(元)",
dataIndex: "receivable_amount",
key: "receivable_amount",
align: "center",
fixed: "right",
},
{
title: "日均泊位周转次数(次)",
dataIndex: "average_turn_times",
key: "average_turn_times",
align: "center",
fixed: "right",
},
{
title: "平均泊位利用率",
dataIndex: "average_use_rate",
key: "average_use_rate",
align: "center",
fixed: "right",
},
{
title: "平均停车时长",
dataIndex: "average_park_time",
key: "average_park_time",
align: "center",
fixed: "right",
},
];
//
const formSearch = [
{
name: "operator_id",
type: "Select",
label: "修正类型",
options: [],
},
{
name: "car_parking_type",
type: "Select",
label: "车场类型",
options: [
{
label: '全部',
value: '3',
},
{
label: '路内车场',
value: '1',
},
{
label: '路外车场',
value: '2',
},
],
},
{
name: "road_name",
type: "Input",
label: "停车场",
placeholder: "请输入停车场名称",
},
{
name: "timePeriod",
type: "RangePicker",
label: "时间段",
defaultValue: [moment().startOf("day"), moment()],
},
];
//
function search(e) {
ajax.getParkingAlyReportList(e).then((res) => {
let { status, data, total } = res
if (status == 20000) {
if (data.list) {
setResultData(data.list)
setTotal(data.total_records)
} else {
setResultData(data)
setTotal(total)
}
} else {
setResultData([])
message.error(res.message)
}
})
}
//
const getSelectList = () => {
ajax.getOperator().then((e) => {
setSearchSelectList([
...searchSelectList,
...e.data
])
})
};
useEffect(() => {
getSelectList();
}, []);
return (
<>
<TableModule
columns={columns}
tableData={resultData}
formSearch={formSearch}
search={search}
total={total}
rowKey={"road_name"}
exportUrl={'/api/ana/dataanalysis/parking_total_analysis_export'}
initFormData={{}}
pageName={'parkingAlyReport'}
/>
</>
);
}
export default PlateChangeMgm;

389
src/pages/OutRoadMgm/OutExceptionMgm/PlateChangeMgm/index.scss

@ -0,0 +1,389 @@
@import "@/assets/css/mixin.scss";
$color-container-bg : var(--color-container-bg);
$color-user-list-bg : var(--color-user-list-bg);
$color-text : var(--color-text);
$color-primary : var(--color-primary);
.edit-order-inquiry {
display: flex;
padding-top: 10px;
width: 100%;
height: 100%;
overflow-y: auto;
@include scrollBar(var(--color-user-list-bg), #3B97FF);
.paid-search {
display: block;
width: 375px;
padding: 10px 10px 20px 20px;
.title {
width: 100%;
font-size: 16px;
font-family: Microsoft YaHei, Microsoft YaHei-Bold;
font-weight: 700;
text-align: left;
color: var(--color-text);
margin-bottom: 20px;
}
.form-Wrap {
height: calc(100% - 45px);
overflow-y: auto;
scrollbar-width: none;
-ms-overflow-style: none;
&::-webkit-scrollbar {
display: none;
}
}
.ant-select-selector,
.ant-picker,
.ant-input {
background-color: var(--color-search-list-item-bg) !important;
box-shadow: none !important;
color: var(--color-search-list-item-value);
border-color: var(--color-search-list-item-bd) !important;
}
.yisa-search {
width: 100%;
display: flex;
align-items: center;
margin-bottom: 24px;
label {
color: var(--color-search-list-item-text);
flex: 0 0 27%;
max-width: 27%;
text-align: right;
padding-right: 8px;
.daf {
display: inline-block;
}
}
.form-con {
flex: 1;
width: 220px;
}
}
.form-btn {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
margin: 40px 0px 0px;
padding: 0 3px;
.ant-btn+.ant-btn {
margin-left: 10px;
}
.ant-btn span {
font-size: 16px;
font-family: Microsoft YaHei, Microsoft YaHei-Regular;
font-weight: 400;
text-align: center;
color: #ffffff;
}
.reset {
width: 90px;
height: 36px;
background: var(--button-default-bg);
}
.submit {
width: calc(100% - 100px);
height: 36px;
}
}
}
.ant-btn+.ant-btn {
margin-left: 10px;
}
.green {
background-color: #67c23a;
border-color: #67c23a;
}
.soll-result {
overflow: auto;
.result {
display: block !important;
}
}
.paid-result {
width: calc(100% - 375px);
padding-bottom: 15px;
padding: 20px;
background: var(--color-user-list-bg);
border-top-left-radius: 20px;
box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.08);
.result-hd-overview {
color: #ffffff;
//background: #3e4557;
border-radius: 4px;
margin-bottom: 20px;
display: flex;
.result-header {
height: 108px;
width: 33%;
margin: 0 10px;
display: flex;
align-items: center;
.result-content {
margin: auto;
.title {
height: 19px;
font-size: 14px;
font-family: Microsoft YaHei, Microsoft YaHei-Regular;
font-weight: 400;
text-align: center;
color: #DBE5FF;
display: inline-block;
}
i {
border: 1px solid;
border-radius: 22px;
display: inline-block;
text-align: center;
font-size: 10px;
width: 15px;
cursor: pointer;
}
.num {
height: 27px;
font-size: 20px;
font-family: Alibaba PuHuiTi, Alibaba PuHuiTi-Bold;
font-weight: 700;
text-align: left;
color: #ffffff;
text-align: center;
}
}
}
.rea {
background: url("../../../../assets/images/red.png");
background-size: 100% 100%;
}
.reb {
background: url("../../../../assets/images/blue.png");
background-size: 100% 100%;
}
.rec {
background: url("../../../../assets/images/green.png");
background-size: 100% 100%;
}
.red {
background: url("../../../../assets/images/yellow.png");
background-size: 100% 100%;
}
}
.result {
@include flex-columns;
.result-box {
color: #ffffff;
background: #3e4557;
border-radius: 4px;
margin-bottom: 20px;
.result-box-title {
height: 21px;
font-size: 16px;
font-family: Microsoft YaHei, Microsoft YaHei-Bold;
font-weight: 700;
text-align: left;
margin: 18px 0 18px 18px;
display: inline-block;
}
i {
border: 1px solid;
border-radius: 22px;
display: inline-block;
text-align: center;
font-size: 12px;
width: 22px;
cursor: pointer;
}
.ant-table .ant-table-thead tr th {
background: #3e4557;
}
}
.result-title {
display: inline-block;
p {
display: inline;
margin: 0 5px;
color: #3aa9ff;
font-size: 18px;
}
}
.export-btn {
display: inline-block;
text-align: center;
float: right;
width: 68px;
height: 34px;
line-height: 34px;
background: linear-gradient(180deg, #3aa9ff, #59b7ff);
border-radius: 4px;
margin-right: 15px;
margin-bottom: 10px;
cursor: pointer;
}
.root_gfkk {
float: right;
}
.row-head {
height: 32px;
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 13px;
.number-wrapper {
display: inline-flex;
align-items: center;
font-size: 14px;
.letter {
color: var(--color-text);
font-size: 14px;
}
.total-number {
color: var(--color-primary);
font-weight: bold;
margin: 0 4px;
font-size: 14px;
}
}
}
.cc-result-flow {
width: 100%;
height: calc(100% - 34px - 13px);
.yisa-table {
width: 100%;
height: calc(100% - 32px - 15px);
overflow-y: auto !important;
@include scrollBar(var(--color-user-list-bg), #3B97FF);
.ant-table-thead {
th {
background: #616b83 !important;
}
}
.ant-table-tbody {
td {
background: #3E4557 !important;
border-bottom-color: var(--color-table-border-bottom-color);
}
tr:nth-child(even) {
td {
background: #3E4557 !important;
}
}
}
}
}
}
}
}
.modal-pay-configuration {
.submitBtn {
text-align: center;
margin: 20px 0 0;
.ant-btn {
width: 80px;
height: 35px;
border: none;
border-radius: 4px;
span {
color: #ffffff;
}
}
.submit {
background: #409eff;
}
.cancel {
background: var(--button-default-bg);
margin-left: 20px;
}
}
}
.tab-title {
display: flex;
.title {
height: 30px;
line-height: 30px;
margin-right: 10px;
}
.btn {
font-size: 10px;
}
}
.edit-order-inquiry {
/*定义滚动条高宽及背景
高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
width: 6px;
height: 16px;
background-color: #5c5c5c;
}
/*定义滚动条轨道
内阴影+圆角*/
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
border-radius: 10px;
background-color: #9da2ab;
}
/*定义滑块
内阴影+圆角*/
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
background-color: #3b97ff;
}
}

168
src/pages/OutRoadMgm/OutExceptionMgm/SpecialReleaseMgm/index.jsx

@ -0,0 +1,168 @@
import React, { useState, useRef, useEffect } from "react";
import {
message,
Pagination,
Table,
Input,
Space,
Modal,
Button,
Select,
Tabs,
Descriptions,
Timeline
} from "antd";
import moment from "moment";
import ajax from '@/services'
import { TableModule } from "@/components";
import { dictionary } from "@/config/common.js";
import "./index.scss";
//specialReleaseMgm
function SpecialReleaseMgm() {
const [resultData, setResultData] = useState([])
const [total, setTotal] = useState(0);
const [searchSelectList, setSearchSelectList] = useState([]); //
const columns = [
{
title: "停车场名称",
dataIndex: "road_name",
key: "road_name",
align: "center",
fixed: "right",
},
{
title: "泊位总数",
dataIndex: "total_berths",
key: "total_berths",
align: "center",
fixed: "right",
},
{
title: "停车记录数(次)",
dataIndex: "record_count",
key: "record_count",
align: "center",
fixed: "right",
},
{
title: "订单应收金额(元)",
dataIndex: "receivable_amount",
key: "receivable_amount",
align: "center",
fixed: "right",
},
{
title: "日均泊位周转次数(次)",
dataIndex: "average_turn_times",
key: "average_turn_times",
align: "center",
fixed: "right",
},
{
title: "平均泊位利用率",
dataIndex: "average_use_rate",
key: "average_use_rate",
align: "center",
fixed: "right",
},
{
title: "平均停车时长",
dataIndex: "average_park_time",
key: "average_park_time",
align: "center",
fixed: "right",
},
];
//
const formSearch = [
{
name: "operator_id",
type: "Select",
label: "修正类型",
options: [],
},
{
name: "car_parking_type",
type: "Select",
label: "车场类型",
options: [
{
label: '全部',
value: '3',
},
{
label: '路内车场',
value: '1',
},
{
label: '路外车场',
value: '2',
},
],
},
{
name: "road_name",
type: "Input",
label: "停车场",
placeholder: "请输入停车场名称",
},
{
name: "timePeriod",
type: "RangePicker",
label: "时间段",
defaultValue: [moment().startOf("day"), moment()],
},
];
//
function search(e) {
ajax.getParkingAlyReportList(e).then((res) => {
let { status, data, total } = res
if (status == 20000) {
if (data.list) {
setResultData(data.list)
setTotal(data.total_records)
} else {
setResultData(data)
setTotal(total)
}
} else {
setResultData([])
message.error(res.message)
}
})
}
//
const getSelectList = () => {
ajax.getOperator().then((e) => {
setSearchSelectList([
...searchSelectList,
...e.data
])
})
};
useEffect(() => {
getSelectList();
}, []);
return (
<>
<TableModule
columns={columns}
tableData={resultData}
formSearch={formSearch}
search={search}
total={total}
rowKey={"road_name"}
exportUrl={'/api/ana/dataanalysis/parking_total_analysis_export'}
initFormData={{}}
pageName={'parkingAlyReport'}
/>
</>
);
}
export default SpecialReleaseMgm;

389
src/pages/OutRoadMgm/OutExceptionMgm/SpecialReleaseMgm/index.scss

@ -0,0 +1,389 @@
@import "@/assets/css/mixin.scss";
$color-container-bg : var(--color-container-bg);
$color-user-list-bg : var(--color-user-list-bg);
$color-text : var(--color-text);
$color-primary : var(--color-primary);
.edit-order-inquiry {
display: flex;
padding-top: 10px;
width: 100%;
height: 100%;
overflow-y: auto;
@include scrollBar(var(--color-user-list-bg), #3B97FF);
.paid-search {
display: block;
width: 375px;
padding: 10px 10px 20px 20px;
.title {
width: 100%;
font-size: 16px;
font-family: Microsoft YaHei, Microsoft YaHei-Bold;
font-weight: 700;
text-align: left;
color: var(--color-text);
margin-bottom: 20px;
}
.form-Wrap {
height: calc(100% - 45px);
overflow-y: auto;
scrollbar-width: none;
-ms-overflow-style: none;
&::-webkit-scrollbar {
display: none;
}
}
.ant-select-selector,
.ant-picker,
.ant-input {
background-color: var(--color-search-list-item-bg) !important;
box-shadow: none !important;
color: var(--color-search-list-item-value);
border-color: var(--color-search-list-item-bd) !important;
}
.yisa-search {
width: 100%;
display: flex;
align-items: center;
margin-bottom: 24px;
label {
color: var(--color-search-list-item-text);
flex: 0 0 27%;
max-width: 27%;
text-align: right;
padding-right: 8px;
.daf {
display: inline-block;
}
}
.form-con {
flex: 1;
width: 220px;
}
}
.form-btn {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
margin: 40px 0px 0px;
padding: 0 3px;
.ant-btn+.ant-btn {
margin-left: 10px;
}
.ant-btn span {
font-size: 16px;
font-family: Microsoft YaHei, Microsoft YaHei-Regular;
font-weight: 400;
text-align: center;
color: #ffffff;
}
.reset {
width: 90px;
height: 36px;
background: var(--button-default-bg);
}
.submit {
width: calc(100% - 100px);
height: 36px;
}
}
}
.ant-btn+.ant-btn {
margin-left: 10px;
}
.green {
background-color: #67c23a;
border-color: #67c23a;
}
.soll-result {
overflow: auto;
.result {
display: block !important;
}
}
.paid-result {
width: calc(100% - 375px);
padding-bottom: 15px;
padding: 20px;
background: var(--color-user-list-bg);
border-top-left-radius: 20px;
box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.08);
.result-hd-overview {
color: #ffffff;
//background: #3e4557;
border-radius: 4px;
margin-bottom: 20px;
display: flex;
.result-header {
height: 108px;
width: 33%;
margin: 0 10px;
display: flex;
align-items: center;
.result-content {
margin: auto;
.title {
height: 19px;
font-size: 14px;
font-family: Microsoft YaHei, Microsoft YaHei-Regular;
font-weight: 400;
text-align: center;
color: #DBE5FF;
display: inline-block;
}
i {
border: 1px solid;
border-radius: 22px;
display: inline-block;
text-align: center;
font-size: 10px;
width: 15px;
cursor: pointer;
}
.num {
height: 27px;
font-size: 20px;
font-family: Alibaba PuHuiTi, Alibaba PuHuiTi-Bold;
font-weight: 700;
text-align: left;
color: #ffffff;
text-align: center;
}
}
}
.rea {
background: url("../../../../assets/images/red.png");
background-size: 100% 100%;
}
.reb {
background: url("../../../../assets/images/blue.png");
background-size: 100% 100%;
}
.rec {
background: url("../../../../assets/images/green.png");
background-size: 100% 100%;
}
.red {
background: url("../../../../assets/images/yellow.png");
background-size: 100% 100%;
}
}
.result {
@include flex-columns;
.result-box {
color: #ffffff;
background: #3e4557;
border-radius: 4px;
margin-bottom: 20px;
.result-box-title {
height: 21px;
font-size: 16px;
font-family: Microsoft YaHei, Microsoft YaHei-Bold;
font-weight: 700;
text-align: left;
margin: 18px 0 18px 18px;
display: inline-block;
}
i {
border: 1px solid;
border-radius: 22px;
display: inline-block;
text-align: center;
font-size: 12px;
width: 22px;
cursor: pointer;
}
.ant-table .ant-table-thead tr th {
background: #3e4557;
}
}
.result-title {
display: inline-block;
p {
display: inline;
margin: 0 5px;
color: #3aa9ff;
font-size: 18px;
}
}
.export-btn {
display: inline-block;
text-align: center;
float: right;
width: 68px;
height: 34px;
line-height: 34px;
background: linear-gradient(180deg, #3aa9ff, #59b7ff);
border-radius: 4px;
margin-right: 15px;
margin-bottom: 10px;
cursor: pointer;
}
.root_gfkk {
float: right;
}
.row-head {
height: 32px;
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 13px;
.number-wrapper {
display: inline-flex;
align-items: center;
font-size: 14px;
.letter {
color: var(--color-text);
font-size: 14px;
}
.total-number {
color: var(--color-primary);
font-weight: bold;
margin: 0 4px;
font-size: 14px;
}
}
}
.cc-result-flow {
width: 100%;
height: calc(100% - 34px - 13px);
.yisa-table {
width: 100%;
height: calc(100% - 32px - 15px);
overflow-y: auto !important;
@include scrollBar(var(--color-user-list-bg), #3B97FF);
.ant-table-thead {
th {
background: #616b83 !important;
}
}
.ant-table-tbody {
td {
background: #3E4557 !important;
border-bottom-color: var(--color-table-border-bottom-color);
}
tr:nth-child(even) {
td {
background: #3E4557 !important;
}
}
}
}
}
}
}
}
.modal-pay-configuration {
.submitBtn {
text-align: center;
margin: 20px 0 0;
.ant-btn {
width: 80px;
height: 35px;
border: none;
border-radius: 4px;
span {
color: #ffffff;
}
}
.submit {
background: #409eff;
}
.cancel {
background: var(--button-default-bg);
margin-left: 20px;
}
}
}
.tab-title {
display: flex;
.title {
height: 30px;
line-height: 30px;
margin-right: 10px;
}
.btn {
font-size: 10px;
}
}
.edit-order-inquiry {
/*定义滚动条高宽及背景
高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
width: 6px;
height: 16px;
background-color: #5c5c5c;
}
/*定义滚动条轨道
内阴影+圆角*/
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
border-radius: 10px;
background-color: #9da2ab;
}
/*定义滑块
内阴影+圆角*/
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
background-color: #3b97ff;
}
}

6
src/pages/OutRoadMgm/OutExceptionMgm/index.jsx

@ -1,7 +1,11 @@
import LiftUpPoleRecord from "./LiftUpPoleRecord"
import PlateChangeMgm from "./PlateChangeMgm"
import SpecialReleaseMgm from "./SpecialReleaseMgm"
import ZombieCarCleanRecord from "./ZombieCarCleanRecord"
export default {
LiftUpPoleRecord,
ZombieCarCleanRecord
ZombieCarCleanRecord,
PlateChangeMgm,
SpecialReleaseMgm,
}

12
src/pages/OutRoadMgm/OutRoadOverview/loadable.jsx

@ -94,7 +94,7 @@ const OutRoadOverview = () => {
itemWidth: 18,
itemHeight: 12,
textStyle: {
fontSize: 14,
fontSize: 12,
color: textColor,
},
},
@ -205,7 +205,7 @@ const OutRoadOverview = () => {
itemWidth: 18,
itemHeight: 12,
textStyle: {
fontSize: 14,
fontSize: 12,
color: textColor,
},
},
@ -449,22 +449,22 @@ const OutRoadOverview = () => {
<div id="body">
<div className="left">
<div className="revenue-left card" style={{ visibility: displayMapping['13'] ? '' : 'hidden' }}>
{/* <div className="revenue-left card"> */}
{/* <div className="revenue-left card"> */}
<div style={{ fontSize: '18px', fontWeight: '800' }}>停车场收入概览</div>
<div style={{ height: "190px", width: "100%", zoom: 1 / document.body.style.zoom }}>
<ReactEcharts
option={revenueData}
style={{ height: "100%", width: "100%", overflow: "hidden" }}
style={{ height: "100%", width: "100%" }}
/>
</div>
</div>
<div className="record-left card" style={{ visibility: displayMapping['14'] ? '' : 'hidden' }}>
{/* <div className="revenue-left card"> */}
{/* <div className="revenue-left card"> */}
<div style={{ fontSize: '18px', fontWeight: '800' }}>停车场记录概览</div>
<div style={{ height: "190px", width: "100%", zoom: 1 / document.body.style.zoom }}>
<ReactEcharts
option={recordData}
style={{ height: "100%", width: "100%", overflow: "hidden" }}
style={{ height: "100%", width: "100%" }}
/>
</div>
</div>

6
src/pages/OutRoadMgm/OutSegmentMgm/ChargeRulesMgm/EffectiveDate.jsx

@ -28,8 +28,8 @@ function EffectiveDate(props) {
} = props;
//
const disabledDate = (current) => {
//return current && current < moment().subtract(1, "days"); //
return current && current < moment().endOf("day");//
return current && current < moment().subtract(1, "days"); //
// return current && current < moment().endOf("day");//
}
const [form] = Form.useForm();
@ -149,7 +149,7 @@ function EffectiveDate(props) {
unit_fee_type_group: [],
...record,
//date: moment(new Date()).add(1, 'days'),
date: record.date ? moment(record.date) : moment(new Date()).add(1, 'days'),
date: record.date ? moment(record.date) : moment(new Date()),
}}
disabled={disable}
>

42
src/pages/OutRoadMgm/OutSegmentMgm/OutSegment/loadable.jsx

@ -290,18 +290,46 @@ function OutSegment() {
});
}
// function cascaderChange(value, options) {
// let res = [];
// if (options) {
// let last = options[options.length - 1];
// if (last.children) {
// addChild(last, res);
// }
// res.push(last.id);
// }
// console.log(300,res)
// setAreaId(res);
// }
// const addChild = (child, res) => {
// if (child.children) {
// child.children.forEach((item) => {
// addChild(item, res);
// });
// } else {
// res.push(child.id);
// }
// };
function cascaderChange(value, options) {
let last = options[options.length - 1];
let res = [];
if (last.children) {
addChild(last, res);
if (options) {
let last = options[options.length - 1];
if (last.children) {
addChild(last, res);
} else {
res = [last.id]
}
}
res.push(last.id);
console.log(300, res)
setAreaId(res);
setFormData({ ...formData, area_id: value, area: res });
}
const addChild = (child, res) => {
if (child.children) {
res.push(child.id)
child.children.forEach((item) => {
addChild(item, res);
});
@ -369,7 +397,7 @@ function OutSegment() {
let params = {
...values,
//area_id: values.area?.length > 0 ? end : areaId,
area_id:areaId,
area_id: sessionTabList?.area,
};
ajax.getOrpRoadExp({
...pageData,
@ -398,7 +426,7 @@ function OutSegment() {
let params = {
...values,
//area_id: values.area?.length > 0 ? end : areaId,
area_id: areaId,
area_id: sessionTabList?.area,
};
ajax
.getOrpRoadList({
@ -492,7 +520,7 @@ function OutSegment() {
>
<Row>
<Col span={24}>
<Form.Item label="区域" name="area">
<Form.Item label="区域" name="area_id">
<Cascader
onChange={cascaderChange}
allowClear={false}

12
src/router/router.config.js

@ -1205,6 +1205,18 @@ let routes = [
component: pages.ZombieCarCleanRecord,
},
{
path: "/outRoad/plateChangeMgm",
text: "车牌修正记录",
name: "plateChangeMgm",
component: pages.PlateChangeMgm,
},
{
path: "/outRoad/specialReleaseMgm",
text: "特殊方行记录",
name: "specialReleaseMgm",
component: pages.SpecialReleaseMgm,
},
{
//----------------业务记录
path: "/outRoad/outParkingRecordInquiry",
text: "停车记录查询",

Loading…
Cancel
Save