| @@ -83,9 +83,7 @@ | |||||
| // ASCII码转换 大写字母A是65 演讲人是从1开始所以num+64 | // ASCII码转换 大写字母A是65 演讲人是从1开始所以num+64 | ||||
| toCapital(num) { | toCapital(num) { | ||||
| let str = '' | let str = '' | ||||
| if (num) { | |||||
| str = String.fromCharCode(num + 64) | |||||
| } | |||||
| str = String.fromCharCode(Number(num) + 65) | |||||
| return str | return str | ||||
| }, | }, | ||||
| } | } | ||||
| @@ -37,8 +37,7 @@ | |||||
| v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker"> | v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker"> | ||||
| <view class="avatar"> | <view class="avatar"> | ||||
| <view :style="[SPEAKERSTYLE(item.speaker)]"> | <view :style="[SPEAKERSTYLE(item.speaker)]"> | ||||
| <text v-if="item.isShow == 0">顾</text> | |||||
| <text v-else>{{ item.speaker | toCapital }}</text> | |||||
| <text>{{ item.speaker | toCapital }}</text> | |||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view class="contentInfo"> | <view class="contentInfo"> | ||||
| @@ -972,7 +971,7 @@ | |||||
| // 添加角色 | // 添加角色 | ||||
| addRole() { | addRole() { | ||||
| this.tablist.push({ | this.tablist.push({ | ||||
| name: String.fromCharCode(this.tablist.length + 64) | |||||
| name: String.fromCharCode(this.tablist.length + 65) | |||||
| }) | }) | ||||
| }, | }, | ||||
| @@ -1,10 +1,10 @@ | |||||
| // http.js使用域名 | // http.js使用域名 | ||||
| const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试 | |||||
| // const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试 | |||||
| // const baseUrl = 'http://192.168.31.148:8080/api';// 泽明 | // const baseUrl = 'http://192.168.31.148:8080/api';// 泽明 | ||||
| // const baseUrl = 'http://127.0.0.1:8080/autoSR/api'; // 本地 | // const baseUrl = 'http://127.0.0.1:8080/autoSR/api'; // 本地 | ||||
| // const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙 | // const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙 | ||||
| // const baseUrl = 'http://192.168.31.90:8080/api'; // 盛浩 | // const baseUrl = 'http://192.168.31.90:8080/api'; // 盛浩 | ||||
| // const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||||
| const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||||
| // const baseUrl = 'https://hfju.com/api'; // 数智正式 | // const baseUrl = 'https://hfju.com/api'; // 数智正式 | ||||
| // const baseUrl = 'https://xitong.pachira.cn/api'; // AI营销辅助 普强使用 | // const baseUrl = 'https://xitong.pachira.cn/api'; // AI营销辅助 普强使用 | ||||