jinlin
2024-12-10 1069d8bf6622690e6be091753def954ccf4495ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!--流程轨迹-->
<template>
  <div>
    <el-form :inline="true" style="padding: 0">
      <zt-form-item style="float: left;margin-bottom: 0">
        <zt-button style="background:#EAEBEE;border: 1px solid #EAEBEE;color:#000">流程轨迹</zt-button>
      </zt-form-item>
    </el-form>
    <el-table :data="tableData"
              height="550"
              v-loading="this.dataLoading">
      <el-table-column align="center" label="步骤名" prop="stepName"></el-table-column>
      <el-table-column align="center" label="角色名" prop="receiveName"></el-table-column>
      <el-table-column align="center" label="接受任务时间" prop="receiveTime"></el-table-column>
      <el-table-column align="center" label="完成时间" prop="finishTime"></el-table-column>
    </el-table>
  </div>
</template>
 
<script>
  export default {
    name: 'ProcessTrajectory',
    data(){
      return{
        tableData:[],
        dataLoading:false,
      }
    },
    methods:{
     async init(params){
       this.dataLoading = true
        let res =await this.$http.get(`wf/getFlowTrack`,{params: params})
       console.log(res.data,'processTra res.data')
        if(res){
          this.tableData = res.data
          console.log(res.data,'getFlowTrack res.data')
        }
       this.dataLoading = false
      }
    }
  }
</script>
 
<style scoped>
 
</style>