Browse Source

修改logo

newStyle
风继续吹 10 months ago
parent
commit
a414b14329
11 changed files with 62 additions and 39 deletions
  1. BIN
      public/img/logoIcon.jpg
  2. BIN
      public/img/logoText.jpg
  3. +3
    -1
      public/index.html
  4. +1
    -1
      src/main.js
  5. +0
    -7
      src/mixins/color.js
  6. +4
    -2
      src/page/bi/bi.vue
  7. +2
    -2
      src/page/bi/index.js
  8. +2
    -1
      src/page/check/index.vue
  9. +9
    -1
      src/page/index/logo.vue
  10. +7
    -1
      src/page/login/index.vue
  11. +34
    -23
      src/views/Receive/index.vue

BIN
public/img/logoIcon.jpg View File

Before After
Width: 216  |  Height: 216  |  Size: 7.1 KiB

BIN
public/img/logoText.jpg View File

Before After
Width: 394  |  Height: 88  |  Size: 14 KiB

+ 3
- 1
public/index.html View File

@@ -70,8 +70,10 @@
s.parentNode.insertBefore(hm, s)
console.log('我进来执行了~~~~~~~~~~~~~~~~~~~~')
let url = document.domain
if (url == 'focus.hfju.com' || url == 'focus.aihxz.com'|| url == 'localhost') {
if (url == 'focus.hfju.com' || url == 'focus.aihxz.com') {
document.querySelector('link[rel="icon"]').setAttribute('href', '<%= BASE_URL %>sh.png')
} else if (url == 'zh.aihxz.com' || url == 'localhost') {
document.querySelector('link[rel="icon"]').setAttribute('href', '<%= BASE_URL %>img/logoIcon.jpg')
} else {
document.querySelector('link[rel="icon"]').setAttribute('href', '<%= BASE_URL %>icon1.png')
}


+ 1
- 1
src/main.js View File

@@ -38,7 +38,7 @@ Vue.component('v-chart', ECharts)
import AudioPlayer from '@liripeng/vue-audio-player'
// import '@liripeng/vue-audio-player/lib/vue-audio-player.css'

Vue.prototype.$domain = document.domain
// 插件 json 展示
Vue.use(router)



+ 0
- 7
src/mixins/color.js View File

@@ -8,13 +8,6 @@ export default function() {
themeVal: ORIGINAL_THEME
}
},
// created() {
// if (document.domain == 'focus.hfju.com' || document.domain == 'focus.aihxz.com' || document.domain == 'localhost') {
// this.themeVal = '#ff4500'
// } else {
// this.themeVal = this.theme
// }
// },
watch: {
themeVal(val, oldVal) {
console.log(val, oldVal)


+ 4
- 2
src/page/bi/bi.vue View File

@@ -843,8 +843,8 @@
item.showStatus == 0 ? 'line-through' : 'none',
color: item.showStatus == 0 ? '#c2c2c2' : '#fff',
}"
v-html="item.message"
>
{{ item.message }}
</p>
<span
:style="{
@@ -853,7 +853,8 @@
color: item.showStatus == 0 ? '#c2c2c2' : '#fff',
}"
style="color: #fff; font-weight: 400; font-size: 16px"
>{{ item.createTime }}</span
v-html="item.createTime"
></span
>
</el-checkbox>
</el-checkbox-group>
@@ -1139,6 +1140,7 @@
<el-checkbox label="2">项目总</el-checkbox>
<el-checkbox label="7">系统运营</el-checkbox>
<el-checkbox label="8">售后运营</el-checkbox>
<el-checkbox label="10,12">公司管理员</el-checkbox>
</el-checkbox-group>
<div class="placebox"></div>
<!-- 底部确认按钮 -->


+ 2
- 2
src/page/bi/index.js View File

@@ -727,7 +727,7 @@ const headOffline = [
const stayHandleLists = [
{
title: "录音未开启",
params: "notOpenRecor", // 对应后端字段名
params: "notOpenRecord", // 对应后端字段名
img: "/img/bidata/ic_bg1@2x.png", // 图片路径
data: "", // 对应值
fontColor: "#F74E52", // 字体颜色
@@ -736,7 +736,7 @@ const stayHandleLists = [
},
{
title: "录音未合并",
params: "notMergeRecor", // 对应后端字段名
params: "notMergeRecord", // 对应后端字段名
img: "/img/bidata/ic_bg5@2x.png", // 图片路径
data: "", // 对应值
fontColor: "#34DBFC", // 字体颜色


+ 2
- 1
src/page/check/index.vue View File

@@ -11,7 +11,8 @@
<!-- 质控后台 -->
<div class="tab" @click="goindex(0)" v-if="tabFlag1">
<div>
<img class="imgs" v-if="url == 'focus.hfju.com' || url == 'focus.aihxz.com' || url == 'localhost'" src="/img/sohu.png" alt="" style="padding: 8px 0;"/>
<img class="imgs" v-if="url == 'focus.hfju.com' || url == 'focus.aihxz.com'" src="/img/sohu.png" alt="" style="padding: 8px 0;"/>
<img class="imgs" v-else-if="url == 'zh.aihxz.com' || url == 'localhost'" src="/img/logoIcon.jpg" alt="" style="padding: 8px 0;"/>
<img v-else src="/logoPng.png" alt="" style="padding: 8px 0;"/>
</div>
<div class="text">AI销讲助手后台</div>


+ 9
- 1
src/page/index/logo.vue View File

@@ -12,7 +12,8 @@
<transition-group name="fade">
<span v-if="!keyCollapse" key="1" class="avue-logo_title" @click="goIndex">
<div class="logo">
<i v-if="url == 'focus.hfju.com' || url == 'focus.aihxz.com'|| url == 'localhost'" class="logoIcons"></i>
<i v-if="url == 'focus.hfju.com' || url == 'focus.aihxz.com'" class="logoIcons"></i>
<i v-else-if="url == 'zh.aihxz.com' || url == 'localhost'" class="logoIconss"></i>
<i v-else class="logoIcon" style="width:44px;"></i>
<span>{{ website.title }}</span>
</div>
@@ -76,6 +77,13 @@ export default {
background: url('/img/sohu.png') no-repeat;
background-size: 100%;
}
.logoIconss {
display: block;
width: 40px;
height: 40px;
background: url('/img/logoIcon.jpg') no-repeat;
background-size: 100%;
}
}

.fade-leave-active {


+ 7
- 1
src/page/login/index.vue View File

@@ -4,10 +4,16 @@
<div class="login-logo">
<img
v-if="
url == 'focus.hfju.com' || url == 'focus.aihxz.com'|| url == 'localhost'
url == 'focus.hfju.com' || url == 'focus.aihxz.com'
"
src="/img/sohu.png"
/>
<img
v-if="
url == 'zh.aihxz.com' || url == 'localhost'
"
src="/img/logoIcon.jpg"
/>
<img
v-else
src="/logoPng.png"


+ 34
- 23
src/views/Receive/index.vue View File

@@ -888,9 +888,9 @@
>
<div
class="viewclace"
:class="roleindexbiaoji == index ? 'bosdttom' : ''"
@click="biaojixuanze(index)"
v-for="(item, index) in tablist.slice(1, tablist.length)"
:class="{bosdttom: item.checked}"
@click="biaojixuanze(item)"
v-for="(item, index) in tablists"
:key="index"
>
<div>{{ item.name }}</div>
@@ -1406,7 +1406,7 @@ export default {
Searchcontent: [],
inputtest: "",
info: {},
yibiaoji: "",
yibiaoji: "未标记",
rec_index_flag: false,
rec_index_addJ: false,
rec_index_wrongword: false,
@@ -1418,8 +1418,9 @@ export default {
outSpeechSkillList: [], // 导出话术列表
isNum: false,
searchText: "",
tablists: [], // 角色列表
roleSelectArr: [0], // 当前选中的角色标记点
consultant: '', // 多顾问角色
};
},
created() {
@@ -2174,6 +2175,7 @@ export default {
},
//标记
biaoji() {
this.tablists = this.tablist.slice(1, this.tablist.length)
this.dialogFormVisible11 = true;
},
//取消标记
@@ -2181,16 +2183,34 @@ export default {
this.dialogFormVisible11 = false;
this.roleindexbiaoji = this.dshfkjsdkksodofydwfkhwdfkjh;
},

// 设置顾问
setConsultant() {
let arr = this.consultant.split(',') || []
console.log(this.consultant,arr)
this.tablist.map(obj => {
if (arr.includes(obj.speaker.toString())) {
obj.name += '顾问'
}
})
},

// 标记选择
biaojixuanze(index) {
this.roleindexbiaoji = index;
biaojixuanze(item) {
item.checked = !item.checked
},
//确认标记
subMsg11() {
var num = this.roleindexbiaoji + 1;
let arr = this.tablists.filter(item => item.checked)
if (arr.lenght == 0) {
this.$message.error('请选择标记角色~');
return
}
this.$api.http
.markConsultant({
speaker: num,
speaker: arr.map(item => { return item.speaker }).join(","),
id: this.isd,
customerId: this.fileId,
houseId: localStorage.getItem("houseId"),
@@ -2442,12 +2462,14 @@ export default {
name: "全部",
select: true,
speaker: i,
checked: false,
});
} else {
this.tablist.push({
name: String.fromCharCode(i + 64),
select: false,
speaker: i,
checked: false,
});
}
}
@@ -2460,34 +2482,23 @@ export default {
cusId: this.fileId,
})
.then((res) => {
console.log(res, "dsadasd");
let audopbj = res.data;
this.mg = res.data[0].merge;
console.log(res.data[0].merge, "res.data[0].merge");
this.recordPath = audopbj[this.AudioIdx].recordPath;
audopbj[this.AudioIdx].audioContent != ""
? (this.transcriptionlist = JSON.parse(
audopbj[this.AudioIdx].audioContent
))
: (this.transcriptionlist = []);
// this.transcriptionlist=JSON.parse(audopbj[this.AudioIdx].audioContent)
this.tablist = [];
if (this.userinformationlist.yon == 0) {
this.isd = audopbj[this.AudioIdx].id;
// console.log(audopbj[this.AudioIdx].speakerNum, "speakerNum");
this.creatTabList(audopbj[this.AudioIdx].speakerNum);
this.roleList = this.tablist.slice(1);
if (audopbj[this.AudioIdx].speaker == null) {
this.yibiaoji = "未标记";
this.roleindexbiaoji = 0;
this.dshfkjsdkksodofydwfkhwdfkjh = 0;
} else {
if (audopbj[this.AudioIdx].speaker) {
this.yibiaoji = "已标记";
this.tablist[audopbj[this.AudioIdx].speaker].name =
this.tablist[audopbj[this.AudioIdx].speaker].name + "顾问";
this.roleindexbiaoji = audopbj[this.AudioIdx].speaker - 1;
this.dshfkjsdkksodofydwfkhwdfkjh =
audopbj[this.AudioIdx].speaker - 1;
this.consultant = audopbj[this.AudioIdx].speaker
this.setConsultant()
}
}
this.corpusId = audopbj[this.AudioIdx].id;


Loading…
Cancel
Save