Browse Source

fix(): 路内已知问题处理

master
wanghx 1 year ago
parent
commit
1706d854d6
  1. 5
      src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/ParkArrear/index.jsx
  2. 1
      src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/ParkArrear/index.scss
  3. 8
      src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/PlateArrear/index.jsx
  4. 5
      src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/PlateArrear/index.scss
  5. 1
      src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/index.scss
  6. 7
      src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageRecoverAly/loadable.jsx
  7. 1
      src/pages/DataAnalysisPrediction/ParkingIncomeAly/CityArrearageAly/loadable.jsx
  8. 1
      src/pages/DataAnalysisPrediction/ParkingIncomeAly/CityIncomeStat/loadable.jsx
  9. 1
      src/pages/DataAnalysisPrediction/ParkingIncomeAly/OrderArrearageAly/loadable.jsx
  10. 1
      src/pages/DataAnalysisPrediction/ParkingIncomeAly/PriceAly/loadable.jsx
  11. 4
      src/pages/InRoadMgm/EquipmentMgm/MonitorEquipment/loadable.jsx
  12. 3
      src/pages/SystemMgm/MessageMgm/ConfMes/loadable.jsx
  13. 3
      src/pages/SystemMgm/MessageMgm/DeviceAlarmMes/loadable.jsx
  14. 3
      src/pages/SystemMgm/MessageMgm/MonitorCarAlarmMes/loadable.jsx
  15. 1
      src/pages/SystemMgm/MessageMgm/NotificationMes/loadable.jsx
  16. 7
      src/pages/SystemMgm/OrgnizationMgm/loadable.jsx
  17. 3
      src/pages/SystemMgm/RoleMgm/loadable.jsx

5
src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/ParkArrear/index.jsx

@ -78,7 +78,8 @@ const ParkArrear = forwardRef((props, ref) => {
total: resultData?.totalRecords, total: resultData?.totalRecords,
pageSize: pageInfo.length, pageSize: pageInfo.length,
pageSizeOptions: Array.from( pageSizeOptions: Array.from(
new Set([...[15], ...(dictionary?.pageSizeOptions || [])])
// new Set([...[15], ...(dictionary?.pageSizeOptions || [])])
[...dictionary?.pageSizeOptions]
), ),
onChange: (current, size) => { onChange: (current, size) => {
setPageInfo({ setPageInfo({
@ -159,7 +160,7 @@ const ParkArrear = forwardRef((props, ref) => {
dataSource={resultData?.list || []} dataSource={resultData?.list || []}
columns={tableColumns} columns={tableColumns}
pagination={false} pagination={false}
scroll={{y: 585}}
scroll={{y: 'calc(100% - 200px)'}}
loading={tableLoading} loading={tableLoading}
/> />
<Pagination {...paginationProps} className="pagination-common" /> <Pagination {...paginationProps} className="pagination-common" />

1
src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/ParkArrear/index.scss

@ -22,6 +22,7 @@
height: 25px; height: 25px;
} }
.park-table-content { .park-table-content {
min-height: 0;
flex: 1; flex: 1;
.park-table { .park-table {
flex: 1; flex: 1;

8
src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/PlateArrear/index.jsx

@ -75,9 +75,7 @@ const PlateArrear = forwardRef((props, ref) => {
current: pageInfo.pn, current: pageInfo.pn,
total: resultData?.totalRecords, total: resultData?.totalRecords,
pageSize: pageInfo.length, pageSize: pageInfo.length,
pageSizeOptions: Array.from(
new Set([...[15], ...(dictionary?.pageSizeOptions || [])])
),
pageSizeOptions: dictionary.pageSizeOptions,
onChange: (current, size) => { onChange: (current, size) => {
setPageInfo({ setPageInfo({
...pageInfo, ...pageInfo,
@ -286,14 +284,14 @@ const ModalDetail = (props) => {
return ( return (
<Modal <Modal
className="yisa-modal detail-modal" className="yisa-modal detail-modal"
title={"弹窗详情"}
title={"欠费总分析详情"}
open={visible} open={visible}
width={1100} width={1100}
onCancel={onCancel} onCancel={onCancel}
onOk={onOk} onOk={onOk}
> >
<div className="detail-modal-container"> <div className="detail-modal-container">
<div className="detail-title">欠费总分析详情</div>
<div className="detail-title">共查询到<span>{ resultData.totalRecords || 0 }</span>条结果</div>
<ResultFlowResult <ResultFlowResult
ajaxLoad={tableLoading} ajaxLoad={tableLoading}
resultData={resultData?.list || []} resultData={resultData?.list || []}

5
src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/PlateArrear/index.scss

@ -45,6 +45,11 @@
padding-bottom: 5px; padding-bottom: 5px;
.detail-title { .detail-title {
margin-bottom: 10px; margin-bottom: 10px;
span {
color: var(--color-primary);
padding: 0 5px;
font-weight: 700;
}
} }
.ant-table-thead>tr>th { .ant-table-thead>tr>th {
background-color: #616b83; background-color: #616b83;

1
src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/index.scss

@ -36,6 +36,7 @@ $color-primary : var(--color-primary);
margin-bottom: 10px; margin-bottom: 10px;
} }
.parking-wrapper { .parking-wrapper {
min-height: 0;
flex: 1; flex: 1;
} }
} }

7
src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageRecoverAly/loadable.jsx

@ -70,9 +70,10 @@ function ArrearageRecoverAly(props) {
current: pageInfo.pn, current: pageInfo.pn,
total: resultData?.totalRecords, total: resultData?.totalRecords,
pageSize: pageInfo.length, pageSize: pageInfo.length,
pageSizeOptions: Array.from(
new Set([...[15], ...(dictionary?.pageSizeOptions || [])])
),
// pageSizeOptions: Array.from(
// new Set([...[15], ...(dictionary?.pageSizeOptions || [])])
// ),
pageSizeOptions: dictionary.pageSizeOptions,
onChange: (current, size) => { onChange: (current, size) => {
setPageInfo({ setPageInfo({
...pageInfo, ...pageInfo,

1
src/pages/DataAnalysisPrediction/ParkingIncomeAly/CityArrearageAly/loadable.jsx

@ -73,6 +73,7 @@ function CityArrearageAly(props) {
pageSizeOptions: Array.from( pageSizeOptions: Array.from(
new Set([...[15], ...(dictionary?.pageSizeOptions || [])]) new Set([...[15], ...(dictionary?.pageSizeOptions || [])])
), ),
pageSizeOptions: dictionary.pageSizeOptions,
onChange: (current, size) => { onChange: (current, size) => {
setPageInfo({ setPageInfo({
...pageInfo, ...pageInfo,

1
src/pages/DataAnalysisPrediction/ParkingIncomeAly/CityIncomeStat/loadable.jsx

@ -78,6 +78,7 @@ function CityIncomeStat(props) {
pageSizeOptions: Array.from( pageSizeOptions: Array.from(
new Set([...[15], ...(dictionary?.pageSizeOptions || [])]) new Set([...[15], ...(dictionary?.pageSizeOptions || [])])
), ),
pageSizeOptions: dictionary.pageSizeOptions,
onChange: (current, size) => { onChange: (current, size) => {
setPageInfo({ setPageInfo({
...pageInfo, ...pageInfo,

1
src/pages/DataAnalysisPrediction/ParkingIncomeAly/OrderArrearageAly/loadable.jsx

@ -81,6 +81,7 @@ function OrderArrearageAly(props) {
pageSizeOptions: Array.from( pageSizeOptions: Array.from(
new Set([...[15], ...(dictionary?.pageSizeOptions || [])]) new Set([...[15], ...(dictionary?.pageSizeOptions || [])])
), ),
pageSizeOptions: dictionary.pageSizeOptions,
onChange: (current, size) => { onChange: (current, size) => {
setPageInfo({ setPageInfo({
...pageInfo, ...pageInfo,

1
src/pages/DataAnalysisPrediction/ParkingIncomeAly/PriceAly/loadable.jsx

@ -80,6 +80,7 @@ function PriceAly(props) {
pageSizeOptions: Array.from( pageSizeOptions: Array.from(
new Set([...[15], ...(dictionary?.pageSizeOptions || [])]) new Set([...[15], ...(dictionary?.pageSizeOptions || [])])
), ),
pageSizeOptions: dictionary.pageSizeOptions,
onChange: (current, size) => { onChange: (current, size) => {
setPageInfo({ setPageInfo({
...pageInfo, ...pageInfo,

4
src/pages/InRoadMgm/EquipmentMgm/MonitorEquipment/loadable.jsx

@ -112,7 +112,9 @@ function Fence(props) {
}) })
setEditId(item.id) setEditId(item.id)
getBerthDataByNvr(item.nvr_id).then(() => { getBerthDataByNvr(item.nvr_id).then(() => {
setBerthSelectData(item.berth_ids ? item.berth_ids.split(',').map((v) => v) : [])
setTimeout(() => {
setBerthSelectData(item.berth_ids ? item.berth_ids.split(',').map((v) => v) : [])
}, 500)
}) })
setEditModalVisible(true) setEditModalVisible(true)
} }

3
src/pages/SystemMgm/MessageMgm/ConfMes/loadable.jsx

@ -128,7 +128,8 @@ function ConfMes(props) {
current: pageInfo.pn, current: pageInfo.pn,
total: resultData?.totalRecords, total: resultData?.totalRecords,
pageSize: pageInfo.length, pageSize: pageInfo.length,
pageSizeOptions: [8, 10 ,20],
// pageSizeOptions: [8, 10 ,20],
pageSizeOptions: dictionary.pageSizeOptions,
onChange: (current, size) => { onChange: (current, size) => {
setPageInfo({ setPageInfo({
...pageInfo, ...pageInfo,

3
src/pages/SystemMgm/MessageMgm/DeviceAlarmMes/loadable.jsx

@ -100,7 +100,8 @@ function NotificationMes(props) {
current: pageInfo.pn, current: pageInfo.pn,
total: resultData?.totalRecords, total: resultData?.totalRecords,
pageSize: pageInfo.length, pageSize: pageInfo.length,
pageSizeOptions: [8, 10 ,20],
// pageSizeOptions: [8, 10 ,20],
pageSizeOptions: dictionary.pageSizeOptions,
onChange: (current, size) => { onChange: (current, size) => {
setPageInfo({ setPageInfo({
...pageInfo, ...pageInfo,

3
src/pages/SystemMgm/MessageMgm/MonitorCarAlarmMes/loadable.jsx

@ -99,7 +99,8 @@ function MonitorCarAlarmMes(props) {
current: pageInfo.pn, current: pageInfo.pn,
total: resultData?.totalRecords, total: resultData?.totalRecords,
pageSize: pageInfo.length, pageSize: pageInfo.length,
pageSizeOptions: [8, 10 ,20],
// pageSizeOptions: [8, 10 ,20],
pageSizeOptions: dictionary.pageSizeOptions,
onChange: (current, size) => { onChange: (current, size) => {
setPageInfo({ setPageInfo({
...pageInfo, ...pageInfo,

1
src/pages/SystemMgm/MessageMgm/NotificationMes/loadable.jsx

@ -142,6 +142,7 @@ function NotificationMes(props) {
total: resultData?.totalRecords, total: resultData?.totalRecords,
pageSize: pageInfo.length, pageSize: pageInfo.length,
pageSizeOptions: [8, 10 ,20], pageSizeOptions: [8, 10 ,20],
pageSizeOptions: dictionary.pageSizeOptions,
onChange: (current, size) => { onChange: (current, size) => {
setPageInfo({ setPageInfo({
...pageInfo, ...pageInfo,

7
src/pages/SystemMgm/OrgnizationMgm/loadable.jsx

@ -136,7 +136,8 @@ function OrgnizationMgm() {
orgForm.setFieldsValue({ orgForm.setFieldsValue({
id: id, id: id,
'depart_id': recursionFindIdPath([...departTree], id, undefined, false), 'depart_id': recursionFindIdPath([...departTree], id, undefined, false),
'name': name
'name': name,
pid: pid
}) })
setActiveOrgTree({ isTop: isTop }) setActiveOrgTree({ isTop: isTop })
setOrgModalVisible(true) setOrgModalVisible(true)
@ -374,12 +375,13 @@ function OrgnizationMgm() {
const handleOrgConfirm = () => { const handleOrgConfirm = () => {
orgForm.validateFields().then((data) => { orgForm.validateFields().then((data) => {
// console.log(data)
let arr =data.depart_id let arr =data.depart_id
if (data.id) { if (data.id) {
ajaxAreaEdit(Object.assign({}, { ajaxAreaEdit(Object.assign({}, {
id: data.id, id: data.id,
name: data.name, name: data.name,
pid: arr ? arr.at(-1) : ''
pid: data.pid
})).then((msg) => { })).then((msg) => {
message.success(msg) message.success(msg)
setOrgModalVisible(false) setOrgModalVisible(false)
@ -642,6 +644,7 @@ function OrgnizationMgm() {
> >
<Form.Item name="id" hidden></Form.Item> <Form.Item name="id" hidden></Form.Item>
<Form.Item name="level" hidden></Form.Item> <Form.Item name="level" hidden></Form.Item>
<Form.Item name="pid" hidden></Form.Item>
<Form.Item label="部门名称" name="name" rules={[ <Form.Item label="部门名称" name="name" rules={[
{ {
required: true required: true

3
src/pages/SystemMgm/RoleMgm/loadable.jsx

@ -457,7 +457,8 @@ function RoleMgm(props) {
...getImg, ...getImg,
auth: str, auth: str,
id: getAdminId.id, id: getAdminId.id,
depart_id: lastElement
depart_id: lastElement,
depart_arr: arrStr.toString()
} }
if (getImg.name == "") { if (getImg.name == "") {

Loading…
Cancel
Save