qushaowei
2023-12-29 e5ea7094423b4d48c080c9f5d135e0e29a8a8a68
src/views/eam/modules/dailyInspectionOrder/DailyInspectionOrderExeDrawer.vue
@@ -336,6 +336,18 @@
        xs: { span: 24 },
        sm: { span: 18 },
      },
      /* 分页参数 */
      ipagination: {
        current: 1,
        pageSize: 99,
        pageSizeOptions: ['99'],
        showTotal: (total, range) => {
          return range[0] + "-" + range[1] + " 共" + total + "条"
        },
        showQuickJumper: true,
        showSizeChanger: true,
        total: 0
      },
      columns: [
        {
          title: '#',
@@ -390,8 +402,8 @@
          align: 'center',
          dataIndex: 'inspectionProjectResult',
          scopedSlots: { customRender: 'inspectionProjectResult' },
          className: 'red',
        },
        // className: 'red',
        // {
        //   title: '判定',
        //   align: 'center',
@@ -409,8 +421,8 @@
          align: 'center',
          dataIndex: 'abnormalDesc',
          scopedSlots: { customRender: 'abnormalDesc' },
          className: 'red',
        },
        // className: 'red',
        // {
        //   title: '异常拍照',
        //   align: 'center',
@@ -422,8 +434,8 @@
          align: 'center',
          dataIndex: 'treatmentMeasure',
          scopedSlots: { customRender: 'treatmentMeasure' },
          className: 'red',
        },
        // className: 'red',
      ],
      url: {
        list: "/eam/inspectionOrderDetail/list",
@@ -475,11 +487,11 @@
          // }
          //update-begin---author:zhangyafei    Date:20201118  for:适配不分页的数据列表------------
          this.dataSource = res.result.records || res.result;
          if (res.result.total) {
            this.ipagination.total = res.result.total;
          } else {
            this.ipagination.total = 0;
          }
          // if (res.result.total) {
          //   this.ipagination.total = res.result.total;
          // } else {
          //   this.ipagination.total = 0;
          // }
          //update-end---author:zhangyafei    Date:20201118  for:适配不分页的数据列表------------
        } else {
          this.$message.warning(res.message)