瀏覽代碼

no message

master
MSI\User 1 年之前
父節點
當前提交
43060d4c3c
共有 3 個檔案被更改,包括 11 行新增2 行删除
  1. +1
    -1
      src/pages/PublicNotice/Details_GLD/ClientDetailCard.js
  2. +9
    -0
      src/pages/User/DetailsPage_Organization/UserInformationCard_Organization.js
  3. +1
    -1
      src/pages/authentication/auth-forms/CustomFormWizard.js

+ 1
- 1
src/pages/PublicNotice/Details_GLD/ClientDetailCard.js 查看文件

@@ -73,7 +73,7 @@ const ClientDetailCard = (
window.open('/indUser/'+ currentApplicationDetailData.id, "_blank", "noreferrer"); window.open('/indUser/'+ currentApplicationDetailData.id, "_blank", "noreferrer");
window.addEventListener("focus", onFocus) window.addEventListener("focus", onFocus)
}; };
const onFocus = () => { const onFocus = () => {
window.removeEventListener("focus", onFocus) window.removeEventListener("focus", onFocus)
location.reload(); location.reload();


+ 9
- 0
src/pages/User/DetailsPage_Organization/UserInformationCard_Organization.js 查看文件

@@ -307,9 +307,13 @@ const UserInformationCard_Organization = ({ userData, loadDataFun, orgData }) =>
); );
return displayOptions; return displayOptions;
}, },
<<<<<<< Updated upstream
getOptionLabel: (item) => item ? typeof item === 'number' ? item + "" : (item["brNo"] ? getOptionLabel: (item) => item ? typeof item === 'number' ? item + "" : (item["brNo"] ?
<div>BR No.: {item["brNo"]}<div>Org. Name(Eng): {item["enCompanyName"] === null ? "N/A" : item["enCompanyName"]}</div><div>Org. Name(CH): {item["chCompanyName"] === null ? "N/A" : item["chCompanyName"]}</div></div>: "") <div>BR No.: {item["brNo"]}<div>Org. Name(Eng): {item["enCompanyName"] === null ? "N/A" : item["enCompanyName"]}</div><div>Org. Name(CH): {item["chCompanyName"] === null ? "N/A" : item["chCompanyName"]}</div></div>: "")
: "", : "",
=======
getOptionLabel: (item) => item ? typeof item === 'number' ? item + "" : (item["brNo"] ? `BR No: ${item["brNo"]} \n Org Name: ${item["enCompanyName"]} BR Expiry Date: ${item["brExpiryDate"]}`: "") : "",
>>>>>>> Stashed changes
isOptionEqualToValue: (option, newValue, setValue, setInputValue) => { isOptionEqualToValue: (option, newValue, setValue, setInputValue) => {
if (option.id == newValue || option.id == newValue.id) { if (option.id == newValue || option.id == newValue.id) {
setValue(option); setValue(option);
@@ -319,7 +323,12 @@ const UserInformationCard_Organization = ({ userData, loadDataFun, orgData }) =>
return option == newValue || option.id == newValue.id; return option == newValue || option.id == newValue.id;
}, },
onInputChange: (event, newValue, setInputValue) => { onInputChange: (event, newValue, setInputValue) => {
<<<<<<< Updated upstream
if (newValue !== "[object Object]" ) { if (newValue !== "[object Object]" ) {
=======
console.log(newValue)
if (newValue != null) {
>>>>>>> Stashed changes
setInputValue(newValue); setInputValue(newValue);
} }
}, },


+ 1
- 1
src/pages/authentication/auth-forms/CustomFormWizard.js 查看文件

@@ -62,7 +62,7 @@ const CustomFormWizard = (props) => {
const [checkUpload, setCheckUpload] = useState(false); const [checkUpload, setCheckUpload] = useState(false);
const [isLoading, setLoding] = useState(true); const [isLoading, setLoding] = useState(true);
const [updateRows, setUpdateRows] = useState([]); const [updateRows, setUpdateRows] = useState([]);
const [userNameList, setUserNameList] = useState();
const [userNameList, setUserNameList] = useState([]);


const [captcha, setCaptcha] = useState([]); const [captcha, setCaptcha] = useState([]);
const [captchaImg, setCaptchaImage] = useState([]); const [captchaImg, setCaptchaImage] = useState([]);


Loading…
取消
儲存