@@ -1,7 +1,7 @@ | |||
<!-- | |||
* @Date: 2022-08-17 16:19:13 | |||
* @LastEditors: JinxChen | |||
* @LastEditTime: 2023-06-25 16:08:26 | |||
* @LastEditTime: 2023-06-28 14:16:35 | |||
* @FilePath: \TelpoH5FrontendWeb\README.md | |||
* @description: 项目说明 | |||
--> | |||
@@ -553,4 +553,13 @@ update | |||
`2023.6.27` | |||
fix | |||
- 心理监测首页 | |||
- 修复 从详情页面返回重新进入详情页面参数传递错误的问题 | |||
- 修复 从详情页面返回重新进入详情页面参数传递错误的问题 | |||
## v1.0.70 | |||
`2023.6.28` | |||
update | |||
- 心理监测首页 | |||
- 优化 路由传参非空判断的问题 | |||
- 优化 日期传参,当路由存在date参数并且在详情选中有日期时,路由的日期参数变成选中的日期 | |||
- 修改 日历组件的高度样式 |
@@ -5,7 +5,7 @@ | |||
* @FilePath: \TelpoH5FrontendWeb\src\config\models.js | |||
* @description: | |||
*/ | |||
export const VERSION_MODEL = '1.0.69F'; //版本号 | |||
export const VERSION_MODEL = '1.0.70F'; //版本号 | |||
export const IMAGE_URL = { | |||
production: 'http://zfb.ssjlai.com/web/', | |||
test: 'http://zfb.ssjlai.com/web/', | |||
@@ -42,6 +42,7 @@ | |||
<script> | |||
import axios from "axios"; | |||
import { isNotNull} from "@/utils/index"; | |||
export default { | |||
name: 'psychologicalMain', | |||
data(){ | |||
@@ -59,7 +60,7 @@ export default { | |||
}, | |||
computed: { | |||
isShowLeft() { | |||
return this.$route.query.fromUrl !== undefined; | |||
return isNotNull(this.$route.query.fromUrl); | |||
} | |||
}, | |||
created() { | |||
@@ -117,7 +118,7 @@ export default { | |||
}) | |||
}, | |||
onNavBack() { | |||
if(this.isShowLeft && this.$route.query.fromUrl !== undefined) { | |||
if(this.isShowLeft) { | |||
window.location.href = `${this.$route.query.fromUrl}/#/device`; | |||
} else { | |||
this.$router.go(-1); | |||
@@ -1000,6 +1000,7 @@ export default { | |||
// 返回 | |||
onNavBack() { | |||
this.params.name = ''; | |||
this.params.date = this.selectDate || this.params.date; | |||
this.$router.replace({ | |||
name: 'psychologicalMain', | |||
query: { | |||
@@ -1154,7 +1155,7 @@ export default { | |||
/* height: 300px; */ | |||
overflow: scroll; | |||
.van-calendar { | |||
height: 300px; | |||
height: 350px; | |||
.van-calendar__days .van-calendar__day { | |||
width: 27px; | |||
height: 27px; | |||