Browse Source

fix():统一路外系统按钮样式

tags/PMS_Frontend_v1.0.6-develop
xingjx 1 year ago
parent
commit
fccf68f7b0
  1. 23
      src/pages/OutRoadMgm/OutExceptionMgm/LiftUpPoleRecord/index.scss
  2. 21
      src/pages/OutRoadMgm/OutExceptionMgm/LiftUpPoleRecord/loadable.jsx
  3. 1
      src/pages/OutRoadMgm/OutSegmentMgm/OutSegment/loadable.jsx

23
src/pages/OutRoadMgm/OutExceptionMgm/LiftUpPoleRecord/index.scss

@ -43,6 +43,24 @@ $color-primary : var(--color-primary);
.timePicker{
width: 350px;
margin-top: 22px;
.bottomBox {
display: flex;
flex-flow: row nowrap;
margin-top: 40px;
justify-content: space-between;
.reset {
width: 90px;
height: 36px;
border-radius: 4px;
background: #636d80;
}
.submit {
width: calc(100% - 100px);
height: 36px;
background: linear-gradient(180deg, #3aa9ff, #59b7ff);
border-radius: 4px;
}
}
.btnBox{
display:flex ;
margin-top: 20px;
@ -77,6 +95,11 @@ $color-primary : var(--color-primary);
margin-left: 17px;
.result{
padding: 25px;
.header-button {
display: inline-flex;
position: absolute;
right: 61px;
}
.font{
font-family: Microsoft YaHei, Microsoft YaHei-Regular;
font-weight: 400;

21
src/pages/OutRoadMgm/OutExceptionMgm/LiftUpPoleRecord/loadable.jsx

@ -163,6 +163,10 @@ function LiftUpPoleRecord(props) {
console.log(err)
})
}
//
const reset = () => {
setFormData(parameter)
};
//
const changePn = (pn, length) => {
if (lastFormData.page_size === length) {
@ -231,7 +235,17 @@ function LiftUpPoleRecord(props) {
/>
</Space>
</div>
<div className="timePicker ">
<div className="timePicker">
<div className="bottomBox">
<Button className="reset" onClick={reset}>
重置
</Button>
<Button type="primary" className="yisa-btn submit" onClick={() => { getSearchData() }}>
查询
</Button>
</div>
</div>
{/* <div className="timePicker ">
<div className="btnBox">
<Button type="primary" className="yisa-btn" icon={<SearchOutlined />} onClick={() => { getSearchData() }}>
搜索
@ -240,11 +254,14 @@ function LiftUpPoleRecord(props) {
导出
</Button>
</div>
</div>
</div> */}
</div>
<div className="paid-result">
<div className="result">
<span className="font">共检索到<em>{resultData.total_records}</em>条结果</span>
<div className="header-button">
<Button type="primary" onClick={() => { salesData() }}>导出</Button>
</div>
<ResultFlowResult ajaxLoad={ajaxLoading} resultData={resultData.data ? resultData.data : []}>
<Table
bordered

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

@ -525,6 +525,7 @@ function OutSegment() {
getCommentSetting()
setAppraiseModal({ ...appraiseModal, visible: true });
}}
style={{width:'120px'}}
>
评价批量配置
</Button>

Loading…
Cancel
Save