|  | @@ -1,7 +1,7 @@
 | 
	
		
			
				|  |  |  <template>
 | 
	
		
			
				|  |  |    <div class="dialogModal" id="detailModal">
 | 
	
		
			
				|  |  |      <div class="modal-top">
 | 
	
		
			
				|  |  | -      <i>
 | 
	
		
			
				|  |  | +      <i @click="redictTo">
 | 
	
		
			
				|  |  |          <SvgIcon class="icon" size="14" name="inner-kd" />
 | 
	
		
			
				|  |  |        </i>
 | 
	
		
			
				|  |  |        <span class="modal-title"> {{ title }}</span>
 | 
	
	
		
			
				|  | @@ -79,6 +79,7 @@
 | 
	
		
			
				|  |  |  <script lang="ts" setup>
 | 
	
		
			
				|  |  |    import { ref, reactive, defineProps, watch, inject } from 'vue';
 | 
	
		
			
				|  |  |    import { SvgIcon } from '/@/components/Icon';
 | 
	
		
			
				|  |  | +  import { useSSO } from '/@/hooks/vent/useSSO';
 | 
	
		
			
				|  |  |    import { getAssetURL } from '/@/utils/ui';
 | 
	
		
			
				|  |  |    const globalConfig = inject('globalConfig');
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -95,6 +96,7 @@
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |    });
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +  const { open } = useSSO();
 | 
	
		
			
				|  |  |    // let modalTitle = ref('布尔台矿');
 | 
	
		
			
				|  |  |    // let modalTitle = ref('yjl');
 | 
	
		
			
				|  |  |    let modalCard = reactive([
 | 
	
	
		
			
				|  | @@ -197,6 +199,13 @@
 | 
	
		
			
				|  |  |        deep: true,
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    );
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  // 重新向到新的页面,业务上讲是公司端跳转矿端
 | 
	
		
			
				|  |  | +  function redictTo() {
 | 
	
		
			
				|  |  | +    if (!props.centerDetail.ip) return;
 | 
	
		
			
				|  |  | +    const url = `http://${props.centerDetail.ip}:8092/login`;
 | 
	
		
			
				|  |  | +    open(url);
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  <style lang="less" scoped>
 | 
	
		
			
				|  |  |    @font-face {
 | 
	
	
		
			
				|  | @@ -221,6 +230,9 @@
 | 
	
		
			
				|  |  |        line-height: 30px;
 | 
	
		
			
				|  |  |        width: 90%;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +      .icon {
 | 
	
		
			
				|  |  | +        cursor: pointer;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |        .modal-title {
 | 
	
		
			
				|  |  |          font-size: 14px;
 | 
	
		
			
				|  |  |          font-family: 'douyuFont';
 |