| @@ -4,6 +4,7 @@ const APPR = {color:"#22a13f", eng:"Success", cht:"成功"} | |||||
| const REJT = {color:"#d9372b", eng:"Reject", cht:"拒絕"} | const REJT = {color:"#d9372b", eng:"Reject", cht:"拒絕"} | ||||
| const CANC = {color:"#8a8784", eng:"Cancelled", cht:"取消"} | const CANC = {color:"#8a8784", eng:"Cancelled", cht:"取消"} | ||||
| const INPR = {color:"#f5a83d", eng:"In Progress", cht:"進行中"} | const INPR = {color:"#f5a83d", eng:"In Progress", cht:"進行中"} | ||||
| const DUPA = {color:"#8a8784", eng:"", cht:""} | |||||
| export function getStatus_Cht(params) { | export function getStatus_Cht(params) { | ||||
| let status = getStatus(params); | let status = getStatus(params); | ||||
| @@ -23,8 +24,9 @@ function getStatus(params) { | |||||
| if(status == "INPR") return INPR; | if(status == "INPR") return INPR; | ||||
| if(status == "PSTO") return CANC; | if(status == "PSTO") return CANC; | ||||
| if(status == "NOTF") return CANC; | if(status == "NOTF") return CANC; | ||||
| if(status == "PSER") return REJT; | |||||
| if(status == "FIER") return REJT; | |||||
| if(status == "PSER") return INPR; | |||||
| if(status == "FIER") return INPR; | |||||
| if(status == "DUPA") return DUPA; | |||||
| return INPR; | return INPR; | ||||
| } | } | ||||