| @@ -1,5 +1,5 @@ | |||
| { | |||
| "name" : "去房智控管家", | |||
| "name" : "数智工牌", | |||
| "appid" : "__UNI__7A1611D", | |||
| "description" : "AI营销助理", | |||
| "versionName" : "1.1.0", | |||
| @@ -91,7 +91,7 @@ | |||
| }, | |||
| "quickapp" : {}, | |||
| "mp-weixin" : { | |||
| "appid" : "wx8f883dca5ecc5510", | |||
| "appid" : "wxe044603515ff2cb5", | |||
| "setting" : { | |||
| "urlCheck" : false, | |||
| "es6" : true, | |||
| @@ -116,7 +116,7 @@ | |||
| <image src="/static/images/backTop.png" mode=""></image> | |||
| </view> | |||
| <view v-if="eqLog!=-1" class="eqLog" @click="eqLog()"> | |||
| <view v-if="eqLog!=-1" class="eqLog" @click="eqLogClick()"> | |||
| <view style="width: 78rpx;text-align: center;">设备日志</view> | |||
| </view> | |||
| <!-- 加入常错词 --> | |||
| @@ -373,7 +373,7 @@ | |||
| } | |||
| }, | |||
| methods: { | |||
| eqLog(){ | |||
| eqLogClick(){ | |||
| uni.navigateTo({ | |||
| url:`./equipmentLog?id=${this.customerId}` | |||
| }) | |||
| @@ -97,7 +97,7 @@ | |||
| mode=""></image> | |||
| <view @click="Receivedetailsabouttab('Receivedetailsabout')">更多</view> | |||
| <view class="allimg" v-if="Thetapeidisshow"> | |||
| <view v-if="eqLog!=-1" @click="eqLog()" style="line-height: 70rpx;margin-top: 10rpx;">设备日志</view> | |||
| <view v-if="eqLog!=-1" @click="eqLogClick()" style="line-height: 70rpx;margin-top: 10rpx;">设备日志</view> | |||
| <view @click="Receivetap()" style="line-height: 70rpx;margin-top: 10rpx;">接待信息</view> | |||
| <view @click="alllogo()" style="line-height:70rpx;">{{userlistobj.validInvalidName}}</view> | |||
| </view> | |||
| @@ -632,7 +632,7 @@ | |||
| }, | |||
| methods: { | |||
| eqLog(){ | |||
| eqLogClick(){ | |||
| uni.navigateTo({ | |||
| url:`./equipmentLog?id=${this.customerId}` | |||
| }) | |||
| @@ -937,8 +937,8 @@ | |||
| //接待详情点击 | |||
| Receivedetailsabouttab(stringa) { | |||
| if (stringa == 'Receivedetailsabout') { | |||
| this.gituserlist() | |||
| this.Thetapeidisshow = !this.Thetapeidisshow; | |||
| this.gituserlist() | |||
| } else if (stringa == 'Pinspeak') { | |||
| this.getRatelist() | |||
| this.Pinspeak = true; | |||
| @@ -1963,7 +1963,7 @@ | |||
| .allimg { | |||
| position: absolute; | |||
| width: 168rpx; | |||
| top: -152rpx; | |||
| top: -240rpx; | |||
| border: 1px solid #E0E0E0; | |||
| background: #FFFFFF; | |||
| font-size: 26rpx; | |||
| @@ -13,7 +13,7 @@ | |||
| </view> | |||
| <view class="eqMain"> | |||
| <view class="recordingStart"> | |||
| <view>录音开启用时:{{info.startActionTime}}min</view> | |||
| <view>录音开启用时:{{info.startActionTime || '' }}min</view> | |||
| <view>待上传文件:<text :style="{color: info.fileCount==0?'#333':'red'}">{{info.fileCount}}</text>个</view> | |||
| </view> | |||
| <view class="recording"> | |||
| @@ -3,8 +3,9 @@ | |||
| <view class="text1">第一步:关注数智工牌公众号</view> | |||
| <view style="width: 96%;margin: 0 auto;"> | |||
| <view class="text2" style="margin-top: 30rpx;">1.长按识别二维码或保存至相册进行关注</view> | |||
| <view style="text-align: center;" > | |||
| <image @click="baocun()" style="width: 300rpx;height: 300rpx;" src="../../static/images/supimg.png" mode=""></image> | |||
| <view style="text-align: center;"> | |||
| <image @click="baocun()" style="width: 300rpx;height: 300rpx;" src="../../static/images/supimg.png" | |||
| mode=""></image> | |||
| </view> | |||
| <view style="margin-top: 30rpx;" class="text2">2.微信搜索公众号【数智工牌】进行关注</view> | |||
| </view> | |||
| @@ -26,66 +27,68 @@ | |||
| export default { | |||
| data() { | |||
| return { | |||
| }; | |||
| }, | |||
| onShow: function() { | |||
| var userInfos = uni.getStorageSync('weapp_session_userInfo_data'); | |||
| }, | |||
| methods: { | |||
| baocun () { | |||
| const _this = this; | |||
| wx.getImageInfo({ | |||
| src: '/static/images/supimg.png', | |||
| success: function (res) { | |||
| wx.saveImageToPhotosAlbum({ | |||
| filePath: res.path, | |||
| success (result) { | |||
| _this.setData({ show: false }); | |||
| wx.showToast({ | |||
| title: '保存成功', | |||
| icon: 'success', | |||
| duration: 2000 | |||
| }) | |||
| }, | |||
| fail (err) { | |||
| if (err.errMsg === "saveImageToPhotosAlbum:fail auth deny") { | |||
| wx.openSetting({ | |||
| success (settingdata) { | |||
| if (settingdata.authSetting['scope.writePhotosAlbum']) { | |||
| _this.savePhoto() | |||
| } else { | |||
| wx.showToast({ | |||
| title: '获取权限失败,无法保存图片', | |||
| icon: 'success', | |||
| duration: 2000 | |||
| }) | |||
| } | |||
| } | |||
| }) | |||
| } | |||
| } | |||
| }) | |||
| } | |||
| }) | |||
| } | |||
| baocun() { | |||
| const _this = this; | |||
| wx.getImageInfo({ | |||
| src: '/static/images/supimg.png', | |||
| success: function(res) { | |||
| wx.saveImageToPhotosAlbum({ | |||
| filePath: res.path, | |||
| success(result) { | |||
| wx.showToast({ | |||
| title: '保存成功', | |||
| icon: 'success', | |||
| duration: 2000 | |||
| }) | |||
| }, | |||
| fail(err) { | |||
| if (err.errMsg === "saveImageToPhotosAlbum:fail auth deny") { | |||
| wx.openSetting({ | |||
| success(settingdata) { | |||
| if (settingdata.authSetting[ | |||
| 'scope.writePhotosAlbum']) { | |||
| _this.savePhoto() | |||
| } else { | |||
| wx.showToast({ | |||
| title: '获取权限失败,无法保存图片', | |||
| icon: 'success', | |||
| duration: 2000 | |||
| }) | |||
| } | |||
| } | |||
| }) | |||
| } | |||
| } | |||
| }) | |||
| } | |||
| }) | |||
| } | |||
| } | |||
| }; | |||
| </script> | |||
| <style lang="scss" scoped> | |||
| .main { | |||
| padding:30rpx; | |||
| padding: 30rpx; | |||
| background: #F8F8F8; | |||
| display: flex; | |||
| flex-direction: column; | |||
| min-height: 100vh; | |||
| padding-bottom: 40rpx; | |||
| background: #FFFFFF; | |||
| .text1{ | |||
| .text1 { | |||
| color: #303030; | |||
| font-size: 30rpx; | |||
| } | |||
| .text2{ | |||
| .text2 { | |||
| font-size: 30rpx; | |||
| color: #666666; | |||
| } | |||
| @@ -1,11 +1,11 @@ | |||
| // http.js使用域名 | |||
| // const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试 | |||
| const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试 | |||
| // const baseUrl = 'http://192.168.31.148:8080/api';// 泽明 | |||
| // const baseUrl = 'http://127.0.0.1:8080/autoSR/api'; // 本地 | |||
| // const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙 | |||
| // const baseUrl = 'http://192.168.31.86:9090/api'; // 盛浩 | |||
| // const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | |||
| const baseUrl = 'https://hfju.com/api'; // 数智正式 | |||
| // const baseUrl = 'https://hfju.com/api'; // 数智正式 | |||
| // config使用域名 | |||