|  | @ -125,8 +125,8 @@ export default { | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     async saveTableData(name) { |  |  |     async saveTableData(name) { | 
		
	
		
			
				|  |  |       const date = this.$moment().format('YYYY-MM-DD HH:mm:ss') |  |  |       const date = this.$moment().format('YYYY-MM-DD HH:mm:ss') | 
		
	
		
			
				|  |  |       const isToday = this.formList.some(item => item.createTime.includes(date.split(' ')[0])) |  |  |  | 
		
	
		
			
				|  |  |       if (name === '门急诊电子病历' && isToday) { |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       const isToday = this.formList.some(item => item.createTime.includes(date.split(' ')[0]) && item.name === '门急诊电子病历') | 
		
	
		
			
				|  |  |  |  |  |       if (isToday) { | 
		
	
		
			
				|  |  |         this.$message({ |  |  |         this.$message({ | 
		
	
		
			
				|  |  |           message: '已有今日病例,请勿重复添加!', |  |  |           message: '已有今日病例,请勿重复添加!', | 
		
	
		
			
				|  |  |           type: 'warning' |  |  |           type: 'warning' | 
		
	
	
		
			
				|  | 
 |