qushaowei
2024-07-25 52190152691bc217844d4f87b700274c297b104e
src/views/eam/modules/malfunctionRepair/EquipmentList.vue
@@ -21,9 +21,9 @@
                :md="6"
                :sm="8"
              >
                <a-form-item label="单据号">
                <a-form-item label="统一编号">
                  <a-input
                    placeholder="请输入单据号检索"
                    placeholder="请输入统一编号"
                    v-model="queryParam.num"
                  ></a-input>
                </a-form-item>
@@ -137,7 +137,7 @@
          }
        },
        {
          title: '设备编码',
          title: '统一编码',
          align: 'center',
          dataIndex: 'num',
        },
@@ -163,7 +163,7 @@
        },
      ],
      url: {
        list: "/eam/equipment/getEquipmentList",
        list: "/eam/equipment/getEquipmentTZList",
      },
    }
  },
@@ -173,7 +173,7 @@
    list() {
      this.selectedRowKeys = [];
      this.selectedRowRecord = [];
      this.queryParam.equipmentStatus = "1"
      // this.queryParam.equipmentStatus = "1"
      this.visible = true;
      this.loadData(1);
    },
@@ -190,6 +190,7 @@
    onSelectChange(selectedRowKeys, selectedRows) {
      this.selectedRowKeys = selectedRowKeys;
      this.selectedRowRecord = selectedRows[0];
      this.handleOk()
    },
    close() {
      this.queryParam = {};
@@ -224,7 +225,7 @@
        this.ipagination.current = 1
      }
      this.onClearSelected()
      this.queryParam.equipmentStatus = '1';
      // this.queryParam.equipmentStatus = '1';
      var params = this.getQueryParams()//查询条件
      this.loading = true
      getAction(this.url.list, params).then((res) => {
@@ -291,7 +292,7 @@
  height: 90% !important;
  overflow-y: hidden;
}
 .notshow {
.notshow {
  display: none;
}
@@ -310,7 +311,7 @@
.dataUnKnow {
  color: #1890ff;
}
 .frozenRowClass {
.frozenRowClass {
  color: #c9c9c9;
}
</style>