当前位置: 首页 > news >正文

学校网站设计实验报告做悬赏任务的网站

学校网站设计实验报告,做悬赏任务的网站,广告设计公司是做什么的,erp管理系统官网更多ruoyi-nbcio功能请看演示系统 gitee源代码地址 前后端代码#xff1a; https://gitee.com/nbacheng/ruoyi-nbcio 演示地址#xff1a;RuoYi-Nbcio后台管理系统 这个章节来完成并行网关与排它条件网关的功能 1、前端 目前就修改了排它条件网关的前端条件部分#xf…更多ruoyi-nbcio功能请看演示系统 gitee源代码地址 前后端代码 https://gitee.com/nbacheng/ruoyi-nbcio 演示地址RuoYi-Nbcio后台管理系统 这个章节来完成并行网关与排它条件网关的功能 1、前端 目前就修改了排它条件网关的前端条件部分简化条件公式考虑与原有流程设计器兼容。 主要是以下部分修改 !-- 条件 --section classcondition-pane v-ifvalue isConditionNode()!-- 字符串条件 --el-input placeholder请输入条件表达式 v-modelpconditionstemplate slotprepend条件表达式:/template/el-input/section/*** 条件节点确认保存得回调*/conditionNodeComfirm() {this.properties.conditions this.pconditions// 发起人虽然是条件 但是这里把发起人放到外部单独判断this.properties.initiator this.initiator[depuser]//this.initiator[depuser] (nodeContent [发起人: ${this.getOrgSelectLabel(condition)}] \n nodeContent)this.$emit(confirm, this.properties, this.pconditions || 请设置条件表达式);this.visible false;},/*** 初始化条件节点数据*/initConditionNodeData(){this.pconditions this.value.content}, 2、排它条件网关后端修改 String createExclusiveGatewayBuilder(String formId, JSONObject flowNode) throws InvocationTargetException, IllegalAccessException {//String name flowNode.getString(nodeName);String exclusiveGatewayId id(exclusiveGateway);ExclusiveGateway exclusiveGateway new ExclusiveGateway();exclusiveGateway.setId(exclusiveGatewayId);exclusiveGateway.setName(排它条件网关);ddProcess.addFlowElement(exclusiveGateway);ddProcess.addFlowElement(connect(formId, exclusiveGatewayId));if (Objects.isNull(flowNode.getJSONArray(conditionNodes)) Objects.isNull(flowNode.getJSONObject(childNode))) {return exclusiveGatewayId;}ListJSONObject flowNodes Optional.ofNullable(flowNode.getJSONArray(conditionNodes)).map(e - e.toJavaList(JSONObject.class)).orElse(Collections.emptyList());ListString incoming Lists.newArrayListWithCapacity(flowNodes.size());ListJSONObject conditions Lists.newCopyOnWriteArrayList();for (JSONObject element : flowNodes) {JSONObject childNode element.getJSONObject(childNode);JSONObject properties element.getJSONObject(properties);String nodeName properties.getString(title);String expression properties.getString(conditions);if (Objects.isNull(childNode)) {incoming.add(exclusiveGatewayId);JSONObject condition new JSONObject();condition.fluentPut(nodeName, nodeName).fluentPut(expression, expression);conditions.add(condition);continue;}// 只生成一个任务同时设置当前任务的条件childNode.put(incoming, Collections.singletonList(exclusiveGatewayId));String identifier create(exclusiveGatewayId, childNode);ListSequenceFlow flows ddSequenceFlows.stream().filter(flow - StringUtils.equals(exclusiveGatewayId, flow.getSourceRef())).collect(Collectors.toList());flows.stream().forEach(e - {if (StringUtils.isBlank(e.getName()) StringUtils.isNotBlank(nodeName)) {e.setName(nodeName);}// 设置条件表达式if (Objects.isNull(e.getConditionExpression()) StringUtils.isNotBlank(expression)) {e.setConditionExpression(expression);}});if (Objects.nonNull(identifier)) {incoming.add(identifier);}}JSONObject childNode flowNode.getJSONObject(childNode);if (Objects.nonNull(childNode)) {if (incoming null || incoming.isEmpty()) {return create(exclusiveGatewayId, childNode);} else {// 所有 service task 连接 end exclusive gatewaychildNode.put(incoming, incoming);FlowElement flowElement ddBpmnModel.getFlowElement(incoming.get(0));// 1.0 先进行边连接, 暂存 nextNodeJSONObject nextNode childNode.getJSONObject(childNode);childNode.put(childNode, null);String identifier create(flowElement.getId(), childNode);for (int i 1; i incoming.size(); i) {ddProcess.addFlowElement(connect(incoming.get(i), identifier));}// 针对 gateway 空任务分支 添加条件表达式if (!conditions.isEmpty()) {FlowElement flowElement1 ddBpmnModel.getFlowElement(identifier);// 获取从 gateway 到目标节点 未设置条件表达式的节点ListSequenceFlow flows ddSequenceFlows.stream().filter(flow - StringUtils.equals(flowElement1.getId(), flow.getTargetRef())).filter(flow - StringUtils.equals(flow.getSourceRef(), exclusiveGatewayId)).collect(Collectors.toList());flows.stream().forEach(sequenceFlow - {if (!conditions.isEmpty()) {JSONObject condition conditions.get(0);String nodeName condition.getString(content);String expression condition.getString(expression);if (StringUtils.isBlank(sequenceFlow.getName()) StringUtils.isNotBlank(nodeName)) {sequenceFlow.setName(nodeName);}// 设置条件表达式if (Objects.isNull(sequenceFlow.getConditionExpression()) StringUtils.isNotBlank(expression)) {sequenceFlow.setConditionExpression(expression);}conditions.remove(0);}});}// 1.1 边连接完成后在进行 nextNode 创建if (Objects.nonNull(nextNode)) {return create(identifier, nextNode);} else {return identifier;}}}return exclusiveGatewayId;} 4、效果图如下 还是有bug后面的审批人连接有问题后续修改吧。
http://www.ho-use.cn/article/10823297.html

相关文章:

  • php做网站 价格asp.net建立网站吗
  • 如何做公司网站优化手表品牌
  • 中国电子商务网站建设情况上海响应式网站开发
  • 怎么改版网站最新手机网站推荐
  • 产品网站 模板江苏网站建设seo优化
  • 建设银行网站上改手机号码手机百度建设网站
  • ftp怎么上传网站建设法规的网站
  • 新闻源网站做黑帽seowordpress google fonts 360
  • 网站开发培训机构需要多少钱同ip网站做友链
  • 哪个网站做任务能赚钱html网页设计模板下载
  • 企业网站推广技巧有哪些dede 网站打开自动加html
  • 深圳招聘网站有哪些永康住房和城乡建设局网站
  • 蚌埠网站建设文章58同城网站建设问题
  • 深圳工程建设网站网站推广软件免费版下载
  • 徐州微网站开发公司wordpress搬家方法
  • 小广告清理seo短视频网页
  • 网站开发时图片加载慢怎么解决网站建设和维护的教程
  • 茂名平安建设网站九江市建筑公司
  • 淘宝的网站架构近一周的新闻大事热点
  • 网站扩展性建立主题网站的知识点
  • 做网站公司的收费多少已备案域名购买网址低价
  • 外贸建设企业网站服务宁波做外贸网站建设
  • 爱站网关键词挖掘工具怎样在网上推广自己的产品
  • 大型租车门户网站商业版源码软件商店安装app
  • 烟台网站搭建app软件推广怎么做
  • 美食网站黑米如何做有个域名怎样做网站
  • 优秀网站设计的标准重庆做网络推广的公司
  • 如何快速做企业网站包括商城会员制营销方案
  • 学校网站建设运行简介珠海网站建设维护
  • 建网站 开发app侯马网站建设