diff --git a/src/api/library/index.js b/src/api/library/index.js new file mode 100644 index 0000000..8b7693c --- /dev/null +++ b/src/api/library/index.js @@ -0,0 +1,33 @@ +import request from "@/utils/request"; + +export function save(data) { + return request({ + method: "post", + url: "/api/admin/book/save", + data + }) +} + +export function destroy(params) { + return request({ + method: "get", + url: "/api/admin/book/destroy", + params + }) +} + +export function show(params) { + return request({ + method: "get", + url: "/api/admin/book/show", + params + }) +} + +export function index(params) { + return request({ + method: "get", + url: "/api/admin/book/index", + params + }) +} \ No newline at end of file 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/email/index.vue b/src/views/email/index.vue new file mode 100644 index 0000000..7d2916e --- /dev/null +++ b/src/views/email/index.vue @@ -0,0 +1,2525 @@ +我来帮您将 `email-admin.html` 转换为 Vue 组件 `email/index.vue`。这是一个完整的邮件管理系统,需要将HTML、CSS和JavaScript逻辑转换为Vue的组件形式。 + +```vue:src/views/email/index.vue + + + + + \ No newline at end of file diff --git a/src/views/library/index.vue b/src/views/library/index.vue index 72a9639..013cee5 100644 --- a/src/views/library/index.vue +++ b/src/views/library/index.vue @@ -1,408 +1,738 @@ - - - - - \ No newline at end of file +} + \ No newline at end of file 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" >
+ + + +