|
@@ -109,9 +109,11 @@
|
|
|
// 注册实时数据表格
|
|
// 注册实时数据表格
|
|
|
const { tableContext: ctxRealtime, onExportXls: onExportXlsTime } = useListPage({
|
|
const { tableContext: ctxRealtime, onExportXls: onExportXlsTime } = useListPage({
|
|
|
tableProps: {
|
|
tableProps: {
|
|
|
|
|
+ immediate: false,
|
|
|
columns,
|
|
columns,
|
|
|
api: wrappedGetMineData,
|
|
api: wrappedGetMineData,
|
|
|
formConfig: {
|
|
formConfig: {
|
|
|
|
|
+ autoSearch: true,
|
|
|
model: { alarmFiled: route.query.alarmFiled },
|
|
model: { alarmFiled: route.query.alarmFiled },
|
|
|
labelWidth: 120,
|
|
labelWidth: 120,
|
|
|
schemas,
|
|
schemas,
|
|
@@ -145,6 +147,7 @@
|
|
|
// 注册历史数据表格
|
|
// 注册历史数据表格
|
|
|
const { tableContext, onExportXls } = useListPage({
|
|
const { tableContext, onExportXls } = useListPage({
|
|
|
tableProps: {
|
|
tableProps: {
|
|
|
|
|
+ immediate: false,
|
|
|
columns,
|
|
columns,
|
|
|
// columns: historyColumns,
|
|
// columns: historyColumns,
|
|
|
api: async (params) => {
|
|
api: async (params) => {
|
|
@@ -156,6 +159,7 @@
|
|
|
return getProvinceAlarmHistory(params);
|
|
return getProvinceAlarmHistory(params);
|
|
|
},
|
|
},
|
|
|
formConfig: {
|
|
formConfig: {
|
|
|
|
|
+ autoSearch: true,
|
|
|
model: { deptId: hiscode },
|
|
model: { deptId: hiscode },
|
|
|
labelWidth: 120,
|
|
labelWidth: 120,
|
|
|
schemas: [
|
|
schemas: [
|