From 6053ace7db2e83fd06397e6f48341683ecd4114c Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Wed, 14 Jun 2023 17:21:43 +0800 Subject: [PATCH] =?UTF-8?q?update=20-=20=E5=BF=83=E7=90=86=E5=81=A5?= =?UTF-8?q?=E5=BA=B7=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2=20=20=20=20=20-?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=20=E5=8E=86=E5=8F=B2=E7=9B=91=E6=B5=8B?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E9=9D=9E=E4=BB=8A=E5=A4=A9=E7=9A=84=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E5=90=8E=E6=97=A5=E6=9C=9F=E6=98=BE=E7=A4=BA=E4=BB=8A?= =?UTF-8?q?=E5=A4=A9=E7=9A=84=E9=97=AE=E9=A2=98=20-=20vue.config.js=20=20?= =?UTF-8?q?=20=20=20-=20=E6=B3=A8=E9=87=8A=20proxy=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 +++++++++++-- src/config/models.js | 4 ++-- src/views/health/psychological/index.vue | 1 + vue.config.js | 12 ++++++------ 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index ca767ce..6a14b8c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ @@ -483,4 +483,13 @@ update `2023.6.9` update - 加油包充值购买 - - 修改 支付成功提示 \ No newline at end of file + - 修改 支付成功提示 + + +## v1.0.60 +`2023.6.14` +update +- 心理健康详情页面 + - 修复 历史监测选中非今天的日期后日期显示今天的问题 +- vue.config.js + - 注释 proxy代理相关代码 \ No newline at end of file diff --git a/src/config/models.js b/src/config/models.js index eeee738..9671b34 100644 --- a/src/config/models.js +++ b/src/config/models.js @@ -1,11 +1,11 @@ /* * @Date: 2021-11-20 10:26:39 * @LastEditors: JinxChen - * @LastEditTime: 2023-06-09 09:19:02 + * @LastEditTime: 2023-06-14 17:20:38 * @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @description: */ -export const VERSION_MODEL = '1.0.59F'; //版本号 +export const VERSION_MODEL = '1.0.60F'; //版本号 export const IMAGE_URL = { production: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/', diff --git a/src/views/health/psychological/index.vue b/src/views/health/psychological/index.vue index 3b3f5ba..ec11198 100644 --- a/src/views/health/psychological/index.vue +++ b/src/views/health/psychological/index.vue @@ -1018,6 +1018,7 @@ export default { // 选择日历具体某一个日期 onSelect(value) { const selectDate = this.$dayjs(value).format("YYYY-MM-DD"); + this.dateList[0].text = this.$dayjs(value).format("YYYY-MM-DD") === this.$dayjs(new Date()).format("YYYY-MM-DD") ? '今天' : this.$dayjs(value).format("YYYY-MM-DD"); this.calendarDialogShow = false; this.getPsychologiclData(selectDate); }, diff --git a/vue.config.js b/vue.config.js index d23b1c6..088b3fd 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2020-04-15 10:00:32 - * @LastEditTime: 2023-06-07 11:21:38 + * @LastEditTime: 2023-06-14 17:10:10 * @LastEditors: JinxChen * @Description: In User Settings Edit * @FilePath: \TelpoH5FrontendWeb\vue.config.js @@ -14,9 +14,9 @@ const pxtorem = require('postcss-pxtorem'); // 把代码中px转为rem const CompressionPlugin = require("compression-webpack-plugin"); const port = process.env.port || process.env.npm_config_port || 8080;/* 7788 */ // dev port -const proxy = process.env.NODE_ENV === 'development' ?{ +/* const proxy = process.env.NODE_ENV === 'development' ?{ // 调试完毕需要把这个代理注释掉,否则发布到线上会有问题产生 - /* '/api/id': { + '/api/id': { target: 'https://id.ssjlai.com/watersoutboundapi/', changeOrigin: true, pathRewrite: { @@ -29,9 +29,9 @@ const proxy = process.env.NODE_ENV === 'development' ?{ pathRewrite: { '^/api/ai': '' } - } */ + } } -: null; +: null; */ module.exports = { // 注意: 多页面配置 不再使用全路径,单页面时可以开启 publicPath: './', @@ -46,7 +46,7 @@ module.exports = { warnings: false, errors: true }, - proxy: proxy, + /* proxy: proxy, */ /* host: '192.168.3.186', */// 原为: hotst: 'localhost', 可在同一ip局域网下通过网址生成二维码的方式调试h5, 注意:调试完毕请注释 //disableHostCheck: true, //真机调试开启 },