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

相关内容

热门资讯

专业了解!朋朋政和辅助(辅助)... 专业了解!朋朋政和辅助(辅助)天天保定麻将切实存在有辅助脚本(哔哩哔哩)1、玩家可以在朋朋政和辅助透...
于此同时!竞技联盟辅助(透视)... 于此同时!竞技联盟辅助(透视)微信小程序微乐怎么才能发好牌(其实真的有辅助工具)-哔哩哔哩1、竞技联...
透视辅助!wepoker安装教... 透视辅助!wepoker安装教程(透视)拱趴大菠萝辅助神器(辅助)切实是有教程(哔哩哔哩)1、打开软...
透视妙招!wepoker有脚本... 透视妙招!wepoker有脚本吗(WePoKer线上)好像是有辅助教程(哔哩哔哩)1、wepoker...
透视了解!新众亿辅助(辅助)A... 透视了解!新众亿辅助(辅助)A8娱乐好像是真的辅助安装(哔哩哔哩)1、下载好新众亿辅助透视辅助下载之...
长期以来!pokemmo脚本(... 长期以来!pokemmo脚本(透视)贵州微乐自建房辅助软件下载(其实是有辅助软件)-哔哩哔哩一、po...
透视智能ai!poker wo... 透视智能ai!poker world辅助(透视)杭州边锋辅助软件(辅助)竟然是真的有软件(哔哩哔哩)...
透视积累!wepokerplu... 透视积累!wepokerplus开挂(WePoKer高级)都是真的是有辅助app(哔哩哔哩)1、we...
解谜了解!湛江吴川0759作z... 解谜了解!湛江吴川0759作z弊(辅助)卡心五其实有挂辅助下载(哔哩哔哩)暗藏猫腻,小编详细说明湛江...
针对!wejoker内置辅助(... 针对!wejoker内置辅助(透视)微乐斗地主有挂吗(都是真的是有辅助器)-哔哩哔哩1、玩家可以在w...