Преглед на файлове

Merge branch 'fix' into test

test
chenJinxu преди 5 месеца
родител
ревизия
b798201992
променени са 3 файла, в които са добавени 15 реда и са изтрити 3 реда
  1. +7
    -0
      README.md
  2. +1
    -1
      src/config/models.js
  3. +7
    -2
      src/views/health/psychological-main/index.vue

+ 7
- 0
README.md Целия файл

@@ -1159,3 +1159,10 @@ update
update update


- 增加 周报详情不显示对比条件 - 增加 周报详情不显示对比条件

## v1.0.126

`2024.6.18`
fix

- 修复 心理首页页面显示空白的问题

+ 1
- 1
src/config/models.js Целия файл

@@ -8,7 +8,7 @@
import store from "@/store"; import store from "@/store";
// 情绪模型 // 情绪模型
const appTypeList = ['1']; const appTypeList = ['1'];
export const VERSION_MODEL = '1.0.125F'; //版本号
export const VERSION_MODEL = '1.0.126F'; //版本号
export const IMAGE_URL = { export const IMAGE_URL = {
production: 'http://zfb.ssjlai.com/web/', production: 'http://zfb.ssjlai.com/web/',
test: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/',


+ 7
- 2
src/views/health/psychological-main/index.vue Целия файл

@@ -202,8 +202,13 @@ export default {
/* imgUrl = require(`@/assets/img/psychological/${name}_${level}.png`); */ /* imgUrl = require(`@/assets/img/psychological/${name}_${level}.png`); */
let numLevel = Number(level); let numLevel = Number(level);
console.log(`@/assets/img/psychological/${name}_${numLevel}.png`); console.log(`@/assets/img/psychological/${name}_${numLevel}.png`);
imgUrl = require(`@/assets/img/psychological/${name}_${numLevel + 1
}.png`);
if (numLevel < 0) {
imgUrl = require(`@/assets/img/psychological/${name}_1.png`);
} else {
imgUrl = require(`@/assets/img/psychological/${name}_${numLevel + 1}.png`);
}


/* switch(level) { /* switch(level) {
case '0': case '0':
imgUrl = require(`@/assets/img/psychological/${name}_${numLevel + 1}.png`); imgUrl = require(`@/assets/img/psychological/${name}_${numLevel + 1}.png`);


Loading…
Отказ
Запис