“linengliang”
2023-10-24 4ac53eac3402797316e2b7f97e8ddf608c866046
src/views/eam/modules/malfunctionRepair/EquipmentList.vue
@@ -174,6 +174,30 @@
    handleCancel() {
      this.close();
    },
    loadData(arg) {
      if (!this.url.list) {
        this.$message.error('请设置url.list属性!')
        return
      }
      //加载数据 若传入参数1则加载第一页的内容
      if (arg === 1) {
        this.ipagination.current = 1
      }
      this.onClearSelected()
      this.queryParam.equipmentStatus = '1';
      var params = this.getQueryParams()//查询条件
      this.loading = true
      getAction(this.url.list, params).then((res) => {
        if (res.success) {
          this.dataSource = res.result.records
          this.ipagination.total = res.result.total
        }
        if (res.code === 510) {
          this.$message.warning(res.message)
        }
        this.loading = false
      })
    },
  },
}
@@ -227,8 +251,7 @@
  height: 90% !important;
  overflow-y: hidden;
}
/deep/ .notshow {
 .notshow {
  display: none;
}
@@ -247,8 +270,7 @@
.dataUnKnow {
  color: #1890ff;
}
/deep/ .frozenRowClass {
 .frozenRowClass {
  color: #c9c9c9;
}
</style>