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 @@ + + +