fuliqi
2025-01-14 78e5ece58bf05ed6f344239f40b49dbe90956cce
src/views/flowable/task/myProcess/send/index.vue
@@ -54,7 +54,7 @@
        </el-tab-pane>
        <!--流程图-->
        <el-tab-pane label="流程图" name="2">
          <bpmn-viewer :flowData="flowData"/>
          <bpmn-viewer :flowData="flowData" :procInsId="procInsId"/>
        </el-tab-pane>
      </el-tabs>
      <!--选择流程接收人-->
@@ -228,6 +228,7 @@
      loading: true,
      deployId: "",  // 流程定义编号
      procDefId: "",  // 流程实例编号
      procInsId: "",  // 流程实例编号
      formRenderData: {},
      formRenderDataList: [],
      variables: [], // 流程变量数据
@@ -255,6 +256,7 @@
    this.flowName = this.$route.query && this.$route.query.flowName;
    // 初始化表单
    this.procDefId  = this.$route.query && this.$route.query.procDefId;
    this.procInsId  = this.$route.query && this.$route.query.procInsId;
    this.goBackParams  = this.$route.query && this.$route.query.goBackParams;
    // this.getNextFlowNodeByStart(this.deployId);
    this.getFlowFormData(this.taskId);
@@ -444,7 +446,7 @@
    },
    handleClick(tab, event) {
      if (tab.name === '2'){
        flowXmlAndNode({deployId:this.deployId}).then(res => {
        flowXmlAndNode({procInsId:this.procInsId,deployId:this.deployId}).then(res => {
          this.flowData = res.data;
        })
      }