Commit 8ba4bf0b authored by 皮倩雯's avatar 皮倩雯

fix: '调整巡检反馈排序选择全部数据'

parent 6ee39e64
Pipeline #81081 passed with stages
......@@ -55,6 +55,7 @@ const patrolFeedback = () => {
const [newTableData, setNewTableData] = useState([]);
const [pipeArr, setPipeArr] = useState([]);
const groupNum = useRef({ 区域巡检: 0, DMA巡检: 0, 未分组: 0 });
const [allTableData, setAllTableData] = useState([]);
const tableList = useRef({
pageIndex: 1,
pageSize: 20,
......@@ -313,6 +314,14 @@ const patrolFeedback = () => {
setKeepTableData(list);
}
});
CM_Feedback_LoadPatrolFeedbacks({
pageIndex: 1,
pageSize: 999999,
}).then(res => {
if (res.code === 0) {
setAllTableData(res.data.list);
}
});
};
const add = () => {
......@@ -594,7 +603,7 @@ const patrolFeedback = () => {
<SortModal
title="调整顺序"
visible={sortVisible}
sortData={tableData[pickItem]}
sortData={allTableData}
onCancel={() => setSortVisible(false)}
callBackSubmit={onOK}
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment