Explorar el Código

格式化审批时间

xuefy hace 4 años
padre
commit
e478a90a09
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      front-vue/src/views/service/credit/credit.vue

+ 1 - 1
front-vue/src/views/service/credit/credit.vue

@@ -1829,7 +1829,7 @@
           <el-steps direction="vertical" :active="histaskList[histaskList.length-1] && histaskList[histaskList.length-1].activityType == 'endEvent' ? histaskList.length : histaskList.length-1" finish-status="success" space = "60px">
             <el-step :title="item.name" v-for="item in histaskList" :key="item.id">
               <template slot="description">
-                  <span v-if="item.activityType == 'userTask'">办理人:  {{item.displayName}}</span>  节点名称:  {{item.activityName}}   任务接收时间  {{item.startTime}}     任务办结时间  {{item.endTime}}
+                  <span v-if="item.activityType == 'userTask'">办理人:  {{item.displayName}}</span>  节点名称:  {{item.activityName}}   任务接收时间  {{parseTime(new Date(item.startTime), '{y}-{m}-{d} {h}:{i}:{s}')}}     任务办结时间  {{parseTime(new Date(item.endTime), '{y}-{m}-{d} {h}:{i}:{s}')}}
                     <div v-for="comment in item.commentList" class="text item" :key="comment.id">
                       {{'审批意见: ' + comment.message }}
                     </div>