This commit is contained in:
“zouyf” 2024-11-28 14:17:32 +08:00
parent e30e3fd42d
commit c3620a11ee
1 changed files with 5 additions and 5 deletions

View File

@ -284,23 +284,23 @@ const init = reactive({
formData.append("filetype", "image");
formData.append("suffix", "image");
formData.append("status", '1');
if(userStore.deptId && userStore.deptId != null){
if(userStore.deptId != null){
formData.append("entpid", userStore.deptId);
}
if(userStore.userId && userStore.userId != null){
if(userStore.userId != null){
formData.append("userid", userStore.userId);
}
if(userStore.edudegree && userStore.edudegree != null){
if(userStore.edudegree && userStore.edudegree != ''){
let edudegree = userStore.edudegree.toString();
if(edudegree != '' && edudegree.indexOf('年级') == -1){
edudegree += '年级';
}
formData.append("edudegree", edudegree);
}
if(userStore.edusubject && userStore.edusubject != null){
if(userStore.edusubject && userStore.edusubject != ''){
formData.append("edusubject", userStore.edusubject);
}
if(userStore.edustage && userStore.edustage != null){
if(userStore.edustage && userStore.edustage != ''){
formData.append("edustage", userStore.edustage);
}
if(props.upFileParams?.hasOwnProperty('lessionId')){