diff --git a/src/views/statistics/bxerp/inmTotal.vue b/src/views/statistics/bxerp/inmTotal.vue index c55314cf..7e3a2f0a 100644 --- a/src/views/statistics/bxerp/inmTotal.vue +++ b/src/views/statistics/bxerp/inmTotal.vue @@ -42,10 +42,10 @@ export default { methods: { getMgroup() { let that = this; - that.$API.mtm.mgroup.list.req({ page: 0,query:'{name}' }).then(res => { - let end = res.length-1; - let arr = res.slice(13,end); - that.mgroups = arr.forEach(item=>{ + that.$API.mtm.process.list.req({ page: 0,parent__isnull:true,query:'{name}' }).then(res => { + let end = res.length; + let arr = res.slice(14,end); + that.process = arr.forEach(item=>{ that.lists.push(item.name); }); });