diff --git a/src/api/collectMoney/index.js b/src/api/collectMoney/index.js index baef6be..7447e05 100644 --- a/src/api/collectMoney/index.js +++ b/src/api/collectMoney/index.js @@ -32,3 +32,11 @@ export function destroy(id,data){ data }) } + +export function scheduleList(params){ + return request({ + method:'get', + url:'/api/admin/collect-money/schedule-list', + params + }) +} diff --git a/src/api/home/index.js b/src/api/home/index.js new file mode 100644 index 0000000..016ae23 --- /dev/null +++ b/src/api/home/index.js @@ -0,0 +1,9 @@ +import request from "@/utils/request"; + +export function home(params){ + return request({ + method:'get', + url:'/api/admin/chart/home', + params + }) +} diff --git a/src/api/notice/index.js b/src/api/notice/index.js new file mode 100644 index 0000000..6a902ca --- /dev/null +++ b/src/api/notice/index.js @@ -0,0 +1,33 @@ +import request from "@/utils/request"; + +export function getList(params){ + return request({ + method:'get', + url:'/api/admin/notice/get-list', + params + }) +} + +export function getForm(id,params){ + return request({ + method:'get', + url:`/api/admin/notice/get-form/${id}`, + params + }) +} + +export function save(data){ + return request({ + method:'post', + url:'/api/admin/notice/save', + data + }) +} + +export function destroy(id,data){ + return request({ + method:'post', + url:`/api/admin/notice/delete/${id}`, + data + }) +} diff --git a/src/api/payUnit/index.js b/src/api/payUnit/index.js index 1a07b71..e5ff8f8 100644 --- a/src/api/payUnit/index.js +++ b/src/api/payUnit/index.js @@ -1,6 +1,6 @@ import request from "@/utils/request"; -export function getList(params,isLoading){ +export function getList(params,isLoading=true){ return request({ method:'get', url:'/api/admin/pay_unit/get-list', diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 167c71d..adf58f6 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -1,307 +1,307 @@ - - - - - diff --git a/src/views/finance/collectMoney.vue b/src/views/finance/collectMoney.vue index 4def99d..db387c1 100644 --- a/src/views/finance/collectMoney.vue +++ b/src/views/finance/collectMoney.vue @@ -25,7 +25,7 @@ + + diff --git a/src/views/worker/notice.vue b/src/views/worker/notice.vue new file mode 100644 index 0000000..5108885 --- /dev/null +++ b/src/views/worker/notice.vue @@ -0,0 +1,100 @@ + + + + +