forked from integrated_whb/integrated_whb_vue
BUG优化 人员类型不显示
parent
49038e5d1e
commit
ad35c2cf4c
|
@ -950,7 +950,6 @@ const fnGetData = async () => {
|
||||||
if (!USER_ID) return;
|
if (!USER_ID) return;
|
||||||
const resData = await getPractitionerForEdit({ USER_ID });
|
const resData = await getPractitionerForEdit({ USER_ID });
|
||||||
const form = resData.pd;
|
const form = resData.pd;
|
||||||
console.log(resData);
|
|
||||||
form.PASSWORD = "Aa@123456";
|
form.PASSWORD = "Aa@123456";
|
||||||
form.periodStr = resData.periodStr;
|
form.periodStr = resData.periodStr;
|
||||||
form.ISSTUDENT = resData.pd.ISSTUDENT.toString();
|
form.ISSTUDENT = resData.pd.ISSTUDENT.toString();
|
||||||
|
@ -1012,13 +1011,12 @@ const fnGetData = async () => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
data.form = { ...data.form, ...form };
|
data.form = { ...data.form, ...form };
|
||||||
if(!data.form.DUTIES_NAME || !data.form.DUTIES_NAME === '') {
|
if (!data.form.DUTIES_NAME || !data.form.DUTIES_NAME === "") {
|
||||||
data.form.DUTIES = '';
|
data.form.DUTIES = "";
|
||||||
}
|
}
|
||||||
if(!data.form.TITLE_NAME || !data.form.TITLE_NAME === '') {
|
if (!data.form.TITLE_NAME || !data.form.TITLE_NAME === "") {
|
||||||
data.form.TITLE = '';
|
data.form.TITLE = "";
|
||||||
}
|
}
|
||||||
console.log(data.form);
|
|
||||||
};
|
};
|
||||||
fnGetData();
|
fnGetData();
|
||||||
const fnGetUserRole = async () => {
|
const fnGetUserRole = async () => {
|
||||||
|
@ -1058,7 +1056,6 @@ const fnChangeSchedulingTwo = () => {
|
||||||
const fnGetUserCurrentShiftList = async (SHIFTWORKRULES_ID) => {
|
const fnGetUserCurrentShiftList = async (SHIFTWORKRULES_ID) => {
|
||||||
const resData = await getUserCurrentShiftList({ SHIFTWORKRULES_ID });
|
const resData = await getUserCurrentShiftList({ SHIFTWORKRULES_ID });
|
||||||
data.periodList = resData.varList;
|
data.periodList = resData.varList;
|
||||||
console.log(data.periodList);
|
|
||||||
};
|
};
|
||||||
const fnChangePeriod = (event) => {
|
const fnChangePeriod = (event) => {
|
||||||
for (let i = 0; i < data.periodList.length; i++) {
|
for (let i = 0; i < data.periodList.length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue