BUG优化

dev
xiepeng 2024-06-21 17:58:29 +08:00
parent 27b5c216c9
commit 454dfcf300
1 changed files with 10 additions and 7 deletions

View File

@ -53,7 +53,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="手机号" prop="PHONE"> <el-form-item label="手机号" prop="PHONE">
<el-input v-model="data.form.PHONE" placeholder="请输入" disabled/> <el-input v-model="data.form.PHONE" placeholder="请输入" disabled />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -455,13 +455,16 @@
: '' : ''
" "
> >
<el-select v-model="data.form.DRIVING_MODEL_ARR" disabled multiple> <el-select
v-model="data.form.DRIVING_MODEL_ARR"
disabled
multiple
>
<el-option <el-option
v-for="item in data.drivingModelList" v-for="item in data.drivingModelList"
:key="item.DICTIONARIES_ID" :key="item.DICTIONARIES_ID"
:label="item.NAME" :label="item.NAME"
:value="item.DICTIONARIES_ID" :value="item.DICTIONARIES_ID"
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -1053,9 +1056,6 @@ const fnGetData = async (USER_ID) => {
form.QUALIFICATION_CERTIFICATE_VALIDITY = [ form.QUALIFICATION_CERTIFICATE_VALIDITY = [
item.ID_VALIDITY_START, item.ID_VALIDITY_START,
item.ID_VALIDITY_END, item.ID_VALIDITY_END,
]; ];
form.QUALIFICATION_CERTIFICATE_VALIDITY_START = item.ID_VALIDITY_START; form.QUALIFICATION_CERTIFICATE_VALIDITY_START = item.ID_VALIDITY_START;
form.QUALIFICATION_CERTIFICATE_VALIDITY_END = item.ID_VALIDITY_END; form.QUALIFICATION_CERTIFICATE_VALIDITY_END = item.ID_VALIDITY_END;
@ -1081,6 +1081,9 @@ const fnGetData = async (USER_ID) => {
data.form.SHIFTDUTYONE = ""; data.form.SHIFTDUTYONE = "";
data.form.SHIFTDUTYTWO = ""; data.form.SHIFTDUTYTWO = "";
data.form.BZ = ""; data.form.BZ = "";
data.form.IS_SAFETY = 0;
data.form.ISHEAD = "0";
data.form.ISLEADER = "0";
}; };
const fnGetUserRole = async () => { const fnGetUserRole = async () => {
@ -1278,7 +1281,7 @@ const fnSubmit = debounce(
// ElMessage.error(""); // ElMessage.error("");
// return; // return;
// } // }
formData.append("choice","choice") formData.append("choice", "choice");
await setPractitionerAdd(formData); await setPractitionerAdd(formData);
} else { } else {
if ( if (