Lijy 2 년 전
부모
커밋
02cdba9408
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      fhKeeper/formulahousekeeper/timesheet/src/views/project/vueGantt.vue

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

@@ -28,7 +28,12 @@
             <el-table-column :label="items" v-for="items, idx in item.children" :key="idx" width="120px" align="center">
               <template slot-scope="scope">
                 <div>
-                  {{scope.row.end_date | dataValue(scope.column, scope.row)}}
+                  <span v-if="scope.row.translationType == 'user'">
+                    <ww-open-data type='userName' :openid='scope.row.text'></ww-open-data>
+                  </span>
+                  <span v-else>
+                    {{scope.row.end_date | dataValue(scope.column, scope.row)}}
+                  </span>
                 </div>
               </template>
             </el-table-column>