Bläddra i källkod

修复工作职责显示问题

seyason 1 år sedan
förälder
incheckning
1ece7ec15a
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/index.vue

+ 2 - 2
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/index.vue

@@ -1464,10 +1464,10 @@ import timetoolVue from '../timetool/timetool.vue';
                                     var isPublic = targetP[0].isPublic;
                                     filteredRespList = this.jobResponseList.filter(j=>j.timeType == (isPublic?'非项目工时':'项目工时') && j.role == this.roleList.filter(r=>r.value == list[i].extraField1)[0].label);
                                     if (list[i].extraField2) {
-                                        list[i].extraField2Name = filteredRespList.find(f=>f.id = list[i].extraField2).jobRespon;
+                                        list[i].extraField2Name = filteredRespList.find(f=>f.id == list[i].extraField2).jobRespon;
                                     }
                                     if (list[i].extraField3) {
-                                        list[i].extraField3Name = list[i].workContentList.find(w=>w.id = list[i].extraField3).workContext;
+                                        list[i].extraField3Name = list[i].workContentList.find(w=>w.id == list[i].extraField3).workContext;
                                     }
                                 }
                                 array.push({