| @@ -2,9 +2,9 @@ | |||
| * 小程序配置文件 | |||
| */ | |||
| // 此处主机域名修改成腾讯云解决方案分配的域名 | |||
| var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 | |||
| // var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 | |||
| // var host = 'http://192.168.31.160:8080/autoSR/api'; // 长龙 | |||
| // var host = 'http://192.168.31.133:8080/autoSR/api'; // 佳豪 | |||
| var host = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | |||
| // var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | |||
| // var host = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||
| // var host = 'https://hfju.com/api'; // 数智正式 | |||
| @@ -253,7 +253,7 @@ | |||
| </view> | |||
| <view class="Level-box" v-for="(item,index) in ratelist" :key="index"> | |||
| <view class="Level1che" @click="changeshow(item,1)"> | |||
| <view class="title1">{{item.name}}</view> | |||
| <view class="title1">{{item.name.substring(0,8)}}</view> | |||
| <view class="leve1-jindu"> | |||
| <view class="jindutiao"> | |||
| <view class="huanxing" :style="{width: item.ratepercent/item.rate*100+'%'}"></view> | |||
| @@ -267,7 +267,7 @@ | |||
| </view> | |||
| <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i"> | |||
| <view class="Level2che" @click="changeshow2(subitem,1)" > | |||
| <view class="title1">{{subitem.name}}</view> | |||
| <view class="title1">{{subitem.name.substring(0,8)}}</view> | |||
| <view class="leve1-jindu" > | |||
| <view class="zhixing" v-if="!subitem.selected">已执行</view> | |||
| <view class="zhixing2" v-else>未执行</view> | |||
| @@ -321,9 +321,15 @@ | |||
| <image v-if="item.isshow==true" class="jiantop1" src="/static/images/jianbutton.png" mode=""></image> | |||
| </view> | |||
| </view> | |||
| <view class="bioqianwayl" v-if="item.isshow==true"> | |||
| <view class="jiangshang" | |||
| v-for="(chend,i) in item.children" :key='i'>{{chend.text}}</view> | |||
| <view style="width: 690rpx;margin: 0 auto;display: flex;flex-wrap: wrap;" v-if="item.isshow==true"> | |||
| <view class="sdfsaf" v-if="chend.showType==0" | |||
| v-for="(chend,i) in item.children" :key='i'> | |||
| <view class="jiangshang sdfsaf">{{chend.text}}</view> | |||
| </view> | |||
| <view class="sdfsaf" v-if="chend.showType==1" @click="argece(chend)" | |||
| v-for="(chend,i) in item.children" :key='i'> | |||
| <view class="jiangshang1 sdfsaf" >{{chend.text}}</view> | |||
| </view> | |||
| </view> | |||
| </view> | |||
| @@ -453,6 +459,7 @@ | |||
| dshfkjsdkksodofydwfkhwdfkjh:0, | |||
| buildingID:'', | |||
| methodsisshow:false, | |||
| calibration:0, | |||
| }; | |||
| }, | |||
| onShow() { | |||
| @@ -780,7 +787,13 @@ | |||
| this.$u.post("/corpus/findByPage", parames).then(res => { | |||
| if (res && res.length) { | |||
| this.luyinList = res; | |||
| this.recordPath = res[0].recordPath | |||
| this.recordPath = res[0].recordPath; | |||
| this.calibration=res[0].calibration; | |||
| if(this.calibration==0){ | |||
| this.kehuyixiangcenterindex=0; | |||
| }else{ | |||
| this.kehuyixiangcenterindex=1; | |||
| } | |||
| this.sliderMax = this.getTime(res[0].recordDuration) | |||
| this.timeStr = this.getTime(res[0].recordDuration) | |||
| this.datetiem = res[0].receptionTime; | |||
| @@ -1058,7 +1071,11 @@ | |||
| this.getRatelist() | |||
| this.Pinspeak=true; | |||
| }else{ | |||
| this.Acquirecustomerintent() | |||
| if(this.kehuyixiangcenterindex==0){ | |||
| this.Acquirecustomerintent() | |||
| }else{ | |||
| this.Acquirecustomerintent2() | |||
| } | |||
| this.intention=true; | |||
| } | |||
| }, | |||
| @@ -1820,6 +1837,14 @@ | |||
| width: 20rpx; | |||
| height: 14rpx; | |||
| } | |||
| .sdfsaf{ | |||
| padding-left: 24rpx; | |||
| padding-right: 24rpx; | |||
| padding-top: 10rpx; | |||
| padding-bottom: 10rpx; | |||
| border-radius: 8rpx; | |||
| font-size: 26rpx; | |||
| } | |||
| .yixingindexclass{ | |||
| border-bottom: 3px solid #2671E2; | |||
| } | |||
| @@ -2043,9 +2068,13 @@ | |||
| } | |||
| } | |||
| .jiangshang{ | |||
| color: #2671E2; | |||
| background: #F4F8FD; | |||
| } | |||
| color: #2671E2; | |||
| background: #F4F8FD; | |||
| } | |||
| .jiangshang1{ | |||
| color: #FFFFFF; | |||
| background: #999999; | |||
| } | |||
| // 表单 | |||
| .tian-view { | |||
| width: 570upx; | |||
| @@ -290,7 +290,7 @@ | |||
| </view> | |||
| <view class="Level-box" v-for="(item,index) in ratelist" :key="index"> | |||
| <view class="Level1che" @click="changeshow(item,1)"> | |||
| <view class="title1">{{item.name}}</view> | |||
| <view class="title1">{{item.name.substring(0,8)}}</view> | |||
| <view class="leve1-jindu"> | |||
| <view class="jindutiao"> | |||
| <view class="huanxing" :style="{width: item.ratepercent/item.rate*100+'%'}"></view> | |||
| @@ -304,7 +304,7 @@ | |||
| </view> | |||
| <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i"> | |||
| <view class="Level2che" @click="changeshow2(subitem,1)" > | |||
| <view class="title1" >{{subitem.name}}</view> | |||
| <view class="title1" >{{subitem.name.substring(0,8)}}</view> | |||
| <view class="leve1-jindu"> | |||
| <view class="zhixing" v-if="!subitem.selected">已执行</view> | |||
| <view class="zhixing2" v-else>未执行</view> | |||
| @@ -360,9 +360,15 @@ | |||
| <image v-if="item.isshow==true" class="jiantop1" src="../../static/images/jianbutton.png" mode=""></image> | |||
| </view> | |||
| </view> | |||
| <view class="bioqianwayl" v-if="item.isshow==true"> | |||
| <view class="jiangshang" @click="argece(chend)" | |||
| v-for="(chend,i) in item.children" :key='i'>{{chend.text}}</view> | |||
| <view style="width: 690rpx;margin: 0 auto;display: flex;flex-wrap: wrap;" v-if="item.isshow==true"> | |||
| <view class="sdfsaf" v-if="chend.showType==0" @click="argece(chend)" | |||
| v-for="(chend,i) in item.children" :key='i'> | |||
| <view class="jiangshang sdfsaf">{{chend.text}}</view> | |||
| </view> | |||
| <view class="sdfsaf" v-if="chend.showType==1" @click="argece(chend)" | |||
| v-for="(chend,i) in item.children" :key='i'> | |||
| <view class="jiangshang1 sdfsaf" >{{chend.text}}</view> | |||
| </view> | |||
| </view> | |||
| </view> | |||
| </view> | |||
| @@ -461,6 +467,7 @@ | |||
| Menulist:[], | |||
| Menulistisshow:false, | |||
| validInvalid:0, | |||
| calibration:0, | |||
| }; | |||
| }, | |||
| onLoad: function(options) { | |||
| @@ -743,7 +750,12 @@ | |||
| this.getRatelist() | |||
| this.Pinspeak=true; | |||
| }else{ | |||
| this.Acquirecustomerintent() | |||
| if(this.kehuyixiangcenterindex==0){ | |||
| this.Acquirecustomerintent() | |||
| }else{ | |||
| this.Acquirecustomerintent2() | |||
| } | |||
| this.intention=true; | |||
| } | |||
| }, | |||
| @@ -1013,6 +1025,12 @@ | |||
| this.$u.post("/corpus/findByPage", parames).then(res => { | |||
| if (res && res.length) { | |||
| let alltime = 1+res[0].recordDuration; | |||
| this.calibration=res[0].calibration; | |||
| if(this.calibration==0){ | |||
| this.kehuyixiangcenterindex=0; | |||
| }else{ | |||
| this.kehuyixiangcenterindex=1; | |||
| } | |||
| this.alltimeStr = this.getTime(alltime) | |||
| if(info.bg!=0){ | |||
| this.luyinList = res; | |||
| @@ -1955,6 +1973,14 @@ | |||
| width: 20rpx; | |||
| height: 14rpx; | |||
| } | |||
| .sdfsaf{ | |||
| padding-left: 24rpx; | |||
| padding-right: 24rpx; | |||
| padding-top: 10rpx; | |||
| padding-bottom: 10rpx; | |||
| border-radius: 8rpx; | |||
| font-size: 26rpx; | |||
| } | |||
| .yixingindexclass{ | |||
| border-bottom: 3px solid #2671E2; | |||
| } | |||
| @@ -2181,6 +2207,10 @@ | |||
| color: #2671E2; | |||
| background: #F4F8FD; | |||
| } | |||
| .jiangshang1{ | |||
| color: #FFFFFF; | |||
| background: #999999; | |||
| } | |||
| // 表单 | |||
| .tian-view { | |||
| width: 570upx; | |||
| @@ -1,7 +1,7 @@ | |||
| const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 | |||
| // const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 | |||
| // const baseUrl = 'http://192.168.31.160:8080/autoSR/api'; // 长龙 | |||
| // const baseUrl = 'http://192.168.31.133:8080/autoSR/api'; // 佳豪 | |||
| const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | |||
| // const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | |||
| // const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||
| // const baseUrl = 'https://hfju.com/api'; // 数智正式 | |||