feat:lookup同期アクション
This commit is contained in:
110
sample.json
110
sample.json
@@ -2,7 +2,7 @@
|
||||
"id": "",
|
||||
"actionNodes": [
|
||||
{
|
||||
"id": "c5cd772a-04be-418e-a811-3787f98a2285",
|
||||
"id": "822b5b2c-cfb7-447a-ae77-01bf3a530fae",
|
||||
"name": "app.record.create.show",
|
||||
"title": "レコード追加画面",
|
||||
"subTitle": "レコード追加画面を表示した後",
|
||||
@@ -12,12 +12,12 @@
|
||||
"actionProps": [],
|
||||
"ActionValue": {},
|
||||
"nextNodeIds": {
|
||||
"": "1eb097b1-9d08-462e-97b0-6e3e1232edef"
|
||||
"": "3a762b11-8e15-4353-8148-306bfed6cd5e"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "1eb097b1-9d08-462e-97b0-6e3e1232edef",
|
||||
"name": "属性UIテスト用",
|
||||
"id": "3a762b11-8e15-4353-8148-306bfed6cd5e",
|
||||
"name": "ルックアップ更新",
|
||||
"inputPoint": "",
|
||||
"outputPoints": [],
|
||||
"actionProps": [
|
||||
@@ -28,85 +28,73 @@
|
||||
"displayName": "表示名",
|
||||
"placeholder": "表示を入力してください",
|
||||
"hint": "",
|
||||
"modelValue": "属性UIテスト用"
|
||||
"modelValue": "元データ更新時にルックアップ先が同期する"
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": "AppFieldSelect",
|
||||
"props": {
|
||||
"displayName": "フィールド選択(複数)",
|
||||
"displayName": "更新先選択",
|
||||
"modelValue": {
|
||||
"app": {
|
||||
"id": "64",
|
||||
"name": "日報テスト",
|
||||
"description": "日々の業務内容、報告事項、所感などを記載していくアプリです。\n記録を行うだけでなく、あとからの振り返りやメンバー間のコミュニケーションにも活用できます。",
|
||||
"createdate": "2023/07/15 10:15:03"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"name": "ステータス",
|
||||
"type": "STATUS",
|
||||
"code": "ステータス",
|
||||
"label": "ステータス",
|
||||
"enabled": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "selectFields",
|
||||
"placeholder": "アプリ選択後、フィールドを選んでください",
|
||||
"selectType": "multiple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": "AppFieldSelect",
|
||||
"props": {
|
||||
"displayName": "フィールド選択(単一)",
|
||||
"modelValue": {
|
||||
"app": {
|
||||
"id": "58",
|
||||
"name": "日報",
|
||||
"id": "247",
|
||||
"name": "商品購買記録",
|
||||
"description": "",
|
||||
"createdate": "2023/07/13 19:05:26"
|
||||
"createdate": "2024/06/24 02:49:12"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"name": "所感、学び",
|
||||
"type": "MULTI_LINE_TEXT",
|
||||
"code": "文字列__複数行__0",
|
||||
"label": "所感、学び",
|
||||
"name": "商品ID",
|
||||
"type": "SINGLE_LINE_TEXT",
|
||||
"code": "商品ID",
|
||||
"label": "商品ID",
|
||||
"noLabel": false,
|
||||
"required": false,
|
||||
"defaultValue": ""
|
||||
"required": true,
|
||||
"lookup": {
|
||||
"relatedApp": {
|
||||
"app": "246",
|
||||
"code": ""
|
||||
},
|
||||
"relatedKeyField": "商品ID",
|
||||
"fieldMappings": [
|
||||
{
|
||||
"field": "商品名",
|
||||
"relatedField": "商品名"
|
||||
},
|
||||
{
|
||||
"field": "単価",
|
||||
"relatedField": "価格"
|
||||
}
|
||||
],
|
||||
"lookupPickerFields": [
|
||||
"商品名",
|
||||
"価格"
|
||||
],
|
||||
"filterCond": "",
|
||||
"sort": "レコード番号 desc"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "selectField",
|
||||
"placeholder": "アプリ選択後、フィールドを選んでください",
|
||||
"selectType": "single"
|
||||
"name": "lookupField",
|
||||
"placeholder": "",
|
||||
"fieldTypes": [
|
||||
"lookup"
|
||||
],
|
||||
"hint": "更新先のルックアップフィールドを選択する"
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": "ColorPicker",
|
||||
"component": "ConditionInput",
|
||||
"props": {
|
||||
"displayName": "色選択",
|
||||
"modelValue": "#f50000",
|
||||
"name": "color",
|
||||
"placeholder": "カラーを選択してください"
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": "NumInput",
|
||||
"props": {
|
||||
"displayName": "数値入力フィールド",
|
||||
"modelValue": 100,
|
||||
"name": "num",
|
||||
"max": 100,
|
||||
"min": 0,
|
||||
"placeholder": "数値を入力してください"
|
||||
"displayName": "更新条件",
|
||||
"modelValue": "{\"index\":0,\"type\":\"root\",\"children\":[{\"index\":1,\"type\":\"condition\",\"parent\":\"root\",\"object\":{},\"operator\":\"=\",\"value\":\"\"}],\"parent\":null,\"logicalOperator\":\"AND\"}",
|
||||
"name": "condition",
|
||||
"placeholder": "条件式を設定してください"
|
||||
}
|
||||
}
|
||||
],
|
||||
"prevNodeId": "c5cd772a-04be-418e-a811-3787f98a2285",
|
||||
"prevNodeId": "822b5b2c-cfb7-447a-ae77-01bf3a530fae",
|
||||
"nextNodeIds": {}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user