|
@@ -498,6 +498,8 @@
|
|
|
});
|
|
|
const { notification } = useMessage();
|
|
|
const generatorConfig = inject<GeneratorConfig>('generatorConfig') as GeneratorConfig;
|
|
|
+ console.log('generatorConfig', generatorConfig);
|
|
|
+ // generatorConfig!.formJson!.list.push()
|
|
|
const current = inject<Ref<number>>('current') as Ref<number>;
|
|
|
const designType = inject<string>('designType', '');
|
|
|
const tableInfo = inject<Ref<TableInfo[]>>('tableInfo', ref([]));
|
|
@@ -1007,6 +1009,7 @@
|
|
|
columns.splice(oldIndex, 1);
|
|
|
}
|
|
|
generatorConfig!.listConfig!.columnConfigs = cloneDeep(columns);
|
|
|
+ console.log(generatorConfig!.listConfig!.columnConfigs);
|
|
|
columnTableKey.value++;
|
|
|
},
|
|
|
});
|
|
@@ -1174,7 +1177,12 @@
|
|
|
};
|
|
|
|
|
|
const selectOption = computed(() => {
|
|
|
- return filterMainComponent(generatorConfig?.formJson?.list);
|
|
|
+ const list = filterMainComponent(generatorConfig?.formJson?.list);
|
|
|
+ list.push({
|
|
|
+ label: '创建时间',
|
|
|
+ value: 'create_date',
|
|
|
+ });
|
|
|
+ return list;
|
|
|
});
|
|
|
|
|
|
const querySelectOption = computed(() => {
|