mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 12:18:42 +08:00 
			
		
		
		
	#返显高亮工作流
This commit is contained in:
		@@ -137,11 +137,12 @@
 | 
			
		||||
      </div>
 | 
			
		||||
    </el-dialog>
 | 
			
		||||
 | 
			
		||||
    <el-dialog :title="title" :visible.sync="dialogStepsVisible" width="600px" append-to-body>
 | 
			
		||||
    <el-dialog :title="title" :visible.sync="dialogStepsVisible" width="750px" append-to-body>
 | 
			
		||||
      <el-steps :active="stepActive" finish-status="success" >
 | 
			
		||||
        <el-step :title="stepTitle(item)" :description="stepAssignee(item.assignee)" icon="el-icon-edit"  v-for="(item) in handleTask.historyTask"></el-step>
 | 
			
		||||
      </el-steps>
 | 
			
		||||
      <br/>
 | 
			
		||||
      <div v-html="svgUrl"></div>
 | 
			
		||||
      <el-steps direction="vertical" :active="stepActive">
 | 
			
		||||
        <el-step :title="stepTitle(item)" :description="stepDes(item)" v-for="(item) in handleTask.historyTask"></el-step>
 | 
			
		||||
      </el-steps>
 | 
			
		||||
@@ -156,7 +157,7 @@
 | 
			
		||||
<script>
 | 
			
		||||
import { createLeave, updateLeave, deleteLeave, getLeave, getLeavePage, exportLeaveExcel } from "@/api/oa/leave"
 | 
			
		||||
import { getDictDataLabel, getDictDatas, DICT_TYPE } from '@/utils/dict'
 | 
			
		||||
import { processHistorySteps } from '@/api/oa/todo'
 | 
			
		||||
import { processHistorySteps,getHighlightImg } from '@/api/oa/todo'
 | 
			
		||||
export default {
 | 
			
		||||
  name: "Leave",
 | 
			
		||||
  components: {
 | 
			
		||||
@@ -194,6 +195,7 @@ export default {
 | 
			
		||||
      },
 | 
			
		||||
      // 表单参数
 | 
			
		||||
      form: {},
 | 
			
		||||
      svgUrl: "",
 | 
			
		||||
      handleTask: {
 | 
			
		||||
        historyTask:[],
 | 
			
		||||
        taskVariable: "",
 | 
			
		||||
@@ -361,6 +363,9 @@ export default {
 | 
			
		||||
        this.handleTask.historyTask = response.data;
 | 
			
		||||
        this.dialogStepsVisible = true
 | 
			
		||||
        this.title = "审批进度";
 | 
			
		||||
        getHighlightImg(row.processInstanceId).then(response => {
 | 
			
		||||
          that.svgUrl = response
 | 
			
		||||
        })
 | 
			
		||||
      });
 | 
			
		||||
    },
 | 
			
		||||
    /** 导出按钮操作 */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user