| 
														
															@@ -7,8 +7,12 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           <el-form :model="queryParams" label-width="auto" :inline="true"> 
														 | 
														
														 | 
														
															           <el-form :model="queryParams" label-width="auto" :inline="true"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             <el-form-item label="自动站:"> 
														 | 
														
														 | 
														
															             <el-form-item label="自动站:"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               <el-select v-model="queryParams.name"   filterable placeholder="请搜索自动站" remote reserve-keyword clearable  style="width: 200px"> 
														 | 
														
														 | 
														
															               <el-select v-model="queryParams.name"   filterable placeholder="请搜索自动站" remote reserve-keyword clearable  style="width: 200px"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                <el-option label="站1" value="1" /> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                <el-option label="站2" value="2" /> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                <el-option 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  v-for="item in platformList" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  :key="item.as_code" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  :label="item.as_code +' '+item.as_name" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                  :value="item.as_code" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 <template #prefix> 
														 | 
														
														 | 
														
															                 <template #prefix> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                   <el-icon class="el-input__icon"><search /></el-icon> 
														 | 
														
														 | 
														
															                   <el-icon class="el-input__icon"><search /></el-icon> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 </template> 
														 | 
														
														 | 
														
															                 </template> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -92,9 +96,11 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <script setup lang="ts" name="useProTable"> 
														 | 
														
														 | 
														
															 <script setup lang="ts" name="useProTable"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import Pagination from "@/components/ProTable/components/Pagination.vue"; 
														 | 
														
														 | 
														
															 import Pagination from "@/components/ProTable/components/Pagination.vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import { ref, reactive } from "vue"; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import {ref, reactive, onMounted} from "vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { ColumnProps } from "@/components/ProTable/interface"; 
														 | 
														
														 | 
														
															 import { ColumnProps } from "@/components/ProTable/interface"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import {ElTable} from "element-plus"; 
														 | 
														
														 | 
														
															 import {ElTable} from "element-plus"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import {getPlatformList} from "@/api/modules/allData"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import { Platform } from "@/api/interface"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const tableRef = ref<InstanceType<typeof ElTable>>(); 
														 | 
														
														 | 
														
															 const tableRef = ref<InstanceType<typeof ElTable>>(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const dialog = reactive<any>({ 
														 | 
														
														 | 
														
															 const dialog = reactive<any>({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   visible: false, 
														 | 
														
														 | 
														
															   visible: false, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -441,4 +447,25 @@ const columns = reactive<ColumnProps[]>([ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   { prop: "h", label: "相对湿度(%)" ,sortable: true}, 
														 | 
														
														 | 
														
															   { prop: "h", label: "相对湿度(%)" ,sortable: true}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   { prop: "i", label: "漏点温度(℃)",sortable: true } 
														 | 
														
														 | 
														
															   { prop: "i", label: "漏点温度(℃)",sortable: true } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 ]); 
														 | 
														
														 | 
														
															 ]); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+// 查询自动站列表 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+const queryas = ref<Platform>({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  pagesize: 20, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  currentpage: 1 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+const platformList =ref<any>([]) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+const getPlatforms = async () => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  const { data } = await getPlatformList(queryas.value); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  platformList.value = data 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+}; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+onMounted(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  getPlatforms() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </script> 
														 | 
														
														 | 
														
															 </script> 
														 |