| @@ -57,10 +57,10 @@ | |||
| <view class="title"> | |||
| <view class="title1">平均需求挖掘率趋势</view> | |||
| </view> | |||
| <!-- <view class="uchaserbox"> | |||
| <view class="uchaserbox"> | |||
| <qiun-data-charts type="line" :chartData="lineOptsect" :opts="lineOpts" background="none" | |||
| :ontouch="true" canvasId="wangxiaohuaerlingilingwuyiba1" :canvas2d="true" /> | |||
| </view> --> | |||
| </view> | |||
| </view> | |||
| <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view> | |||
| <view class="single"> | |||
| @@ -264,7 +264,7 @@ | |||
| this.getdata() | |||
| }, | |||
| onReady: function(){ | |||
| // this.getRingData() | |||
| this.getRingData() | |||
| }, | |||
| onPullDownRefresh() { | |||
| }, | |||
| @@ -273,11 +273,11 @@ | |||
| // 需求挖掘分析-简报 | |||
| this.wordMiningAnalyze() | |||
| // 挖掘趋势图 | |||
| // this.getwordMiningAnalyzePercentage() | |||
| // //需求挖掘排行 | |||
| // this.getwordMiningRank() | |||
| // // 需求挖掘f分布图 | |||
| // this.getRingData() | |||
| this.getwordMiningAnalyzePercentage() | |||
| //需求挖掘排行 | |||
| this.getwordMiningRank() | |||
| // 需求挖掘f分布图 | |||
| this.getRingData() | |||
| }, | |||
| // 需求挖掘排行 | |||
| getwordMiningRank(){ | |||
| @@ -310,7 +310,7 @@ | |||
| deptId: this.deptVal, | |||
| createUser: this.guwenVal, | |||
| "firstStartDate":!this.activeTotal?this.startDate:'', | |||
| "firstEndDate":!this.activeTotal?this.endDate:'', | |||
| "firstEndDate":!this.activeTotal?this.endDate:'', | |||
| "dateType":this.activeTotal | |||
| }) | |||
| .then(res => { | |||
| @@ -345,7 +345,7 @@ | |||
| } | |||
| this.$u.post("/cusLvStatistics/wordMiningAnalyze",params).then(res => { | |||
| // console.log(res.contrast) | |||
| res.contrast.wordFraction = (res.contrast.fraction || 0) + '%' | |||
| res.contrast.wordFraction = (res.contrast.wordFraction || 0) + '%' | |||
| this.numlist.forEach(item => { | |||
| item.duibinum = res.contrast[item.setName] | |||
| item.endnum = res.end[item.setName] | |||
| @@ -399,7 +399,7 @@ | |||
| let categories3 =[] | |||
| categories1.forEach(item1=>{ | |||
| categories2.forEach(item2=>{ | |||
| categories3.push(item1+ 'vs' + item2) | |||
| categories3.push(item1+ '/' + item2) | |||
| }) | |||
| }) | |||
| this.lineOptsect.categories = categories3 | |||
| @@ -269,8 +269,9 @@ | |||
| <view class="title1">{{item.name}}</view> | |||
| <view class="leve1-jindu"> | |||
| <view class="jindutiao"> | |||
| <view class="huanxing" :style="{width: item.fraction||0 +'%'}"></view> | |||
| <view class="text">{{item.fraction||0}}%</view> | |||
| <view class="huanxing" v-if="item.selected==0" :style="{width: item.fraction+ '%'}"></view> | |||
| <view class="huanxing" v-else style="width: 0"></view> | |||
| <view class="text">{{item.selected==0?item.fraction:0}}%</view> | |||
| </view> | |||
| </view> | |||
| <view class="jiantobox"> | |||
| @@ -8,15 +8,15 @@ | |||
| <view class="cwjs-item center"> | |||
| <image src="https://qufang.oss-cn-beijing.aliyuncs.com/channelHelper/user.png" class="logo_input"> | |||
| </image> | |||
| <input class="cwjs-item cwjs-input" v-model="username" placeholder="请输入账号名" type="number" maxlength="11" placeholder-style="color:#AAAAAA"></input> | |||
| <input class="cwjs-item cwjs-input" v-model="username" placeholder="请输入账号名" type="number" maxlength="11" placeholder-style="color:#AAAAAA"/> | |||
| </view> | |||
| </view> | |||
| <view class="cwjs-cells item-flex" style="margin-top:13rpx;"> | |||
| <view class="cwjs-item center"> | |||
| <image src="https://qufang.oss-cn-beijing.aliyuncs.com/channelHelper/lock.png" class="logo_input"> | |||
| </image> | |||
| <input class="cwjs-item cwjs-input" placeholder="请输入密码" placeholder-style="color:#AAAAAA" type="password" v-model="password" maxlength="16" v-if="passwordType"></input> | |||
| <input class="cwjs-item cwjs-input" placeholder="请输入密码" placeholder-style="color:#AAAAAA" maxlength="16" v-model="password" v-else></input> | |||
| <input class="cwjs-item cwjs-input" placeholder="请输入密码" placeholder-style="color:#AAAAAA" type="password" v-model="password" maxlength="16" v-if="passwordType"/> | |||
| <input class="cwjs-item cwjs-input" placeholder="请输入密码" placeholder-style="color:#AAAAAA" maxlength="16" v-model="password" v-else/> | |||
| </view> | |||
| <view class="imagesBox" @tap="changeBindPassword"> | |||
| <image v-if="passwordType==false" src="../../static/images/zhengkai.png" class="images" mode="scaleToFill"></image> | |||
| @@ -42,9 +42,7 @@ | |||
| data() { | |||
| return { | |||
| username: '',//18831048327 ,18888888800 | |||
| //获取到的用户名的值 | |||
| password: '',//123456 | |||
| //获取到的密码栏中的值 | |||
| passwordType: true, | |||
| agreeChecked: true | |||
| }; | |||
| @@ -94,7 +92,8 @@ | |||
| method: "POST", | |||
| data: loginParams, | |||
| success: function(result) { | |||
| var data = result.data; //console.log("登陆信息", data); | |||
| var data = result.data; | |||
| //console.log("登陆信息", data); | |||
| if (data && data.code == 10000) { | |||
| var res = data.data; | |||
| if (res) { | |||
| @@ -149,8 +148,6 @@ | |||
| uni.setStorageSync("weapp_session_Menu_data", data) | |||
| }) | |||
| } | |||
| } | |||
| }; | |||
| </script> | |||
| @@ -310,12 +310,15 @@ | |||
| </view> | |||
| </view> | |||
| <view class="Level-box" v-for="(item,index) in KeyWordsfractionList" :key="index"> | |||
| <view class="Level1che" @click="item.show = !item.show"> | |||
| <view class="Level1che" @click="hangeshow2(item,1)"> | |||
| <view class="title1">{{item.name}}</view> | |||
| <view class="leve1-jindu"> | |||
| <view class="jindutiao"> | |||
| <view class="huanxing" :style="{width: item.fraction||0+'%'}"></view> | |||
| <view class="text">{{item.fraction||0}}%</view> | |||
| <view class="huanxing" v-if="item.selected==0" :style="{width: item.fraction+ '%'}"></view> | |||
| <view class="huanxing" v-else style="width: 0"></view> | |||
| <!-- <view class="huanxing" :style="{width: item.fraction||0+'%'}"></view> --> | |||
| <view class="text">{{item.selected==0?item.fraction:0}}%</view> | |||
| <!-- <view class="text">{{item.fraction||0}}%</view> --> | |||
| </view> | |||
| </view> | |||
| <view class="jiantobox"> | |||
| @@ -342,7 +345,7 @@ | |||
| <!-- 话术在二级下 --> | |||
| <view v-if="item.showLevel==2"> | |||
| <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i"> | |||
| <view class="Level2che" @click="item.show = !item.show"> | |||
| <view class="Level2che" @click="hangeshow2(subitem,1)"> | |||
| <view class="title1 u-line-1">{{subitem.name}}</view> | |||
| <view class="leve1-jindu"> | |||
| <view class="zhixing" v-if="!subitem.selected">已执行</view> | |||
| @@ -710,6 +713,9 @@ | |||
| }, | |||
| methods: { | |||
| hangeshow2(item,type){ | |||
| item.show = !item.show; | |||
| }, | |||
| eqLogClick(){ | |||
| uni.navigateTo({ | |||
| url:`./equipmentLog?id=${this.customerId}` | |||
| @@ -1020,6 +1026,7 @@ | |||
| this.gituserlist() | |||
| } else if (stringa == 'Pinspeak') { | |||
| this.getRatelist() | |||
| this.getfindKeyWordsBycusId() | |||
| this.Pinspeak = true; | |||
| } else { | |||
| if (this.kehuyixiangcenterindex == 0) { | |||
| @@ -1590,7 +1597,9 @@ | |||
| if(res.length){ | |||
| this.KeyWordsfraction = 0 | |||
| res.forEach(item=>{ | |||
| this.KeyWordsfraction += +item.fraction // 总执行率 | |||
| if(item.selected==0){ | |||
| this.KeyWordsfraction += +item.fraction // 总执行率 | |||
| } | |||
| item.show = false | |||
| item.children.forEach(obj=>{ | |||
| obj.show = false | |||