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: [{
      title: '数据源编码',
      id: 'sourceCode',
      type: 'input',
      row: 24,
      disabled: false,
      required: true,
      fontSize: 16
    }]
  },
  {
    elCol: [{
      title: '数据源名称',
      id: 'sourceName',
      type: 'input',
      row: 24,
      disabled: false,
      required: true,
      fontSize: 16

    }]
  },
  {
    elCol: [{
      title: 'ip',
      id: 'sourceIp',
      type: 'input',
      changeRemind: true,
      row: 12,
      required: true,
      fontSize: 16
    }, {
      title: '端口',
      id: 'sourcePort',
      type: 'input',
      changeRemind: true,
      row: 12,
      required: true,
      fontSize: 16
    }]
  },
  {
    elCol: [{
      title: '数据库名称',
      id: 'dbName',
      type: 'input',
      changeRemind: true,
      row: 12,
      required: true,
      fontSize: 16
    }, {
      title: '数据源类型',
      id: 'sourceType',
      type: 'select',
      changeRemind: true,
      row: 12,
      required: true,
      fontSize: 16,
      options: [
        {
          id: '1',
          label: 'oracle'
        },
        {
          id: '2',
          label: 'sqlsever'
        },
        {
          id: '3',
          label: 'mysql'
        },
        {
          id: '4',
          label: 'dm'
        }
      ]
    }]
  },
  {
    elCol: [{
      title: '登录名',
      id: 'loginName',
      type: 'input',
      changeRemind: true,
      row: 12,
      required: true,
      fontSize: 16
    }, {
      title: '密码',
      id: 'password',
      type: 'password',
      tag:"elInput",
      changeRemind: true,
      row: 12,
      required: true,
      fontSize: 16
    }]
  },
  {
    elCol: [{
      title: '服务名称',
      id: 'serviceName',
      type: 'input',
      show: false,
      changeRemind: true,
      row: 12,
      required: true,
      fontSize: 16
    },]
  }
]
const config = {
  exploitSettingFormRow,
  apiEnvFormRow,
  tableColumn,
  dataSettingFormRow
}
export default config
