新增前端vue
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user