lyh
2025-07-04 2637821cb7466330f5c612be809531cb65790219
src/views/eam/base/modules/EamMaintenanceStandardDetailList.vue
@@ -44,38 +44,31 @@
          title: '序号',
          align: 'center',
          dataIndex: 'itemCode',
          width: 60,
            width: 60
        },
        {
          title: '部位',
          align: 'center',
          dataIndex: 'itemPart',
          width: 200,
          ellipsis: true,
            ellipsis: true
        },
        {
          title: '保养项',
            title: '保养项分类',
            align: 'center',
            dataIndex: 'itemCategory_dictText',
            ellipsis: true
          },
          {
            title: '保养项目',
          align: 'center',
          dataIndex: 'itemName',
          ellipsis: true,
            ellipsis: true
        },
        {
          title: '保养要求',
          align: 'center',
          dataIndex: 'itemDemandAlias',
          ellipsis: true,
        },
        {
          title: '检查标准或要求',
            title: '保养规范或要求',
          align: 'center',
          dataIndex: 'itemDemand',
          ellipsis: true,
        },
        {
          title: '检查方法',
          align: 'center',
          dataIndex: 'checkMethod',
          ellipsis: true,
            ellipsis: true
        }
      ],
      url: {
@@ -90,15 +83,14 @@
        if(val) {
          this.loadData(1)
        }else {
          this.clearList();
            this.clearList()
        }
      }
    }
  },
  created() {
  },
  computed: {
  },
    computed: {},
  methods: {
    loadData(arg) {
      if (!this.url.list) {
@@ -106,8 +98,8 @@
        return
      }
      if(this.standardId && this.standardId === '-1'){
        this.clearList();
        return;
          this.clearList()
          return
      }
      //加载数据 若传入参数1则加载第一页的内容
      if (arg === 1) {
@@ -142,7 +134,7 @@
      this.dataSource = []
      this.selectedRowKeys = []
      this.ipagination.current = 1
    },
      }
  }
}
</script>