From 2a3810732070cf1cd7b057685a54c308c2fb06a9 Mon Sep 17 00:00:00 2001 From: wuzhixi Date: Wed, 25 Sep 2024 13:51:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BD=93=E6=9C=BA=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E6=8A=A5=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/config.js | 4 +- api/index.js | 8 + src/pages.json | 21 + src/pages/machineReport/report/report.vue | 316 ++ .../reportDetail/reportDetail.vue | 2919 +++++++++++++++++ 5 files changed, 3267 insertions(+), 1 deletion(-) create mode 100644 src/pages/machineReport/report/report.vue create mode 100644 src/pages/machineReport/reportDetail/reportDetail.vue diff --git a/api/config.js b/api/config.js index b2aa577..77d933e 100644 --- a/api/config.js +++ b/api/config.js @@ -3,7 +3,9 @@ import { } from "/tool/index.js" export default { // baseUrl: 'https://syjk.yhy.ren/xcx-test/', // 测试 - baseUrl: 'https://syjk.yhy.ren/xcx-api/', // 生产 + //baseUrl: 'https://syjk.yhy.ren/xcx-api/', // 生产 + + baseUrl: 'https://health.lilinyiliao.com/xcx-api/', // 一体机报告 post(url, param) { return this.ajax('post', url, param) diff --git a/api/index.js b/api/index.js index 5eda971..e085099 100644 --- a/api/index.js +++ b/api/index.js @@ -112,5 +112,13 @@ export default { // 所有接口 // getIntegralOrderDetailFlow: (param) => ajax.get(`order/integralOrderDetail/getIntegralOrderDetailFlow`, param), // 获取商品兑换记录 getCustomerInfoByUserId: (param) => ajax.get(`sysUser/customerWorkDept/getCustomerUserInfo`, param), + + //一体机报告 + //一体机 + testReportList: (param) => ajax.get(`ytj-report/testReportList`, param), + + //http://192.171.1.22:9206/ytj-report/testReportDetails?userId=15&familyId=1 + testReportDetails: (param) => ajax.get(`ytj-report/testReportDetails`, param), + } diff --git a/src/pages.json b/src/pages.json index dab5e93..9d24d84 100644 --- a/src/pages.json +++ b/src/pages.json @@ -114,6 +114,20 @@ "style": { "navigationBarTitleText": "基础评估报告" } + }, + { + "path" : "pages/machineReport/report/report", + "style" : + { + "navigationBarTitleText" : "一体机检测报告" + } + }, + { + "path" : "pages/machineReport/reportDetail/reportDetail", + "style" : + { + "navigationBarTitleText" : "检测报告" + } } ], @@ -355,6 +369,13 @@ "style": { "navigationBarTitleText": "报告分析" } + }, + { + "path" : "reportDetail/reportDetail", + "style" : + { + "navigationBarTitleText" : "" + } }] }, { "root": "pages/scanCodeEvaluation", diff --git a/src/pages/machineReport/report/report.vue b/src/pages/machineReport/report/report.vue new file mode 100644 index 0000000..74907d9 --- /dev/null +++ b/src/pages/machineReport/report/report.vue @@ -0,0 +1,316 @@ + + + + + diff --git a/src/pages/machineReport/reportDetail/reportDetail.vue b/src/pages/machineReport/reportDetail/reportDetail.vue new file mode 100644 index 0000000..72812a6 --- /dev/null +++ b/src/pages/machineReport/reportDetail/reportDetail.vue @@ -0,0 +1,2919 @@ + + + + + \ No newline at end of file