24282 11 月之前
父节点
当前提交
e104ecd61f

+ 1 - 1
jy-ui/src/components/flow/PropertySetting/between.vue

@@ -138,10 +138,10 @@ const config: FormConfigType[] = [
     label: '监听器类型',
     label: '监听器类型',
     multiple: true,
     multiple: true,
     option: [
     option: [
+      { key: 'permission', label: '权限认证' },
       { key: 'create', label: '任务创建' },
       { key: 'create', label: '任务创建' },
       { key: 'start', label: '任务开始办理' },
       { key: 'start', label: '任务开始办理' },
       { key: 'assignment', label: '分派监听器' },
       { key: 'assignment', label: '分派监听器' },
-      { key: 'permission', label: '权限认证' },
       { key: 'finish', label: '任务完成' }
       { key: 'finish', label: '任务完成' }
     ]
     ]
   },
   },

+ 17 - 0
jy-ui/src/components/flow/PropertySetting/end.vue

@@ -38,6 +38,23 @@ const config: FormConfigType[] = [
     type: 'input',
     type: 'input',
     prop: 'nodeName',
     prop: 'nodeName',
     label: '节点名称'
     label: '节点名称'
+  },
+  {
+    type: 'select',
+    prop: 'listenerTypeArr',
+    label: '监听器类型',
+    multiple: true,
+    option: [
+      { key: 'permission', label: '权限认证' },
+      { key: 'create', label: '任务创建' }
+    ]
+  },
+  {
+    type: 'input',
+    itemType: 'textarea',
+    prop: 'listenerPath',
+    label: '监听器路径',
+    rows: 8
   }
   }
 ]
 ]
 </script>
 </script>

+ 1 - 1
jy-ui/src/components/flow/PropertySetting/start.vue

@@ -45,10 +45,10 @@ const config: FormConfigType[] = [
     label: '监听器类型',
     label: '监听器类型',
     multiple: true,
     multiple: true,
     option: [
     option: [
+      { key: 'permission', label: '权限认证' },
       { key: 'create', label: '任务创建' },
       { key: 'create', label: '任务创建' },
       { key: 'start', label: '任务开始办理' },
       { key: 'start', label: '任务开始办理' },
       { key: 'assignment', label: '分派监听器' },
       { key: 'assignment', label: '分派监听器' },
-      { key: 'permission', label: '权限认证' },
       { key: 'finish', label: '任务完成' }
       { key: 'finish', label: '任务完成' }
     ]
     ]
   },
   },

+ 0 - 3
jy-ui/src/views/flow/definition/index.vue

@@ -74,7 +74,6 @@ const toolbarConfig: ToolbarConfigType[] = [
   },
   },
   {
   {
     common: 'add',
     common: 'add',
-    permissions: 'sysConfig:add',
     click() {
     click() {
       dialogVisible.value = true
       dialogVisible.value = true
       dialogTitle.value = '新增'
       dialogTitle.value = '新增'
@@ -189,7 +188,6 @@ const columnConfig: ColumnConfigType[] = [
       },
       },
       {
       {
         common: 'update',
         common: 'update',
-        permissions: 'sysConfig:edit',
         if: (row) => row.isPublish === 0,
         if: (row) => row.isPublish === 0,
         click(row) {
         click(row) {
           dialogVisible.value = true
           dialogVisible.value = true
@@ -204,7 +202,6 @@ const columnConfig: ColumnConfigType[] = [
       },
       },
       {
       {
         common: 'delete',
         common: 'delete',
-        permissions: 'sysConfig:delete',
         if: (row) => row.isPublish === 0,
         if: (row) => row.isPublish === 0,
         click(row) {
         click(row) {
           handleRemove(row.id)
           handleRemove(row.id)