当前提交
						07f1c70142
					
				
					共有  4 个文件被更改,包括 10 次插入 和 10 次删除
				
			
		|  | @ -46,7 +46,7 @@ | ||||||
|                     echo '<td id ="modcount'.$station->station_id.'">' . $station->modcount . '</td>'; |                     echo '<td id ="modcount'.$station->station_id.'">' . $station->modcount . '</td>'; | ||||||
|                     echo '<td id ="notcount'.$station->station_id.'">' . $station->notcount . '</td>'; |                     echo '<td id ="notcount'.$station->station_id.'">' . $station->notcount . '</td>'; | ||||||
|                     echo '<td id ="totcount'.$station->station_id.'">' . $station->totcount . '</td>'; |                     echo '<td id ="totcount'.$station->station_id.'">' . $station->totcount . '</td>'; | ||||||
|                     echo '<td><button id="HrdlogUpload" type="button" name="HrdlogUpload" class="btn btn-primary btn-sm ld-ext-right" onclick="ExportHrd('. $station->station_id .')"><i class="fas fa-cloud-upload-alt"></i> Upload<div class="ld ld-ring ld-spin"></div></button></td>'; |                     echo '<td><button id="HrdlogUpload" type="button" name="HrdlogUpload" class="btn btn-primary btn-sm ld-ext-right ld-ext-right-'.$station->station_id.'" onclick="ExportHrd('. $station->station_id .')"><i class="fas fa-cloud-upload-alt"></i> Upload<div class="ld ld-ring ld-spin"></div></button></td>'; | ||||||
|                     echo '</tr>'; |                     echo '</tr>'; | ||||||
|                 } |                 } | ||||||
|                 echo '</tfoot></table>'; |                 echo '</tfoot></table>'; | ||||||
|  |  | ||||||
|  | @ -52,7 +52,7 @@ | ||||||
|                            echo '<td>' . $station->station_callsign . '</td>'; |                            echo '<td>' . $station->station_callsign . '</td>'; | ||||||
|                            echo '<td id ="notcount'.$station->station_id.'">' . $station->notcount . '</td>'; |                            echo '<td id ="notcount'.$station->station_id.'">' . $station->notcount . '</td>'; | ||||||
|                            echo '<td id ="totcount'.$station->station_id.'">' . $station->totcount . '</td>'; |                            echo '<td id ="totcount'.$station->station_id.'">' . $station->totcount . '</td>'; | ||||||
|                            echo '<td><button id="webadifUpload" type="button" name="webadifUpload" class="btn btn-primary btn-sm ld-ext-right" onclick="ExportWebADIF('. $station->station_id .')"><i class="fas fa-cloud-upload-alt"></i> Upload<div class="ld ld-ring ld-spin"></div></button></td>'; |                            echo '<td><button id="webadifUpload" type="button" name="webadifUpload" class="btn btn-primary btn-sm ld-ext-right ld-ext-right-'.$station->station_id.'" onclick="ExportWebADIF('. $station->station_id .')"><i class="fas fa-cloud-upload-alt"></i> Upload<div class="ld ld-ring ld-spin"></div></button></td>'; | ||||||
|                        echo '</tr>'; |                        echo '</tr>'; | ||||||
|                    } |                    } | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|  | @ -17,16 +17,16 @@ function ExportHrd(station_id) { | ||||||
| 	if ($(".errormessages").length > 0) { | 	if ($(".errormessages").length > 0) { | ||||||
| 		$(".errormessages").remove(); | 		$(".errormessages").remove(); | ||||||
| 	} | 	} | ||||||
| 	$(".ld-ext-right").addClass('running'); | 	$(".ld-ext-right-"+station_id).addClass('running'); | ||||||
| 	$(".ld-ext-right").prop('disabled', true); | 	$(".ld-ext-right-"+station_id).prop('disabled', true); | ||||||
| 
 | 
 | ||||||
| 	$.ajax({ | 	$.ajax({ | ||||||
| 		url: base_url + 'index.php/hrdlog/upload_station', | 		url: base_url + 'index.php/hrdlog/upload_station', | ||||||
| 		type: 'post', | 		type: 'post', | ||||||
| 		data: {'station_id': station_id}, | 		data: {'station_id': station_id}, | ||||||
| 		success: function (data) { | 		success: function (data) { | ||||||
| 			$(".ld-ext-right").removeClass('running'); | 			$(".ld-ext-right-"+station_id).removeClass('running'); | ||||||
| 			$(".ld-ext-right").prop('disabled', false); | 			$(".ld-ext-right-"+station_id).prop('disabled', false); | ||||||
| 			if (data.status == 'OK') { | 			if (data.status == 'OK') { | ||||||
| 				$.each(data.info, function(index, value){ | 				$.each(data.info, function(index, value){ | ||||||
| 					$('#modcount'+value.station_id).html(value.modcount); | 					$('#modcount'+value.station_id).html(value.modcount); | ||||||
|  |  | ||||||
|  | @ -29,16 +29,16 @@ function ExportWebADIF(station_id) { | ||||||
| 	if ($(".errormessages").length > 0) { | 	if ($(".errormessages").length > 0) { | ||||||
| 		$(".errormessages").remove(); | 		$(".errormessages").remove(); | ||||||
| 	} | 	} | ||||||
| 	$(".ld-ext-right").addClass('running'); | 	$(".ld-ext-right-"+station_id).addClass('running'); | ||||||
| 	$(".ld-ext-right").prop('disabled', true); | 	$(".ld-ext-right-"+station_id).prop('disabled', true); | ||||||
| 
 | 
 | ||||||
| 	$.ajax({ | 	$.ajax({ | ||||||
| 		url: base_url + 'index.php/webadif/upload_station', | 		url: base_url + 'index.php/webadif/upload_station', | ||||||
| 		type: 'post', | 		type: 'post', | ||||||
| 		data: {'station_id': station_id}, | 		data: {'station_id': station_id}, | ||||||
| 		success: function (data) { | 		success: function (data) { | ||||||
| 			$(".ld-ext-right").removeClass('running'); | 			$(".ld-ext-right-"+station_id).removeClass('running'); | ||||||
| 			$(".ld-ext-right").prop('disabled', false); | 			$(".ld-ext-right-"+station_id).prop('disabled', false); | ||||||
| 			if (data.status == 'OK') { | 			if (data.status == 'OK') { | ||||||
| 				$.each(data.info, function(index, value){ | 				$.each(data.info, function(index, value){ | ||||||
| 					$('#notcount'+value.station_id).html(value.notcount); | 					$('#notcount'+value.station_id).html(value.notcount); | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用