车间能级提升-智能设备管理系统
zhuguifei
2025-03-14 3e0f519c396ac8a72e7bbd426e4f38fa6cc403dc
eims-ui/apps/web-antd/src/views/eims/insp-st/data.tsx
copy from eims-ui/apps/web-antd/src/views/eims/maint-order-st/data.tsx copy to eims-ui/apps/web-antd/src/views/eims/insp-st/data.tsx
Îļþ´Ó eims-ui/apps/web-antd/src/views/eims/maint-order-st/data.tsx ¸´ÖÆ
@@ -12,8 +12,13 @@
export const querySchema: FormSchemaGetter = () => [
  {
    component: 'Input',
    fieldName: 'equName',
    label: '设备名称'
    fieldName: 'title',
    label: '标题'
  },
  {
    component: 'Input',
    fieldName: 'assetNo',
    label: '资产编号'
  },
  {
    component: 'RangePicker',
@@ -23,7 +28,7 @@
  {
    component: 'Select',
    componentProps: {
      options: getDictOptions(DictEnum.MAINT_ORDER_ST_STATUS)
      options: getDictOptions(DictEnum.EIMS_INSPECT_STATUS)
    },
    fieldName: 'status',
    label: '状态'
@@ -33,15 +38,15 @@
export const columns: VxeGridProps['columns'] = [
  { type: 'checkbox', width: 60, fixed: 'left' },
  {
    title: '设备名称',
    field: 'equName',
    title: '标题',
    field: 'title',
    minWidth: 200,
    fixed: 'left'
  },
  {
    title: '计划保养日期',
    title: '保养年月',
    field: 'planTime',
    minWidth: 200
    minWidth: 120
  },
  {
    title: '状态',
@@ -49,7 +54,7 @@
    minWidth: 80,
    slots: {
      default: ({ row }) => {
        return renderDict(row.status, DictEnum.MAINT_ORDER_ST_STATUS);
        return renderDict(row.status, DictEnum.EIMS_INSPECT_STATUS);
      }
    }
  },
@@ -59,47 +64,47 @@
    minWidth: 160
  },
  {
    title: '工单总数',
    field: 'orderCount',
    title: '点检总数',
    field: 'recordCount',
    minWidth: 100
  },
  {
    title: '待保养',
    field: 'dbyCount',
    title: '未点检',
    field: 'unCheckCount',
    minWidth: 80,
    slots: {
      default: ({ row }) => {
        return <Tag color="orange">{row.dbyCount}</Tag>;
        return <Tag color="orange">{row.unCheckCount}</Tag>;
      }
    }
  },
  {
    title: '保养中',
    field: 'byCount',
    title: '已点检',
    field: 'checkCount',
    minWidth: 80,
    slots: {
      default: ({ row }) => {
        return <Tag color="blue">{row.byCount}</Tag>;
        return <Tag color="blue">{row.checkCount}</Tag>;
      }
    }
  },
  {
    title: '待验证',
    field: 'dyzCount',
    title: '正常',
    field: 'normalNum',
    minWidth: 80,
    slots: {
      default: ({ row }) => {
        return <Tag color="purple">{row.dyzCount}</Tag>;
        return <Tag color="success">{row.normalNum}</Tag>;
      }
    }
  },
  {
    title: '完成',
    field: 'wcCount',
    title: '异常',
    field: 'abNormalNum',
    minWidth: 80,
    slots: {
      default: ({ row }) => {
        return <Tag color="success">{row.wcCount}</Tag>;
        return <Tag color="red">{row.abNormalNum}</Tag>;
      }
    }
  },
@@ -114,8 +119,8 @@
    minWidth: 160
  },
  {
    title: '稽查时间',
    field: 'verifyTime',
    title: '点检时间',
    field: 'inspTime',
    minWidth: 200
  },
  {
@@ -157,7 +162,7 @@
      getPopupContainer
    },
    fieldName: 'planTime',
    label: '计划保养日期'
    label: '计划点检日期'
  },
  {
    component: 'Input',