動作
Feature #139
已結束
SC
SC
export to excel file
Feature #139:
export to excel file
概述
filename: patient_id+"_"+cpcr_id
SC 是由 Sashiba Chou 於 將近 2 年 前更新
SC 是由 Sashiba Chou 於 將近 2 年 前更新
export to excel file, with filename="patient_serial_number"+"_"+"cpcr_id", which "cpcr_id" was given value at the very begining with current timestamp
make some changes as below to specify filename:
//return (uri + base64(format(excelFile, ctx)));
var link = document.createElement("A");
link.href = (uri + base64(format(excelFile, ctx)));
link.download = $settings.fileName || '無病歷號.xls';
link.target = '_blank';
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
動作