From b8bbd552f6caa3cc0752e35b03b581a781526880 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E6=97=AD?= <2405973191@qq.com>
Date: Sat, 24 Aug 2024 01:10:50 +0800
Subject: [PATCH] 11
---
.../DriveSchoolTeachingJournal/api/journal.js | 44 ++++
.../DriveSchoolTeachingJournal/index.vue | 247 ++++++++++++++++++
2 files changed, 291 insertions(+)
create mode 100644 src/views/drivingSchool/DriveSchoolTeachingJournal/api/journal.js
create mode 100644 src/views/drivingSchool/DriveSchoolTeachingJournal/index.vue
diff --git a/src/views/drivingSchool/DriveSchoolTeachingJournal/api/journal.js b/src/views/drivingSchool/DriveSchoolTeachingJournal/api/journal.js
new file mode 100644
index 0000000..1d0532f
--- /dev/null
+++ b/src/views/drivingSchool/DriveSchoolTeachingJournal/api/journal.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询教学日志列表
+export function listJournal(query) {
+ return request({
+ url: '/drivingSchool/system/journal/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询教学日志详细
+export function getJournal(id) {
+ return request({
+ url: '/drivingSchool/system/journal/' + id,
+ method: 'get'
+ })
+}
+
+// 新增教学日志
+export function addJournal(data) {
+ return request({
+ url: '/drivingSchool/system/journal',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改教学日志
+export function updateJournal(data) {
+ return request({
+ url: '/drivingSchool/system/journal',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除教学日志
+export function delJournal(id) {
+ return request({
+ url: '/drivingSchool/system/journal/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/views/drivingSchool/DriveSchoolTeachingJournal/index.vue b/src/views/drivingSchool/DriveSchoolTeachingJournal/index.vue
new file mode 100644
index 0000000..efcfed3
--- /dev/null
+++ b/src/views/drivingSchool/DriveSchoolTeachingJournal/index.vue
@@ -0,0 +1,247 @@
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+