3
0

2 Commitit d657d6a4d0 ... 069e2207d0

Tekijä SHA1 Viesti Päivämäärä
  章志文 069e2207d0 Merge branch 'master' of http://git.techwx.com/framework/SMO 2 päivää sitten
  章志文 00e87a11db zzw 2 päivää sitten

+ 53 - 38
src/views/alarm/singleStationData/index.vue

@@ -370,7 +370,8 @@
 					<el-tab-pane label="风">
 						<div class="container-tag">
 							<template v-for="item in elementList" :key="item.id">
-								<div v-if="item.data_type === '风'" :class="item.isSelected ? 'item-tag-active' : 'item-tag'"
+								<div v-if="item.data_type === '风'"
+									:class="item.isSelected ? 'item-tag-active' : 'item-tag'"
 									@click="toggleSelection(item)">{{ item.data_name }}</div>
 							</template>
 						</div>
@@ -378,7 +379,8 @@
 					<el-tab-pane label="温湿度">
 						<div class="container-tag">
 							<template v-for="item in elementList" :key="item.id">
-								<div v-if="item.data_type === '温湿度'" :class="item.isSelected ? 'item-tag-active' : 'item-tag'"
+								<div v-if="item.data_type === '温湿度'"
+									:class="item.isSelected ? 'item-tag-active' : 'item-tag'"
 									@click="toggleSelection(item)">{{ item.data_name }}</div>
 							</template>
 						</div>
@@ -386,7 +388,8 @@
 					<el-tab-pane label="气压">
 						<div class="container-tag">
 							<template v-for="item in elementList" :key="item.id">
-								<div v-if="item.data_type === '气压'" :class="item.isSelected ? 'item-tag-active' : 'item-tag'"
+								<div v-if="item.data_type === '气压'"
+									:class="item.isSelected ? 'item-tag-active' : 'item-tag'"
 									@click="toggleSelection(item)">{{ item.data_name }}</div>
 							</template>
 						</div>
@@ -394,7 +397,8 @@
 					<el-tab-pane label="降水">
 						<div class="container-tag">
 							<template v-for="item in elementList" :key="item.id">
-								<div v-if="item.data_type === '降水'" :class="item.isSelected ? 'item-tag-active' : 'item-tag'"
+								<div v-if="item.data_type === '降水'"
+									:class="item.isSelected ? 'item-tag-active' : 'item-tag'"
 									@click="toggleSelection(item)">{{ item.data_name }}</div>
 							</template>
 						</div>
@@ -402,7 +406,8 @@
 					<el-tab-pane label="云">
 						<div class="container-tag">
 							<template v-for="item in elementList" :key="item.id">
-								<div v-if="item.data_type === '云'" :class="item.isSelected ? 'item-tag-active' : 'item-tag'"
+								<div v-if="item.data_type === '云'"
+									:class="item.isSelected ? 'item-tag-active' : 'item-tag'"
 									@click="toggleSelection(item)">{{ item.data_name }}</div>
 							</template>
 						</div>
@@ -410,7 +415,8 @@
 					<el-tab-pane label="能见度">
 						<div class="container-tag">
 							<template v-for="item in elementList" :key="item.id">
-								<div v-if="item.data_type === '能见度'" :class="item.isSelected ? 'item-tag-active' : 'item-tag'"
+								<div v-if="item.data_type === '能见度'"
+									:class="item.isSelected ? 'item-tag-active' : 'item-tag'"
 									@click="toggleSelection(item)">{{ item.data_name }}</div>
 							</template>
 						</div>
@@ -427,7 +433,8 @@
 					<el-tab-pane label="积雪">
 						<div class="container-tag">
 							<template v-for="item in elementList" :key="item.id">
-								<div v-if="item.data_type === '积雪'" :class="item.isSelected ? 'item-tag-active' : 'item-tag'"
+								<div v-if="item.data_type === '积雪'"
+									:class="item.isSelected ? 'item-tag-active' : 'item-tag'"
 									@click="toggleSelection(item)">{{ item.data_name }}</div>
 							</template>
 						</div>
@@ -453,7 +460,8 @@
 					<el-tab-pane label="闪电">
 						<div class="container-tag">
 							<template v-for="item in elementList" :key="item.id">
-								<div v-if="item.data_type === '闪电'" :class="item.isSelected ? 'item-tag-active' : 'item-tag'"
+								<div v-if="item.data_type === '闪电'"
+									:class="item.isSelected ? 'item-tag-active' : 'item-tag'"
 									@click="toggleSelection(item)">{{ item.data_name }}</div>
 							</template>
 						</div>
@@ -461,7 +469,8 @@
 					<el-tab-pane label="日照">
 						<div class="container-tag">
 							<template v-for="item in elementList" :key="item.id">
-								<div v-if="item.data_type === '日照'" :class="item.isSelected ? 'item-tag-active' : 'item-tag'"
+								<div v-if="item.data_type === '日照'"
+									:class="item.isSelected ? 'item-tag-active' : 'item-tag'"
 									@click="toggleSelection(item)">{{ item.data_name }}</div>
 							</template>
 						</div>
@@ -469,7 +478,8 @@
 					<el-tab-pane label="总辐射">
 						<div class="container-tag">
 							<template v-for="item in elementList" :key="item.id">
-								<div v-if="item.data_type === '总辐射'" :class="item.isSelected ? 'item-tag-active' : 'item-tag'"
+								<div v-if="item.data_type === '总辐射'"
+									:class="item.isSelected ? 'item-tag-active' : 'item-tag'"
 									@click="toggleSelection(item)">{{ item.data_name }}</div>
 							</template>
 						</div>
@@ -477,7 +487,8 @@
 					<el-tab-pane label="日照文">
 						<div class="container-tag">
 							<template v-for="item in elementList" :key="item.id">
-								<div v-if="item.data_type === '日照文'" :class="item.isSelected ? 'item-tag-active' : 'item-tag'"
+								<div v-if="item.data_type === '日照文'"
+									:class="item.isSelected ? 'item-tag-active' : 'item-tag'"
 									@click="toggleSelection(item)">{{ item.data_name }}</div>
 							</template>
 						</div>
@@ -485,7 +496,8 @@
 					<el-tab-pane label="水文">
 						<div class="container-tag">
 							<template v-for="item in elementList" :key="item.id">
-								<div v-if="item.data_type === '水文'" :class="item.isSelected ? 'item-tag-active' : 'item-tag'"
+								<div v-if="item.data_type === '水文'"
+									:class="item.isSelected ? 'item-tag-active' : 'item-tag'"
 									@click="toggleSelection(item)">{{ item.data_name }}</div>
 							</template>
 						</div>
@@ -496,12 +508,8 @@
 					<div class="selected-list-c">
 						<template v-for="(item, index) in copiedCustomizeColumns" :key="item.id">
 							<div :class="selectedItemIndex === index ? 'selected-item-tag-active' : 'selected-item-tag'"
-								@click="changeSelected(index)"
-                   draggable="true"
-                   @dragstart="dragStart($event, index)"
-                   @dragover.prevent
-                   @drop="drop($event, index)"
-              >{{ item.data_name }}</div>
+								@click="changeSelected(index)" draggable="true" @dragstart="dragStart($event, index)"
+								@dragover.prevent @drop="drop($event, index)">{{ item.data_name }}</div>
 						</template>
 					</div>
 					<div class="button-container">
@@ -525,12 +533,12 @@
 
 <script setup lang="tsx" name="singleData">
 import * as echarts from 'echarts';
-import { ref, onMounted, reactive, watch, onDeactivated, onActivated,computed } from "vue";
+import { ref, onMounted, reactive, watch, onDeactivated, onActivated, computed } from "vue";
 import { useGlobalStore } from "@/stores/modules/global";
 import { getDataItemList, getPlatformList, getRgDataList, getTacRecordList } from "@/api/modules/allData";
 import { Platform } from "@/api/interface";
 import { ElLoading } from "element-plus";
-import {useUserStore} from "@/stores/modules/user";
+import { useUserStore } from "@/stores/modules/user";
 
 /* 全局请求 loading */
 const loading = ref()
@@ -579,16 +587,16 @@ const dialog = reactive<any>({
 
 
 const dragStart = (event, index) => {
-  event.dataTransfer.effectAllowed = 'move';
-  // 保存当前拖动的元素索引
-  event.dataTransfer.setData('text/plain', index.toString());
+	event.dataTransfer.effectAllowed = 'move';
+	// 保存当前拖动的元素索引
+	event.dataTransfer.setData('text/plain', index.toString());
 };
 
 const drop = (event, index) => {
-  const draggedIndex = parseInt(event.dataTransfer.getData('text/plain'));
-  // 移动数组中的元素来更新顺序
-  const draggedItem = copiedCustomizeColumns.value.splice(draggedIndex, 1)[0];
-  copiedCustomizeColumns.value.splice(index, 0, draggedItem);
+	const draggedIndex = parseInt(event.dataTransfer.getData('text/plain'));
+	// 移动数组中的元素来更新顺序
+	const draggedItem = copiedCustomizeColumns.value.splice(draggedIndex, 1)[0];
+	copiedCustomizeColumns.value.splice(index, 0, draggedItem);
 };
 
 const globalStore = useGlobalStore();
@@ -1016,8 +1024,8 @@ const changeCleared = () => {
 	//清空所有数据
 	selectedItemIndex.value = 0
 	copiedCustomizeColumns.value = []
-	for (let i = 0; i < sensorList.value.length; i++) {
-		sensorList.value[i].isSelected = false;
+	for (let i = 0; i < elementList.value.length; i++) {
+		elementList.value[i].isSelected = false;
 	}
 }
 
@@ -1107,7 +1115,7 @@ const queryas = ref<Platform>({
 
 
 const userStore = useUserStore();
-const platformList =ref<any>(computed(() => userStore.stations))
+const platformList = ref<any>(computed(() => userStore.stations))
 const selectPlatform = ref()
 
 const getPlatforms = async () => {
@@ -1224,12 +1232,12 @@ const getList = async () => {
 	showHumidity()
 	showPressure()
 	showWindSpeed()
-	currentValue.value = dataItemInfo.value[312]  && dataItemInfo.value[312] != '--' ? dataItemInfo.value[302] : dataItemInfo.value[302]? dataItemInfo.value[302] : '--'
-	mincurrentValue.value = dataItemInfo.value[311] && dataItemInfo.value[311] != 0 && dataItemInfo.value[311] != '--' ? dataItemInfo.value[301] : dataItemInfo.value[301] && dataItemInfo.value[301] != 0 ? dataItemInfo.value[302] : '--'
+	currentValue.value = dataItemInfo.value[312] && dataItemInfo.value[312] != '--' ? dataItemInfo.value[312] : dataItemInfo.value[302] && dataItemInfo.value[302] != '--' ? dataItemInfo.value[302] : '--'
+	mincurrentValue.value = dataItemInfo.value[311] && dataItemInfo.value[311] != '--' ? dataItemInfo.value[311] : dataItemInfo.value[301] && dataItemInfo.value[301] != '--' ? dataItemInfo.value[301] : '--'
 	selectElement.value = res.data.list ? dataItemInfo.value?.data_list.filter(itemB => customizeColumns.value.some(itemA => itemA.data_id === itemB.data_id)) : [];
 	const ids = [601, 602, 603, 604, 605]
 	dangerWeather.value = res.data.list ? dataItemInfo.value.data_list
-		.filter(item => ids.includes(item.data_id) && item.data_value !== '--' && item.data_value !== ''&& item.data_value !== '0'&&getYenSymbolLaterCharacters(item.remark)!=='无明显天气现象')
+		.filter(item => ids.includes(item.data_id) && item.data_value !== '--' && item.data_value !== '' && item.data_value !== '0' && getYenSymbolLaterCharacters(item.remark) !== '无明显天气现象')
 		.map(item => item) : []
 	getHistoryList()
 };
@@ -1383,8 +1391,8 @@ const arrowStyle = computed(() => {
 	const maxTop = '0px'; // 表示100的位置
 	const scaleFactor = 180 / 40; // 缩放因子
 	// const top = `${(180 - (currentValue.value / 40) * 180)}px`; // 从底部开始计算
-	const calculatedTop = `${(180 - (Math.min(currentValue.value=='--'?0:currentValue.value, 40) / 40) * 180)}px`;
-	const top = (currentValue.value=='--'?0:currentValue.value) > 40 ? maxTop : calculatedTop;
+	const calculatedTop = `${(180 - (Math.min(currentValue.value == '--' ? 0 : currentValue.value, 40) / 40) * 180)}px`;
+	const top = (currentValue.value == '--' ? 0 : currentValue.value) > 40 ? maxTop : calculatedTop;
 	return {
 		top,
 		position: 'absolute',
@@ -1396,7 +1404,7 @@ const minarrowStyle = computed(() => {
 	// 计算箭头顶部位置,使其指向盒子内的相应位置
 	// 由于盒子高度是150px,而值域是0-100,因此需要进行缩放
 	const scaleFactor = 180 / 4; // 缩放因子
-	const top = `${(180 - (mincurrentValue.value==='--'?0:mincurrentValue.value / 4) * 180)}px`; // 从底部开始计算
+	const top = `${(180 - (mincurrentValue.value === '--' ? 0 : mincurrentValue.value / 4) * 180)}px`; // 从底部开始计算
 	return {
 		top,
 		position: 'absolute',
@@ -1922,13 +1930,19 @@ const showWind = () => {
 			type: 'line',
 			smooth: true, //这句就是让曲线变平滑的
 			symbol: function (params) {
-				if (Number(params) < 0.5) {
+				if (Number(params) < 0.3) {
 					return
 				} else {
 					return 'path://M4.866,0,0,15.193l4.866-4.449L9.738,15.2Z'
 				}
 			},
-			symbolSize: 11,
+			symbolSize: function (params) {
+				if (Number(params) < 0.3) {
+					return 5
+				} else {
+					return 11
+				}
+			},
 			//折线样式
 			lineStyle: {
 				color: '#a5cfff',
@@ -1944,6 +1958,7 @@ const showWind = () => {
 			// },
 			itemStyle: {
 				normal: {
+					
 
 				},
 			},

+ 21 - 15
src/views/analysis/featureCurves/index.vue

@@ -54,7 +54,8 @@
 							</div>
 						</div>
 					</el-col>
-					<el-col :xs="24" :sm="12" :md="8" :lg="8" v-for="(item, index) in array" :key="item.data_id">
+					<template  v-for="(item, index) in array" :key="item.data_id">
+						<el-col :xs="24" :sm="12" :md="8" :lg="8" v-if="item.data_id !==1&&item.data_id !==2">
 						<div class="chart_item zhuti">
 							<div style="font-weight: bold;" class="item_title">
 								<span>{{ item.data_name }} ( {{ item.data_unit ? item.data_unit : '' }} )</span>
@@ -64,6 +65,7 @@
 							</div>
 						</div>
 					</el-col>
+					</template>
 
 				</template>
 				<el-col :span="24" v-else>
@@ -521,8 +523,8 @@ const changeCleared = () => {
 	//清空所有数据
 	selectedItemIndex.value = 0
 	copiedCustomizeColumns.value = []
-	for (let i = 0; i < sensorList.value.length; i++) {
-		sensorList.value[i].isSelected = false;
+	for (let i = 0; i < elementList.value.length; i++) {
+		elementList.value[i].isSelected = false;
 	}
 }
 
@@ -724,12 +726,7 @@ let historyColumns = ref([
 	}
 ])
 
-// 查询自动站列表
-const queryas = ref<Platform>({
-	pageSize: 5000,
-	pageNum: 1,
-	currentpage: 1
-})
+
 
 
 const userStore = useUserStore();
@@ -882,7 +879,7 @@ const getHistoryList = async () => {
 		return formatDate(item.data_time_i, 1)
 	})
 
-
+	let arr1 = arr.map(item => { return item.data_id })
 	// 初始化一个空对象来存储归类后的数据
 	const resultMap = {};
 
@@ -905,12 +902,15 @@ const getHistoryList = async () => {
 			}
 		});
 	});
-	array.value = Object.values(resultMap);
+	let arr2 = Object.values(resultMap);
+	// 创建一个映射来存储 arr2 中的对象
+	const map = new Map(arr2.map(item => [item.data_id, item]));
+
+	// 根据 arr1 的顺序来重新排列对象
+	array.value = arr1.map(data_id => map.get(data_id));
 	nextTick(() => {
 		if (array.value.length > 0) Access();
 	});
-
-
 	if (arr.some(item => item.data_id === 1)) {
 		windLineArr.value = data.list?.map(item => {
 			return {
@@ -1025,13 +1025,19 @@ const showWind = () => {
 			type: 'line',
 			smooth: true, //这句就是让曲线变平滑的
 			symbol: function (params) {
-				if (Number(params) < 0.5) {
+				if (Number(params) < 0.3) {
 					return
 				} else {
 					return 'path://M4.866,0,0,15.193l4.866-4.449L9.738,15.2Z'
 				}
 			},
-			symbolSize: 11,
+			symbolSize: function (params) {
+				if (Number(params) < 0.3) {
+					return 5
+				} else {
+					return 11
+				}
+			},
 			//折线样式
 			lineStyle: {
 				color: '#a5cfff',

+ 96 - 86
src/views/system/stations/components/translation.vue

@@ -4,15 +4,19 @@
       <div style="flex-grow: 1;height: 66vh;overflow-y: auto;overflow-x: hidden">
         <el-row :gutter="20">
           <el-col :span="10">
-            <el-table stripe ref="tableRef" :border="true" :data="processTableData" size="small"
-              style="height: 66vh;" @selection-change="handleSelectionChange">
-              <!-- <el-table-column type="selection" width="40" align="center" /> -->
+            <el-table stripe ref="dataTable" :border="true" :data="processTableData" size="small" style="height: 66vh;"
+              @selection-change="handleSelectionChangepro">
+              <!-- <el-table-column type="selection" width="40" align="center" :reserve-selection="true" /> -->
               <template v-for="item in columns" :key="item">
                 <el-table-column v-bind="item" :align="item.align ?? 'left'"
                   :reserve-selection="item.type == 'selection'">
                   <template #default="scope">
+                    <template v-if="item.prop === 'use_able'">
+                      <div style="text-align: center;"><el-checkbox v-model="scope.row.use_able" :true-value="1"
+                          :false-value="0" disabled /></div>
+                    </template>
                     <template v-if="item.prop === 'part_type'">
-                      <div>{{ findNameByType(1,scope.row.part_type) }}</div>
+                      <div>{{ findNameByType(1, scope.row.part_type) }}</div>
                     </template>
                     <template v-if="item.prop === 'se_mode'">
                       <!-- <el-select class="no-border-select" v-model="scope.row.b" size="small">
@@ -25,7 +29,7 @@
                       <!-- <el-select class="no-border-select" v-model="scope.row.c" size="small">
                         <el-option v-for="item in options2" :key="item.value" :label="item.label" :value="item.value" />
                       </el-select> -->
-                      <div>{{ findNameByType(2,scope.row.se_type) }}</div>
+                      <div>{{ findNameByType(2, scope.row.se_type) }}</div>
                     </template>
                     <template v-if="item.prop === 'operation'">
                       <el-tooltip class="box-item" effect="dark" content="编辑" placement="top">
@@ -54,11 +58,13 @@
           <el-col :span="14">
             <div class="disposition-title" style="margin-top: 0px">其它</div>
             <div style="display: flex;align-items: center">
-              <el-checkbox disabled v-model="platformInfo.fybsjjgList[0]" true-value="1" false-value="0" label="风演变时间间隔【>m/s】" />
+              <el-checkbox disabled v-model="platformInfo.fybsjjgList[0]" true-value="1" false-value="0"
+                label="风演变时间间隔【>m/s】" />
               <el-input disabled v-model="platformInfo.fybsjjgList[1]" style="width: 80px;margin-left: 5px" />
             </div>
             <div style="display: flex;align-items: center;margin-top: 10px">
-              <el-checkbox  disabled v-model="platformInfo.mfbqytjList[0]" true-value="1" false-value="0" label="毛发表启用条件【<℃】" />
+              <el-checkbox disabled v-model="platformInfo.mfbqytjList[0]" true-value="1" false-value="0"
+                label="毛发表启用条件【<℃】" />
               <el-input disabled v-model="platformInfo.mfbqytjList[1]" style="width: 80px;margin-left: 16px" />
               <div style="margin-left: 10px">系数1</div>
               <el-input disabled v-model="platformInfo.mfsdbdxhgxsList[0]" style="width: 80px;margin-left: 5px" />
@@ -70,23 +76,28 @@
               <el-input disabled v-model="platformInfo.mfsdbdxhgxsList[3]" style="width: 80px;margin-left: 5px" />
             </div>
             <div style="display: flex;align-items: center;margin-top: 10px">
-              <el-checkbox disabled v-model="platformInfo.fxcgqzbpcList[0]" :true-value="1" :false-value="0" label="风向传感器指北偏差" />
+              <el-checkbox disabled v-model="platformInfo.fxcgqzbpcList[0]" :true-value="1" :false-value="0"
+                label="风向传感器指北偏差" />
               <el-input disabled v-model="platformInfo.fxcgqzbpcList[1]" style="width: 80px;margin-left: 38px" />
             </div>
             <el-row :gutter="20" style="margin-top: 10px">
               <el-col :span="12">
-                <el-checkbox disabled v-model="platformInfo.lbszdfxhqx" :true-value="1" :false-value="0" label="雷暴所在方向和去向" />
+                <el-checkbox disabled v-model="platformInfo.lbszdfxhqx" :true-value="1" :false-value="0"
+                  label="雷暴所在方向和去向" />
               </el-col>
               <el-col :span="12">
-                <el-checkbox disabled v-model="platformInfo.jyyszdfxhqx" :true-value="1" :false-value="0" label="积雨云所在方向和去向" />
+                <el-checkbox disabled v-model="platformInfo.jyyszdfxhqx" :true-value="1" :false-value="0"
+                  label="积雨云所在方向和去向" />
               </el-col>
             </el-row>
             <el-row :gutter="20" style="margin-top: 10px">
               <el-col :span="12">
-                <el-checkbox disabled v-model="platformInfo.ljszdfxhqx" :true-value="1||'1'" :false-value="0" label="龙卷所在方向和去向" />
+                <el-checkbox disabled v-model="platformInfo.ljszdfxhqx" :true-value="1 || '1'" :false-value="0"
+                  label="龙卷所在方向和去向" />
               </el-col>
               <el-col :span="12">
-                <el-checkbox disabled v-model="platformInfo.bdy300mdyszdfxhqx" :true-value="1" :false-value="0" label="不大于300米低云所在的方向和去向" />
+                <el-checkbox disabled v-model="platformInfo.bdy300mdyszdfxhqx" :true-value="1" :false-value="0"
+                  label="不大于300米低云所在的方向和去向" />
               </el-col>
             </el-row>
             <div class="disposition-title" style="margin-top: 20px">设置干湿表型号</div>
@@ -97,6 +108,12 @@
                 <el-table-column v-bind="item" :align="item.align ?? 'left'"
                   :reserve-selection="item.type == 'selection'">
                   <template #default="scope">
+                    <template v-if="item.prop === 'status'">
+                      <div style="text-align: center;">
+                        <!-- <el-checkbox v-model="scope.row.status" true-value="1" false-value="0" disabled /> -->
+                        <el-radio v-model="scope.row.status" disabled value="1"></el-radio>
+                      </div>
+                    </template>
                     <template v-if="item.prop === 'operation'">
                       <el-tooltip class="box-item" effect="dark" content="编辑" placement="top">
                         <el-button type="primary" link @click="handleUpdate">
@@ -138,8 +155,8 @@ import { defineProps, reactive, ref, onMounted } from "vue";
 import { ColumnProps } from "@/components/ProTable/interface";
 import { getYassensorlist, getUserList, getYallSensorList, getPlatformList, getAllpartlist } from "@/api/modules/allData";
 
-const props = defineProps(['selectData','sensorList'])
-
+const props = defineProps(['selectData', 'sensorList'])
+const dataTable = ref()
 const elements = ref<any>([])
 const pageable = ref<any>({
   asCode: props.selectData?.as_code,
@@ -147,57 +164,68 @@ const pageable = ref<any>({
   pageSize: 20,
 
 });
+const selectedRows = ref([]); // 初始默认选中的行数据
+const tableKey = ref(0); // 用于强制重新渲染表格的 key
 const getInfo = async () => {
   let { data } = await getYassensorlist(pageable.value)
   processTableData.value = data[props.selectData?.as_code]
+
+
 }
 
-const platformInfo=ref<any>({
-  fybsjjgList:['',''],
-  mfbqytjList:['',''],
-  mfsdbdxhgxsList:['',''],
-  fxcgqzbpcList:['',''],
-  lbszdfxhqx:1,
-  jyyszdfxhqx:1,
-  ljszdfxhqx:1,
-  bdy300mdyszdfxhqx:1,
-  typeList:[{
-    
+
+
+
+const platformInfo = ref<any>({
+  fybsjjgList: ['', ''],
+  mfbqytjList: ['', ''],
+  mfsdbdxhgxsList: ['', ''],
+  fxcgqzbpcList: ['', ''],
+  lbszdfxhqx: 1,
+  jyyszdfxhqx: 1,
+  ljszdfxhqx: 1,
+  bdy300mdyszdfxhqx: 1,
+  typeList: [{
+
   }]
 })
 const getPlatformListInfo = async () => {
   let { data } = await getPlatformList({ pageNum: 1, pageSize: 20, asCode: props.selectData?.as_code })
-  const dataInfo = data?.list?data.list[0]:{}
-  platformInfo.value={
-    fybsjjgList:dataInfo?.fybsjjg?.split('|'),
-    mfbqytjList:dataInfo?.mfbqytj?.split('|'),
-    mfsdbdxhgxsList:dataInfo?.mfsdbdxhgxs?.split('|'),
-    fxcgqzbpcList:[dataInfo?.fxcgqzbpc?1:0,dataInfo?.fxcgqzbpc],
-    lbszdfxhqx:dataInfo?.lbszdfxhqx,
-    jyyszdfxhqx:dataInfo?.jyyszdfxhqx,
-    ljszdfxhqx:dataInfo?.ljszdfxhqx,
-    bdy300mdyszdfxhqx:dataInfo?.bdy300mdyszdfxhqx,
-    typeList:[{
-      name:'球状干湿表(自然通风速度)',
-      nofrozen:dataInfo?.qzgsb_zrtfsd?.split('|')[1],
-
-      frozen:dataInfo?.qzgsb_zrtfsd?.split('|')[2],
-    },{
-      name:'通风干湿表(通风速度0.8m/s)',
-      nofrozen:dataInfo?.tfgsb_0_8?.split('|')[1],
-      frozen:dataInfo?.tfgsb_0_8?.split('|')[2],
-    },{
-      name:'通风干湿表(通风速度0.5m/s)',
-      nofrozen:dataInfo?.tfgsb_0_5?.split('|')[1],
-      frozen:dataInfo?.tfgsb_0_5?.split('|')[2],
-    },{
-      name:'球状干湿表(自然通风)*',
-      nofrozen:dataInfo?.qzgsb_zrtf?.split('|')[1],
-      frozen:dataInfo?.qzgsb_zrtf?.split('|')[2],
-    },{
-      name:'柱状干湿表(自然通风)*',
-      nofrozen:dataInfo?.zzgsb_zrtf?.split('|')[1],
-      frozen:dataInfo?.zzgsb_zrtf?.split('|')[2],
+  const dataInfo = data?.list ? data.list[0] : {}
+  platformInfo.value = {
+    fybsjjgList: dataInfo?.fybsjjg?.split('|'),
+    mfbqytjList: dataInfo?.mfbqytj?.split('|'),
+    mfsdbdxhgxsList: dataInfo?.mfsdbdxhgxs?.split('|'),
+    fxcgqzbpcList: [dataInfo?.fxcgqzbpc ? 1 : 0, dataInfo?.fxcgqzbpc],
+    lbszdfxhqx: dataInfo?.lbszdfxhqx,
+    jyyszdfxhqx: dataInfo?.jyyszdfxhqx,
+    ljszdfxhqx: dataInfo?.ljszdfxhqx,
+    bdy300mdyszdfxhqx: dataInfo?.bdy300mdyszdfxhqx,
+    typeList: [{
+      name: '球状干湿表(自然通风速度)',
+      status: dataInfo?.qzgsb_zrtfsd?.split('|')[0],
+      nofrozen: dataInfo?.qzgsb_zrtfsd?.split('|')[1],
+      frozen: dataInfo?.qzgsb_zrtfsd?.split('|')[2],
+    }, {
+      name: '通风干湿表(通风速度0.8m/s)',
+      status: dataInfo?.tfgsb_0_8?.split('|')[0],
+      nofrozen: dataInfo?.tfgsb_0_8?.split('|')[1],
+      frozen: dataInfo?.tfgsb_0_8?.split('|')[2],
+    }, {
+      name: '通风干湿表(通风速度0.5m/s)',
+      status: dataInfo?.tfgsb_0_5?.split('|')[0],
+      nofrozen: dataInfo?.tfgsb_0_5?.split('|')[1],
+      frozen: dataInfo?.tfgsb_0_5?.split('|')[2],
+    }, {
+      name: '球状干湿表(自然通风)*',
+      status: dataInfo?.qzgsb_zrtf?.split('|')[0],
+      nofrozen: dataInfo?.qzgsb_zrtf?.split('|')[1],
+      frozen: dataInfo?.qzgsb_zrtf?.split('|')[2],
+    }, {
+      name: '柱状干湿表(自然通风)*',
+      status: dataInfo?.zzgsb_zrtf?.split('|')[0],
+      nofrozen: dataInfo?.zzgsb_zrtf?.split('|')[1],
+      frozen: dataInfo?.zzgsb_zrtf?.split('|')[2],
     }]
   }
 }
@@ -228,6 +256,11 @@ const formInline = ref<any>({
   conditionSelected: false,
   condition: ''
 })
+
+const multipleSelectionpro = ref<[]>([])
+const handleSelectionChangepro = (val: []) => {
+  multipleSelectionpro.value = val
+}
 const multipleSelection = ref<[]>([])
 const handleSelectionChange = (val: []) => {
   multipleSelection.value = val
@@ -243,56 +276,33 @@ function findNameByType(check, type) {
     return foundObject ? foundObject.se_name : '参数错误'; // 如果找到了对象,返回其name属性,否则返回null
   }
 }
-const processTableData = ref([]);
+const processTableData = ref<any>([]);
 
 // 表格配置项
 const columns = reactive<ColumnProps[]>([
+  { prop: "use_able", label: "", width: 40 },
+
   { prop: "part_type", label: "项目", width: 200 },
   { prop: "se_mode", label: "观测模式", width: 150 },
   { prop: "se_type", label: "传感器名称" }
 ]);
 
-// const processTableData2 = ref([
-//   {
-//     a: "球状干湿表(自然通风速度)",
-//     b: "0.7947",
-//     c: "0.79765"
-//   },
-//   {
-//     a: "通风干湿表(通风速度0.8m/s)",
-//     b: "0.7947",
-//     c: "0.79765"
-//   },
-//   {
-//     a: "通风干湿表(通风速度0.5m/s)",
-//     b: "0.7947",
-//     c: "0.79765"
-//   },
-//   {
-//     a: "球状干湿表(自然通风)*",
-//     b: "0.7947",
-//     c: "0.79765"
-//   },
-//   {
-//     a: "柱状干湿表(自然通风)*",
-//     b: "0.7947",
-//     c: "0.79765"
-//   }
-// ]);
-
 // 表格配置项
 const columns2 = reactive<ColumnProps[]>([
+  { prop: "status", label: "", width: 40 },
+
   { prop: "name", label: "干湿表型号" },
   { prop: "nofrozen", label: "未结冰", width: 200 },
   { prop: "frozen", label: "结冰", width: 200 }
 ]);
 
-
 onMounted(() => {
   getAllPart()
   // getSensorList()
   getInfo()
   getPlatformListInfo()
+
+
 });
 </script>