车间能级提升-智能设备管理系统
zhuguifei
2025-08-05 453f63fd6cd6466222304df619e62b3a5667ca68
eims-ui/apps/web-antd/src/views/eims/maint-order/data.tsx
@@ -8,10 +8,31 @@
import { renderDict } from '#/utils/render';
export const querySchema: FormSchemaGetter = () => [
  // {
  //   component: 'Input',
  //   fieldName: 'equName',
  //   label: '设备名称'
  // },
  {
    component: 'Input',
    fieldName: 'equName',
    label: '设备名称'
    fieldName: 'params.searchValue',
    componentProps: {
      placeholder: '请输入标题或资产编号'
    },
    label: '关键字'
  },
  {
    component: 'RangePicker',
    fieldName: 'planTime',
    label: '保养日期'
  },
  {
    component: 'Select',
    componentProps: {
      options: getDictOptions(DictEnum.MAINT_ORDER_STATUS)
    },
    fieldName: 'status',
    label: '状态'
  },
  {
    component: 'Input',
@@ -50,14 +71,6 @@
    },
    fieldName: 'maintRule',
    label: '计算规则'
  },
  {
    component: 'Select',
    componentProps: {
      options: getDictOptions(DictEnum.MAINT_ORDER_STATUS)
    },
    fieldName: 'status',
    label: '状态'
  }
];
@@ -126,6 +139,11 @@
    minWidth: 160
  },
  {
    title: '工作描述',
    field: 'maintDesc',
    minWidth: 200
  },
  {
    title: '验证人',
    field: 'verifyUserName',
    minWidth: 160
@@ -174,6 +192,11 @@
    component: 'Input',
    fieldName: 'maintCode',
    label: '保养单号'
  },
  {
    component: 'Input',
    fieldName: 'maintName',
    label: '保养项'
  },
  {
    component: 'Input',
@@ -289,6 +312,11 @@
    label: '结束时间'
  },
  {
    component: 'Textarea',
    fieldName: 'maintDesc',
    label: '工作描述'
  },
  {
    component: 'Input',
    fieldName: 'verifyUser',
    label: '验证人id',