diff --git a/src/api/system/dept.js b/src/api/system/dept.js index a0f3bce..76ec32c 100644 --- a/src/api/system/dept.js +++ b/src/api/system/dept.js @@ -98,4 +98,12 @@ export function getIncomeList(query) { method: 'get', params: query }) -} \ No newline at end of file +} +// 增减运营商余额 +export function changeBalance(query) { + return request({ + url: '/system/dept/changeBalance', + method: 'put', + params: query + }) +} diff --git a/src/components/Map/index.vue b/src/components/Map/index.vue index c373cf3..b5a1703 100644 --- a/src/components/Map/index.vue +++ b/src/components/Map/index.vue @@ -6,6 +6,7 @@ + + \ No newline at end of file diff --git a/src/views/system/dept/deptDetail.vue b/src/views/system/dept/deptDetail.vue index 35c1b38..cbd62ef 100644 --- a/src/views/system/dept/deptDetail.vue +++ b/src/views/system/dept/deptDetail.vue @@ -8,12 +8,20 @@ @@ -36,7 +44,7 @@ - {{ deptInfo.balance }} 元 + {{ detail.balance }} 元 {{ detail.platformServiceFee }}% @@ -169,29 +177,35 @@ :dept-id="detail.deptId" v-if="detail.deptId" /> + + +