diff --git a/public/img/sohu.png b/public/img/sohu.png new file mode 100644 index 0000000..139e19d Binary files /dev/null and b/public/img/sohu.png differ diff --git a/public/index.html b/public/index.html index 0885a9b..1ba3c23 100644 --- a/public/index.html +++ b/public/index.html @@ -68,21 +68,14 @@ hm.src = 'https://hm.baidu.com/hm.js?0625618efb027ed02e88da84c121652e' var s = document.getElementsByTagName('script')[0] s.parentNode.insertBefore(hm, s) + console.log('我进来执行了~~~~~~~~~~~~~~~~~~~~') + let url = document.domain + if (url == 'focus.hfju.com' || url == 'focus.aihxz.com'|| url == 'localhost') { + document.querySelector('link[rel="icon"]').setAttribute('href', '<%= BASE_URL %>sh.png') + } else { + document.querySelector('link[rel="icon"]').setAttribute('href', '<%= BASE_URL %>icon1.png') + } })() - // fnResize(); - // window.onresize = function () { - // fnResize(); - // } - // function fnResize() { - // var deviceWidth = document.documentElement.clientWidth || window.innerWidth; - // if (deviceWidth >= 1920) { - // deviceWidth = 1920; - // } - // if (deviceWidth <= 1200) { - // deviceWidth = 1200; - // } - // document.documentElement.style.fontSize = (deviceWidth / 19.2) + 'px'; - // } diff --git a/public/sh.png b/public/sh.png new file mode 100644 index 0000000..34c433b Binary files /dev/null and b/public/sh.png differ diff --git a/src/api/modules/http.js b/src/api/modules/http.js index 6a49925..7e641d9 100644 --- a/src/api/modules/http.js +++ b/src/api/modules/http.js @@ -1332,4 +1332,13 @@ export function findmatchdataByOrgCode(data) { method: 'post', data }) +} + +// 公司后台用户洞察 +export function findHouseListByAccount(params) { + return request({ + url: 'autoSR/zkhouse/findHouseListByAccount', + method: 'get', + params + }) } \ No newline at end of file diff --git a/src/const/crud/admin/log.js b/src/const/crud/admin/log.js index 1542408..73a0440 100644 --- a/src/const/crud/admin/log.js +++ b/src/const/crud/admin/log.js @@ -18,6 +18,13 @@ export const tableOption = { viewBtn: true, size: "small", column: [ + { + label: "项目名称", + prop: "houseName", + type: 'select', + // search: true, + dicData: [] + }, { label: "操作人", prop: "name", @@ -28,11 +35,15 @@ export const tableOption = { prop: "createBy", search: true }, - // { - // label: "终端", - // width: 180, - // prop: "title" - // }, + { + label: "终端", + width: 180, + prop: "loginSystem", + formatter: row => { + if (!row.loginSystem) return '' + else return row.loginSystem == 0 ? "PC" : "小程序" + } + }, { label: "登录IP", prop: "remoteAddr" diff --git a/src/mixins/color.js b/src/mixins/color.js index cb0ab00..044b60d 100644 --- a/src/mixins/color.js +++ b/src/mixins/color.js @@ -9,10 +9,15 @@ export default function() { } }, created() { - this.themeVal = this.theme + 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) this.$store.commit('SET_THEME', val) this.updateTheme(val, oldVal) } diff --git a/src/page/check/index.vue b/src/page/check/index.vue index ddfdb79..a59d040 100644 --- a/src/page/check/index.vue +++ b/src/page/check/index.vue @@ -10,7 +10,10 @@
-
+
+ + +
AI销讲助手后台
@@ -44,6 +47,7 @@ export default { tabFlag4: false, backFlag: false, info: {}, + url: document.domain }; }, computed: {}, diff --git a/src/page/index/logo.vue b/src/page/index/logo.vue index 4a303ef..1e16bc2 100644 --- a/src/page/index/logo.vue +++ b/src/page/index/logo.vue @@ -3,7 +3,8 @@ @@ -11,7 +12,8 @@ @@ -22,6 +24,11 @@ diff --git a/src/page/wel.vue b/src/page/wel.vue index 39d9e04..d9278ec 100644 --- a/src/page/wel.vue +++ b/src/page/wel.vue @@ -256,37 +256,66 @@
-
-
顾问(人)
+
+
+
+
+
平均执行率
+ + + +
+
{{ cardlist.datalist.fraction || 0 }}%
+
+ +
+ +
+
-
{{ cardlist.datalist.accountNum || 0 }}
- + + 数据有所增长 + 数据有所下降 +
-
- -
+ +
-
平均执行率
+
平均客户意向度
-
{{ cardlist.datalist.fraction || 0 }}%
+
{{ cardlist.datalist.sumLevelFraction || 0 }}%
@@ -320,32 +349,33 @@
- 环比:{{ cardlist.sequential.fraction || 0 }} - - +{{ cardlist.liftlist.fraction || 0 }}% + + +{{ cardlist.liftlist.sumLevelFraction || 0 }}% - - {{ cardlist.liftlist.fraction || 0 }}% + + {{ cardlist.liftlist.sumLevelFraction || 0 }}% 数据有所增长 数据有所下降
+
-
用户洞察
+
+ 用户洞察 + + + +
@@ -2689,7 +2728,7 @@ export default { { name: "平均客户意向度", unit: '%', - tooltip: "", // 描述name文字的 + tooltip: "筛选时间内,新增的客户平均意向度,标记接待顾问、画像校准和给客户打标签有助于提升客户意向度;", // 描述name文字的 path: "/building/Count", pathName: "项目统计", paramsName: "sumLevelFraction", // 接待量变量名称 @@ -3017,13 +3056,13 @@ export default { res.data.tendencyData.forEach((item) => { // 销讲趋势 - lineBox1.xAxis.push(item.statDate); + lineBox1.xAxis.push(item.statDate.split(' ')[0]); lineBox1.receptionCount.push(item.receptionCount || 0); lineBox1.activeCustomer.push(item.activeCustomer || 0); lineBox1.prohibitedCustomer.push(item.prohibitedCustomer || 0); // 接待趋势 - lineBox2.xAxis.push(item.statDate); + lineBox2.xAxis.push(item.statDate.split(' ')[0]); lineBox2.fraction.push(item.fraction || 0); lineBox2.wordFraction.push(item.wordFraction || 0); lineBox2.wordFinishFraction.push(item.wordFinishFraction || 0); @@ -4170,6 +4209,8 @@ export default { color: #111111; font-weight: 500; line-height: 24px; + display: flex; + align-items: center; } .treeMapBox { diff --git a/src/views/Customer/table.js b/src/views/Customer/table.js index b6d1bdd..7cce837 100644 --- a/src/views/Customer/table.js +++ b/src/views/Customer/table.js @@ -274,12 +274,12 @@ export default { label: "客户阶段", prop: "clientStageName", }, - { - label: "客户标签命中数", - prop: "pickCount", - width: '150px', - sortable: true, - }, + // { + // label: "客户标签命中数", + // prop: "pickCount", + // width: '150px', + // sortable: true, + // }, { sortable: true, label: "到访次数", diff --git a/src/views/Receive/index.vue b/src/views/Receive/index.vue index 9869fa9..a10e3b1 100644 --- a/src/views/Receive/index.vue +++ b/src/views/Receive/index.vue @@ -33,7 +33,7 @@ >切换销讲业务
-
+
- 没电指派无录音 - 离线指派无录音 + 没电指派无录音 + 离线指派无录音
- 系统测试误操作 - 非接访场景录音 + 系统测试误操作 + 非接访场景录音
- 其他 + 其他