diff --git a/package.json b/package.json index 523e08b..5163a43 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@vueuse/core": "10.11.0", "axios": "0.28.1", "echarts": "5.5.1", - "element-plus": "2.7.6", + "element-plus": "^2.7.6", "file-saver": "2.0.5", "fuse.js": "6.6.2", "js-cookie": "3.0.5", diff --git a/src/api/system/mydiscover.js b/src/api/system/mydiscover.js new file mode 100644 index 0000000..c6720e3 --- /dev/null +++ b/src/api/system/mydiscover.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询发现文章管理列表 +export function listMydiscover(query) { + return request({ + url: '/system/mydiscover/list', + method: 'get', + params: query + }) +} + +// 查询发现文章管理详细 +export function getMydiscover(id) { + return request({ + url: '/system/mydiscover/' + id, + method: 'get' + }) +} + +// 新增发现文章管理 +export function addMydiscover(data) { + return request({ + url: '/system/mydiscover', + method: 'post', + data: data + }) +} + +// 修改发现文章管理 +export function updateMydiscover(data) { + return request({ + url: '/system/mydiscover', + method: 'put', + data: data + }) +} + +// 删除发现文章管理 +export function delMydiscover(id) { + return request({ + url: '/system/mydiscover/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/mysurvey.js b/src/api/system/mysurvey.js new file mode 100644 index 0000000..e37e284 --- /dev/null +++ b/src/api/system/mysurvey.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询问卷题库管理列表 +export function listMysurvey(query) { + return request({ + url: '/system/mysurvey/list', + method: 'get', + params: query + }) +} + +// 查询问卷题库管理详细 +export function getMysurvey(id) { + return request({ + url: '/system/mysurvey/' + id, + method: 'get' + }) +} + +// 新增问卷题库管理 +export function addMysurvey(data) { + return request({ + url: '/system/mysurvey', + method: 'post', + data: data + }) +} + +// 修改问卷题库管理 +export function updateMysurvey(data) { + return request({ + url: '/system/mysurvey', + method: 'put', + data: data + }) +} + +// 删除问卷题库管理 +export function delMysurvey(id) { + return request({ + url: '/system/mysurvey/' + id, + method: 'delete' + }) +} diff --git a/src/views/prescription/historical_prescription/index.vue b/src/views/prescription/historical_prescription/index.vue index 605843c..94f5220 100644 --- a/src/views/prescription/historical_prescription/index.vue +++ b/src/views/prescription/historical_prescription/index.vue @@ -21,9 +21,9 @@ - + @@ -32,33 +32,42 @@ - - - - - - - - - - - + + + This is a message + + + + diff --git a/src/views/prescription/prescription/index.vue b/src/views/prescription/prescription/index.vue index 6e1bdef..bf6875f 100644 --- a/src/views/prescription/prescription/index.vue +++ b/src/views/prescription/prescription/index.vue @@ -93,24 +93,6 @@ -
- - - - - - - - - - - diff --git a/src/views/system/mydiscover/index.vue b/src/views/system/mydiscover/index.vue new file mode 100644 index 0000000..bcf5128 --- /dev/null +++ b/src/views/system/mydiscover/index.vue @@ -0,0 +1,275 @@ + + + diff --git a/src/views/system/mysurvey/index.vue b/src/views/system/mysurvey/index.vue new file mode 100644 index 0000000..2b79f8b --- /dev/null +++ b/src/views/system/mysurvey/index.vue @@ -0,0 +1,269 @@ + + +