diff --git a/src/views/material/back/component/home.vue b/src/views/material/back/component/home.vue index d0bf107a..ce377a3e 100644 --- a/src/views/material/back/component/home.vue +++ b/src/views/material/back/component/home.vue @@ -208,11 +208,13 @@ import { getBackApplyList, - getProjectList, - getUnitList, backApplyRemove, submitBackApply } from '@/api/back/index.js' +import { + getProData, + getUnitData, +} from '@/api/lease/outbound.js' // import { getInfo, h } from '@/api/login' // import { // getUnitData, @@ -377,7 +379,7 @@ export default { const params = { // projectId: this.queryParams.proId /* */, } - const res = await getUnitList(params) + const res = await getUnitData(params) this.unitList = res.data }, unitChange(val){ @@ -390,7 +392,7 @@ export default { const params = { unitId: this.queryParams.unitId, } - const res = await getProjectList(params) + const res = await getProData(params) this.proList = res.data; this.queryParams.proId=null },