BPMN.js学习
创始人
2025-01-11 07:36:24
0

查看流程图 

processView: {   title: '',   open: false,   index: undefined,   xmlData:"", }, 
                             ----------------------------------------------------------------------------------------  /** 查看流程图 */     handleProcessView(row) {       let modelId = row.modelId;       this.processView.title = "流程图";       this.processView.index = modelId;       // 发送请求,获取xml       getBpmnXml(modelId).then(response => {         this.processView.xmlData = response.data;       })       this.processView.open = true;     }, ---------------------------------------------------------------------------------------- 

启动流程

    submit(data) {       if (data && this.definitionId) {         // 启动流程并将表单数据加入流程变量         startProcess(this.definitionId, JSON.stringify(data.valData))           .then(             this.$tab.closeOpenPage({path: '/run/own' })           // this.pollForResult();         ).catch(err =>console.error("发生错误:",error))       }     },

获取是否有开始表单数据

      this.deployId = this.$route.params && this.$route.params.deployId;       this.definitionId = this.$route.query && this.$route.query.definitionId;       this.procInsId = this.$route.query && this.$route.query.procInsId;       getProcessForm({         definitionId: this.definitionId,         deployId: this.deployId,         procInsId: this.procInsId       }).then(res => {         if (res.data) {           this.formData = res.data;           this.formOpen = true         }       })

相关内容

热门资讯

4分钟了解!桃乐甘肃麻将下载辅... 4分钟了解!桃乐甘肃麻将下载辅助器(辅助挂)详细透视开挂辅助必赢方法(好像存在有挂)-哔哩哔哩,桃乐...
推荐十款"微扑克io... 推荐十款"微扑克ios"详细外挂透明挂辅助软件-一贯真的是有挂(哔哩哔哩)是一款可以让一直输的玩家,...
2分钟了解!皮皮辅助软件演示(... 2分钟了解!皮皮辅助软件演示(辅助挂)详细透视开挂辅助存在挂教程(竟然是真的挂)-哔哩哔哩;皮皮辅助...
总算了解!"aapo... 您好,aapoker有猫腻这款游戏可以开挂的,确实是有挂的,需要了解加微【136704302】很多玩...
第3分钟了解!微乐家乡自建房辅... 第3分钟了解!微乐家乡自建房辅助app(辅助挂)详细透视开挂辅助必备教程(原来真的有挂)-哔哩哔哩;...
热点讨论"wepok... 热点讨论"wepoke黑科技功能"详细外挂透明挂辅助软件-起初真的是有挂(哔哩哔哩);是一款可以让一...
第4分钟了解!新悠悠拼十辅助(... 第4分钟了解!新悠悠拼十辅助(辅助挂)详细透视开挂辅助科技教程(都是是有挂)-哔哩哔哩是一款可以让一...
一分钟了解!"wep... 一分钟了解!"wepower伙牌"详细外挂透明挂辅助软件-竟然有挂(哔哩哔哩);超受欢迎的wepow...
十分钟了解!中至辅助顺(辅助挂... 十分钟了解!中至辅助顺(辅助挂)详细透视开挂辅助技巧教程(原来存在有挂)-哔哩哔哩;1、AI玩家辅助...
一分钟揭秘!"德州a... 一分钟揭秘!"德州ai硬件"详细外挂透明挂辅助挂-原先真的是有挂(哔哩哔哩)是一款可以让一直输的玩家...