From 20ddcb2d8ec7ede3a5b88f8d5df21d04d4c51e9b Mon Sep 17 00:00:00 2001
From: hezi66677 <847517741@qq.com>
Date: Thu, 19 Dec 2024 09:00:56 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +-
src/api/system/mydiscover.js | 44 +++
src/api/system/mysurvey.js | 44 +++
.../historical_prescription/index.vue | 54 ++--
src/views/prescription/prescription/index.vue | 18 --
src/views/system/mydiscover/index.vue | 275 ++++++++++++++++++
src/views/system/mysurvey/index.vue | 269 +++++++++++++++++
7 files changed, 662 insertions(+), 44 deletions(-)
create mode 100644 src/api/system/mydiscover.js
create mode 100644 src/api/system/mysurvey.js
create mode 100644 src/views/system/mydiscover/index.vue
create mode 100644 src/views/system/mysurvey/index.vue
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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+