|
@@ -18,6 +18,7 @@
|
|
|
row-key="qualityLevelId"
|
|
row-key="qualityLevelId"
|
|
|
v-if="equipmentdialog"
|
|
v-if="equipmentdialog"
|
|
|
:selection.sync="selection"
|
|
:selection.sync="selection"
|
|
|
|
|
+ :initLoad="false"
|
|
|
>
|
|
>
|
|
|
<template v-slot:status="{ row }">
|
|
<template v-slot:status="{ row }">
|
|
|
{{ row.status ? '启用' : '停用' }}
|
|
{{ row.status ? '启用' : '停用' }}
|
|
@@ -104,13 +105,17 @@
|
|
|
return getList({
|
|
return getList({
|
|
|
...where,
|
|
...where,
|
|
|
pageNum: page,
|
|
pageNum: page,
|
|
|
- size: limit,
|
|
|
|
|
- type: this.type
|
|
|
|
|
|
|
+ size: limit
|
|
|
|
|
+ // type: this.type
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
open(type) {
|
|
open(type) {
|
|
|
this.type = type;
|
|
this.type = type;
|
|
|
this.equipmentdialog = true;
|
|
this.equipmentdialog = true;
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
|
+ this.$refs.search.setWhere(type);
|
|
|
|
|
+ this.$refs.search.search();
|
|
|
|
|
+ });
|
|
|
},
|
|
},
|
|
|
handleClose() {
|
|
handleClose() {
|
|
|
this.equipmentdialog = false;
|
|
this.equipmentdialog = false;
|