From ad35c2cf4c2ec9618e0c9e9a2adcb4f5996ac976 Mon Sep 17 00:00:00 2001 From: xiepeng Date: Thu, 23 May 2024 10:39:58 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BC=98=E5=8C=96=20=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=B8=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../enterprise_management/user_practitioner/edit.vue | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/views/enterprise_management/user_practitioner/edit.vue b/src/views/enterprise_management/user_practitioner/edit.vue index 3dc01fb..198a93f 100644 --- a/src/views/enterprise_management/user_practitioner/edit.vue +++ b/src/views/enterprise_management/user_practitioner/edit.vue @@ -950,7 +950,6 @@ const fnGetData = async () => { if (!USER_ID) return; const resData = await getPractitionerForEdit({ USER_ID }); const form = resData.pd; - console.log(resData); form.PASSWORD = "Aa@123456"; form.periodStr = resData.periodStr; form.ISSTUDENT = resData.pd.ISSTUDENT.toString(); @@ -1012,13 +1011,12 @@ const fnGetData = async () => { } }); data.form = { ...data.form, ...form }; - if(!data.form.DUTIES_NAME || !data.form.DUTIES_NAME === '') { - data.form.DUTIES = ''; + if (!data.form.DUTIES_NAME || !data.form.DUTIES_NAME === "") { + data.form.DUTIES = ""; } - if(!data.form.TITLE_NAME || !data.form.TITLE_NAME === '') { - data.form.TITLE = ''; + if (!data.form.TITLE_NAME || !data.form.TITLE_NAME === "") { + data.form.TITLE = ""; } - console.log(data.form); }; fnGetData(); const fnGetUserRole = async () => { @@ -1058,7 +1056,6 @@ const fnChangeSchedulingTwo = () => { const fnGetUserCurrentShiftList = async (SHIFTWORKRULES_ID) => { const resData = await getUserCurrentShiftList({ SHIFTWORKRULES_ID }); data.periodList = resData.varList; - console.log(data.periodList); }; const fnChangePeriod = (event) => { for (let i = 0; i < data.periodList.length; i++) {