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

相关内容

热门资讯

第5分钟了解!闽南有带花的麻将... 第5分钟了解!闽南有带花的麻将(辅助挂)一向有挂(专业辅助德州教程)-哔哩哔哩;闽南有带花的麻将是一...
黑科技辅助!微扑克软件发牌原理... 黑科技辅助!微扑克软件发牌原理(智能ai辅助插件安装)软件透明挂黑科技(先前是有挂)-哔哩哔哩;人气...
透视免费!红龙poker辅助工... 透视免费!红龙poker辅助工具(透视)底牌透视挂辅助下载(可靠开挂辅助解密教程)-哔哩哔哩是一款可...
透视黑科技!wepokerpl... 透视黑科技!wepokerplus透视脚本免费,大菠萝挂机辅助,解密教程(有挂规律)-哔哩哔哩1、大...
7分钟了解!ccpoker有挂... 7分钟了解!ccpoker有挂(辅助挂)切实真的是有挂(专业辅助辅助教程)-哔哩哔哩;一、ccpok...
黑科技辅助!欢乐棋牌有挂(智能... 黑科技辅助!欢乐棋牌有挂(智能ai辅助插件安装)软件透明挂黑科技(总是真的是有挂)-哔哩哔哩是一款可...
透视实锤!拱趴大菠萝万能辅助器... 透视实锤!拱趴大菠萝万能辅助器(透视)底牌透视挂辅助app(可靠开挂辅助安装教程)-哔哩哔哩;拱趴大...
透视神器!wepoker辅助透... 透视神器!wepoker辅助透视,椰子辅助,2025版教程(真是有挂)-哔哩哔哩1、每一步都需要思考...
第六分钟了解!同城游510k有... 您好,同城游510k有挂这款游戏可以开挂的,确实是有挂的,需要了解加微【136704302】很多玩家...
黑科技辅助!wpk德州透视器靠... 黑科技辅助!wpk德州透视器靠谱(智能ai辅助插件安装)软件透明挂黑科技(一贯是有挂)-哔哩哔哩;亲...