diff --git a/components/yz-audio/index.scss b/components/yz-audio/index.scss new file mode 100644 index 0000000..53c375b --- /dev/null +++ b/components/yz-audio/index.scss @@ -0,0 +1,119 @@ +@mixin textoverflow() { + display: -webkit-box; + overflow: hidden; + text-overflow: ellipsis; + -webkit-box-orient: vertical; + -webkit-line-clamp: 1; +} +@keyframes rowup { + 0% { + -webkit-transform: translate(-50%, -50%) rotate(0deg); + transform-origin: center center; + } + + 100% { + -webkit-transform: translate(-50%, -50%) rotate(360deg); + transform-origin: center center; + } +} +.imt-audio{ + position:relative; + width: 100%; + display: flex; + box-sizing: border-box; + background: #fff; + overflow: hidden; + + .top { + width: 140rpx; + position: relative; + } + + .audio-wrapper { + display: flex; + flex-direction: column; + flex: 1; + color: #fff; + margin-left: 20rpx; + } + .slidebox { + display: flex; + justify-content: space-between; + width: 96%; + } + /deep/ .uni-slider-tap-area { + padding: 0; + } + /deep/ .uni-slider-wrapper { + min-height: 0; + } + /deep/ .uni-slider-handle-wrapper { + height: 6px; + } + .audio-slider { + padding-top: 10rpx; + margin-left: 150rpx; + position: absolute; + bottom: 40rpx; + width: 75vw; + left: 0; + padding: 0; + } + + + // .cover { + // width: 120rpx; + // height: 120rpx; + // box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); + // position: absolute; + // top: 50%; + // left: 50%; + // transform: translate(-50%, -50%); + // animation-fill-mode: forwards; + // -webkit-animation-fill-mode: forwards; + // } + + .play { + width: 48rpx; + height: 48rpx; + z-index: 99; + background: rgba(0, 0, 0, 0.4); + border-radius: 50%; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + &.loading{ + width: 48rpx; + height: 48rpx; + animation: rotating_theme3 2s linear infinite; + } + } +} + +@keyframes rotating { + 0% { + transform: rotateZ(0deg) + } + 100% { + transform: rotateZ(360deg) + } +} +@keyframes rotating_theme3 { + 0% { + transform: translate(-50%, -50%) rotateZ(0deg) + } + 100% { + transform: translate(-50%, -50%) rotateZ(360deg) + } +} + +.hItem +{ + margin-left: 16rpx; +} + +.extrButton +{ + font-size: 36rpx; +} \ No newline at end of file diff --git a/components/yz-audio/static/loading.png b/components/yz-audio/static/loading.png new file mode 100644 index 0000000..edd7142 Binary files /dev/null and b/components/yz-audio/static/loading.png differ diff --git a/components/yz-audio/static/loading2.png b/components/yz-audio/static/loading2.png new file mode 100644 index 0000000..3483c9d Binary files /dev/null and b/components/yz-audio/static/loading2.png differ diff --git a/components/yz-audio/static/pausebtn.png b/components/yz-audio/static/pausebtn.png new file mode 100644 index 0000000..f2bc86c Binary files /dev/null and b/components/yz-audio/static/pausebtn.png differ diff --git a/components/yz-audio/static/playbtn.png b/components/yz-audio/static/playbtn.png new file mode 100644 index 0000000..3f51b61 Binary files /dev/null and b/components/yz-audio/static/playbtn.png differ diff --git a/components/yz-audio/yz-audio.vue b/components/yz-audio/yz-audio.vue new file mode 100644 index 0000000..e6fdece --- /dev/null +++ b/components/yz-audio/yz-audio.vue @@ -0,0 +1,318 @@ + + + + + diff --git a/manifest.json b/manifest.json index 53f827a..2a000e7 100644 --- a/manifest.json +++ b/manifest.json @@ -100,6 +100,7 @@ }, "usingComponents" : true, "permission" : {}, + "requiredBackgroundModes": ["audio"], "plugins" : { "WechatSI" : { "version" : "0.3.4", diff --git a/pages/center/Piabodata/Theteamcompared.vue b/pages/center/Piabodata/Theteamcompared.vue index 501bda9..26e51b3 100644 --- a/pages/center/Piabodata/Theteamcompared.vue +++ b/pages/center/Piabodata/Theteamcompared.vue @@ -169,7 +169,7 @@ - + @@ -385,6 +385,7 @@ this.lineOptsect1 = null this.lineOptsect2 = null this.lineOptsect3 = null + this.chartData1 = null // 团队对比接待量 this.receptionCountList(this.eharTab.active1, 1, '/cusLvStatistics/teamAnalysisReception') // 团队对比接待时长 diff --git a/pages/center/Piabodata/TrendAnalysis.vue b/pages/center/Piabodata/TrendAnalysis.vue index 03d21e5..1fdc528 100644 --- a/pages/center/Piabodata/TrendAnalysis.vue +++ b/pages/center/Piabodata/TrendAnalysis.vue @@ -55,8 +55,8 @@ 对比:{{index==1?item.num1+'%':item.num1}} - {{item.num2+'%'}} - {{(item.num2*1) > 0 ? '↑' : '↓'}} + {{item.num2+'%'}}{{(item.num2*1) > 0 ? '↑' : '↓'}} diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue index 2ee9aa3..f360166 100644 --- a/pages/center/consumer/consumerDetail.vue +++ b/pages/center/consumer/consumerDetail.vue @@ -9,7 +9,10 @@ B C D - {{customerInfo.name || '--'}} + + {{customerInfo.name || '--'}} + {{ customerInfo.clientStageName }} + @@ -122,6 +125,7 @@ {{item.agentName.slice(0,1) || '--'}} {{item.agentName || '||'}} + {{ item.clientStageName }} {{item.createTime}} @@ -905,6 +909,17 @@ flex-grow: 1; font-weight: 500; color: #333333; + display: flex; + align-items: center; + + .clientStageName { + margin-left: 20rpx; + padding: 5rpx 20rpx; + border: 1px solid #F29819; + border-radius: 32rpx 32rpx 32rpx 0; + color: #F29819; + font-size: 20rpx; + } } .edit { @@ -918,6 +933,7 @@ height: 100%; } } + } .right { @@ -1149,6 +1165,7 @@ // height: 75rpx; .tab2-first-left { display: flex; + align-items: center; .img { width: 52rpx; @@ -1164,7 +1181,15 @@ font-weight: 600; color: #333333; margin-left: 20rpx; - margin-top: 11rpx; + } + + .clientStageName { + margin-left: 20rpx; + padding: 5rpx 20rpx; + border: 1px solid #F29819; + border-radius: 32rpx 32rpx 32rpx 0; + color: #F29819; + font-size: 20rpx; } } diff --git a/pages/center/consumer/edit.vue b/pages/center/consumer/edit.vue index 5f3dcbb..074f5f1 100644 --- a/pages/center/consumer/edit.vue +++ b/pages/center/consumer/edit.vue @@ -90,12 +90,11 @@ - + 客户标签 - @@ -193,11 +192,16 @@ console.log(this.userInfo.showPhoneStatus) // 先调用借口查询数据 this.customerId = e.id - this.getdetail() + this.initPage() }, methods: { + initPage() { + this.getdetail() + // 获取置业需求 + this.getListByType() + }, + Edittag(item, item1, index, i) { - if (this.allList[index].children[i].selected == 0) { this.allList[index].children[i].selected = 1; } else { @@ -241,8 +245,6 @@ this.selectform.level = 'A'; this.form.level = 1; } - // 获取置业需求 - this.getListByType() }) }, @@ -252,7 +254,7 @@ customerId: this.customerId }) .then(res => { - // console.log(res) + console.log(res, '123123123123') res.forEach(item1 => { item1.children.map(item => { if (item.isInterval == 0) { diff --git a/pages/center/consumer/newFollowup/newFollowup.vue b/pages/center/consumer/newFollowup/newFollowup.vue index 486ca89..e1b2599 100644 --- a/pages/center/consumer/newFollowup/newFollowup.vue +++ b/pages/center/consumer/newFollowup/newFollowup.vue @@ -95,11 +95,12 @@ totalRecord: '', freeList: [], customerType: [], - customerId: '' + customerId: '', + orgCode: '', } }, onShow() { - + this.orgCode = uni.getStorageSync('orgCode') }, onLoad(e) { this.customerId = e.id @@ -174,6 +175,7 @@ "stageCode": this.stateList[this.screen.state].stageCode, "stageName": this.stateList[this.screen.state].stageName, "remarks": this.screen.con, + orgCode: this.orgCode, words, // "settingTime":"", "agentRelationPo": { diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue index d65de1e..4571289 100644 --- a/pages/center/records/index.vue +++ b/pages/center/records/index.vue @@ -55,13 +55,13 @@ - {{item.receptionStatusName.slice(0, 2) || ''}} + {{item.receptionStatusName.slice(0, 2) || ''}} | 违禁 | - {{item.validInvalidName.slice(0, 2)||''}} + {{item.validInvalidName.slice(0, 2)||''}} | 未标记 已标记 @@ -108,7 +108,7 @@ 所属顾问 - @@ -536,11 +536,11 @@ }, //获取顾问列表 getFreeList() { - this.$u.get("/zkAgentPool/freeList?itemId=" + this.buildingID).then(res => { + this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", {houseId: this.buildingID}).then(res => { this.freeList = res; this.freeList.forEach(item => { item.label = item.name; - item.value = item.agentId + item.value = item.accountId }) }) }, @@ -550,7 +550,7 @@ }, actionSelectCallback(e) { this.screen.agentId = e[0].value; - this.screenShow = false; + this.screen.counselorName = e[0].label this.recordList = []; this.nextPage = 1; this.getMyCustom(); @@ -906,6 +906,7 @@ .screen-counselor { display: flex; + align-items: center; height: 106rpx; // padding: 40rpx 30rpx 36rpx 30rpx; padding: 0 30rpx; @@ -913,7 +914,6 @@ border-bottom: 1px solid #EEEEEE; .screen-text { - margin: 40rpx 0 36rpx 0; font-size: 30rpx; font-weight: 400; color: #333333; @@ -922,21 +922,20 @@ .screen-sel { display: flex; - justify-content: space-between; + justify-content: flex-end; + align-items: center; width: 500rpx; margin-left: 60rpx; .screen-sel-img { flex-shrink: 0; - margin: 40rpx 0 36rpx 0; width: 14rpx; height: 30rpx; } .screen-inp { - margin-top: 20rpx; padding: 0 20rpx; - flex-grow: 1; + text-align: right; } } } diff --git a/pages/index/consumer/index.vue b/pages/index/consumer/index.vue index 0b6f02c..12746f6 100644 --- a/pages/index/consumer/index.vue +++ b/pages/index/consumer/index.vue @@ -1,1128 +1,1090 @@ - - - - - diff --git a/pages/index/index.vue b/pages/index/index.vue index 7776c44..6a08b1d 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -464,9 +464,11 @@ this.methodsisshow = true; } if (this.userInfo.zkProperties.length == 1) { + console.log('asdklajkl') this.buildingID = uni.getStorageSync('buildingID').id; this.buildingname = uni.getStorageSync('buildingID').name; this.buildingishow = false; + uni.setStorageSync('orgCode', this.userInfo.zkProperties[0].orgCode) } else { this.buildingishow = true; this.buildingname = uni.getStorageSync('buildingID').name; @@ -490,6 +492,8 @@ this.initworkThisWeek() this.initrealTimeStatistics() // this.sendLog() + + console.log(this.lpanlist, '123uio123uyoiasdcfnmklsdfm;kl ') }, methods: { indexStatus(i){ @@ -757,6 +761,7 @@ name: e[0].label } uni.setStorageSync("buildingID", lopan); //楼盘id写入缓存 + uni.setStorageSync("orgCode", e[0].orgCode); //楼盘id写入缓存 this.initworkThisWeek() this.initrealTimeStatistics() this.waitForOperation() diff --git a/pages/index/learning.vue b/pages/index/learning.vue index 389bc75..fe6364b 100644 --- a/pages/index/learning.vue +++ b/pages/index/learning.vue @@ -17,7 +17,7 @@ {{item.jbaName}} - 未学习 + {{ item.studyStatus }} diff --git a/pages/learning/Thefulltext/index.vue b/pages/learning/Thefulltext/index.vue index ad1be2e..0f2cb4b 100644 --- a/pages/learning/Thefulltext/index.vue +++ b/pages/learning/Thefulltext/index.vue @@ -272,8 +272,8 @@ }, addHot(){ // console.log('30') - this.$u.get('/addtodigest/addHeat',{ - id:this.customerId + this.$u.post('/zkstudyrecord',{ + targetId: this.customerId }) .then(res=>{ // console.log(res) diff --git a/pages/learning/Thefulltext/index2.vue b/pages/learning/Thefulltext/index2.vue index d1a4cb8..228230a 100644 --- a/pages/learning/Thefulltext/index2.vue +++ b/pages/learning/Thefulltext/index2.vue @@ -361,8 +361,8 @@ }, addHot() { // console.log('30') - this.$u.get('/addtodigest/addHeat', { - id: this.customerId + this.$u.post('/zkstudyrecord', { + targetId: this.customerId }) .then(res => { // console.log(res) @@ -873,23 +873,23 @@ color: #FFFFFF; border: none; } - + .boxs { min-height: 100%; display: flex; flex-direction: column; - + .chat { flex-grow: 1; } - + .bottomArea { flex-shrink: 0; position: sticky; bottom: 0; } } - + // 表单 .tian-view { width: 570upx; diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index bb790bd..6432af5 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -30,7 +30,7 @@ - + 录音文件 + diff --git a/utils/domain.js b/utils/domain.js index 2f8fb4a..41efe05 100644 --- a/utils/domain.js +++ b/utils/domain.js @@ -2,7 +2,8 @@ // const base = 'http://8kdmng.natappfree.cc' ;// 佳豪 // const base = 'http://192.168.31.134:9999' ;// 佳豪 // const base = 'http://192.168.31.167:9999' // 长龙 -const base = 'https://zanyong.hfju.com';// 正式 +const base = 'https://zanyong.hfju.com';// 正式 AI销管 +// const base = 'https://hxz.quhouse.com';// 正式 AI销讲助手 // http.js使用 const baseUrl = `${base}/autoSR/api`;