index.js 983 Bytes
import filter from '@/utils/filter.js'
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      {
        type: 'selection'
      },
      {
        prop: "jrddm",
        label: "接入点代码",
      },
      {
        prop: "jrdmc",
        label: "接入点名称",
      },
      {
        prop: "dlmc",
        label: "队列名称",
      },
      {
        prop: "ip",
        label: "ip地址",
      },
      {
        prop: "dk",
        label: "端口号",
      },
      {
        prop: "fzr",
        label: "负责人",
      },
      {
        prop: 'status',
        label: '状态',
        render: (h, scope) => {
          return (
            <div>
              {
                scope.row.status
                  ? <el-tag type='warning'>中断</el-tag>
                  : <el-tag type='warning'>中断1</el-tag>
              }
            </div>
          )
        }
      },
    ]
  }
}
export default new data()