|  | @@ -221,6 +221,8 @@ import zhCn from 'element-plus/es/locale/lang/zh-cn'
 | 
	
		
			
				|  |  |  import icon from "@/assets/img/icon.png";
 | 
	
		
			
				|  |  |  import { timestampToTime } from '@/js/lindex.js'
 | 
	
		
			
				|  |  |  import { vtkmodel } from "@/control/vtkModel.js";
 | 
	
		
			
				|  |  | +import emitter from "@/utils/emitter";
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  let sendialogVisible = ref(false);
 | 
	
		
			
				|  |  |  let currentrow=ref(true);
 | 
	
		
			
				|  |  |  let addVisible = ref(false);
 | 
	
	
		
			
				|  | @@ -341,9 +343,13 @@ const fundeledata=()=>{
 | 
	
		
			
				|  |  |                  message: '删除监测点成功'
 | 
	
		
			
				|  |  |              })
 | 
	
		
			
				|  |  |              getsensor();
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            // 更新vtk模型
 | 
	
		
			
				|  |  | +            emitter.emit("RefreshVtkmodel")
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |          .catch((err) => {
 | 
	
		
			
				|  |  |              message.error(err.returnMsg)
 | 
	
		
			
				|  |  | +            console.error('报错',err)
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -401,12 +407,15 @@ const addEditaip=()=>{
 | 
	
		
			
				|  |  |              tableData.value = res.rows;
 | 
	
		
			
				|  |  |              getsensor();
 | 
	
		
			
				|  |  |              clearvtk();
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            // 更新vtk模型
 | 
	
		
			
				|  |  | +            emitter.emit("RefreshVtkmodel")
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |          .catch((err) => {
 | 
	
		
			
				|  |  | -            const regex = /字段\d*/g;
 | 
	
		
			
				|  |  | -        let Msg=err.returnMsg.replace(regex, '');
 | 
	
		
			
				|  |  | -         message.error(Msg)
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +        //     const regex = /字段\d*/g;
 | 
	
		
			
				|  |  | +        // let Msg=err.returnMsg.replace(regex, '');
 | 
	
		
			
				|  |  | +        //  message.error(Msg)
 | 
	
		
			
				|  |  | +          console.error('报错',err)
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  }
 | 
	
	
		
			
				|  | @@ -497,7 +506,7 @@ const projectsSelectionSelect=(selection, row)=>{
 | 
	
		
			
				|  |  |        vtkmodel.clearJgAddMode();
 | 
	
		
			
				|  |  |      //选中指定管道
 | 
	
		
			
				|  |  |      vtkmodel.selectByPipeId(multipleSelection.value[0].id);
 | 
	
		
			
				|  |  | -    vtkmodel.addpipjc(multipleSelection.value[0].id, 0.0);
 | 
	
		
			
				|  |  | +    vtkmodel.addpipjc(multipleSelection.value[0].id,source.value.site || 0.0);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |         }else{
 | 
	
		
			
				|  |  |          // selectstr.value='';
 |