fix:玻纤日志设备获取班组设备

This commit is contained in:
shijing 2025-09-08 08:53:01 +08:00
parent abdf6c64ec
commit 460a69efee
2 changed files with 4 additions and 3 deletions

View File

@ -343,9 +343,10 @@ export default {
this.userOptions = res.results;
});
},
//
getEquipment() {
let that = this;
this.$API.em.equipment.list.req({ page: 0, type: 10,mgroup:that.mgroup}).then((res) => {
this.$API.em.equipment.list.req({ page: 0, type: 10,belong_dept:that.dept}).then((res) => {
res.forEach((item) => {
let obj = {};
Object.assign(obj, item);

View File

@ -270,10 +270,10 @@ export default {
this.routeOriginOptions = res;
});
},
//
//
getEquipment() {
let that = this;
this.$API.em.equipment.list.req({ page: 0, type: 10,mgroup:that.mgroup}).then((res) => {
this.$API.em.equipment.list.req({ page: 0, type: 10,belong_dept:that.dept}).then((res) => {
res.forEach((item) => {
let obj = {};
Object.assign(obj, item);