Merge branch 'develop' of github.com:Frappet/bma-ehr-frontend into develop
This commit is contained in:
commit
4c85c5bc8c
7 changed files with 11 additions and 11 deletions
|
|
@ -68,7 +68,7 @@ async function addAvatarToData(item: any) {
|
|||
}
|
||||
|
||||
/**
|
||||
* fetch รูปโปรไฟล์ return ลิงค์ download ไฟล์
|
||||
* fetch รูปโปรไฟล์ return ลิงก์ download ไฟล์
|
||||
* @param path ไฟล์รูป
|
||||
*/
|
||||
async function fetchProfile(path: string) {
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ function clickUpload(file: any) {
|
|||
}
|
||||
|
||||
/**
|
||||
* ดาวน์โหลดลิงค์ไฟล์
|
||||
* ดาวน์โหลดลิงก์ไฟล์
|
||||
* @param fileName file name
|
||||
*/
|
||||
function downloadFile(fileName: string) {
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ function uploadFileDoc(uploadUrl: string, file: any) {
|
|||
}
|
||||
|
||||
/**
|
||||
* ดาวน์โหลดลิงค์ไฟล์
|
||||
* ดาวน์โหลดลิงก์ไฟล์
|
||||
* @param fileName file name
|
||||
*/
|
||||
function downloadFile(fileName: string) {
|
||||
|
|
|
|||
|
|
@ -365,16 +365,16 @@ function uploadFile() {
|
|||
}
|
||||
|
||||
/**
|
||||
* เปิดลิงค์ไฟล์
|
||||
* @param link รับมาเป็น https ลิงค์
|
||||
* เปิดลิงก์ไฟล์
|
||||
* @param link รับมาเป็น https ลิงก์
|
||||
*/
|
||||
function downloadFile(link: string) {
|
||||
window.open(link, "_blank");
|
||||
}
|
||||
|
||||
/**
|
||||
* เปิดลิงค์ไฟล์
|
||||
* @param link รับมาเป็น https ลิงค์
|
||||
* เปิดลิงก์ไฟล์
|
||||
* @param link รับมาเป็น https ลิงก์
|
||||
*/
|
||||
function downloadFileRelevant(link: string) {
|
||||
window.open(link, "_blank");
|
||||
|
|
|
|||
|
|
@ -125,8 +125,8 @@ async function removeFile(id: string) {
|
|||
}
|
||||
|
||||
/**
|
||||
* เปิดลิงค์ไฟล์
|
||||
* @param link รับมาเป็น https ลิงค์
|
||||
* เปิดลิงก์ไฟล์
|
||||
* @param link รับมาเป็น https ลิงก์
|
||||
*/
|
||||
function downloadFile(link: string) {
|
||||
window.open(link, "_blank");
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ function fetchDataFileDownload(pathName: string) {
|
|||
}
|
||||
|
||||
/**
|
||||
* function สร้างลิงค์อัปโหลดไฟล์เอกสารหลักฐาน
|
||||
* function สร้างลิงก์อัปโหลดไฟล์เอกสารหลักฐาน
|
||||
*/
|
||||
function uploadFile() {
|
||||
if (file) {
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ async function clickUpload(file: any) {
|
|||
);
|
||||
}
|
||||
/**
|
||||
* ดาวน์โหลดลิงค์ไฟล์
|
||||
* ดาวน์โหลดลิงก์ไฟล์
|
||||
* @param fileName file name
|
||||
*/
|
||||
function downloadFile(fileName: string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue