@@ -2,12 +2,12 @@ | |||||
* 小程序配置文件 | * 小程序配置文件 | ||||
*/ | */ | ||||
// 此处主机域名修改成腾讯云解决方案分配的域名 | // 此处主机域名修改成腾讯云解决方案分配的域名 | ||||
// 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.169:8080/autoSR/api'; // 长龙 | // var host = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 | ||||
// var host = 'http://192.168.31.134: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 = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | ||||
// var host = 'https://zkgj.quhouse.com/api'; // 质控正式 | // var host = 'https://zkgj.quhouse.com/api'; // 质控正式 | ||||
var host = 'https://hfju.com/api'; // 数智正式 | |||||
// var host = 'https://hfju.com/api'; // 数智正式 | |||||
var iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式 | var iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式 | ||||
@@ -207,7 +207,7 @@ | |||||
}) | }) | ||||
}else{ | }else{ | ||||
uni.navigateTo({ | uni.navigateTo({ | ||||
url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}` | |||||
url: `/pages/mine/detailsNew?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}` | |||||
}) | }) | ||||
} | } | ||||
} | } | ||||
@@ -15,15 +15,15 @@ | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class="settingGroup box"> | <view class="settingGroup box"> | ||||
<!-- <navigator class="line" url="/pages/mine/subscribe"> | |||||
<navigator class="line" url="/pages/mine/subscribe"> | |||||
<view class="title"> | <view class="title"> | ||||
<image src="/static/images/subscribe.png" style="width: 36rpx;height: 36rpx;" mode=""></image> | |||||
<image src="/static/images/studyhot.png" style="width: 36rpx;height: 36rpx;" mode=""></image> | |||||
订阅消息 | 订阅消息 | ||||
</view> | </view> | ||||
<view class="right"> | <view class="right"> | ||||
<image src="/static/images/arrow.png" style="width: 18rpx;height: 32rpx;" mode=""></image> | <image src="/static/images/arrow.png" style="width: 18rpx;height: 32rpx;" mode=""></image> | ||||
</view> | </view> | ||||
</navigator> --> | |||||
</navigator> | |||||
<navigator class="line" url="/pages/mine/Myprofile"> | <navigator class="line" url="/pages/mine/Myprofile"> | ||||
<view class="title"> | <view class="title"> | ||||
<image src="/static/images/setting.png" style="width: 36rpx;height: 36rpx;" mode=""></image> | <image src="/static/images/setting.png" style="width: 36rpx;height: 36rpx;" mode=""></image> | ||||
@@ -804,13 +804,16 @@ | |||||
Addtheessence() { | Addtheessence() { | ||||
this.isshow3 = true; | this.isshow3 = true; | ||||
this.biaoqianlist = [] | this.biaoqianlist = [] | ||||
util.getRequestPromise(config.service.findAllYi, {}, false).then(data => { | |||||
let parames={ | |||||
"itemId":this.buildingID | |||||
} | |||||
this.$u.post("/addtodigest/findAllYi", parames).then(data => { | |||||
this.biaoqianlist = data | this.biaoqianlist = data | ||||
this.biaoqianlist.unshift({ | this.biaoqianlist.unshift({ | ||||
name: "逼单话术", | name: "逼单话术", | ||||
id: 0 | id: 0 | ||||
}) | }) | ||||
}); | |||||
}) | |||||
}, | }, | ||||
// 取消加精 | // 取消加精 | ||||
Cancelout2() { | Cancelout2() { | ||||
@@ -882,7 +885,7 @@ | |||||
this.textItself=item.onebest; | this.textItself=item.onebest; | ||||
let onebest=item.onebest; | let onebest=item.onebest; | ||||
this.thewrongword =onebest.replace(/<.*?>/ig,""); | this.thewrongword =onebest.replace(/<.*?>/ig,""); | ||||
this.thewrongword = item.onebest; | |||||
// this.thewrongword = item.onebest; | |||||
this.messagelisy = this.dialogList[i].message | this.messagelisy = this.dialogList[i].message | ||||
this.argtextindex1=i; | this.argtextindex1=i; | ||||
this.argtextindex2=index; | this.argtextindex2=index; | ||||
@@ -33,20 +33,42 @@ | |||||
var userInfos = uni.getStorageSync('weapp_session_userInfo_data'); | var userInfos = uni.getStorageSync('weapp_session_userInfo_data'); | ||||
}, | }, | ||||
methods: { | methods: { | ||||
baocun(){ | |||||
uni.chooseImage({ | |||||
count: 1, | |||||
sourceType: ['camera'], | |||||
success: function (res) { | |||||
uni.saveImageToPhotosAlbum({ | |||||
filePath: "../../static/images/supimg.png", | |||||
success: function () { | |||||
console.log('save success'); | |||||
} | |||||
}); | |||||
} | |||||
}); | |||||
} | |||||
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 | |||||
}) | |||||
} | |||||
} | |||||
}) | |||||
} | |||||
} | |||||
}) | |||||
} | |||||
}) | |||||
} | |||||
} | } | ||||
}; | }; | ||||
</script> | </script> | ||||
@@ -1,10 +1,10 @@ | |||||
// 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.169:8080/autoSR/api'; // 长龙 | // const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 | ||||
// const baseUrl = 'http://192.168.31.134: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 = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 | ||||
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | // const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 | ||||
const baseUrl = 'https://hfju.com/api'; // 数智正式 | |||||
// const baseUrl = 'https://hfju.com/api'; // 数智正式 | |||||
const install = (Vue, vm) => { | const install = (Vue, vm) => { | ||||
Vue.prototype.$u.http.setConfig({ | Vue.prototype.$u.http.setConfig({ | ||||