风继续吹 преди 1 година
родител
ревизия
c51994d977
променени са 21 файла, в които са добавени 626 реда и са изтрити 250 реда
  1. +92
    -30
      App.vue
  2. +0
    -1
      env/prod_xjzs.js
  3. +6
    -0
      env/yzdev.js
  4. +111
    -111
      manifest.json
  5. +10
    -0
      package.json
  6. +20
    -19
      pages.json
  7. +46
    -27
      pages/index/guide.vue
  8. +133
    -33
      pages/index/index.vue
  9. +201
    -0
      pages/index/mathManIndex.js
  10. +0
    -27
      pages/mine/details2.vue
  11. Двоични данни
      static/images/tabBar/jiedaiActives.png
  12. Двоични данни
      static/images/tabBar/jiedais.png
  13. Двоични данни
      static/images/tabBar/kehuActives.png
  14. Двоични данни
      static/images/tabBar/kehus.png
  15. Двоични данни
      static/images/tabBar/meActives.png
  16. Двоични данни
      static/images/tabBar/mes.png
  17. Двоични данни
      static/images/tabBar/workActives.png
  18. Двоични данни
      static/images/tabBar/works.png
  19. Двоични данни
      static/images/tabBar/xuexiActives.png
  20. Двоични данни
      static/images/tabBar/xuexis.png
  21. +7
    -2
      utils/domain.js

+ 92
- 30
App.vue Целия файл

@@ -1,13 +1,15 @@
<script>
import Vue from 'vue';
const domainObj = require('./utils/domain.js');
//app.js
var config = require("./config");
export default {
onLaunch(options) {
this.setTabbarItems() // 设置tabbar
// 获取用户信息
uni.getSystemInfo({
success: function(e) {
console.log(e, 'adjsakljdklasjdklsakjdslakjd')
console.log(e, 'phoneInfo')
// #ifdef MP-WEIXIN
Vue.prototype.StatusBar = e.statusBarHeight;
let custom = wx.getMenuButtonBoundingClientRect();
@@ -25,8 +27,52 @@
bulidIngObj: uni.getStorageSync('buildingID'),
};
},

onLoad() {
this.setTabbarItems()
},
methods: {

// 设置底部导航栏
setTabbarItems() {
const tabbarList = [{
iconPath: "/static/images/tabBar/jiedais.png",
selectedIconPath: "/static/images/tabBar/jiedaiActives.png",
text: "接待"
},
{
iconPath: "/static/images/tabBar/kehus.png",
selectedIconPath: "/static/images/tabBar/kehuActives.png",
text: "客户"
},
{
iconPath: "/static/images/tabBar/works.png",
selectedIconPath: "/static/images/tabBar/workActives.png",
text: "工作台"
},
{
iconPath: "/static/images/tabBar/xuexis.png",
selectedIconPath: "/static/images/tabBar/xuexiActives.png",
text: "学习"
},
{
iconPath: "/static/images/tabBar/mes.png",
selectedIconPath: "/static/images/tabBar/meActives.png",
text: "我的"
}
]
if (domainObj.domain == 'zh.aihxz.com') {
tabbarList.forEach((item, index) => {
uni.setTabBarItem({
index: index,
iconPath: item.iconPath,
selectedIconPath: item.selectedIconPath
})
})
}
},

//实时统计
getTabBarBadge() {
uni.request({
@@ -41,8 +87,6 @@
houseId: uni.getStorageSync('buildingID').id
},
success: (data) => {
console.log(data.data.data.receivingCustomer,
'receivingCustomer')

if (data.data.data == null) {
uni.removeTabBarBadge({
@@ -109,7 +153,6 @@
recordId: data.id
},
success: (data) => {
console.log(data)
}
})
},
@@ -188,7 +231,7 @@
});
}
});
// 新版本更新
if (wx.canIUse('getUpdateManager')) {
const updateManager = wx.getUpdateManager()
@@ -222,7 +265,7 @@
content: '当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'
})
}
// 判断token
const token = uni.getStorageSync("weapp_session_login_data")
if (typeof token.token != "string") {
@@ -237,7 +280,6 @@
},
success: (res) => {
let rescor = res.data.data;
console.log(res, '数据', rescor)
// return
if (res.statusCode == 401) {
uni.showToast({
@@ -264,7 +306,6 @@
}
let users = rescor.user
users.zkProperties = rescor.houseList
console.log(users, '角色数据')
uni.setStorageSync("weapp_session_userInfo_data", users); //写入缓存
}
}
@@ -290,26 +331,6 @@
index: 4
})
})

// this.$u.get("/user/getUser")
// .then(data => {
// if (data.user.total==0) {
// uni.showToast({
// title: '暂无绑定项目',
// duration: 2000,
// icon:"none"
// });
// return
// } else {
// let lopan = {
// id: data.houseList[0].id,
// name: data.houseList[0].propertyName
// }
// let users=data.user
// users.zkProperties=data.houseList
// uni.setStorageSync("weapp_session_userInfo_data",users); //写入缓存
// }
// })
wx.setInnerAudioOption({
obeyMuteSwitch: false
});
@@ -319,9 +340,50 @@
onShow(options) {
const token = uni.getStorageSync("weapp_session_login_data")
if (typeof token.token != "string") {
console.log("没有")
return
} else {}
},


methods: {
// 设置底部导航栏
setTabbarItems() {
const tabbarList = [{
iconPath: "/static/images/tabBar/jiedais.png",
selectedIconPath: "/static/images/tabBar/jiedaiActives.png",
text: "接待"
},
{
iconPath: "/static/images/tabBar/kehus.png",
selectedIconPath: "/static/images/tabBar/kehuActives.png",
text: "客户"
},
{
iconPath: "/static/images/tabBar/works.png",
selectedIconPath: "/static/images/tabBar/workActives.png",
text: "工作台"
},
{
iconPath: "/static/images/tabBar/xuexis.png",
selectedIconPath: "/static/images/tabBar/xuexiActives.png",
text: "学习"
},
{
iconPath: "/static/images/tabBar/mes.png",
selectedIconPath: "/static/images/tabBar/meActives.png",
text: "我的"
}
]
if (domainObj.domain == 'zh.aihxz.com') {
tabbarList.forEach((item, index) => {
uni.setTabBarItem({
index: index,
iconPath: item.iconPath,
selectedIconPath: item.selectedIconPath
})
})
}
}
}
};
</script>


+ 0
- 1
env/prod_xjzs.js Целия файл

@@ -1,6 +1,5 @@
const ENV_PATH = {
baseUrl: 'https://www.aihxz.com', // 销讲助手
// baseUrl: 'https://hxz.quhouse.com', // 销讲助手
}

module.exports = ENV_PATH

+ 6
- 0
env/yzdev.js Целия файл

@@ -0,0 +1,6 @@
const ENV_PATH = {
baseUrl: 'https://zh.aihxz.com', // 销讲助手
domain: 'zh.aihxz.com', // 主域名
}

module.exports = ENV_PATH

+ 111
- 111
manifest.json Целия файл

@@ -1,113 +1,113 @@
{
"name" : "AI销讲助手",
"appid" : "__UNI__7A1611D",
"description" : "AI销讲助手",
"versionName" : "1.1.0",
"versionCode" : "100",
"transformPx" : false,
"app-plus" : {
"usingComponents" : true,
"nvueCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
"modules" : {
"Push" : {},
"UIWebview" : {},
"Webview-x5" : {}
},
"distribute" : {
"android" : {
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
},
"ios" : {
"idfa" : false
},
"sdkConfigs" : {
"ad" : {},
"oauth" : {}
},
"icons" : {
"android" : {
"hdpi" : "",
"xhdpi" : "",
"xxhdpi" : "",
"xxxhdpi" : ""
},
"ios" : {
"appstore" : "",
"ipad" : {},
"iphone" : {}
}
}
}
},
"quickapp" : {},
"mp-weixin" : {
"appid" : "wx8f883dca5ecc5510",
"setting" : {
"urlCheck" : false,
"es6" : true,
"postcss" : true,
"minified" : false
},
"usingComponents" : true,
"permission" : {},
"requiredBackgroundModes" : [ "audio" ],
"lazyCodeLoading" : "requiredComponents",
"plugins" : {
"WechatSI" : {
"version" : "0.3.4",
"provider" : "wx069ba97219f66d99"
}
},
"uniStatistics" : {
"enable" : true
}
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"h5" : {
"router" : {
"base" : "/pages/login/guide"
}
},
"uniStatistics" : {
"version" : "1"
}
"name": "AI销讲助手",
"appid": "__UNI__7A1611D",
"description": "AI销讲助手",
"versionName": "1.1.0",
"versionCode": "100",
"transformPx": false,
"app-plus": {
"usingComponents": true,
"nvueCompiler": "uni-app",
"compilerVersion": 3,
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
},
"modules": {
"Push": {},
"UIWebview": {},
"Webview-x5": {}
},
"distribute": {
"android": {
"permissions": [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"]
},
"ios": {
"idfa": false
},
"sdkConfigs": {
"ad": {},
"oauth": {}
},
"icons": {
"android": {
"hdpi": "",
"xhdpi": "",
"xxhdpi": "",
"xxxhdpi": ""
},
"ios": {
"appstore": "",
"ipad": {},
"iphone": {}
}
}
}
},
"quickapp": {},
"mp-weixin": {
"appid": "wx8f883dca5ecc5510",
"setting": {
"urlCheck": false,
"es6": true,
"postcss": true,
"minified": false
},
"usingComponents": true,
"permission": {},
"requiredBackgroundModes": ["audio"],
"lazyCodeLoading": "requiredComponents",
"plugins": {
"WechatSI": {
"version": "0.3.4",
"provider": "wx069ba97219f66d99"
}
},
"uniStatistics": {
"enable": true
}
},
"mp-alipay": {
"usingComponents": true
},
"mp-baidu": {
"usingComponents": true
},
"mp-toutiao": {
"usingComponents": true
},
"h5": {
"router": {
"base": "/pages/login/guide"
}
},
"uniStatistics": {
"version": "1"
}
}

+ 10
- 0
package.json Целия файл

@@ -50,6 +50,16 @@
"define": {
"WXSC-PLATFORM": true
}
},
"weixin:yzdev": {
"title": "云筑数智助手 生产",
"env": {
"UNI_PLATFORM": "mp-weixin",
"ENV_PATH": "@/env/yzdev.js"
},
"define": {
"WXSC-PLATFORM": true
}
}
}
}


+ 20
- 19
pages.json Целия файл

@@ -9,6 +9,11 @@
"navigationBarBackgroundColor": "#008EF2",
"navigationBarTextStyle": "white",
"navigationStyle": "custom"
// "mp-weixin": {
// "usingComponents": {
// "digital-human": "plugin://digital-human-plugin/core"
// }
// }
}
},
{
@@ -604,26 +609,22 @@
"enablePullDownRefresh": true
}
}, {
"path": "RuleEditing/RuleEditing",
"style": {
"navigationBarTitleText": "编辑指标",
"enablePullDownRefresh": false
}
}, {
"path": "warningList/warningList",
"style": {
"navigationBarTitleText": "项目预警",
"enablePullDownRefresh": false
}
}
,{
"path" : "RuleEditing/RuleEditing",
"style" :
{
"navigationBarTitleText": "编辑指标",
"enablePullDownRefresh": false
}
}
,{
"path" : "warningList/warningList",
"style" :
{
"navigationBarTitleText": "项目预警",
"enablePullDownRefresh": false
}
}
]
]
}
],


+ 46
- 27
pages/index/guide.vue Целия файл

@@ -1,36 +1,42 @@
<template>
<view class="boox">
<view class="title">
</view>
<!-- <digital-human :width="400" rootStyle="position: fixed; left: 50%; top: 100rpx; transform: translateX(-50%);"></digital-human> -->
<view class="booximg">
<!-- <image class="img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/guidepage.png" mode=""></image> -->
<image class="img" src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/wabIndex.png" mode=""></image>
<image v-if="domainObj.domain == 'zh.aihxz.com'" class="img"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/wabIndexs.png" mode=""></image>
<image v-else class="img" src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/wabIndex.png" mode="">
</image>
</view>
<view class="center-dingwei">
<view class="dingwei-title" style="margin-top: 0">
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png"
mode=""></image>
<view class="desc">智能语音转写</view>
</view>
<view class="dingwei-title">
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png"
mode=""></image>
<view class="desc">高效的判客机制</view>
</view>
<view class="dingwei-title">
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png"
mode=""></image>
<view class="desc">全方位的客户跟进</view>
</view>
<view class="dingwei-title">
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png"
mode=""></image>
<view class="desc">专业的经纪管家</view>
</view>
<view class="dingwei-title">
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png"
mode=""></image>
<view class="desc">在线实时沟通</view>
</view>
</view>
<view @click="bindWxBLogin" class="button">
<view class="view">
立即去登录
@@ -42,19 +48,23 @@
<script>
var app = getApp();
var config = require("../../config");
const domainObj = require('@/utils/domain.js');
// import human from './mathManIndex.js'
export default {
// mixins: [human],
data() {
return {
domainObj: domainObj, // 域名
};
},
onShow: function() {

onShow() {
uni.request({
url: config.service.verify,
method: "GET",
header: {
'content-type': 'application/json',
'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token
'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
},
success: (data) => {
if (data.data.code == 10000) {
@@ -65,7 +75,7 @@
}
})
},
onHide: function() {},
onHide() {},
methods: {
bindWxBLogin() {
wx.navigateTo({
@@ -77,10 +87,11 @@
};
</script>
<style lang="scss">
.boox{
.boox {
width: 100vw;
height: 100vh;
position: relative;

.title {
width: 100%;
position: absolute;
@@ -92,42 +103,50 @@
font-weight: 500;
z-index: 1000;
}
.booximg{

.booximg {
width: 100vw;
height: 96vh;
.img{
height: 100vh;

.img {
width: 100%;
height: 100%;
}
}
.center-dingwei{

.center-dingwei {
width: 100%;
position: absolute;
left: 0rpx;
bottom:230rpx;
.dingwei-title{
bottom: 200rpx;

.dingwei-title {
height: 44rpx;
display: flex;
margin-left: 213rpx;
margin-top: 20rpx;
}
.dingwei-img{

.dingwei-img {
width: 44rpx;
height: 44rpx;
}
.desc{

.desc {
line-height: 44rpx;
margin-left: 10rpx;
font-size: 32rpx;
color: #333333;
}
}

.button {
width: 100%;
position: absolute;
left: 0rpx;
bottom:80rpx;
.view{
bottom: 60rpx;

.view {
width: 630rpx;
height: 86rpx;
margin: 0 auto;


+ 133
- 33
pages/index/index.vue Целия файл

@@ -254,22 +254,43 @@
<view class="commonly-box">
<view class="commonly" @click="Piabodata('接待记录')" v-if="permissions.jdjl">
<view class="commonly-img">
<image class="commonly-img1"
src="https://static.quhouse.com/4649b5bd19124afca0f1a809f93bfd73.png" mode=""></image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu1.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1"
src="https://static.quhouse.com/4649b5bd19124afca0f1a809f93bfd73.png" mode=""></image>
</template>
</view>
<view class="commonly-text">接待记录</view>
</view>
<view class="commonly" @click="Piabodata('违禁记录')" v-if="permissions.wjjl">
<view class="commonly-img">
<image class="commonly-img1"
src="https://static.quhouse.com/b1dd1da2a969465bbbf41818320b8487.png" mode=""></image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu7.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1"
src="https://static.quhouse.com/b1dd1da2a969465bbbf41818320b8487.png" mode=""></image>
</template>
</view>
<view class="commonly-text">违禁记录</view>
</view>
<view class="commonly" @click="toUserinsightinto()" v-if="permissions.tddb">
<view class="commonly-img">
<image class="commonly-img1"
src="https://static.quhouse.com/c2c2e1af3d5f41d180ec55a04a5d4f26.png" mode=""></image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu6.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1"
src="https://static.quhouse.com/c2c2e1af3d5f41d180ec55a04a5d4f26.png" mode=""></image>
</template>
</view>
<view class="commonly-text">客户画像</view>
</view>
@@ -283,52 +304,101 @@
<view class="commonly-box">
<view class="commonly" @click="Piabodata('销讲分析')" v-if="permissions.xjfx">
<view class="commonly-img">
<image class="commonly-img1"
src="https://static.quhouse.com/1f01dfa38203493b88d9668a506fdff3.png" mode=""></image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu9.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1"
src="https://static.quhouse.com/1f01dfa38203493b88d9668a506fdff3.png" mode=""></image>
</template>
</view>
<view class="commonly-text">销讲分析</view>
</view>
<view class="commonly" @click="toTrendAnalysis()" v-if="permissions.lpdb">
<view class="commonly-img">
<image class="commonly-img1"
src="https://static.quhouse.com/df070b1a2d5e48359c7de5654e4f7a17.png" mode=""></image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu8.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1"
src="https://static.quhouse.com/df070b1a2d5e48359c7de5654e4f7a17.png" mode=""></image>
</template>
</view>
<view class="commonly-text">销讲趋势</view>
</view>
<view class="commonly" @click="Piabodata('顾问排名')" v-if="permissions.gwpm">
<view class="commonly-img">
<image class="commonly-img1"
src="https://static.quhouse.com/f5a6b2d6032348a1b256cfd7083be436.png" mode=""></image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu10.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1"
src="https://static.quhouse.com/f5a6b2d6032348a1b256cfd7083be436.png" mode=""></image>
</template>
</view>
<view class="commonly-text">顾问排名</view>
</view>
<view class="commonly" @click="toStaffAnalysis()" v-if="permissions.xjqs">
<view class="commonly-img">
<image class="commonly-img1"
src="https://static.quhouse.com/c2d3801540cf4880a68cce0e04eb59b0.png" mode=""></image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu3.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1"
src="https://static.quhouse.com/c2d3801540cf4880a68cce0e04eb59b0.png" mode=""></image>
</template>
</view>
<view class="commonly-text">员工分析</view>
</view>
<view class="commonly" @click="toRequireAnalysis()" v-if="permissions.xqwjfx">
<view class="commonly-img">
<image class="commonly-img1"
src="https://static.quhouse.com/c2d3801540cf4880a68cce0e04eb59b0.png" mode=""></image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu3.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1"
src="https://static.quhouse.com/c2d3801540cf4880a68cce0e04eb59b0.png" mode=""></image>
</template>
</view>
<view class="commonly-text">需求挖掘分析</view>
</view>

<view class="commonly" @click="toDataBoard" v-if="permissions.sjkb_sy">
<view class="commonly-img">
<image class="commonly-img1" src="https://static.quhouse.com/20230523104819.jpg" mode="">
</image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu12.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1" src="https://static.quhouse.com/20230523104819.jpg" mode="">
</image>
</template>
</view>
<view class="commonly-text">数据看板</view>
</view>

<view class="commonly" @click="toWoring" v-if="permissions.xmyj_sy">
<view class="commonly-img">
<image class="commonly-img1" src="https://static.quhouse.com/20230523104803.jpg" mode="">
</image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu1.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1" src="https://static.quhouse.com/20230523104803.jpg" mode="">
</image>
</template>
</view>
<view class="commonly-text">项目预警</view>
</view>
@@ -343,29 +413,62 @@
<view class="commonly-box">
<view class="commonly" @click="Theteamcompared()" v-if="permissions.gwnl">
<view class="commonly-img">
<image class="commonly-img1"
src="https://static.quhouse.com/4f5a3a61c06a4508a806eb290ef678e6.png" mode=""></image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu2.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1"
src="https://static.quhouse.com/4f5a3a61c06a4508a806eb290ef678e6.png" mode="">
</image>
</template>
</view>
<view class="commonly-text">团队对比</view>
</view>
<view class="commonly" @click="Groupcontrast()" v-if="permissions.yhhx">
<view class="commonly-img">
<image class="commonly-img1"
src="https://static.quhouse.com/759c2e3240e54213827196559ce38fa4.png" mode=""></image>

<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu13.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1"
src="https://static.quhouse.com/759c2e3240e54213827196559ce38fa4.png" mode="">
</image>
</template>
</view>
<view class="commonly-text">集团对比</view>
</view>
<view class="commonly" @click="Piabodata('设备管理')" v-if="permissions.sbgl">
<view class="commonly-img">
<image class="commonly-img1"
src="https://static.quhouse.com/e617133ecbbd46498e30719444fc02e8.png" mode=""></image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu4.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1"
src="https://static.quhouse.com/e617133ecbbd46498e30719444fc02e8.png" mode="">
</image>
</template>
</view>
<view class="commonly-text">设备管理</view>
</view>
<view class="commonly" @click="Piabodata('值班顾问')" v-if="permissions.zbgw">
<view class="commonly-img">
<image class="commonly-img1"
src="https://static.quhouse.com/196fcbc7f6aa456cb9dff22cd3753445.png" mode=""></image>
<template v-if="$domain == 'zh.aihxz.com'">
<image class="commonly-img1"
src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/bianzu/bianzu5.png" mode="">
</image>
</template>
<template v-else>
<image class="commonly-img1"
src="https://static.quhouse.com/196fcbc7f6aa456cb9dff22cd3753445.png" mode="">
</image>
</template>
</view>
<view class="commonly-text">值班顾问</view>
</view>
@@ -385,8 +488,6 @@
<view class="timeview" :style="{ color: zhixingcenterindex == 7 ? '#2B6EFF' : '#333333' }"
@click="tabtimetap(7,'自定义')">自定义</view>
</u-popup>
<!-- 底部导航栏 -->
<!-- <u-tabbar :mid-button="false" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar> -->

<!-- 加载组件 -->
<u-loadings v-model="LOADING"></u-loadings>
@@ -395,13 +496,11 @@

<script>
var config = require("../../config");
import tabbarList from '@/utils/tabbar.js'
export default {
data() {
return {
// tabbar配置项
current: 2,
tabbarList: tabbarList,
$domain: this.$domain,
//--- end --- tabbar配置项
userInfo: {},
Showhiddenunits: false,
@@ -486,6 +585,7 @@
},

onLoad() {
console.log(this.$domain, 'this.$domain')
this.LOADING = true
this.sendLog({
houseId: uni.getStorageSync(


+ 201
- 0
pages/index/mathManIndex.js Целия файл

@@ -0,0 +1,201 @@
module.exports = {
data() {
return {
config: {
"asrConfig": {
"class": "TencentASR",
"secretKey": "",
"secretId": "AKIDyvwuvrfikhYK1dDj9Vlv154zmVAjFdt0",
"appId": 1310500600,
"partnerId": "0002",
"signatureUrl": "https://commercial-integration-asr-int-api.xiaoice.com/api/v3/asr/tencentSignature",
"hotWordId": "2ab7be50d11f11ecbfd6525400aec391",
"silenceTime": 240,
"engineModelType": "16k_zh",
"needVad": 1,
"filterDirty": 1,
"filterModal": 0,
"filterPunc": 1,
"vadSilenceTime": 240,
"convertNumMode": 1,
"wordInfo": 2
},
"character": "furao-casual-v4",
"characterConfig": {
"characters": {
"furao-casual-v4": {
"name": "furao-casual-v4-half",
"id": "furao-casual-v4",
"frameWidth": 568,
"frameHeight": 1050,
"faceWidth": 160,
"faceHeight": 250,
"facePositionLeft": 475,
"facePositionTop": 240,
"facePositionLeftOffset": -272,
"facePositionTopOffset": -160,
"frameRate": 25,
"defaultIdle": "A-idle",
"idles": {
"A-idle": {
"id": "A-idle",
"version": 4,
"frameImageLength": 260,
"frameImageType": "webp",
"frameImageBackupType": "png",
"resetFrameSingleNum": 8,
"resetFrames": [
7,
15,
23,
31,
39,
47,
55,
63,
71,
79,
87,
95,
103,
111,
119,
127,
135,
143,
151,
159,
167,
175,
183,
191,
199,
207,
215,
223,
231,
239,
247,
255
]
}
},
"gestures": {},
"crops": {}
}
},
"sourcePath": "https://commercial-cdn.xiaoice.com/assets/images/characters",
"batch": 16,
"minLoadFrameNum": 50
},
"chatConfig": {
"class": "CXHubChat",
"url": "https://commercial-fab.xiaoice.com/api/hub/organizations/org-qufangwang/agents/64af7b926e1ba4813c4bd6d7/environments/draft/sessions",
"defaultReply": [{
"text": "对不起,我没听清~",
"gesture": ""
}],
"csChatUrl": "https://commercial-fab.xiaoice.com/api/hub/organizations/org-qufangwang/characters//sessions"
},
"logConfig": {
"class": "AliTraceLogger",
"metaData": {
"role": "prod",
"organizationId": "org-qufangwang",
"partnerId": "dh-api",
"agentId": "64af7b926e1ba4813c4bd6d7"
}
},
"talkConfig": {
"class": "CarouselTalk",
"url": "https://commercial-fab.xiaoice.com",
"options": {
"path": "/api/v1/carousel/avatars/furao-casual-v4/socket.io",
"wsPath": "/api/v1/carousel/avatars/furao-casual-v4/websocket",
"transports": [
"websocket",
"polling"
],
"query": "?image_format=.webp&voice_id=64af7b92a9d616bd022f6b6b"
},
"maxRetryTime": 5,
"retryTimeInterval": 100
}
},


mockReplies: ["嘻嘻", "没听清", "你真厉害"],
plugin: null,
}
},

onLoad() {
let _this = this
this.plugin = requirePlugin("digital-human-plugin").api;
this.plugin.init({
...this.config,
onReceivedAsrText: (text) => {
console.log("获取文本:", text);
setTimeout(this.customChat);
// 返回false拦截默认行为(不调用内置chat接口和播放结果)
return false;
},
onSuccess: () => {
const texts = [{
text: `你好啊`,
gesture: ""
},
{
text: `我叫陈喆玲`,
gesture: ""
},
];
async function talk(texts) {
// 轮播文本内容
for (let i = 0; i < texts.length; i++) {
await _this.plugin.human.talkAsync(
texts[i].text,
texts[i].gesture, {
onTalkStartOnce: (playInfo) => {
console.log("播放句子:", playInfo);
},
onTalkEndOnce: () => {
console.log("播放句子完成");
},
}
);
console.log("完成时间:", Date.now());
}
}
talk(texts);
},
})
// #ifdef MP-WEIXIN
// 内存告警处理
wx.onMemoryWarning((level) => {
this.plugin.clearCache()
})
wx.setInnerAudioOption({
// IOS静音键的情况下允许播放声音
obeyMuteSwitch: false,
// 播放声音时中断其他app端声音
mixWithOther: false,
})
// #endif
},

methods: {
// // 模拟聊天回复接口
async getReply(text) {
return await this.mockReplies[Math.floor(Math.random() * this.mockReplies.length)]
},

async customChat(text) {
// // 调用自定义的api获取回复
const reply = await this.getReply(text)
// // 主动调用播放接口,并等待播放完成
await this.plugin.human?.talkAsync(reply)
console.log("回复完成");
}
}
}

+ 0
- 27
pages/mine/details2.vue Целия файл

@@ -677,14 +677,10 @@
Acquirecustomerintentlist2: [], // 人工校准数组
Acquirecustomerintentlist: [], // 系统分析数组
zhixingcenterindex: 0, // 销讲总执行率 && 禁忌执行 && 需求挖掘率 选项卡下标
<<<<<<< HEAD
prohibitedlist: [], // 禁忌执行
=======
prohibitedlist: {
guwen: [], // 顾问违禁词
kehu: [], // 客户违禁词
}, // 禁忌执行
>>>>>>> master

tablist: [], // 角色列表
tablists: [], // 标记顾问的角色列表
@@ -729,11 +725,6 @@
effectiveIndexText: '请选择', // 无效原因展示文字

effectiveitext: '', // 无效原因备注文字
<<<<<<< HEAD
=======

>>>>>>> master
textItself: '', // 存储修改的常错字对话
argtextindex2: 0, // 长按单次选中的对话下标

@@ -1494,15 +1485,8 @@
} else {
this.roleSelectArr.push(0)
}
<<<<<<< HEAD
this.$u.throttle(() => {
this.dialogList = []
this.fenjiaoseunfo()
}, 1500)
=======
this.dialogList = []
this.fenjiaoseunfo()
>>>>>>> master
},

// 选中全部时互斥全部选项与角色选项
@@ -1804,12 +1788,7 @@
translateHtmlContent: this.messagelisy,
}
this.isshow2 = false;
<<<<<<< HEAD
this.dialogList[this.argtextindex2].onebest = this.textItself.replace(this.thewrongword, this.reswrongword)
=======
this.dialogList[this.argtextindex2].onebest = this.textItself.replace(this.thewrongword,
this.reswrongword)
>>>>>>> master
this.cancelBeast()
this.$u.post("/corpus/addCorrectWord", parames).then(data => {
this.thewrongword = "";
@@ -2092,12 +2071,6 @@
if (info.speakerStr) {
params.speakerStr = info.speakerStr
}
<<<<<<< HEAD
if (info.voFlag) {
params.voFlag = info.voFlag
}
=======
>>>>>>> master
this.$u.get(config.service.findAudioContent, params).then(res => {
res.forEach(che => {
if (che.onebest == info.onebest) {


Двоични данни
static/images/tabBar/jiedaiActives.png Целия файл

Преди След
Ширина: 80  |  Височина: 80  |  Големина: 2.9 KiB

Двоични данни
static/images/tabBar/jiedais.png Целия файл

Преди След
Ширина: 80  |  Височина: 80  |  Големина: 3.2 KiB

Двоични данни
static/images/tabBar/kehuActives.png Целия файл

Преди След
Ширина: 80  |  Височина: 80  |  Големина: 1.8 KiB

Двоични данни
static/images/tabBar/kehus.png Целия файл

Преди След
Ширина: 80  |  Височина: 80  |  Големина: 2.3 KiB

Двоични данни
static/images/tabBar/meActives.png Целия файл

Преди След
Ширина: 80  |  Височина: 80  |  Големина: 2.7 KiB

Двоични данни
static/images/tabBar/mes.png Целия файл

Преди След
Ширина: 80  |  Височина: 80  |  Големина: 3.2 KiB

Двоични данни
static/images/tabBar/workActives.png Целия файл

Преди След
Ширина: 80  |  Височина: 80  |  Големина: 2.7 KiB

Двоични данни
static/images/tabBar/works.png Целия файл

Преди След
Ширина: 80  |  Височина: 80  |  Големина: 2.9 KiB

Двоични данни
static/images/tabBar/xuexiActives.png Целия файл

Преди След
Ширина: 80  |  Височина: 80  |  Големина: 1.4 KiB

Двоични данни
static/images/tabBar/xuexis.png Целия файл

Преди След
Ширина: 80  |  Височина: 80  |  Големина: 1.7 KiB

+ 7
- 2
utils/domain.js Целия файл

@@ -1,7 +1,8 @@
import Vue from 'vue';
/**
* env文件里配置自定义运行菜单每一个js代表一个域名
*/
const obj = process.env.ENV_PATH == undefined ? require('../env/dev.js') : require(process.env.ENV_PATH)
*/
const obj = process.env.ENV_PATH == undefined ? require('../env/dev.js') : require(process.env.ENV_PATH)
const base = obj.baseUrl
// http.js使用
const baseUrl = `${base}/autoSR/api`;
@@ -9,10 +10,14 @@ const baseUrl = `${base}/autoSR/api`;
const host = `${base}/autoSR/api`;
const hosts = `${base}/`;
const hostAdmin = `${base}/admin`;
const domain = obj.domain || '';

const iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式

Vue.prototype.$domain = obj.domain || '';

export {
domain,
baseUrl,
host,
hosts,


Зареждане…
Отказ
Запис