diff --git a/src/views/Gcyx/InformationSearch/StaticTable/index.js b/src/views/Gcyx/InformationSearch/StaticTable/index.js index e3e0d08..0fd5640 100644 --- a/src/views/Gcyx/InformationSearch/StaticTable/index.js +++ b/src/views/Gcyx/InformationSearch/StaticTable/index.js @@ -201,8 +201,7 @@ const Page = () => { useEffect(() => { if (searchVal && searchVal.type1 != 1 && searchVal.type1 != 2) { const params = { ...searchVal } - setRequsetUrlObj(getUrl(searchVal.type, searchVal.type1)) - requsetUrlObjRef.current = getUrl(searchVal.type, searchVal.type1) + getData(params) } if (searchVal.type1 == 1) { @@ -212,6 +211,8 @@ const Page = () => { if (searchVal.type1 == 2) { getMonthData(searchVal) } + setRequsetUrlObj(getUrl(searchVal.type, searchVal.type1)) + requsetUrlObjRef.current = getUrl(searchVal.type, searchVal.type1) }, [searchVal]) diff --git a/src/views/SafeWatch/TransformWatch/TableData.js b/src/views/SafeWatch/TransformWatch/TableData.js index 4b0380b..110394a 100644 --- a/src/views/SafeWatch/TransformWatch/TableData.js +++ b/src/views/SafeWatch/TransformWatch/TableData.js @@ -8,7 +8,7 @@ const Tabledata = ({tableData}) => { { title: '序号', key: 'inx', dataIndex: 'inx', align: "center", render: (v, r, i) => {i + 1} }, { title: '监测点', key: 'stationCode', dataIndex: 'stationCode' }, { title: '缝开度(mm)', key: 'value', dataIndex: 'value'}, - { title: '温度(°℃)', key: 'temp', dataIndex: 'temp'}, + { title: '温度(℃)', key: 'temp', dataIndex: 'temp'}, { title: '模数(F)', key: 'modulus', dataIndex: 'modulus'}, {title: '监测时间', key: 'tm', dataIndex: 'tm'}, ]; diff --git a/src/views/Sbwh/Whxmys/index.js b/src/views/Sbwh/Whxmys/index.js index 1e5596c..d754a4f 100644 --- a/src/views/Sbwh/Whxmys/index.js +++ b/src/views/Sbwh/Whxmys/index.js @@ -93,7 +93,7 @@ const Page = () => {