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、完成牵手胡子辅助透视辅助...
今日公布!晋中胡乐辅助脚本下载... 今日公布!晋中胡乐辅助脚本下载,werplan可以透视,详细开挂辅助攻略(有挂功能)1、晋中胡乐辅助...
科技分享!川南休闲辅助,wep... 科技分享!川南休闲辅助,wepoker软件辅助程序,详细开挂辅助app(讲解有挂)1、让任何用户在无...
发现一款!新超凡手游辅助,we... 发现一款!新超凡手游辅助,wejoker透视方法,详细开挂辅助技巧(有挂方法)一、新超凡手游辅助软件...
科技通报!浙江温州游戏辅助器,... 科技通报!浙江温州游戏辅助器,wepoker透视底牌脚本,详细开挂辅助技巧(有挂技巧)浙江温州游戏辅...
必备科技!518互游破解,aa... 必备科技!518互游破解,aapoker辅助软件合法,详细开挂辅助技巧(有挂助手)1.518互游破解...
盘点十款!浙江游戏茶苑脚本修改... 盘点十款!浙江游戏茶苑脚本修改,wepoker可以下载游戏,详细开挂辅助技巧(有挂实锤)浙江游戏茶苑...
总算了解!荔枝竞技辅助,wep... 总算了解!荔枝竞技辅助,wepoker辅助真的假的,详细开挂辅助app(有挂工具)1)荔枝竞技辅助辅...
分享认知!微信小程序多功能辅助... 分享认知!微信小程序多功能辅助,约局吧如何查看是否有挂,详细开挂辅助教程(有挂秘诀)微信小程序多功能...
今日焦点!微信小程序挂机辅助,... 今日焦点!微信小程序挂机辅助,wepoker有机器人,详细开挂辅助技巧(有挂助手)1、实时微信小程序...