Browse Source

fix():增加停车卡数据页面

tags/PMS_Frontend_v1.0.6-develop
guoxin 1 year ago
parent
commit
470880f73d
  1. 6
      src/components/Search/OptionPanel/index.scss
  2. 11
      src/components/Search/ResultPanel/index.scss
  3. 5
      src/pages/InRoadMgm/BusinessMgm/ChargeRules/EditModal.jsx
  4. 2
      src/pages/InRoadMgm/BusinessMgm/ChargeRules/index.scss
  5. 2
      src/pages/InRoadMgm/BusinessMgm/ChargeRules/loadable.jsx
  6. 6
      src/pages/InRoadMgm/RecordInquiry/ParkRecordTotal/loadable.jsx

6
src/components/Search/OptionPanel/index.scss

@ -115,9 +115,7 @@ $color-primary: var(--color-primary);
height: 4px; height: 4px;
} }
.searchWrap::-webkit-scrollbar-thumb { .searchWrap::-webkit-scrollbar-thumb {
background-color: var(--color-scrollbar-thumb);
background-clip: padding-box;
border-radius: 4px;
min-height: 28px;
background-color: #9da2ab;
border-radius: 10px;
} }
} }

11
src/components/Search/ResultPanel/index.scss

@ -406,15 +406,14 @@ $color-primary : var(--color-primary);
} }
.table-wrap::-webkit-scrollbar { .table-wrap::-webkit-scrollbar {
width: 4px;
height: 4px;
width: 5px;
height: 5px;
cursor: pointer;
} }
.table-wrap::-webkit-scrollbar-thumb { .table-wrap::-webkit-scrollbar-thumb {
background-color: var(--color-scrollbar-thumb);
background-clip: padding-box;
border-radius: 4px;
min-height: 28px;
background-color: #9da2ab;
border-radius: 10px;
} }
} }

5
src/pages/InRoadMgm/BusinessMgm/ChargeRules/EditModal.jsx

@ -221,7 +221,10 @@ const FormModal = (props) => {
if (JSON.stringify(yisaData) != "{}") { if (JSON.stringify(yisaData) != "{}") {
newObj = handelDate(yisaData, 2) newObj = handelDate(yisaData, 2)
} }
// console.log(newObj);
console.log(newObj);
newObj.rules = newObj?.source?.rules
delete newObj.source
console.log(newObj);
form.setFieldsValue(newObj); form.setFieldsValue(newObj);
}, [yisaData]); }, [yisaData]);

2
src/pages/InRoadMgm/BusinessMgm/ChargeRules/index.scss

@ -188,7 +188,7 @@ $color-primary: var(--color-primary);
} }
} }
.addRuleModal { .addRuleModal {
width: 700px !important;
width: 1000px !important;
.addRule::-webkit-scrollbar-track { .addRule::-webkit-scrollbar-track {
background: white; background: white;
} }

2
src/pages/InRoadMgm/BusinessMgm/ChargeRules/loadable.jsx

@ -353,7 +353,7 @@ function ChargeRules(props) {
} }
const deleteSubmit = () => { const deleteSubmit = () => {
let data = { let data = {
user_id: getDeleteData.id
id: getDeleteData.id
} }
ajax.changeEditRule(data).then(res => { ajax.changeEditRule(data).then(res => {
if (res.status === 20000) { if (res.status === 20000) {

6
src/pages/InRoadMgm/RecordInquiry/ParkRecordTotal/loadable.jsx

@ -85,8 +85,8 @@ function ParkRecordTotal() {
}, },
{ {
title: "泊位号", title: "泊位号",
dataIndex: "road",
key: "road",
dataIndex: "berth_id",
key: "berth_id",
width: 100, width: 100,
align: "center", align: "center",
}, },
@ -491,7 +491,7 @@ function ParkRecordTotal() {
<div> <div>
<Descriptions title="停车场名称"> <Descriptions title="停车场名称">
<Descriptions.Item label="停车场名称"> <Descriptions.Item label="停车场名称">
Zhou Maomao
{item.road}
</Descriptions.Item> </Descriptions.Item>
<Descriptions.Item label="泊位号">{item.berth_id}</Descriptions.Item> <Descriptions.Item label="泊位号">{item.berth_id}</Descriptions.Item>
<Descriptions.Item label="区域">{item.region}</Descriptions.Item> <Descriptions.Item label="区域">{item.region}</Descriptions.Item>

Loading…
Cancel
Save