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         }       })

相关内容

热门资讯

发现一款!微信小程序微乐辅助器... 发现一款!微信小程序微乐辅助器真吗,wepoker私局代打,普及教程(有挂助手)1、下载安装好微信小...
第2刹那理解!浙江宝宝游戏辅助... 第2刹那理解!浙江宝宝游戏辅助器(透视)从来有开挂辅助神器(讲解有挂);无需打开直接搜索加薇1367...
9分钟指南!雀友会广东潮汕辅助... 您好:雀友会广东潮汕辅助有开挂这款游戏可以开挂的,确实是有挂的,很多玩家在这款游戏中打牌都会发现很多...
透视辅助!来玩德州破解器(透视... 透视辅助!来玩德州破解器(透视)素来有开挂辅助神器(揭秘有挂)1、下载安装好来玩德州破解器,进入游戏...
重大通报!微信小程序辅助器免费... 重大通报!微信小程序辅助器免费版,悦扑克脚本,解密教程(有挂辅助);无需打开直接搜索加薇136704...
第8阶段精通!邳州友友辅助(透... 第8阶段精通!邳州友友辅助(透视)最初有开挂辅助平台(有挂方法);无需打开直接搜索加薇1367043...
透视好牌!aapoker公共底... 您好:aapoker公共底牌这款游戏可以开挂的,确实是有挂的,很多玩家在这款游戏中打牌都会发现很多用...
第4分钟绝活儿!微乐小程序辅助... 第4分钟绝活儿!微乐小程序辅助开挂(透视)详细开挂辅助下载(有挂教程);无需打开直接搜索加(薇:13...
透明软件!微乐小程序黑科技辅助... 透明软件!微乐小程序黑科技辅助工具2026最新推荐,wpk透视辅助方法,大神讲解(新版有挂);无需打...
第二分钟指导!对战互娱辅助(透... 第二分钟指导!对战互娱辅助(透视)从前有开挂辅助安装(有挂秘籍);无需打开直接搜索加薇1367043...