|  | @@ -3,6 +3,7 @@ import {maZuiFangShi} from "@/api/public-api";
 | 
	
		
			
				|  |  |  import store from '@/store';
 | 
	
		
			
				|  |  |  import {listIsBlank, stringIsBlank} from "@/utils/blank-utils";
 | 
	
		
			
				|  |  |  import {getFundPayType, getMedChrgitmType} from "@/api/medical-insurance/si-setl-upload";
 | 
	
		
			
				|  |  | +import {getFormatDatetime} from "@/utils/date";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const getRoles = store.state.user.info.roles
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -154,12 +155,16 @@ export function getDateName(val) {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  // 手术时间拆分
 | 
	
		
			
				|  |  |  export function getShouShuShiJian(val) {
 | 
	
		
			
				|  |  | -    if (stringIsBlank(val)) {
 | 
	
		
			
				|  |  | -        return ""
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | -    let date = val.split(" ")[0].split("-")
 | 
	
		
			
				|  |  | -    let times = val.split(" ")[1].split(":")
 | 
	
		
			
				|  |  | -    return `${date[0]}年${date[1]}月${date[2]}日 ${times[0]}时${times[1]}分${times[2]}秒`
 | 
	
		
			
				|  |  | +    let {oprnOprtBegntime, oprnOprtEndtime} = val
 | 
	
		
			
				|  |  | +    let format = 'YYYY年MM月DD日 HH时mm分ss秒'
 | 
	
		
			
				|  |  | +    return `${getFormatDatetime(oprnOprtBegntime, format)} 至 ${getFormatDatetime(oprnOprtEndtime, format)}`
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +// 麻醉时间
 | 
	
		
			
				|  |  | +export function getMaZuiShiJian(val) {
 | 
	
		
			
				|  |  | +    let {anstBegntime, anstEndtime} = val
 | 
	
		
			
				|  |  | +    let format = 'YYYY年MM月DD日 HH时mm分ss秒'
 | 
	
		
			
				|  |  | +    return `${getFormatDatetime(anstBegntime, format)} 至 ${getFormatDatetime(anstEndtime, format)}`
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  // 颅内时间拆分
 |