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

相关内容

热门资讯

三分钟脚本!微乐小程序免费黑科... 三分钟脚本!微乐小程序免费黑科技,微乐微信小程序辅助软件(开挂)切实有挂(2026)1、任何微乐小程...
透视讲解!微乐自建房免费辅助入... 透视讲解!微乐自建房免费辅助入口在哪里,微乐小程序黑科技,教程书教程(有挂插件)-哔哩哔哩1、玩家可...
软件辅助挂!hhpoker软件... 软件辅助挂!hhpoker软件安装包(透视)hhpoker辅助软件是真的么-本来真的是有挂(哔哩哔哩...
1分钟下载!微乐小程序黑科技,... 1分钟下载!微乐小程序黑科技,微乐自建房辅助软件功能(开挂)其实是真的挂(2026)微乐小程序黑科技...
有消息称!微信微乐游戏破解器,... 有消息称!微信微乐游戏破解器,微乐小程序黑科技,演示教程(有挂平台)-哔哩哔哩1、下载好微信微乐游戏...
方法辅助挂!we-poker软... 方法辅助挂!we-poker软件(透视)wepoker软件靠谱么-果然是真的挂(哔哩哔哩)1、操作简...
第7分钟开挂!微乐小程序黑科技... 第7分钟开挂!微乐小程序黑科技,微信微乐陕西小程序破解器(开挂)确实有挂(2026)1、打开软件启动...
透视安装!微乐自建房脚本免费入... 透视安装!微乐自建房脚本免费入口,微乐小程序黑科技,练习教程(有挂下载)-哔哩哔哩1)微乐自建房脚本...
现有说明如下!wepoker怎... 现有说明如下!wepoker怎么看牌型(透视)wepoker到底有没有透视-一贯是真的挂(哔哩哔哩)...
8分钟开挂!微乐小程序黑科技,... 8分钟开挂!微乐小程序黑科技,微乐智能辅助真的假的(开挂)好像存在有挂(2026)1、微乐小程序黑科...