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>