ActionFlow障害修正
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="q-pa-md">
|
<div class="q-pa-md">
|
||||||
<q-table flat bordered :loading="!isLoaded" row-key="name" :selection="type" :selected="modelValue" @update:selected="$emit('update:modelValue', $event)" :columns="columns" :rows="rows" />
|
<q-table flat bordered :loading="!isLoaded" row-key="name" :selection="type"
|
||||||
|
:selected="modelValue"
|
||||||
|
@update:selected="$emit('update:modelValue', $event)"
|
||||||
|
:columns="columns" :rows="rows" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -283,9 +283,29 @@ export class ActionFlow implements IActionFlow {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
for (const [, id] of targetNode.nextNodeIds) {
|
for (const [, id] of targetNode.nextNodeIds) {
|
||||||
this.removeAllNext(id);
|
this.removeAll(id);
|
||||||
this.removeFromActionNodes(id);
|
|
||||||
}
|
}
|
||||||
|
targetNode.nextNodeIds.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
/***
|
||||||
|
* 目標ノードの次のノードを全部削除する
|
||||||
|
*/
|
||||||
|
removeAll(targetNodeId: string) {
|
||||||
|
if (!targetNodeId || targetNodeId === '') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const targetNode = this.findNodeById(targetNodeId);
|
||||||
|
if (!targetNode) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (targetNode.nextNodeIds.size == 0) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
for (const [, id] of targetNode.nextNodeIds) {
|
||||||
|
this.removeAll(id);
|
||||||
|
}
|
||||||
|
this.removeNode(targetNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 断开与前一个节点的连接
|
// 断开与前一个节点的连接
|
||||||
@@ -447,7 +467,7 @@ export class ActionFlow implements IActionFlow {
|
|||||||
const { nextNodeIds, ...rest } = node;
|
const { nextNodeIds, ...rest } = node;
|
||||||
return {
|
return {
|
||||||
...rest,
|
...rest,
|
||||||
nextNodeIds: Array.from(nextNodeIds.entries())
|
nextNodeIds: Object.fromEntries(nextNodeIds)
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
@@ -466,9 +486,9 @@ export class ActionFlow implements IActionFlow {
|
|||||||
const parsedObject = JSON.parse(json);
|
const parsedObject = JSON.parse(json);
|
||||||
|
|
||||||
const actionNodes = parsedObject.actionNodes.map((node: any) => {
|
const actionNodes = parsedObject.actionNodes.map((node: any) => {
|
||||||
const nodeClass = !node.isRoot ? new ActionNode(node.name, node.title, node.inputPoint, node.outputPoint, node.actionProps)
|
const nodeClass = !node.isRoot ? new ActionNode(node.name, node.title, node.inputPoint, node.outputPoints, node.actionProps)
|
||||||
: new RootAction(node.name, node.title, node.subTitle);
|
: new RootAction(node.name, node.title, node.subTitle);
|
||||||
nodeClass.nextNodeIds = new Map(node.nextNodeIds);
|
nodeClass.nextNodeIds = new Map<string,string>(Object.entries(node.nextNodeIds));
|
||||||
nodeClass.prevNodeId = node.prevNodeId;
|
nodeClass.prevNodeId = node.prevNodeId;
|
||||||
nodeClass.id = node.id;
|
nodeClass.id = node.id;
|
||||||
return nodeClass;
|
return nodeClass;
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ declare global {
|
|||||||
interface Window { $format: any; }
|
interface Window { $format: any; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
interface IAutoNumberingProps{
|
interface IAutoNumberingProps{
|
||||||
//文書番号を格納する
|
//文書番号を格納する
|
||||||
field:IField;
|
field:IField;
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ export class ConditionTree {
|
|||||||
}else{
|
}else{
|
||||||
return fieldValue.value;
|
return fieldValue.value;
|
||||||
}
|
}
|
||||||
}else if(object.objectType==='var'){
|
}else if(object.objectType==='variable'){
|
||||||
return context.variables[object.varName].value;
|
return context.variables[object.varName].value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
244
sample.json
244
sample.json
@@ -1,33 +1,215 @@
|
|||||||
[
|
{
|
||||||
{
|
"id": "",
|
||||||
"component": "FieldInput",
|
"actionNodes": [
|
||||||
"props": {
|
{
|
||||||
"displayName": "フィールド",
|
"id": "cdd696f5-7e9c-4fd7-bf8b-9cd1b1605870",
|
||||||
"modelValue": {},
|
"name": "app.record.create.submit",
|
||||||
"name": "field",
|
"title": "レコード追加画面",
|
||||||
"placeholder": "対象項目を選択してください"
|
"subTitle": "保存をクリックしたとき",
|
||||||
}
|
"inputPoint": "",
|
||||||
},
|
"outputPoints": [],
|
||||||
{
|
"isRoot": true,
|
||||||
"component": "SelectBox",
|
"actionProps": [],
|
||||||
"props": {
|
"ActionValue": {},
|
||||||
"displayName": "表示/非表示",
|
"nextNodeIds": [
|
||||||
"options": [
|
[
|
||||||
"表示",
|
"",
|
||||||
"非表示"
|
"dfa6df09-7b3e-4848-89ad-2e9147004f31"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "dfa6df09-7b3e-4848-89ad-2e9147004f31",
|
||||||
|
"name": "自動採番する",
|
||||||
|
"inputPoint": "",
|
||||||
|
"outputPoints": [],
|
||||||
|
"actionProps": [
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"name": "displayName",
|
||||||
|
"displayName": "表示名",
|
||||||
|
"placeholder": "表示を入力してください",
|
||||||
|
"hint": "",
|
||||||
|
"modelValue": "文書番号を自動採番する"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "FieldInput",
|
||||||
|
"props": {
|
||||||
|
"displayName": "採番項目",
|
||||||
|
"modelValue": {
|
||||||
|
"name": "文書番号",
|
||||||
|
"type": "SINGLE_LINE_TEXT",
|
||||||
|
"code": "文書番号",
|
||||||
|
"label": "文書番号",
|
||||||
|
"noLabel": false,
|
||||||
|
"required": false,
|
||||||
|
"minLength": "",
|
||||||
|
"maxLength": "",
|
||||||
|
"expression": "",
|
||||||
|
"hideExpression": false,
|
||||||
|
"unique": false,
|
||||||
|
"defaultValue": ""
|
||||||
|
},
|
||||||
|
"name": "field",
|
||||||
|
"placeholder": "採番項目を選択してください"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"displayName": "フォーマット",
|
||||||
|
"modelValue": "000000",
|
||||||
|
"name": "format",
|
||||||
|
"placeholder": "数値書式文字列を指定します"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"displayName": "前につける文字列",
|
||||||
|
"modelValue": "",
|
||||||
|
"name": "prefix",
|
||||||
|
"placeholder": "前につける文字列を入力してください"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"displayName": "後ろにつける文字列",
|
||||||
|
"modelValue": "{$format('yyyyMMdd')}",
|
||||||
|
"name": "suffix",
|
||||||
|
"placeholder": "後ろにつける文字列を入力してください"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"displayName": "結果(戻り値)",
|
||||||
|
"modelValue": "docNumber",
|
||||||
|
"name": "verName",
|
||||||
|
"placeholder": "変数名を入力してください"
|
||||||
|
}
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"modelValue": "",
|
"prevNodeId": "cdd696f5-7e9c-4fd7-bf8b-9cd1b1605870",
|
||||||
"name": "show",
|
"nextNodeIds": [
|
||||||
"placeholder": ""
|
[
|
||||||
|
"",
|
||||||
|
"b32bf329-f05a-486f-9b79-9920b57fe324"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "b32bf329-f05a-486f-9b79-9920b57fe324",
|
||||||
|
"name": "条件式",
|
||||||
|
"inputPoint": "",
|
||||||
|
"outputPoints": [
|
||||||
|
"はい",
|
||||||
|
"いいえ"
|
||||||
|
],
|
||||||
|
"actionProps": [
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"name": "displayName",
|
||||||
|
"displayName": "表示名",
|
||||||
|
"placeholder": "表示を入力してください",
|
||||||
|
"hint": "",
|
||||||
|
"modelValue": "条件式を設定する"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "ConditionInput",
|
||||||
|
"props": {
|
||||||
|
"displayName": "条件",
|
||||||
|
"modelValue": "{\"index\":0,\"type\":\"root\",\"children\":[{\"index\":1,\"type\":\"condition\",\"parent\":\"root\",\"object\":{\"name\":\"部署\",\"objectType\":\"field\",\"type\":\"DROP_DOWN\",\"code\":\"ドロップダウン\",\"label\":\"部署\",\"noLabel\":false,\"required\":false,\"options\":{\"総務\":{\"label\":\"総務\",\"index\":\"2\"},\"サポート\":{\"label\":\"サポート\",\"index\":\"3\"},\"マーケティング\":{\"label\":\"マーケティング\",\"index\":\"1\"},\"営業\":{\"label\":\"営業\",\"index\":\"0\"},\"開発\":{\"label\":\"開発\",\"index\":\"4\"}},\"defaultValue\":\"\"},\"operator\":\"!=\",\"value\":\"\"},{\"index\":2,\"type\":\"condition\",\"parent\":\"root\",\"object\":{\"name\":\"所感、学び\",\"objectType\":\"field\",\"type\":\"MULTI_LINE_TEXT\",\"code\":\"文字列__複数行__0\",\"label\":\"所感、学び\",\"noLabel\":false,\"required\":false,\"defaultValue\":\"\"},\"operator\":\"!=\",\"value\":\"\"},{\"index\":3,\"type\":\"condition\",\"parent\":\"root\",\"object\":{\"name\":\"業務内容\",\"objectType\":\"field\",\"type\":\"MULTI_LINE_TEXT\",\"code\":\"文字列__複数行_\",\"label\":\"業務内容\",\"noLabel\":false,\"required\":false,\"defaultValue\":\"\"},\"operator\":\"!=\",\"value\":\"\"},{\"index\":4,\"type\":\"condition\",\"parent\":\"root\",\"object\":{\"name\":\"ステータス\",\"objectType\":\"field\",\"type\":\"STATUS\",\"code\":\"ステータス\",\"label\":\"ステータス\",\"enabled\":true},\"operator\":\"=\",\"value\":\"作成中\"}],\"parent\":null,\"logicalOperator\":\"AND\"}",
|
||||||
|
"name": "condition",
|
||||||
|
"placeholder": "条件式を設定してください"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"displayName": "結果(戻り値)",
|
||||||
|
"modelValue": "conditionResult",
|
||||||
|
"name": "verName",
|
||||||
|
"placeholder": "変数名を入力してください"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"prevNodeId": "dfa6df09-7b3e-4848-89ad-2e9147004f31",
|
||||||
|
"nextNodeIds": [
|
||||||
|
[
|
||||||
|
"いいえ",
|
||||||
|
"82bdcbcc-d8c1-4e2c-b38f-f736c95b193a"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "82bdcbcc-d8c1-4e2c-b38f-f736c95b193a",
|
||||||
|
"name": "表示/非表示",
|
||||||
|
"inputPoint": "いいえ",
|
||||||
|
"outputPoints": [],
|
||||||
|
"actionProps": [
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"name": "displayName",
|
||||||
|
"displayName": "表示名",
|
||||||
|
"placeholder": "表示を入力してください",
|
||||||
|
"hint": "",
|
||||||
|
"modelValue": "指定項目の表示・非表示を設定する"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "FieldInput",
|
||||||
|
"props": {
|
||||||
|
"displayName": "フィールド",
|
||||||
|
"modelValue": {
|
||||||
|
"name": "文書番号",
|
||||||
|
"type": "SINGLE_LINE_TEXT",
|
||||||
|
"code": "文書番号",
|
||||||
|
"label": "文書番号",
|
||||||
|
"noLabel": false,
|
||||||
|
"required": false,
|
||||||
|
"minLength": "",
|
||||||
|
"maxLength": "",
|
||||||
|
"expression": "",
|
||||||
|
"hideExpression": false,
|
||||||
|
"unique": false,
|
||||||
|
"defaultValue": ""
|
||||||
|
},
|
||||||
|
"name": "field",
|
||||||
|
"placeholder": "対象項目を選択してください"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "SelectBox",
|
||||||
|
"props": {
|
||||||
|
"displayName": "表示/非表示",
|
||||||
|
"options": [
|
||||||
|
"表示",
|
||||||
|
"非表示"
|
||||||
|
],
|
||||||
|
"modelValue": "非表示",
|
||||||
|
"name": "show",
|
||||||
|
"placeholder": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "ConditionInput",
|
||||||
|
"props": {
|
||||||
|
"displayName": "条件",
|
||||||
|
"modelValue": "{\"index\":0,\"type\":\"root\",\"children\":[{\"index\":1,\"type\":\"condition\",\"parent\":\"root\",\"object\":{},\"operator\":\"=\",\"value\":\"\"}],\"parent\":null,\"logicalOperator\":\"AND\"}",
|
||||||
|
"name": "condition",
|
||||||
|
"placeholder": "条件式を設定してください"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"prevNodeId": "b32bf329-f05a-486f-9b79-9920b57fe324",
|
||||||
|
"nextNodeIds": []
|
||||||
}
|
}
|
||||||
},
|
]
|
||||||
{
|
}
|
||||||
"component": "ConditionInput",
|
|
||||||
"props": {
|
|
||||||
"displayName": "条件",
|
|
||||||
"modelValue": "",
|
|
||||||
"name": "condition",
|
|
||||||
"placeholder": "対象項目を選択してください"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
206
sample2.json
206
sample2.json
@@ -1,59 +1,167 @@
|
|||||||
{
|
{
|
||||||
"index": 0,
|
"id": "e4929dfe-32bb-448a-bd66-83c19dad9c79",
|
||||||
"type": "root",
|
"actionNodes": [
|
||||||
"children": [
|
|
||||||
{
|
{
|
||||||
"index": 1,
|
"id": "06388b74-ef56-4ba2-9fba-2dbde999c34d",
|
||||||
"type": "condition",
|
"name": "app.record.create.submit",
|
||||||
"parent": "root",
|
"title": "レコード追加画面",
|
||||||
"logicalOperator": "AND",
|
"subTitle": "保存をクリックしたとき",
|
||||||
"object": {
|
"inputPoint": "",
|
||||||
"label": "Field 1",
|
"outputPoints": [],
|
||||||
"value": "field1"
|
"isRoot": true,
|
||||||
},
|
"actionProps": [],
|
||||||
"operator": "=",
|
"ActionValue": {},
|
||||||
"value": "1"
|
"nextNodeIds": {
|
||||||
|
"": "5963b63a-bfea-49d0-9a8e-b57abe99e2a7"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"index": 2,
|
"id": "5963b63a-bfea-49d0-9a8e-b57abe99e2a7",
|
||||||
"type": "condition",
|
"name": "自動採番する",
|
||||||
"parent": "root",
|
"inputPoint": "",
|
||||||
"logicalOperator": "AND",
|
"outputPoints": [],
|
||||||
"object": {
|
"actionProps": [
|
||||||
"label": "Field 1",
|
{
|
||||||
"value": "field1"
|
"component": "InputText",
|
||||||
},
|
"props": {
|
||||||
"operator": "=",
|
"name": "displayName",
|
||||||
"value": "2"
|
"displayName": "表示名",
|
||||||
|
"placeholder": "表示を入力してください",
|
||||||
|
"hint": "",
|
||||||
|
"modelValue": "文書番号を自動採番する"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "FieldInput",
|
||||||
|
"props": {
|
||||||
|
"displayName": "採番項目",
|
||||||
|
"modelValue": {},
|
||||||
|
"name": "field",
|
||||||
|
"placeholder": "採番項目を選択してください"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"displayName": "フォーマット",
|
||||||
|
"modelValue": "000000",
|
||||||
|
"name": "format",
|
||||||
|
"placeholder": "数値書式文字列を指定します"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"displayName": "前につける文字列",
|
||||||
|
"modelValue": "",
|
||||||
|
"name": "prefix",
|
||||||
|
"placeholder": "前につける文字列を入力してください"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"displayName": "後ろにつける文字列",
|
||||||
|
"modelValue": "",
|
||||||
|
"name": "suffix",
|
||||||
|
"placeholder": "後ろにつける文字列を入力してください"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"displayName": "結果(戻り値)",
|
||||||
|
"modelValue": "DocumentNo",
|
||||||
|
"name": "verName",
|
||||||
|
"placeholder": "変数名を入力してください"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"prevNodeId": "06388b74-ef56-4ba2-9fba-2dbde999c34d",
|
||||||
|
"nextNodeIds": {
|
||||||
|
"": "f1fb6e7c-540c-4fcc-8d30-bd22aed7f923"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"index": 3,
|
"id": "f1fb6e7c-540c-4fcc-8d30-bd22aed7f923",
|
||||||
"type": "condition",
|
"name": "条件式",
|
||||||
"parent": "root",
|
"inputPoint": "",
|
||||||
"logicalOperator": "AND",
|
"outputPoints": [
|
||||||
"object": {
|
"はい",
|
||||||
"label": "Field 1",
|
"いいえ"
|
||||||
"value": "field1"
|
],
|
||||||
},
|
"actionProps": [
|
||||||
"operator": {
|
{
|
||||||
"label": ">",
|
"component": "InputText",
|
||||||
"value": "Greater"
|
"props": {
|
||||||
},
|
"name": "displayName",
|
||||||
"value": "3"
|
"displayName": "表示名",
|
||||||
|
"placeholder": "表示を入力してください",
|
||||||
|
"hint": "",
|
||||||
|
"modelValue": "条件式を設定する"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "ConditionInput",
|
||||||
|
"props": {
|
||||||
|
"displayName": "条件",
|
||||||
|
"modelValue": "{\"index\":0,\"type\":\"root\",\"children\":[{\"index\":1,\"type\":\"condition\",\"parent\":\"root\",\"object\":{\"name\":\"ステータス\",\"objectType\":\"field\",\"type\":\"STATUS\",\"code\":\"ステータス\",\"label\":\"ステータス\",\"enabled\":true},\"operator\":\"=\",\"value\":\"作成中\"},{\"index\":2,\"type\":\"condition\",\"parent\":\"root\",\"object\":{\"name\":\"部署\",\"objectType\":\"field\",\"type\":\"DROP_DOWN\",\"code\":\"ドロップダウン\",\"label\":\"部署\",\"noLabel\":false,\"required\":false,\"options\":{\"総務\":{\"label\":\"総務\",\"index\":\"2\"},\"サポート\":{\"label\":\"サポート\",\"index\":\"3\"},\"マーケティング\":{\"label\":\"マーケティング\",\"index\":\"1\"},\"営業\":{\"label\":\"営業\",\"index\":\"0\"},\"開発\":{\"label\":\"開発\",\"index\":\"4\"}},\"defaultValue\":\"\"},\"operator\":\"!=\",\"value\":\"\"},{\"index\":4,\"type\":\"condition\",\"parent\":\"root\",\"object\":{\"objectType\":\"variable\",\"actionName\":\"自動採番する\",\"displayName\":\"結果(戻り値)\",\"name\":\"DocumentNo\"},\"operator\":\"=\",\"value\":\"\"}],\"parent\":null,\"logicalOperator\":\"AND\"}",
|
||||||
|
"name": "condition",
|
||||||
|
"placeholder": "条件式を設定してください"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "InputText",
|
||||||
|
"props": {
|
||||||
|
"displayName": "結果(戻り値)",
|
||||||
|
"modelValue": "conditionValue",
|
||||||
|
"name": "verName",
|
||||||
|
"placeholder": "変数名を入力してください"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"prevNodeId": "5963b63a-bfea-49d0-9a8e-b57abe99e2a7",
|
||||||
|
"nextNodeIds": {
|
||||||
|
"いいえ": "81987177-746f-44f2-8cd5-acf52ebb83bb"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"index": 4,
|
"id": "81987177-746f-44f2-8cd5-acf52ebb83bb",
|
||||||
"type": "condition",
|
"name": "エラー表示",
|
||||||
"parent": "root",
|
"inputPoint": "いいえ",
|
||||||
"logicalOperator": "AND",
|
"outputPoints": [],
|
||||||
"object": {
|
"actionProps": [
|
||||||
"label": "Field 1",
|
{
|
||||||
"value": "field1"
|
"component": "InputText",
|
||||||
},
|
"props": {
|
||||||
"operator": "=",
|
"name": "displayName",
|
||||||
"value": "4"
|
"displayName": "表示名",
|
||||||
|
"placeholder": "表示を入力してください",
|
||||||
|
"hint": "",
|
||||||
|
"modelValue": "入力した内容が不適切な場合"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "ConditionInput",
|
||||||
|
"props": {
|
||||||
|
"displayName": "条件",
|
||||||
|
"modelValue": "{\"index\":0,\"type\":\"root\",\"children\":[{\"index\":1,\"type\":\"condition\",\"parent\":\"root\",\"object\":{\"objectType\":\"variable\",\"actionName\":\"条件式\",\"displayName\":\"結果(戻り値)\",\"name\":\"conditionValue\"},\"operator\":\"=\",\"value\":\"いいえ\"}],\"parent\":null,\"logicalOperator\":\"AND\"}",
|
||||||
|
"name": "condition",
|
||||||
|
"placeholder": "条件を選択または入力してください"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"component": "MuiltInputText",
|
||||||
|
"props": {
|
||||||
|
"displayName": "エラーメッセージ",
|
||||||
|
"modelValue": "",
|
||||||
|
"name": "message",
|
||||||
|
"placeholder": "エラーメッセージを入力してください"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"prevNodeId": "f1fb6e7c-540c-4fcc-8d30-bd22aed7f923",
|
||||||
|
"nextNodeIds": {}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"parent": null,
|
|
||||||
"logicalOperator": "AND"
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user