diff --git a/package.json b/package.json
index ef20f7e..fbc0516 100644
--- a/package.json
+++ b/package.json
@@ -41,6 +41,7 @@
"axios": "0.24.0",
"clipboard": "2.0.8",
"core-js": "3.25.3",
+ "dayjs": "^1.11.19",
"echarts": "5.4.0",
"element-ui": "2.15.13",
"file-saver": "2.0.5",
@@ -62,6 +63,7 @@
"vue": "2.6.12",
"vue-count-to": "1.0.13",
"vue-cropper": "0.5.5",
+ "vue-echarts": "^8.0.1",
"vue-meta": "2.4.0",
"vue-router": "3.4.9",
"vue-video-player": "^5.0.2",
diff --git a/src/api/lifte.js b/src/api/lifte.js
new file mode 100644
index 0000000..0d54169
--- /dev/null
+++ b/src/api/lifte.js
@@ -0,0 +1,9 @@
+// 获取生命体征
+import request from "@/utils/request";
+
+export const getTakeVitalSigns = () => {
+ return request({
+ method: 'post',
+ url: '/system/vitalsigns/getVitalsign'
+ })
+}
diff --git a/src/views/life/physical_data.vue b/src/views/life/physical_data.vue
new file mode 100644
index 0000000..ba88189
--- /dev/null
+++ b/src/views/life/physical_data.vue
@@ -0,0 +1,298 @@
+
+
+
+
+
+
+
diff --git a/vue.config.js b/vue.config.js
index 86f5399..ab4e3d8 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -39,12 +39,14 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://192.168.0.180:8099`,
- target: `http://192.168.0.151:8099`, //服务器
+ // target: `http://192.168.0.151:8099`, //服务器
// target: `http://192.168.3.10:8099`, //耗子
// target: `http://106.15.139.36:8099`,
-
+
// target: `http://120.79.202.7:443`,
- // target: `http://100.100.10.216:8099`,
+ // target: `http://100.100.10.216:8099`,
+ // target: 'http://106.15.139.36:18090',
+ target: 'http://127.0.0.1:18098',
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
@@ -56,7 +58,7 @@ module.exports = {
css: {
loaderOptions: {
sass: {
- sassOptions: { outputStyle: "expanded" }
+ sassOptions: {outputStyle: "expanded"}
}
}
},
@@ -125,44 +127,44 @@ module.exports = {
.end()
config.when(process.env.NODE_ENV !== 'development', config => {
- config
- .plugin('ScriptExtHtmlWebpackPlugin')
- .after('html')
- .use('script-ext-html-webpack-plugin', [{
- // `runtime` must same as runtimeChunk name. default is `runtime`
- inline: /runtime\..*\.js$/
- }])
- .end()
+ config
+ .plugin('ScriptExtHtmlWebpackPlugin')
+ .after('html')
+ .use('script-ext-html-webpack-plugin', [{
+ // `runtime` must same as runtimeChunk name. default is `runtime`
+ inline: /runtime\..*\.js$/
+ }])
+ .end()
- config.optimization.splitChunks({
- chunks: 'all',
- cacheGroups: {
- libs: {
- name: 'chunk-libs',
- test: /[\\/]node_modules[\\/]/,
- priority: 10,
- chunks: 'initial' // only package third parties that are initially dependent
- },
- elementUI: {
- name: 'chunk-elementUI', // split elementUI into a single package
- test: /[\\/]node_modules[\\/]_?element-ui(.*)/, // in order to adapt to cnpm
- priority: 20 // the weight needs to be larger than libs and app or it will be packaged into libs or app
- },
- commons: {
- name: 'chunk-commons',
- test: resolve('src/components'), // can customize your rules
- minChunks: 3, // minimum common number
- priority: 5,
- reuseExistingChunk: true
- }
- }
- })
-
- config.optimization.runtimeChunk('single'),
- {
- from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件
- to: './' //到根目录下
+ config.optimization.splitChunks({
+ chunks: 'all',
+ cacheGroups: {
+ libs: {
+ name: 'chunk-libs',
+ test: /[\\/]node_modules[\\/]/,
+ priority: 10,
+ chunks: 'initial' // only package third parties that are initially dependent
+ },
+ elementUI: {
+ name: 'chunk-elementUI', // split elementUI into a single package
+ test: /[\\/]node_modules[\\/]_?element-ui(.*)/, // in order to adapt to cnpm
+ priority: 20 // the weight needs to be larger than libs and app or it will be packaged into libs or app
+ },
+ commons: {
+ name: 'chunk-commons',
+ test: resolve('src/components'), // can customize your rules
+ minChunks: 3, // minimum common number
+ priority: 5,
+ reuseExistingChunk: true
}
+ }
+ })
+
+ config.optimization.runtimeChunk('single'),
+ {
+ from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件
+ to: './' //到根目录下
+ }
})
}
}