diff --git a/src/api/student/index.js b/src/api/student/index.js index 186e3ed..c9a5bee 100644 --- a/src/api/student/index.js +++ b/src/api/student/index.js @@ -82,4 +82,28 @@ export function updateSchoolmate(data) { }) } +export function supplyDemandList(params) { + return request({ + method: 'get', + url: '/api/admin/supply-demand/index', + params + }) +} +// 供需管理 - 保存(新增/更新) +export function supplyDemandSave(data) { + return request({ + method: 'post', + url: '/api/admin/supply-demand/save', + data + }) +} + +// 供需管理 - 删除 +export function supplyDemandDestroy(params) { + return request({ + method: 'get', + url: '/api/admin/supply-demand/destroy', + params + }) +} diff --git a/src/views/student/components/SupplyDemandDetail.vue b/src/views/student/components/SupplyDemandDetail.vue new file mode 100644 index 0000000..dbe1f23 --- /dev/null +++ b/src/views/student/components/SupplyDemandDetail.vue @@ -0,0 +1,46 @@ + + + + \ No newline at end of file diff --git a/src/views/student/components/SupplyDemandEdit.vue b/src/views/student/components/SupplyDemandEdit.vue new file mode 100644 index 0000000..bd14935 --- /dev/null +++ b/src/views/student/components/SupplyDemandEdit.vue @@ -0,0 +1,150 @@ + + + + \ No newline at end of file diff --git a/src/views/student/supply_demand.vue b/src/views/student/supply_demand.vue index b3b7496..60cfb4f 100644 --- a/src/views/student/supply_demand.vue +++ b/src/views/student/supply_demand.vue @@ -16,19 +16,19 @@
- + - - - + + + - - + + @@ -55,57 +55,57 @@ - + - - - @@ -125,86 +125,93 @@ :total="total" >
+ + + +