fix:玻纤日志设备获取班组设备
This commit is contained in:
parent
abdf6c64ec
commit
460a69efee
|
@ -343,9 +343,10 @@ export default {
|
||||||
this.userOptions = res.results;
|
this.userOptions = res.results;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//获取班组设备
|
||||||
getEquipment() {
|
getEquipment() {
|
||||||
let that = this;
|
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) => {
|
res.forEach((item) => {
|
||||||
let obj = {};
|
let obj = {};
|
||||||
Object.assign(obj, item);
|
Object.assign(obj, item);
|
||||||
|
|
|
@ -270,10 +270,10 @@ export default {
|
||||||
this.routeOriginOptions = res;
|
this.routeOriginOptions = res;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//获取拉丝设备
|
//获取班组设备
|
||||||
getEquipment() {
|
getEquipment() {
|
||||||
let that = this;
|
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) => {
|
res.forEach((item) => {
|
||||||
let obj = {};
|
let obj = {};
|
||||||
Object.assign(obj, item);
|
Object.assign(obj, item);
|
||||||
|
|
Loading…
Reference in New Issue