设备绑定辅助设备2

master
A0010407 10 months ago
parent 1215f67a96
commit 4bdf044c51

@ -96,3 +96,12 @@ export function changeEquipmentStatus(equipmentId, status) {
data: data
})
}
// 查询人员列表
export function getPersonList(query) {
return request({
url: '/wms/equipment/getPersonList',
method: 'get',
params: query
});
}

@ -113,7 +113,7 @@
</template>
<script>
import { getRepairPersonList } from "@/api/device/faultReport";
import { getPersonList } from "@/api/wms/equipment";
import { Message } from "element-ui";
export default {
@ -187,7 +187,7 @@ export default {
this.loading = true;
this.queryParams.userName = this.queryParams.itemCode;
this.queryParams.nickName = this.queryParams.itemName;
getRepairPersonList(this.queryParams).then((response) => {
getPersonList(this.queryParams).then((response) => {
this.itemList = response.rows;
this.total = response.total;
this.loading = false;

Loading…
Cancel
Save