diff --git a/.env b/.env
index ec174cc..f367f9c 100644
--- a/.env
+++ b/.env
@@ -1,3 +1,3 @@
VUE_APP_MODE=production
VUE_APP_PREVIEW=false
-VUE_APP_URL=http://www.tall.wiki/
+VUE_APP_URL=https://www.tall.wiki/
diff --git a/.env.development b/.env.development
index e92661d..fd0e52c 100644
--- a/.env.development
+++ b/.env.development
@@ -1,10 +1,10 @@
VUE_APP_MODE=development
VUE_APP_NODE_ENV=development
-VUE_APP_SCENE=medicine
-VUE_APP_BASE_URL=http://test.tall.wiki/
-VUE_APP_API_URL=http://test.tall.wiki/gateway
+VUE_APP_SCENE=tcm
+VUE_APP_BASE_URL=https://test.tall.wiki/
+VUE_APP_API_URL=https://test.tall.wiki/gateway
VUE_APP_PROXY_URL=/gateway
-VUE_APP_PUBLIC_PATH=/medicine
+VUE_APP_PUBLIC_PATH=/tcm
VUE_APP_MSG_URL=wss://test.tall.wiki/websocket/message/v4.0/ws
VUE_APP_TITLE=盐湖区人民医院数字看板
VUE_APP_DESCRIPTION=盐湖区人民医院数字看板
diff --git a/.env.production b/.env.production
index 5dcfe72..33b5b41 100644
--- a/.env.production
+++ b/.env.production
@@ -1,10 +1,10 @@
VUE_APP_MODE=production
VUE_APP_NODE_ENV=production
-VUE_APP_SCENE=medicine
-VUE_APP_BASE_URL=http://www.tall.wiki/
-VUE_APP_API_URL=http://www.tall.wiki/gateway
+VUE_APP_SCENE=tcm
+VUE_APP_BASE_URL=https://www.tall.wiki/
+VUE_APP_API_URL=https://www.tall.wiki/gateway
VUE_APP_PROXY_URL=/gateway
-VUE_APP_PUBLIC_PATH=/medicine
+VUE_APP_PUBLIC_PATH=/tcm
VUE_APP_MSG_URL=wss://www.tall.wiki/websocket/message/v4.0/ws
VUE_APP_TITLE=盐湖区人民医院数字看板
VUE_APP_DESCRIPTION=盐湖区人民医院数字看板
diff --git a/package-lock.json b/package-lock.json
index ebbd1ac..5c2b9df 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,11 +1,11 @@
{
- "name": "salt-lake-hospital",
+ "name": "中医药大学课题数据库",
"version": "0.1.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
- "name": "salt-lake-hospital",
+ "name": "中医药大学课题数据库",
"version": "0.1.0",
"dependencies": {
"ant-design-vue": "^1.2.4",
diff --git a/package.json b/package.json
index f17c0ea..e09c4b1 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "salt-lake-hospital",
+ "name": "chinese-medicine",
"version": "0.1.0",
"private": true,
"scripts": {
diff --git a/src/App.vue b/src/App.vue
index d856312..c07d013 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -22,9 +22,9 @@ export default {
computed: mapState('home', ['anyringToken']),
created() {
- // const userId = '1338747522436435968';
- // const params = { userId };
- // this.getUserId(params);
+ const userId = '1218763410024566784';
+ const params = { userId };
+ this.getUserId(params);
},
methods: mapActions('home', ['getUserId']),
diff --git a/src/components/BtnCom/BtnCon.vue b/src/components/BtnCom/BtnCon.vue
index e7275a6..e7a4ed6 100644
--- a/src/components/BtnCom/BtnCon.vue
+++ b/src/components/BtnCom/BtnCon.vue
@@ -1,7 +1,11 @@
首页数据统计
-
会议纪要
+
会议纪要
+
选择患者信息
+
患者信息录入
+
病例搜索
+
病例分析
diff --git a/src/config/api.js b/src/config/api.js
index 67663d6..c05d49c 100644
--- a/src/config/api.js
+++ b/src/config/api.js
@@ -1,8 +1,17 @@
import axios from 'axios';
let { proxyUrl, msgUrl } = require('@/config/setting');
-const wisdomcar = `${proxyUrl}/wisdomcar`; // 盐湖医院分路径
-const statistics = `${wisdomcar}/statistics`; // 盐湖医院相关接口
+const tcm = `${proxyUrl}/tcm`;
+const patient = `${tcm}/patient`; // 患者相关接口
-// 急救时长分析统计图数据
-// export const getPointTime = params => axios.post(`${statistics}/getPointTime`, params);
+// 保存患者病例信息
+export const saveCaseMes = params => axios.post(`${patient}/saveCaseMes`, params);
+
+// 添加患者基本信息
+export const savePatientMes = params => axios.post(`${patient}/savePatientMes`, params);
+
+// 通过搜索条件查询患者病例的信息
+export const selPatientMesList = params => axios.post(`${patient}/selPatientMesList`, params);
+
+// 通过查询搜索条件
+export const selSearchCriteriaList = params => axios.post(`${patient}/selSearchCriteriaList`, params);
diff --git a/src/router/index.js b/src/router/index.js
index 1c1738f..d809621 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -20,7 +20,7 @@ const routes = [
},
// 会议纪要
{
- path: '/Meeting',
+ path: '/meeting',
name: 'Meeting',
component: () => import('@/views/Meeting/Meeting.vue'),
},
@@ -30,6 +30,30 @@ const routes = [
name: 'MeetingPreview',
component: () => import('@/views/MeetingPreview/MeetingPreview.vue'),
},
+ // 选择患者信息
+ {
+ path: '/selectPatient',
+ name: 'SelectPatient',
+ component: () => import('@/views/SelectPatient/SelectPatient.vue'),
+ },
+ // 患者信息录入
+ {
+ path: '/patientInfo',
+ name: 'PatientInfo',
+ component: () => import('@/views/PatientInfo/PatientInfo.vue'),
+ },
+ // 病例搜索
+ {
+ path: '/caseSearch',
+ name: 'CaseSearch',
+ component: () => import('@/views/CaseSearch/CaseSearch.vue'),
+ },
+ // 病例分析
+ {
+ path: '/caseAnalysis',
+ name: 'CaseAnalysis',
+ component: () => import('@/views/CaseAnalysis/CaseAnalysis.vue'),
+ },
];
const router = new VueRouter({
diff --git a/src/views/CaseAnalysis/CaseAnalysis.vue b/src/views/CaseAnalysis/CaseAnalysis.vue
new file mode 100644
index 0000000..0e1ce75
--- /dev/null
+++ b/src/views/CaseAnalysis/CaseAnalysis.vue
@@ -0,0 +1,16 @@
+
+ 病例分析
+
+
+
+
+
diff --git a/src/views/CaseSearch/CaseSearch.vue b/src/views/CaseSearch/CaseSearch.vue
new file mode 100644
index 0000000..ffe27d8
--- /dev/null
+++ b/src/views/CaseSearch/CaseSearch.vue
@@ -0,0 +1,38 @@
+
+ 病例搜索
+
+
+
+
+
diff --git a/src/views/MeetingPreview/MeetingPreview.vue b/src/views/MeetingPreview/MeetingPreview.vue
index e5c5c19..b76752b 100644
--- a/src/views/MeetingPreview/MeetingPreview.vue
+++ b/src/views/MeetingPreview/MeetingPreview.vue
@@ -3,7 +3,7 @@
diff --git a/src/views/PatientInfo/PatientInfo.vue b/src/views/PatientInfo/PatientInfo.vue
new file mode 100644
index 0000000..31d3db2
--- /dev/null
+++ b/src/views/PatientInfo/PatientInfo.vue
@@ -0,0 +1,16 @@
+
+ 患者信息录入
+
+
+
+
+
diff --git a/src/views/SelectPatient/SelectPatient.vue b/src/views/SelectPatient/SelectPatient.vue
new file mode 100644
index 0000000..2a58519
--- /dev/null
+++ b/src/views/SelectPatient/SelectPatient.vue
@@ -0,0 +1,16 @@
+
+ 选择患者信息
+
+
+
+
+