Lijy 2 years ago
parent
commit
3890d97a1e

+ 4 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/project/vueGantt.vue

@@ -31,7 +31,10 @@
                   <!-- <span v-if="scope.row.translationType == 'user' && scope.column.label.indexof(scope.row.end_date) != '-1'">
                   <!-- <span v-if="scope.row.translationType == 'user' && scope.column.label.indexof(scope.row.end_date) != '-1'">
                     <ww-open-data type='userName' :openid='scope.row.text'></ww-open-data>
                     <ww-open-data type='userName' :openid='scope.row.text'></ww-open-data>
                   </span> -->
                   </span> -->
-                  <span v-if="scope.row.translationType != 'user'">
+                  <span v-if="scope.row.translationType != 'user' && stafforpro != '按项目查看'">
+                    {{scope.row.end_date | dataValue(scope.column, scope.row)}}
+                  </span>
+                  <span v-if="stafforpro == '按项目查看'">
                     {{scope.row.end_date | dataValue(scope.column, scope.row)}}
                     {{scope.row.end_date | dataValue(scope.column, scope.row)}}
                   </span>
                   </span>
                 </div>
                 </div>