Merged PR 75: feat:一覧画面の値変更イベント を利用不可にする
修正内容: 1.一覧画面の値変更イベント を利用不可にする 2.値変更イベント の設定可能な項目は以下の種別を限定する - ラジオボタン - ドロップダウン - チェックボックス - •複数選択 - ユーザー選択 - •組織選択 - グループ選択 - 日付 - 時刻 - 日時 - 文字列1行 *1 - 数値 *2 Related work items: #579
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
</template>
|
||||
</q-tree>
|
||||
<show-dialog v-model:visible="showDialog" name="フィールド選択" @close="closeDg">
|
||||
<field-select ref="appDg" name="フィールド" type="single" :appId="store.appInfo?.appId"></field-select>
|
||||
<field-select ref="appDg" name="フィールド" type="single" :fieldTypes="fieldTypes" :appId="store.appInfo?.appId"></field-select>
|
||||
</show-dialog>
|
||||
</template>
|
||||
|
||||
@@ -58,6 +58,19 @@ export default defineComponent({
|
||||
const store = useFlowEditorStore();
|
||||
const showDialog = ref(false);
|
||||
const tree = ref<QTree>();
|
||||
const fieldTypes=[
|
||||
'RADIO_BUTTON',
|
||||
'DROP_DOWN',
|
||||
'CHECK_BOX',
|
||||
'MULTI_SELECT',
|
||||
'USER_SELECT',
|
||||
'GROUP_SELECT',
|
||||
'ORGANIZATION_SELECT',
|
||||
'DATE',
|
||||
'DATETIME',
|
||||
'TIME',
|
||||
'SINGLE_LINE_TEXT',
|
||||
'NUMBER'];
|
||||
// const eventTree=ref(kintoneEvents);
|
||||
// const selectedFlow = store.currentFlow;
|
||||
|
||||
@@ -148,7 +161,8 @@ export default defineComponent({
|
||||
addChangeEvent,
|
||||
deleteEvent,
|
||||
closeDg,
|
||||
store
|
||||
store,
|
||||
fieldTypes
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -287,12 +287,12 @@ export class KintoneEventManager {
|
||||
'app.record.index.edit.submit.success',
|
||||
'app.record.index'
|
||||
),
|
||||
new kintoneEventForChange(
|
||||
'app.record.index.edit.change',
|
||||
'インライン編集のフィールド値を変更したとき',
|
||||
[],
|
||||
'app.record.index'
|
||||
),
|
||||
// new kintoneEventForChange(
|
||||
// 'app.record.index.edit.change',
|
||||
// 'インライン編集のフィールド値を変更したとき',
|
||||
// [],
|
||||
// 'app.record.index'
|
||||
// ),
|
||||
new kintoneEventGroup(
|
||||
'app.record.index.show.customButtonClick',
|
||||
'ボタンをクリックした時',
|
||||
|
||||
Reference in New Issue
Block a user