const exploitSettingFormRow = [
  {
    elCol: [
      {
        type: "select",
        title: "接入方式",
        id: "accessMode",
        row: 24,
        disabled: false,
        required: true,
        fontSize: 16,
        options: [
          {
            id: "1",
            label: "接口",
          },
          {
            id: "2",
            label: "H5",
          },
          {
            id: "3",
            label: "PC网页",
          },
          {
            id: "4",
            label: "PC应用程序",
          },
        ],
        multiple: true,
      },
    ],
  },
  {
    elCol: [
      {
        type: "input",
        title: "应用客户端地址（pc)",
        id: "clientPath",
        row: 24,
        disabled: false,
        required: false,
        fontSize: 16
      },
    ],
  },
  {
    elCol: [
      {
        type: "input",
        title: "应用网页端地址（pc)",
        id: "webPath",
        row: 24,
        disabled: false,
        required: false,
        fontSize: 16
      },
    ],
  },
  {
    elCol: [
      {
        type: "input",
        title: "应用程序地址（移动端)",
        id: "programPath",
        row: 24,
        disabled: false,
        required: false,
        fontSize: 16
      },
    ],
  },
  {
    elCol: [
      {
        type: "input",
        title: "ip白名单",
        id: "systemAddress",
        row: 24,
        disabled: false,
        fontSize: 16,
        placeholder:"请输入ip白名单并以,分割"
      },
    ],
  },
  {
    elCol: [
      {
        type: "input",
        title: "应用Key",
        id: "publicKey",
        row: 24,
        disabled: true,
        required: false,
        fontSize: 16,
        double: true
      },
    ],
  },
  {
    elCol: [
      {
        type: "input",
        title: "应用密钥",
        id: "secretKey",
        row: 24,
        disabled: true,
        fontSize: 16,
        double: true
      },
    ],
  },
  {
    elCol: [
      {
        type: "input",
        title: "appId ",
        id: "appId",
        row: 24,
        disabled: true,
        fontSize: 16,
        double: true,
        required: false,
      },
    ],
  },
]
const apiEnvFormRow = [
  {
    elCol: [
      {
        type: "input",
        title: "接口地址",
        id: "interfaceAddress",
        row: 24,
        disabled: false,
        required: false,
        fontSize: 16
      },
    ],
  },
]
const tableColumn = [
  {
    id: 'interfaceKey',
    title: "Key"
  },
  {
    id: 'interfaceValue',
    title: "Value"
  },
  {
    id: 'interfaceType',
    title: "位置"
  },
]
const dataSettingFormRow = [
  {
    elCol: [
      {
        type: "select",
        title: "数据源类型",
        id: "sourceType",
        row: 24,
        disabled: false,
        required: true,
        fontSize: 16,
        options: [
          {
            id: "1",
            label: "oracle "
          },
          {
            id: "2",
            label: "sqlServer"
          },
          {
            id: "3",
            label: "mysql"
          },
        ],
      },
    ],
  },
  {
    elCol: [
      {
        type: "input",
        title: "实例地址",
        id: "sourceUrl",
        row: 24,
        disabled: false,
        required: true,
        fontSize: 16
      },
    ],
  },
  {
    elCol: [
      {
        type: "input",
        title: "账户",
        id: "loginName",
        row: 8,
        disabled: false,
        required: true,
        fontSize: 16
      },
      {
        type: "input",
        title: "密码",
        id: "password",
        row: 8,
        disabled: false,
        required: true,
        fontSize: 16
      },
      {
        type: "input",
        title: "库名",
        id: "dbName",
        row: 8,
        disabled: false,
        required: true,
        fontSize: 16
      },
    ],
  },
]
const config = {
  exploitSettingFormRow,
  apiEnvFormRow,
  tableColumn,
  dataSettingFormRow
}
export default config
