const addForm = [
  {
    elCol: [
      {
        type: "input",
        title: "应用名称",
        id: "name",
        row: 24,
        disabled: false,
        required: true,
        fontSize: 16
      },
    ],
  },
  {
    elCol: [
      {
        type: "input",
        title: "版本号",
        id: "versionNumber",
        row: 24,
        disabled: false,
        required: true,
        fontSize: 16,
        rules: false,
        rulesName: "decimal"
      },
    ],
  },
  {
    elCol: [
      {
        type: "select",
        title: "接入方式",
        id: "accessMode",
        row: 24,
        disabled: false,
        required: true,
        options: [
          {
            id: "1",
            label: "接口",
          },
          {
            id: "2",
            label: "H5",
          },
          {
            id: "3",
            label: "PC网页",
          },
          {
            id: "4",
            label: "PC应用程序",
          },
        ],
        fontSize: 16,
        multiple: true,
      },
    ],
  },
  {
    elCol: [
      {
        type: "select",
        title: "所属领域",
        id: "affiliationField",
        row: 24,
        disabled: false,
        required: true,
        options: [],
        fontSize: 16

      },
    ],
  },
  {
    elCol: [
      {
        type: "input",
        title: "厂商",
        id: "manufacturer",
        row: 24,
        disabled: false,
        required: false,
        fontSize: 16
      },
    ],
  },
  {
    elCol: [
      {
        type: "textrea",
        title: "应用简介",
        id: "appIntroduction",
        row: 24,
        disabled: false,
        fontSize: 16

      },
    ],
  },
]

const tableColumn = [
  {
    id: "name",
    title: "应用名称",
    width: 150
  },
  {
    id: "accessMode",
    title: "接入方式",
  },
  {
    id: "manufacturer",
    title: "厂商",
    tooltip: true,
    width: 150,
  },
  {
    id: "affiliationFieldName",
    title: "所属领域",
    tooltip: true,
    width: 150,
  },
  {
    id: "appIntroduction",
    title: "产品描述",
    tooltip: true,
  },
  {
    id: "interfaceStatus",
    title: "接口",
    width: 100,
  },
  {
    id: "dbStatus",
    title: "数据源",
    tooltip: true,
    width: 100,
    disabled: true
  },
  {
    id: "appStatus",
    title: "状态",
    tooltip: true,
    width: 100,
  }
]
const settingMenu = [
  {
    title: "应用信息",
    icon: "appMenu01",
    path: "applicationEdit"
  },
  {
    title: "开发管理",
    icon: "appMenu02",
    path: "exploit"
  },
  {
    title: "API接口清单",
    icon: "appMenu03",
    path: "appApiAdmin"
  },
  {
    title: "安全与监控",
    icon: "appMenu04"
  },
  {
    title: "权限管理",
    icon: "appMenu05",
    path: 'authority'
  },
  {
    title: "插件管理",
    icon: "appMenu06",
    path: 'inserterAdmin'
  },
]
const configData = {
  addForm,
  tableColumn,
  settingMenu
}
export default configData
