Ben Lin
2024-10-22 0c81362850314afd2a6cb5f5d6b332d7ad33058b
src/views/tigerprojects/system/lowcode/setting/setting.data.ts
@@ -1,3 +1,11 @@
/*
 * @Description: file content
 * @Author: Ben Lin
 * @version:
 * @Date: 2024-06-18 15:09:48
 * @LastEditors: Ben Lin
 * @LastEditTime: 2024-07-17 11:12:34
 */
import { BasicColumn, FormSchema } from '/@/components/Table';
//列表显示
@@ -10,6 +18,10 @@
  },
];
/**
 * @description: 查询字段结构
 * @return {*}
 */
export const newFormSchema: FormSchema[] = [
  {
    field: 'ASSEMBLY_NAME',
@@ -37,6 +49,10 @@
  },
];
/**
 * @description: 增删改字段结构
 * @return {*}
 */
export const crudSchemas: FormSchema[] = [
  {
    field: 'crudAssemblyName',
@@ -64,6 +80,10 @@
  },
];
/**
 * @description: 表格字段结构
 * @return {*}
 */
export const mainSchemas: FormSchema[] = [
  {
    field: 'MainAssemblyName',
@@ -86,7 +106,64 @@
    label: '1',
    colSlot: 'mainCondAdd',
    colProps: {
      span: 10,
      span: 2,
    },
  },
  {
    field: 'BY_ORG',
    label: '是否按组织查询',
    component: 'Select',
    defaultValue: 'N',
    colProps: { span: 4},
    componentProps: {
      options: [
        {
          label: '是',
          value: 'Y',
        },
        {
          label: '否',
          value: 'N',
        },
      ],
    },
  },
  {
    field: 'BY_PROD',
    label: '是否按工厂查询',
    component: 'Select',
    defaultValue: 'N',
    colProps: { span: 4},
    componentProps: {
      options: [
        {
          label: '是',
          value: 'Y',
        },
        {
          label: '否',
          value: 'N',
        },
      ],
    },
  },
  {
    field: 'BY_WH',
    label: '是否按仓库查询',
    component: 'Select',
    defaultValue: 'N',
    colProps: { span: 4},
    componentProps: {
      options: [
        {
          label: '是',
          value: 'Y',
        },
        {
          label: '否',
          value: 'N',
        },
      ],
    },
  },
];