@@ -831,4 +831,10 @@ fix | |||
`2023.12.5` | |||
update | |||
- 心理监测首页 | |||
- 修改 菜单顺序 | |||
- 修改 菜单顺序 | |||
## v1.0.105 | |||
`2023.12.5` | |||
update | |||
- 心理监测首页 | |||
- 区分 测试和正式环境接口地址 |
@@ -5,7 +5,7 @@ | |||
* @FilePath: \TelpoH5FrontendWeb\src\config\models.js | |||
* @description: | |||
*/ | |||
export const VERSION_MODEL = '1.0.104F'; //版本号 | |||
export const VERSION_MODEL = '1.0.105F'; //版本号 | |||
export const IMAGE_URL = { | |||
production: 'http://zfb.ssjlai.com/web/', | |||
test: 'http://zfb.ssjlai.com/web/', | |||
@@ -1306,7 +1306,8 @@ export default { | |||
}, | |||
getWeekResult() { | |||
this.$toast.loading('数据加载中'); | |||
let reqUrl = 'https://dbmq.rzliot.com/heart/api/Data/GetWeekResult'; | |||
let baseUrl = process.env.NODE_ENV === 'production' ? 'https://dbmq.rzliot.com/auth_heart' : 'https://dbmq.rzliot.com/heart'; | |||
let reqUrl = `${baseUrl}/api/Data/GetWeekResult`; | |||
let reqParams = { | |||
uid: this.uid/* '2023101521270090082 */, | |||
type: this.emoType | |||
@@ -632,7 +632,8 @@ export default { | |||
}, | |||
getWeekResultDetail() { | |||
this.$toast.loading('数据加载中'); | |||
let reqUrl = 'https://dbmq.rzliot.com/heart/api/Data/GetWeekResultDetail'; | |||
let baseUrl = process.env.NODE_ENV === 'production' ? 'https://dbmq.rzliot.com/auth_heart' : 'https://dbmq.rzliot.com/heart'; | |||
let reqUrl = `${baseUrl}/api/Data/GetWeekResultDetail`; | |||
let reqParams = { | |||
recordId: this.params.recordId, | |||
}; | |||
@@ -94,7 +94,8 @@ export default { | |||
}, | |||
getWeekResult() { | |||
this.$toast.loading('数据加载中'); | |||
let reqUrl = 'https://dbmq.rzliot.com/heart/api/Data/GetWeekResult'; | |||
let baseUrl = process.env.NODE_ENV === 'production' ? 'https://dbmq.rzliot.com/auth_heart' : 'https://dbmq.rzliot.com/heart'; | |||
let reqUrl = `${baseUrl}/api/Data/GetWeekResult`; | |||
let reqParams = { | |||
uid: /* this.uid */'2023101521270090082', | |||
type: this.emoType | |||