feat:一覧画面の値変更イベント を利用不可にする

This commit is contained in:
xiaozhe.ma
2024-08-06 14:27:54 +09:00
parent a4e9d73f3e
commit 850383d1d2
2 changed files with 22 additions and 8 deletions

View File

@@ -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
}
}
});

View File

@@ -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',
'ボタンをクリックした時',