diff --git a/src/api/health/doctorRecord.js b/src/api/health/doctorRecord.js new file mode 100644 index 0000000..4a1af1d --- /dev/null +++ b/src/api/health/doctorRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询就医记录列表 +export function listDoctorRecord(query) { + return request({ + url: '/health/doctorRecord/list', + method: 'get', + params: query + }) +} + +// 查询就医记录详细 +export function getDoctorRecord(id) { + return request({ + url: '/health/doctorRecord/' + id, + method: 'get' + }) +} + +// 新增就医记录 +export function addDoctorRecord(data) { + return request({ + url: '/health/doctorRecord', + method: 'post', + data: data + }) +} + +// 修改就医记录 +export function updateDoctorRecord(data) { + return request({ + url: '/health/doctorRecord', + method: 'put', + data: data + }) +} + +// 删除就医记录 +export function delDoctorRecord(id) { + return request({ + url: '/health/doctorRecord/' + id, + method: 'delete' + }) +} diff --git a/src/api/health/healthRecord.js b/src/api/health/healthRecord.js new file mode 100644 index 0000000..31907ef --- /dev/null +++ b/src/api/health/healthRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询健康档案列表 +export function listHealthRecord(query) { + return request({ + url: '/health/healthRecord/list', + method: 'get', + params: query + }) +} + +// 查询健康档案详细 +export function getHealthRecord(id) { + return request({ + url: '/health/healthRecord/' + id, + method: 'get' + }) +} + +// 新增健康档案 +export function addHealthRecord(data) { + return request({ + url: '/health/healthRecord', + method: 'post', + data: data + }) +} + +// 修改健康档案 +export function updateHealthRecord(data) { + return request({ + url: '/health/healthRecord', + method: 'put', + data: data + }) +} + +// 删除健康档案 +export function delHealthRecord(id) { + return request({ + url: '/health/healthRecord/' + id, + method: 'delete' + }) +} diff --git a/src/api/health/marRecord.js b/src/api/health/marRecord.js new file mode 100644 index 0000000..20da6df --- /dev/null +++ b/src/api/health/marRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询用药记录列表 +export function listMarRecord(query) { + return request({ + url: '/health/marRecord/list', + method: 'get', + params: query + }) +} + +// 查询用药记录详细 +export function getMarRecord(id) { + return request({ + url: '/health/marRecord/' + id, + method: 'get' + }) +} + +// 新增用药记录 +export function addMarRecord(data) { + return request({ + url: '/health/marRecord', + method: 'post', + data: data + }) +} + +// 修改用药记录 +export function updateMarRecord(data) { + return request({ + url: '/health/marRecord', + method: 'put', + data: data + }) +} + +// 删除用药记录 +export function delMarRecord(id) { + return request({ + url: '/health/marRecord/' + id, + method: 'delete' + }) +} diff --git a/src/api/health/person.js b/src/api/health/person.js new file mode 100644 index 0000000..3f92fe1 --- /dev/null +++ b/src/api/health/person.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询成员管理列表 +export function listPerson(query) { + return request({ + url: '/health/person/list', + method: 'get', + params: query + }) +} + +// 查询成员管理详细 +export function getPerson(id) { + return request({ + url: '/health/person/' + id, + method: 'get' + }) +} + +// 新增成员管理 +export function addPerson(data) { + return request({ + url: '/health/person', + method: 'post', + data + }) +} + +// 修改成员管理 +export function updatePerson(data) { + return request({ + url: '/health/person', + method: 'put', + data + }) +} + +// 删除成员管理 +export function delPerson(id) { + return request({ + url: '/health/person/' + id, + method: 'delete' + }) +} diff --git a/src/api/health/temperatureRecord.js b/src/api/health/temperatureRecord.js new file mode 100644 index 0000000..b38fe66 --- /dev/null +++ b/src/api/health/temperatureRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询体温记录列表 +export function listTemperatureRecord(query) { + return request({ + url: '/health/temperatureRecord/list', + method: 'get', + params: query + }) +} + +// 查询体温记录详细 +export function getTemperatureRecord(id) { + return request({ + url: '/health/temperatureRecord/' + id, + method: 'get' + }) +} + +// 新增体温记录 +export function addTemperatureRecord(data) { + return request({ + url: '/health/temperatureRecord', + method: 'post', + data: data + }) +} + +// 修改体温记录 +export function updateTemperatureRecord(data) { + return request({ + url: '/health/temperatureRecord', + method: 'put', + data: data + }) +} + +// 删除体温记录 +export function delTemperatureRecord(id) { + return request({ + url: '/health/temperatureRecord/' + id, + method: 'delete' + }) +} diff --git a/src/api/health/weightRecord.js b/src/api/health/weightRecord.js new file mode 100644 index 0000000..149bf96 --- /dev/null +++ b/src/api/health/weightRecord.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询体重记录列表 +export function listWeightRecord(query) { + return request({ + url: '/health/weightRecord/list', + method: 'get', + params: query + }) +} + +// 查询体重记录详细 +export function getWeightRecord(id) { + return request({ + url: '/health/weightRecord/' + id, + method: 'get' + }) +} + +// 新增体重记录 +export function addWeightRecord(data) { + return request({ + url: '/health/weightRecord', + method: 'post', + data: data + }) +} + +// 修改体重记录 +export function updateWeightRecord(data) { + return request({ + url: '/health/weightRecord', + method: 'put', + data: data + }) +} + +// 删除体重记录 +export function delWeightRecord(id) { + return request({ + url: '/health/weightRecord/' + id, + method: 'delete' + }) +} diff --git a/src/pages.json b/src/pages.json index c0a5079..e12510a 100644 --- a/src/pages.json +++ b/src/pages.json @@ -18,13 +18,7 @@ } }, { - "path": "pages/calendar/index", - "style": { - "navigationBarTitleText": "首页" - } - }, - { - "path": "pages/calendar/list", + "path": "pages/health/homepage/index", "style": { "navigationBarTitleText": "首页" } @@ -34,10 +28,9 @@ "style": { "navigationBarTitleText": "工作台" } - }, - + }, { - "path": "pages/statistic/index", + "path": "pages/health/statistic/index", "style": { "navigationBarTitleText": "统计分析" } @@ -49,558 +42,105 @@ } }, { - "path": "pages/common/webview/index", + "path": "pages/health/doctorRecord/list", "style": { - "navigationBarTitleText": "浏览网页" - } - }, - { - "path": "pages/common/textview/index", - "style": { - "navigationBarTitleText": "浏览文本" - } - } - , - { - "path": "pages/statistic/accounts/accountsBalance/index", - "style": { - "navigationBarTitleText": "记账账户统计" - } - },{ - "path": "pages/statistic/bill/creditRecordAnalysis/index", - "style": { - "navigationBarTitleText": "征信查询统计" - } - }, - { - "path": "pages/statistic/accounts/posAnalysis/index", - "style": { - "navigationBarTitleText": "POS机刷卡统计" - } - }, - { - "path": "pages/statistic/accounts/debitDealAnalysis/index", - "style": { - "navigationBarTitleText": "储蓄账户统计" - } - }, - { - "path": "pages/statistic/accounts/creditCardDealAnalysis/index", - "style": { - "navigationBarTitleText": "信用卡收支统计" - } - },{ - "path": "pages/statistic/accounts/dailyExpensesAnalysis/index", - "style": { - "navigationBarTitleText": "日常支出统计" - } - }, - { - "path": "pages/statistic/bill/onlineLendAnalysis/index", - "style": { - "navigationBarTitleText": "贷款待还统计" - } - },{ - "path": "pages/statistic/bill/onlineLendSettledAnalysis/index", - "style": { - "navigationBarTitleText": "贷款已还统计" - } - }, - { - "path": "pages/statistic/bill/futuresAnalysis/index", - "style": { - "navigationBarTitleText": "期货统计分析" - } - }, - { - "path": "pages/statistic/bill/stocksAnalysis/index", - "style": { - "navigationBarTitleText": "股票统计分析" - } - }, - { - "path": "pages/statistic/bill/investAnalysis/index", - "style": { - "navigationBarTitleText": "收益统计分析" - } - }, - { - "path": "pages/statistic/bill/creditInstallmentSettledAnalysis/index", - "style": { - "navigationBarTitleText": "信用卡分期已还" - } - },{ - "path": "pages/statistic/bill/creditBillAnalysis/index", - "style": { - "navigationBarTitleText": "信用卡账单统计" - } - }, - { - "path": "pages/statistic/bill/creditInstallmentAnalysis/index", - "style": { - "navigationBarTitleText": "信用卡分期待还统计" - } - }, - { - "path": "pages/statistic/accounts/investDealAnalysis/index", - "style": { - "navigationBarTitleText": "投资收益统计" - } - } - , - { - "path": "pages/statistic/accounts/accountDealAnalysis/index", - "style": { - "navigationBarTitleText": "账户收支统计" - } - } - , - { - "path": "pages/work/accounts/accountDealRecord/list", - "style": { - "navigationBarTitleText": "账户交易记录" - } - } - , - { - "path": "pages/work/accounts/accountDealRecord/details", - "style": { - "navigationBarTitleText": "账户交易记录详情" - } - } - , - { - "path": "pages/work/accounts/accountDealRecord/addEdit", - "style": { - "navigationBarTitleText": "账户交易记录" - } - } - , - { - "path": "pages/work/accounts/posTransferRecord/list", - "style": { - "navigationBarTitleText": "POS机刷卡记账" - } - } - , - { - "path": "pages/work/accounts/posTransferRecord/details", - "style": { - "navigationBarTitleText": "POS机刷卡记账详情" - } - } - , - { - "path": "pages/work/accounts/posTransferRecord/addEdit", - "style": { - "navigationBarTitleText": "POS机刷卡记账" - } - } - , - { - "path": "pages/work/accounts/creditTransferRecord/list", - "style": { - "navigationBarTitleText": "信用卡还款" - } - } - , - { - "path": "pages/work/accounts/creditTransferRecord/details", - "style": { - "navigationBarTitleText": "信用卡还款详情" - } - } - , - { - "path": "pages/work/accounts/creditTransferRecord/addEdit", - "style": { - "navigationBarTitleText": "信用卡还款" - } - }, - { - "path": "pages/work/accounts/debitTransferRecord/list", - "style": { - "navigationBarTitleText": "储蓄账户记账" - } - } - , - { - "path": "pages/work/accounts/debitTransferRecord/details", - "style": { - "navigationBarTitleText": "储蓄账户记账详情" - } - } - , - { - "path": "pages/work/accounts/debitTransferRecord/addEdit", - "style": { - "navigationBarTitleText": "储蓄账户记账" - } - } - , - { - "path": "pages/work/accounts/lendTransferRecord/list", - "style": { - "navigationBarTitleText": "借贷账户记账" - } - } - , - { - "path": "pages/work/accounts/lendTransferRecord/details", - "style": { - "navigationBarTitleText": "借贷账户记账详情" - } - } - , - { - "path": "pages/work/accounts/lendTransferRecord/addEdit", - "style": { - "navigationBarTitleText": "借贷账户记账" - } - } - , - { - "path": "pages/work/accounts/accounts/list", - "style": { - "navigationBarTitleText": "记账账户" - } - } - , - { - "path": "pages/work/accounts/accounts/commonList", - "style": { - "navigationBarTitleText": "记账账户" - } - }, - { - "path": "pages/work/accounts/accounts/details", - "style": { - "navigationBarTitleText": "记账账户详情" - } - } - , - { - "path": "pages/work/heartJourney/list", - "style": { - "navigationBarTitleText": "心路历程" + "navigationBarTitleText": "就医记录" } } , { - "path": "pages/work/heartJourney/details", + "path": "pages/health/doctorRecord/details", "style": { - "navigationBarTitleText": "心路历程详情" + "navigationBarTitleText": "就医记录详情" } } , { - "path": "pages/work/heartJourney/addEdit", + "path": "pages/health/doctorRecord/addEdit", "style": { - "navigationBarTitleText": "心路历程" - } - } - , - { - "path": "pages/work/base/debitCard/list", - "style": { - "navigationBarTitleText": "储蓄账户管理" - } - } , - { - "path": "pages/work/base/debitCard/details", - "style": { - "navigationBarTitleText": "储蓄账户管理详情" - } - } - , - { - "path": "pages/work/base/debitCard/addEdit", - "style": { - "navigationBarTitleText": "储蓄账户管理" - } - } - , - { - "path": "pages/work/base/lend/list", - "style": { - "navigationBarTitleText": "借贷账户管理" - } - } , - { - "path": "pages/work/base/lend/details", - "style": { - "navigationBarTitleText": "借贷账户管理详情" - } - } - , - { - "path": "pages/work/base/lend/addEdit", - "style": { - "navigationBarTitleText": "借贷账户管理" - } - } - , - { - "path": "pages/work/base/creditCard/list", - "style": { - "navigationBarTitleText": "信用卡管理" - } - } , - { - "path": "pages/work/base/creditCard/details", - "style": { - "navigationBarTitleText": "信用卡管理详情" - } - } - , - { - "path": "pages/work/base/creditCard/addEdit", - "style": { - "navigationBarTitleText": "信用卡管理" + "navigationBarTitleText": "就医记录" } }, { - "path": "pages/work/base/posmachine/list", + "path": "pages/health/healthRecord/list", "style": { - "navigationBarTitleText": "POS机管理" + "navigationBarTitleText": "健康档案" } } , { - "path": "pages/work/base/posmachine/details", + "path": "pages/health/healthRecord/details", "style": { - "navigationBarTitleText": "POS机管理详情" + "navigationBarTitleText": "健康档案详情" } } , { - "path": "pages/work/base/posmachine/addEdit", + "path": "pages/health/healthRecord/addEdit", "style": { - "navigationBarTitleText": "POS机管理" - } - } - , - { - "path": "pages/work/base/futures/list", - "style": { - "navigationBarTitleText": "期货账户管理" - } - } , - { - "path": "pages/work/base/futures/details", - "style": { - "navigationBarTitleText": "期货账户管理详情" - } - } - , - { - "path": "pages/work/base/futures/addEdit", - "style": { - "navigationBarTitleText": "期货账户管理" - } - } , - { - "path": "pages/work/base/stocks/list", - "style": { - "navigationBarTitleText": "股票账户管理" - } - } , - { - "path": "pages/work/base/stocks/details", - "style": { - "navigationBarTitleText": "股票账户管理详情" - } - } - , - { - "path": "pages/work/base/stocks/addEdit", - "style": { - "navigationBarTitleText": "股票账户管理" - } - } - , - { - "path": "pages/work/bill/creditQueryRecord/list", - "style": { - "navigationBarTitleText": "征信记录查询" - } - } , - { - "path": "pages/work/bill/creditQueryRecord/details", - "style": { - "navigationBarTitleText": "征信记录查询详情" + "navigationBarTitleText": "健康档案" } }, { - "path": "pages/work/bill/creditQueryRecord/analysis", + "path": "pages/health/marRecord/list", "style": { - "navigationBarTitleText": "征信记录查询统计" - } - } - , - { - "path": "pages/work/bill/creditQueryRecord/addEdit", - "style": { - "navigationBarTitleText": "征信记录查询" - } - }, - { - "path": "pages/work/bill/creditCardBill/list", - "style": { - "navigationBarTitleText": "信用卡账单" - } - } , - { - "path": "pages/work/bill/creditCardBill/details", - "style": { - "navigationBarTitleText": "信用卡账单明细" - } - } - , - { - "path": "pages/work/bill/creditCardBill/addEdit", - "style": { - "navigationBarTitleText": "信用卡账单" - } - }, - { - "path": "pages/work/bill/futuresBill/list", - "style": { - "navigationBarTitleText": "期货账单" - } - } , - { - "path": "pages/work/bill/futuresBill/details", - "style": { - "navigationBarTitleText": "期货账单明细" - } - } - , - { - "path": "pages/work/bill/futuresBill/addEdit", - "style": { - "navigationBarTitleText": "期货账单" - } - }, - { - "path": "pages/work/bill/stocksBill/list", - "style": { - "navigationBarTitleText": "股票账单" - } - } , - { - "path": "pages/work/bill/stocksBill/details", - "style": { - "navigationBarTitleText": "股票账单明细" - } - } - , - { - "path": "pages/work/bill/stocksBill/addEdit", - "style": { - "navigationBarTitleText": "股票账单" - } - }, - { - "path": "pages/work/bill/onlineLendHistory/list", - "style": { - "navigationBarTitleText": "贷款账单" - } - } , - { - "path": "pages/work/bill/onlineLendHistory/details", - "style": { - "navigationBarTitleText": "贷款账单还款明细" - } - } - , - { - "path": "pages/work/bill/onlineLendHistory/addEdit", - "style": { - "navigationBarTitleText": "贷款账单" - } - } - , - { - "path": "pages/work/bill/peopleLendHistory/list", - "style": { - "navigationBarTitleText": "人情账单" + "navigationBarTitleText": "用药记录" } } , { - "path": "pages/work/bill/peopleLendHistory/addEdit", + "path": "pages/health/marRecord/addEdit", "style": { - "navigationBarTitleText": "人情账单" + "navigationBarTitleText": "用药记录" } }, { - "path": "pages/work/bill/onlineLendHistory/detailsAddEdit", + "path": "pages/health/temperatureRecord/list", "style": { - "navigationBarTitleText": "贷款账单还款明细" + "navigationBarTitleText": "体温记录" + } + } + , + { + "path": "pages/health/temperatureRecord/addEdit", + "style": { + "navigationBarTitleText": "体温记录" } }, { - "path": "pages/work/bill/creditInstallmentHistory/list", + "path": "pages/health/person/list", "style": { - "navigationBarTitleText": "信用卡分期账单" + "navigationBarTitleText": "成员管理" } } , { - "path": "pages/work/bill/creditInstallmentHistory/details", + "path": "pages/health/person/details", "style": { - "navigationBarTitleText": "信用卡分期账单还款明细" + "navigationBarTitleText": "成员管理详情" } } , { - "path": "pages/work/bill/creditInstallmentHistory/addEdit", + "path": "pages/health/person/addEdit", "style": { - "navigationBarTitleText": "信用卡分期账单" + "navigationBarTitleText": "成员管理" } }, { - "path": "pages/work/bill/creditInstallmentHistory/detailsAddEdit", + "path": "pages/health/weightRecord/list", "style": { - "navigationBarTitleText": "信用卡分期账单还款明细" - } - }, - { - "path": "pages/work/accounts/investTransferRecord/list", - "style": { - "navigationBarTitleText": "投资账户记账" - } - } - , - { - "path": "pages/work/accounts/investTransferRecord/details", - "style": { - "navigationBarTitleText": "信投资账户记账详情" - } - } - , - { - "path": "pages/work/accounts/investTransferRecord/addEdit", - "style": { - "navigationBarTitleText": "投资账户记账" + "navigationBarTitleText": "体重记录" } } , { - "path": "pages/work/accounts/investAccountDeal/list", + "path": "pages/health/weightRecord/details", "style": { - "navigationBarTitleText": "投资交易记录" + "navigationBarTitleText": "体重记录详情" } } , { - "path": "pages/work/accounts/investAccountDeal/details", + "path": "pages/health/weightRecord/addEdit", "style": { - "navigationBarTitleText": "投资交易记录详情" - } - } - , - { - "path": "pages/work/accounts/investAccountDeal/addEdit", - "style": { - "navigationBarTitleText": "投资交易记录" + "navigationBarTitleText": "体重记录" } } ], @@ -661,7 +201,7 @@ "backgroundColor": "#ffffff", "list": [ { - "pagePath": "pages/calendar/index", + "pagePath": "pages/health/homepage/index", "iconPath": "static/images/tabbar/home.png", "selectedIconPath": "static/images/tabbar/home_.png", "text": "首页" @@ -672,6 +212,12 @@ "selectedIconPath": "static/images/tabbar/work_.png", "text": "工作台" }, + { + "pagePath": "pages/health/statistic/index", + "iconPath": "static/images/tabbar/statistic.png", + "selectedIconPath": "static/images/tabbar/statistic_.png", + "text": "统计分析" + }, { "pagePath": "pages/mine", "iconPath": "static/images/tabbar/mine.png", diff --git a/src/pages/calendar/index.vue b/src/pages/calendar/index.vue deleted file mode 100644 index dd94457..0000000 --- a/src/pages/calendar/index.vue +++ /dev/null @@ -1,559 +0,0 @@ - - - - - diff --git a/src/pages/health/doctorRecord/addEdit.vue b/src/pages/health/doctorRecord/addEdit.vue new file mode 100644 index 0000000..62cf02d --- /dev/null +++ b/src/pages/health/doctorRecord/addEdit.vue @@ -0,0 +1,184 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/doctorRecord/details.vue b/src/pages/health/doctorRecord/details.vue new file mode 100644 index 0000000..d66166f --- /dev/null +++ b/src/pages/health/doctorRecord/details.vue @@ -0,0 +1,92 @@ + + + + + \ No newline at end of file diff --git a/src/pages/calendar/list.vue b/src/pages/health/doctorRecord/list.vue similarity index 62% rename from src/pages/calendar/list.vue rename to src/pages/health/doctorRecord/list.vue index 2768b6d..386a02c 100644 --- a/src/pages/calendar/list.vue +++ b/src/pages/health/doctorRecord/list.vue @@ -2,34 +2,26 @@ - + + - 交易类别 + 类型 - {{ item.dictLabel }} + {{ item.dictLabel }} - - @@ -39,40 +31,25 @@ + :text="item.name" size="30rpx" color="#333333" :bold="true"> - 记账类型: - {{ dictStr(item.type, accountTypeList) }} + 类型: + {{ dictStr(item.type, journeyTypeList) }} - 交易时间: + 记录时间: {{ item.createTime }} - 交易金额: - {{ item.amount }} - - - 当前余额: - {{ item.currentBalance }} - - - 交易类型: - {{ dictStr(item.dealType, dealTypeList) }} - - - 交易类别: - {{ dictStr(item.dealCategory, dealCategoryList) }} - - - 交易子类别: - {{ item.childCategoryName }} - - - 备注: + 内容: {{ item.remark }} + + + 修改 + 删除 + @@ -85,11 +62,8 @@ diff --git a/src/pages/health/healthRecord/addEdit.vue b/src/pages/health/healthRecord/addEdit.vue new file mode 100644 index 0000000..62cf02d --- /dev/null +++ b/src/pages/health/healthRecord/addEdit.vue @@ -0,0 +1,184 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/healthRecord/details.vue b/src/pages/health/healthRecord/details.vue new file mode 100644 index 0000000..d66166f --- /dev/null +++ b/src/pages/health/healthRecord/details.vue @@ -0,0 +1,92 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/healthRecord/list.vue b/src/pages/health/healthRecord/list.vue new file mode 100644 index 0000000..386a02c --- /dev/null +++ b/src/pages/health/healthRecord/list.vue @@ -0,0 +1,372 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/homepage/index.vue b/src/pages/health/homepage/index.vue new file mode 100644 index 0000000..a376835 --- /dev/null +++ b/src/pages/health/homepage/index.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/src/pages/health/index.vue b/src/pages/health/index.vue index 8ddc620..a376835 100644 --- a/src/pages/health/index.vue +++ b/src/pages/health/index.vue @@ -3,7 +3,7 @@ - + @@ -26,12 +26,12 @@ import auth from "@/plugins/auth"; // 建议使用auth进行鉴权操作 import { ref } from "vue"; const healthGridList=ref([ - { path: '/pages/work/base/debitCard/list', text: '健康档案', icon: 'wallet-filled', permission: 'invest:debitCard' }, - { path: '/pages/work/base/creditCard/list', text: '体温记录', icon: 'wallet', permission: 'invest:creditCard' }, - { path: '/pages/work/base/lend/list', text: '就医管理', icon: 'upload', permission: 'invest:onlineLend' }, - { path: '/pages/work/base/posmachine/list', text: '用药记录', icon: 'shop-filled', permission: 'invest:posmachine:list' }, - { path: '/pages/work/base/stocks/list', text: '体重记录', icon: 'calendar', permission: 'invest:futureStocks:list' }, - { path: '/pages/work/base/futures/list', text: '成员管理', icon: 'paperplane-filled', permission: 'invest:futureStocks:list' } + { path: '/pages/health/healthRecord/list', text: '健康档案', icon: 'wallet-filled', permission: 'health:healthRecord:list' }, + { path: '/pages/health/temperatureRecord/list', text: '体温记录', icon: 'wallet', permission: 'health:temperatureRecord:list' }, + { path: '/pages/health/doctorRecord/list', text: '就医记录', icon: 'upload', permission: 'health:doctorRecord:list' }, + { path: '/pages/health/marRecord/list', text: '用药记录', icon: 'shop-filled', permission: 'health:marRecord:list' }, + { path: '/pages/health/weightRecord/list', text: '体重记录', icon: 'calendar', permission: 'health:weightRecord:list' }, + { path: '/pages/health/person/list', text: '成员管理', icon: 'paperplane-filled', permission: 'health:person:list' } ]) function navigateTo(path) { uni.navigateTo({ diff --git a/src/pages/health/marRecord/addEdit.vue b/src/pages/health/marRecord/addEdit.vue new file mode 100644 index 0000000..1e1fc73 --- /dev/null +++ b/src/pages/health/marRecord/addEdit.vue @@ -0,0 +1,376 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/marRecord/list.vue b/src/pages/health/marRecord/list.vue new file mode 100644 index 0000000..2f1207f --- /dev/null +++ b/src/pages/health/marRecord/list.vue @@ -0,0 +1,495 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/person/addEdit.vue b/src/pages/health/person/addEdit.vue new file mode 100644 index 0000000..62cf02d --- /dev/null +++ b/src/pages/health/person/addEdit.vue @@ -0,0 +1,184 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/person/details.vue b/src/pages/health/person/details.vue new file mode 100644 index 0000000..d66166f --- /dev/null +++ b/src/pages/health/person/details.vue @@ -0,0 +1,92 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/person/list.vue b/src/pages/health/person/list.vue new file mode 100644 index 0000000..386a02c --- /dev/null +++ b/src/pages/health/person/list.vue @@ -0,0 +1,372 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/statistic/index.vue b/src/pages/health/statistic/index.vue new file mode 100644 index 0000000..a376835 --- /dev/null +++ b/src/pages/health/statistic/index.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/src/pages/health/temperatureRecord/addEdit.vue b/src/pages/health/temperatureRecord/addEdit.vue new file mode 100644 index 0000000..8fa515d --- /dev/null +++ b/src/pages/health/temperatureRecord/addEdit.vue @@ -0,0 +1,245 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/temperatureRecord/list.vue b/src/pages/health/temperatureRecord/list.vue new file mode 100644 index 0000000..7e0a815 --- /dev/null +++ b/src/pages/health/temperatureRecord/list.vue @@ -0,0 +1,435 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/weightRecord/addEdit.vue b/src/pages/health/weightRecord/addEdit.vue new file mode 100644 index 0000000..62cf02d --- /dev/null +++ b/src/pages/health/weightRecord/addEdit.vue @@ -0,0 +1,184 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/weightRecord/details.vue b/src/pages/health/weightRecord/details.vue new file mode 100644 index 0000000..d66166f --- /dev/null +++ b/src/pages/health/weightRecord/details.vue @@ -0,0 +1,92 @@ + + + + + \ No newline at end of file diff --git a/src/pages/health/weightRecord/list.vue b/src/pages/health/weightRecord/list.vue new file mode 100644 index 0000000..386a02c --- /dev/null +++ b/src/pages/health/weightRecord/list.vue @@ -0,0 +1,372 @@ + + + + + \ No newline at end of file diff --git a/src/pages/login.vue b/src/pages/login.vue index 057cb9b..c458fbc 100644 --- a/src/pages/login.vue +++ b/src/pages/login.vue @@ -108,7 +108,7 @@ function loginSuccess(result) { // 设置用户信息 userStore.getInfo().then(res => { uni.switchTab({ - url: '/pages/calendar/index' + url: '/pages/health/homepage/index' }); }) } diff --git a/src/pages_mine/pages/about/index.vue b/src/pages_mine/pages/about/index.vue index afae60d..907318d 100644 --- a/src/pages_mine/pages/about/index.vue +++ b/src/pages_mine/pages/about/index.vue @@ -3,7 +3,7 @@ - +