index.js 3.54 KB
import filter from '@/utils/filter.js'
class data extends filter {
  constructor() {
    super()
  }
  columns () {
    return [
      {
        prop: "areaName",
        label: "行政区划",
        width: '90'
      },
      {
        label: '分项',
        children: [
          {
            width:1
          },
          {
            label: '国有建设用地使用权登记得分及空项率',
            children: [
              {
                prop: 'gyjsydsyqRate',
                render: (h, scope) => {
                  return (
                    <span>{scope.row.gyjsydsyqRate.toFixed(2)}</span>
                  );
                },
              },
              {
                prop: 'gyjsydsyqRadio',
                render: (h, scope) => {
                  return (
                    <span>{(scope.row.gyjsydsyqRadio * 100).toFixed(2)}%</span>
                  );
                },
              }
            ]
          },
          {
            label: '国有建设用地使用权和房屋所有权登记得分及空项率',
            children: [
              {
                prop: 'fwsyqRate',
                width: 176,
                render: (h, scope) => {
                  return (
                    <span>{scope.row.fwsyqRate.toFixed(2)}</span>
                  );
                },
              },
              {
                prop: 'fwsyqRadio',
                width: 176,
                render: (h, scope) => {
                  return (
                    <span>{(scope.row.fwsyqRadio * 100).toFixed(2)}%</span>
                  );
                },
              }
            ]
          },
          {
            label: '抵押权登记得分及空项率',
            children: [
              {
                prop: 'dyqRate',
                render: (h, scope) => {
                  return (
                    <span>{scope.row.dyqRate.toFixed(2)}</span>
                  );
                },
              },
              {
                prop: 'dyqRadio',
                render: (h, scope) => {
                  return (
                    <span>{(scope.row.dyqRadio * 100).toFixed(2)}%</span>
                  );
                },
              }
            ]
          },
          {
            label: '预告登记得分及空项率',
            children: [
              {
                prop: 'ygdjRate',
                render: (h, scope) => {
                  return (
                    <span>{scope.row.ygdjRate.toFixed(2)}</span>
                  );
                },
              },
              {
                prop: 'ygdjRadio',
                render: (h, scope) => {
                  return (
                    <span>{(scope.row.ygdjRadio * 100).toFixed(2)}%</span>
                  );
                },
              }
            ]
          },
          {
            label: '查封登记得分及空项率',
            children: [
              {
                prop: 'cfdjRate',
                render: (h, scope) => {
                  return (
                    <span>{scope.row.cfdjRate.toFixed(2)}</span>
                  );
                },
              },
              {
                prop: 'cfdjRadio',
                render: (h, scope) => {
                  return (
                    <span>{(scope.row.cfdjRadio * 100).toFixed(2)}%</span>
                  );
                },
              }
            ]
          }
        ]
      },
      {
        prop: "rate",
        width: '90',
        label: "综合评分",
      },
    ]
  }
}
export default new data()