新增前端vue

This commit is contained in:
2025-12-10 15:50:10 +08:00
parent 62457d9b24
commit d8c8f60eb5
4 changed files with 7 additions and 16 deletions

View File

@@ -24,7 +24,7 @@ import * as echarts from 'echarts';
const defaultFormValues = {
ctype: '1',
fcycle: 'D'
fcycle: 'M'
};
const currentFormValues = ref<Record<string, any>>({ ...defaultFormValues });
@@ -32,7 +32,7 @@ const currentFormValues = ref<Record<string, any>>({ ...defaultFormValues });
// 表单配置
const schemas: FormSchema[] = [
{
label: '交易类型',
label: '类型',
field: 'ctype',
component: 'Select',
defaultValue: defaultFormValues.ctype,
@@ -47,7 +47,7 @@ const schemas: FormSchema[] = [
colProps: { md: 12, lg: 12 },
},
{
label: '周期类型',
label: '周期',
field: 'fcycle',
component: 'Select',
defaultValue: defaultFormValues.fcycle,

View File

@@ -28,13 +28,13 @@ import type {
// 表单默认值
const defaultFormValues = ref({
cycleType: 'D'
cycleType: 'M'
});
// 表单配置
const schemas: FormSchema[] = [
{
label: '周期类型',
label: '周期',
field: 'cycleType',
defaultValue: defaultFormValues.value.cycleType,
component: 'Select',