噪声板块相关添加
This commit is contained in:
@@ -29,6 +29,13 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :lg="4" :md="8" :sm="24" :xs="24">
|
||||||
|
<a-form-item label="昼夜">
|
||||||
|
<a-select v-model:value="queryParams.timeSlot" allowClear>
|
||||||
|
<a-select-option v-for="(item) in timeSlotOptions" :key="item.value">{{ item.label }}</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
<a-col :lg="4" :md="8" :sm="24" :xs="24">
|
<a-col :lg="4" :md="8" :sm="24" :xs="24">
|
||||||
<a-form-item label="横坐标:">
|
<a-form-item label="横坐标:">
|
||||||
<a-select v-model:value="queryParams.xco" :options="xOptions" allowClear placeholder="请选择横坐标">
|
<a-select v-model:value="queryParams.xco" :options="xOptions" allowClear placeholder="请选择横坐标">
|
||||||
@@ -70,10 +77,12 @@
|
|||||||
areaList: ['南宁市'],
|
areaList: ['南宁市'],
|
||||||
placeList: [],
|
placeList: [],
|
||||||
regionLevel: '市级', // 区域等级
|
regionLevel: '市级', // 区域等级
|
||||||
|
timeSlot: '昼',
|
||||||
xco: '年度' // 横坐标
|
xco: '年度' // 横坐标
|
||||||
},
|
},
|
||||||
trendData: [],
|
trendData: [],
|
||||||
regionLevelOptions: [],
|
regionLevelOptions: [],
|
||||||
|
timeSlotOptions: [],
|
||||||
placeOptions: [],
|
placeOptions: [],
|
||||||
areaOptions: [],
|
areaOptions: [],
|
||||||
yearOptions: [],
|
yearOptions: [],
|
||||||
@@ -112,6 +121,14 @@
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
getColumnOptions("time_slot").then((res) => {
|
||||||
|
this.timeSlotOptions = res.data.data.map((item) => {
|
||||||
|
return {
|
||||||
|
label: item,
|
||||||
|
value: item,
|
||||||
|
};
|
||||||
|
});
|
||||||
|
});
|
||||||
this.getArea()
|
this.getArea()
|
||||||
this.getPlace('市级')
|
this.getPlace('市级')
|
||||||
},
|
},
|
||||||
@@ -136,6 +153,7 @@
|
|||||||
value: item.dictDataName,
|
value: item.dictDataName,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
this.areaOptions.unshift({ label: '所有县', value: '所有县'})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 测点名称下拉列表
|
// 测点名称下拉列表
|
||||||
|
|||||||
@@ -153,6 +153,7 @@
|
|||||||
value: item.dictDataName,
|
value: item.dictDataName,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
this.areaOptions.unshift({ label: '所有县', value: '所有县'})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 测点名称下拉列表
|
// 测点名称下拉列表
|
||||||
|
|||||||
Reference in New Issue
Block a user