<template>
  <sd-data-table-ex
    form-id="iamCubeExamine"
    page-id="cube/examine/iamCubeExamine"
    :columns="columns"
    :actions="actions"
    show-selection
    :search-fields="[]"
    :filter-expressions="expressions"
  >
  </sd-data-table-ex>
</template>

<script>
import TableColumnTypes from '@/common/services/table-column-types'
import TableActionTypes from '@/common/services/table-action-types'
import components from './_import-components/cube-examine-list-import'

export default {
  name: 'CubeExamineList',
  metaInfo: {
    title: '审核结果列表',
  },
  components,
  data() {
    return {
      expressions: [
        {
          dataType: 'long',
          name: 'isNewest',
          op: 'eq',
          longValue: 1,
        },
      ],
      columns: [
        {
          title: '序号',
          dataIndex: 'sortNumber',
          width: '80px',
          customRender: (text, record, index) => `${index + 1}`,
        },
        // {
        //   title: '合同id',
        //   dataIndex: 'contractId',
        // },
        // {
        //   title: '附件code',
        //   dataIndex: 'attachmentCode',
        // },
        // {
        //   title: '附件id',
        //   dataIndex: 'attachmentId',
        // },
        // {
        //   title: '附件是否有效',
        //   dataIndex: 'isValid',
        // },
        {
          title: '规则编码',
          dataIndex: 'code',
        },
        {
          title: '规则名称',
          dataIndex: 'name',
        },
        {
          title: '重要程度',
          dataIndex: 'level',
        },
        {
          title: '规则类型',
          dataIndex: 'ruleType',
        },
        {
          title: '规则状态',
          dataIndex: 'ruleStatus',
        },
      ],
      actions: [],
    }
  },
  created() {},
  methods: {},
}
</script>

<style module lang="scss">
@use '@/common/design' as *;
</style>
