|  | @@ -1319,8 +1319,7 @@
 | 
	
		
			
				|  |  |                    </div>
 | 
	
		
			
				|  |  |                  </div>
 | 
	
		
			
				|  |  |                  <div class="main_model" v-show='flowshow'>
 | 
	
		
			
				|  |  | -                  <vuefindex ref="vuefval" :Xfiol="dialog.Xfiol" :jboptimizer="dialog.jboptimizer"
 | 
	
		
			
				|  |  | -                    :optimizer="dialog.optimizer" @optimizerfalse="optimizerfalse($event)"></vuefindex>
 | 
	
		
			
				|  |  | +                  <vuefindex ref="vuefval" @optimizerfalse="optimizerfalse($event)"></vuefindex>
 | 
	
		
			
				|  |  |                  </div>
 | 
	
		
			
				|  |  |                  <div class="maxh221">
 | 
	
		
			
				|  |  |                    <!-- 中间部分 -->
 | 
	
	
		
			
				|  | @@ -2243,6 +2242,7 @@ const handleClick = (tab, event) => {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    tabactive.value = tab.props.name;
 | 
	
		
			
				|  |  |    if (tabactive.value == 'User') {
 | 
	
		
			
				|  |  | +    // vuefval.value.logToObject1();
 | 
	
		
			
				|  |  |      router.replace({ path: '/' })
 | 
	
		
			
				|  |  |    } else {
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -2979,9 +2979,11 @@ const curveLine2 = () => {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    request(params)
 | 
	
		
			
				|  |  |      .then((res) => {
 | 
	
		
			
				|  |  | -      curvedata.value = JSON.stringify(res.rows);
 | 
	
		
			
				|  |  | -      // console.log(curvedata.value);
 | 
	
		
			
				|  |  | -      processMonitor1ref.value.getshuju(curvedata.value);
 | 
	
		
			
				|  |  | +      if (res.rows && res.rows.length > 0) {
 | 
	
		
			
				|  |  | +        curvedata.value = JSON.stringify(res.rows);
 | 
	
		
			
				|  |  | +        // console.log(curvedata.value);
 | 
	
		
			
				|  |  | +        processMonitor1ref.value.getshuju(curvedata.value);
 | 
	
		
			
				|  |  | +      } 
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      .catch((err) => {
 | 
	
		
			
				|  |  |        ElMessage.error(err.returnMsg)
 | 
	
	
		
			
				|  | @@ -2995,12 +2997,16 @@ const curveLine3 = () => {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |    request(params)
 | 
	
		
			
				|  |  |      .then((res) => {
 | 
	
		
			
				|  |  | -      curvedata.value = JSON.stringify(res.rows);
 | 
	
		
			
				|  |  | -      // console.log(curvedata.value);
 | 
	
		
			
				|  |  | -      processMonitor2ref.value.getshuju(curvedata.value);
 | 
	
		
			
				|  |  | +      // 检查返回的数据是否为空
 | 
	
		
			
				|  |  | +      if (res.rows && res.rows.length > 0) {
 | 
	
		
			
				|  |  | +        curvedata.value = JSON.stringify(res.rows);
 | 
	
		
			
				|  |  | +        // console.log(curvedata.value);
 | 
	
		
			
				|  |  | +        processMonitor2ref.value.getshuju(curvedata.value);
 | 
	
		
			
				|  |  | +      } 
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |      .catch((err) => {
 | 
	
		
			
				|  |  | -      ElMessage.error(err.returnMsg)
 | 
	
		
			
				|  |  | +      // 错误处理
 | 
	
		
			
				|  |  | +      ElMessage.error(err.returnMsg);
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 |