diff --git a/src/views/gcaqjc/bzt2/index.js b/src/views/gcaqjc/bzt2/index.js index 3f2d6a836..08495f4ed 100644 --- a/src/views/gcaqjc/bzt2/index.js +++ b/src/views/gcaqjc/bzt2/index.js @@ -119,7 +119,7 @@ export default function Page({isHome}) { ) } - {/* { + { slList.map((item)=>
{ setOpenSl(true) @@ -129,7 +129,7 @@ export default function Page({isHome}) {
) - } */} + } { wyList.map((item)=>
{ width: 100, align: "center", children: trData?.map(item => ({ - title: item.mpcd, - key: item.mpcd, - dataIndex: item.mpcd, + title: item.dvcd, + key: item.dvcd, + dataIndex: item.dvcd, width: 100, align: "center", render: (rec, record) => {rec?? "-"} @@ -106,7 +106,7 @@ const Page = () => { const exportExcel = () => { let params = { ...searchVal, - stationCodes: trData.map(s => s.mpcd), + stationCodes: trData.map(s => s.dvcd), type:2, id:1 } @@ -126,7 +126,7 @@ const Page = () => { if (trData && trData.length > 0) { const params = { ...searchVal, - stationCodes: trData.map(s => s.mpcd), + stationCodes: trData.map(s => s.dvcd), type:2 }; getTableData(params) @@ -138,7 +138,7 @@ const Page = () => { if (trData && trData?.length > 0) { let params = { ...searchVal, - stationCodes:trData.map(s => s.mpcd), + stationCodes:trData.map(s => s.dvcd), type:2 } getTable2Data(params) diff --git a/src/views/gcaqjc/sjtjcx/ndwytjb/index.js b/src/views/gcaqjc/sjtjcx/ndwytjb/index.js index aa851779c..e94d3f2e3 100644 --- a/src/views/gcaqjc/sjtjcx/ndwytjb/index.js +++ b/src/views/gcaqjc/sjtjcx/ndwytjb/index.js @@ -154,9 +154,10 @@ const Page = () => { } useEffect(() => { if (trData && trData.length > 0) { + const {wy} = wyObj const params = { ...searchVal, - stationCodes: trData.map(s => s.cd), + stationCodes: [wy], }; getTableData(params) diff --git a/src/views/rcgl/byfz/bypc/index.js b/src/views/rcgl/byfz/bypc/index.js index befb635cd..c16d40e9e 100644 --- a/src/views/rcgl/byfz/bypc/index.js +++ b/src/views/rcgl/byfz/bypc/index.js @@ -146,7 +146,7 @@ const Page = () => { pageNumber: 1, pageSize: 99999, }, - searchDate:searchVal?.searchDate + ...searchVal } try { const res = await httppost2(apiurl.rcgl.byfz.bypc.count, params);