Преглед изворни кода

解决威派格的项目概览问题

Lijy пре 2 година
родитељ
комит
64af4b14ff
1 измењених фајлова са 18 додато и 0 уклоњено
  1. 18 0
      fhKeeper/formulahousekeeper/timesheet/src/views/project/info.vue

+ 18 - 0
fhKeeper/formulahousekeeper/timesheet/src/views/project/info.vue

@@ -1645,6 +1645,24 @@
                     this.listLoading = false;
                     if (res.code == "ok") {
                         this.project = res.data;
+                        if(this.user.companyId == '936') {
+                            if(res.data.projectSeparate) {
+                                this.project = res.data;
+                            } else {
+                                var obj = {
+                                    contractCode: '',
+                                    warrantyStartDate: '',
+                                    warrantyEndDate: '',
+                                    projectCategorySub: '',
+                                    region: '',
+                                    bu: '',
+                                }
+                                res.data.projectSeparate = obj
+                                this.project = res.data;
+                            }
+                        } else {
+                            this.project = res.data;
+                        }
                         console.log('看看值')
                         console.log('test123',this.project);
                         this.participator = this.project.participationList;