فهرست منبع

补充提交:流程图文件保存

lph 1 سال پیش
والد
کامیت
7e61d738c0

+ 5 - 5
ruoyi-ui/src/api/bpmprocess/process.js

@@ -6,7 +6,7 @@ export function listProcess(query) {
     url: '/system/process/list',
     method: 'get',
     params: query,
-    baseURL:process.env.VUE_APP_BASE_API4
+    baseURL: process.env.VUE_APP_BASE_API4
   })
 }
 
@@ -15,7 +15,7 @@ export function getProcess(processId) {
   return request({
     url: '/system/process/' + processId,
     method: 'get',
-    baseURL:process.env.VUE_APP_BASE_API4
+    baseURL: process.env.VUE_APP_BASE_API4
   })
 }
 
@@ -25,7 +25,7 @@ export function addProcess(data) {
     url: '/system/process',
     method: 'post',
     data: data,
-    baseURL:process.env.VUE_APP_BASE_API4
+    baseURL: process.env.VUE_APP_BASE_API4,
   })
 }
 
@@ -35,7 +35,7 @@ export function updateProcess(data) {
     url: '/system/process',
     method: 'put',
     data: data,
-    baseURL:process.env.VUE_APP_BASE_API4
+    baseURL: process.env.VUE_APP_BASE_API4
   })
 }
 
@@ -44,6 +44,6 @@ export function delProcess(processId) {
   return request({
     url: '/system/process/' + processId,
     method: 'delete',
-    baseURL:process.env.VUE_APP_BASE_API4
+    baseURL: process.env.VUE_APP_BASE_API4
   })
 }

+ 1 - 1
ruoyi-ui/src/utils/request.js

@@ -19,7 +19,7 @@ const service = axios.create({
   // axios中请求配置有baseURL选项,表示请求URL公共部分
   baseURL: process.env.VUE_APP_BASE_API,
   // 超时
-  timeout: 10000
+  timeout: 10000,
 })
 
 // request拦截器

+ 1 - 1
ruoyi-ui/src/views/system/bpmnPro/components/additional-modules/Lint/customLintRules/taskRequired.js

@@ -15,7 +15,7 @@ module.exports = function () {
     if (!hasStartEvent(node)) {
       const type = is(node, "bpmn:SubProcess") ? "Sub process" : "Process";
 
-      reporter.report(node.id, type + " 缺少任务节点");
+      reporter.report(node.id, type + " 缺少任务节点!");
     }
   }
 

+ 22 - 1
ruoyi-ui/src/views/system/bpmnPro/components/additional-modules/Translate/zh-cn/lint.js

@@ -1,4 +1,25 @@
 export default {
   Errors: "错误",
-  Warnings: "警告"
+  Warnings: "警告",
+  'Sequence flow is missing condition': '流程线缺少流程条件',
+  'the default flow cannot have conditions set': '默认流不能设置条件',
+  ' is missing end event': '缺少结束节点',
+  'Start event is missing event definition': '开始事件缺少事件定义',
+  'Incoming flows do not join': '传入流没合并',
+  'Element is missing label/name': '元素缺少标签/名称',
+  'Element has disallowed type': '元素具有不允许的类型',
+  'Element is not connected': '元素未连接',
+  'Element is not left connected': '元素没有左连接',
+  'Element is not right connected': '元素没有右连接',
+  'SequenceFlow is a duplicate': 'SequenceFlow是重复的',
+  'Duplicate outgoing sequence flows': '重复的传出序列流',
+  'Duplicate incoming sequence flows': '重复的传入序列流',
+  'Gateway forks and joins': '同时分叉和合并的网关',
+  'Flow splits implicitly': '流隐式拆分',
+  ' has multiple blank start events': '有多个空开始事件',
+  'Event has multiple event definitions': '事件具有多个事件定义',
+  ' is missing start event': '缺少开始事件',
+  'Start event must be blank': '开始事件必须为空',
+  'Gateway is superfluous. It only has one source and target.': '网关是多余的。它只有一个源和目标',
+  '': '',
 };