diff --git a/src/api/system/itemCategory.js b/src/api/system/itemCategory.js new file mode 100644 index 0000000..23d0ef7 --- /dev/null +++ b/src/api/system/itemCategory.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询测试项目分类列表 +export function listItemCategory(query) { + return request({ + url: '/system/itemCategory/list', + method: 'get', + params: query + }) +} + +// 查询测试项目分类详细 +export function getItemCategory(id) { + return request({ + url: '/system/itemCategory/' + id, + method: 'get' + }) +} + +// 新增测试项目分类 +export function addItemCategory(data) { + return request({ + url: '/system/itemCategory/add', + method: 'post', + data: data + }) +} + +// 修改测试项目分类 +export function updateItemCategory(data) { + return request({ + url: '/system/itemCategory/edit', + method: 'post', + data: data + }) +} + +// 删除测试项目分类 +export function delItemCategory(id) { + return request({ + url: '/system/itemCategory/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/motionInfo.js b/src/api/system/motionInfo.js new file mode 100644 index 0000000..35a7682 --- /dev/null +++ b/src/api/system/motionInfo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询运动处方字典列表 +export function listMotionInfo(query) { + return request({ + url: '/system/motionInfo/list', + method: 'get', + params: query + }) +} + +// 查询运动处方字典详细 +export function getMotionInfo(id) { + return request({ + url: '/system/motionInfo/' + id, + method: 'get' + }) +} + +// 新增运动处方字典 +export function addMotionInfo(data) { + return request({ + url: '/system/motionInfo/add', + method: 'post', + data: data + }) +} + +// 修改运动处方字典 +export function updateMotionInfo(data) { + return request({ + url: '/system/motionInfo/edit', + method: 'post', + data: data + }) +} + +// 删除运动处方字典 +export function delMotionInfo(id) { + return request({ + url: '/system/motionInfo' + id, + method: 'delete' + }) +} diff --git a/src/views/system/itemCategory/index.vue b/src/views/system/itemCategory/index.vue new file mode 100644 index 0000000..9fb1926 --- /dev/null +++ b/src/views/system/itemCategory/index.vue @@ -0,0 +1,475 @@ + + + diff --git a/src/views/system/motionInfo/index.vue b/src/views/system/motionInfo/index.vue new file mode 100644 index 0000000..0c9a85a --- /dev/null +++ b/src/views/system/motionInfo/index.vue @@ -0,0 +1,352 @@ + + + +