export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
  title: "文件解析 ",
  excelBtn: true,
  menu: false,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  "column": [{
    "type": "select",
    "label": "所属场站",
    "prop": "stationCode",
    rules: [{
      required: true,
      message: '请填写场站编号',
      trigger: 'blur'
    }],
    filterable: true,
    dicUrl: '/electricfield/all'
  }
    , {
      "type": "input",
      "label": "文件名称",
      "prop": "fileTitle"
    }
    , {
      "type": "input",
      "label": "文件类型",
      "prop": "fileType"
    }
    , {
      "type": "input",
      "label": "文件存放路径",
      "prop": "filePath"
    }
    , {
      "type": "input",
      "label": "文件解析状态",
      "prop": "fileStatus",
      formatter: (row, value, label, column) => {
        if (value == 0) {
          return label = "失败"
        }
        if (value == 1) {
          return label = "成功"
        }
      }
    }
    , {
      "type": "input",
      "label": "文件描述",
      "prop": "fileDescription"
    }
  ]
}
