Browse Source

提交

yun
douzhuo 1 year ago
parent
commit
27618d0961
3 changed files with 5 additions and 8 deletions
  1. +1
    -3
      App.vue
  2. +2
    -3
      pages/mine/details2.vue
  3. +2
    -2
      utils/domain.js

+ 1
- 3
App.vue View File

@@ -83,9 +83,7 @@
// ASCII码转换 大写字母A是65 演讲人是从1开始所以num+64
toCapital(num) {
let str = ''
if (num) {
str = String.fromCharCode(num + 64)
}
str = String.fromCharCode(Number(num) + 65)
return str
},
}


+ 2
- 3
pages/mine/details2.vue View File

@@ -37,8 +37,7 @@
v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker">
<view class="avatar">
<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 class="contentInfo">
@@ -972,7 +971,7 @@
// 添加角色
addRole() {
this.tablist.push({
name: String.fromCharCode(this.tablist.length + 64)
name: String.fromCharCode(this.tablist.length + 65)
})
},



+ 2
- 2
utils/domain.js View File

@@ -1,10 +1,10 @@
// 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://127.0.0.1:8080/autoSR/api'; // 本地
// const baseUrl = 'http://192.168.31.161:8080/autoSR/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://xitong.pachira.cn/api'; // AI营销辅助 普强使用



Loading…
Cancel
Save