wangxiaohua 2 роки тому
джерело
коміт
d8f1d6466b
7 змінених файлів з 1034 додано та 85 видалено
  1. +2
    -2
      config.js
  2. +1
    -1
      pages/center/prohibited/index.vue
  3. +3
    -3
      pages/index/personal.vue
  4. +6
    -3
      pages/mine/details.vue
  5. +984
    -60
      pages/mine/detailsNew.vue
  6. +36
    -14
      pages/mine/subscribe.vue
  7. +2
    -2
      utils/http.js

+ 2
- 2
config.js Переглянути файл

@@ -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.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'; // 数智正式
// var host = 'https://hfju.com/api'; // 数智正式


var iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式


+ 1
- 1
pages/center/prohibited/index.vue Переглянути файл

@@ -207,7 +207,7 @@
})
}else{
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"}`
})
}
}


+ 3
- 3
pages/index/personal.vue Переглянути файл

@@ -15,15 +15,15 @@
</view>
</view>
<view class="settingGroup box">
<!-- <navigator class="line" url="/pages/mine/subscribe">
<navigator class="line" url="/pages/mine/subscribe">
<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 class="right">
<image src="/static/images/arrow.png" style="width: 18rpx;height: 32rpx;" mode=""></image>
</view>
</navigator> -->
</navigator>
<navigator class="line" url="/pages/mine/Myprofile">
<view class="title">
<image src="/static/images/setting.png" style="width: 36rpx;height: 36rpx;" mode=""></image>


+ 6
- 3
pages/mine/details.vue Переглянути файл

@@ -804,13 +804,16 @@
Addtheessence() {
this.isshow3 = true;
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.unshift({
name: "逼单话术",
id: 0
})
});
})
},
// 取消加精
Cancelout2() {
@@ -882,7 +885,7 @@
this.textItself=item.onebest;
let onebest=item.onebest;
this.thewrongword =onebest.replace(/<.*?>/ig,"");
this.thewrongword = item.onebest;
// this.thewrongword = item.onebest;
this.messagelisy = this.dialogList[i].message
this.argtextindex1=i;
this.argtextindex2=index;


+ 984
- 60
pages/mine/detailsNew.vue
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 36
- 14
pages/mine/subscribe.vue Переглянути файл

@@ -33,20 +33,42 @@
var userInfos = uni.getStorageSync('weapp_session_userInfo_data');
},
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>


+ 2
- 2
utils/http.js Переглянути файл

@@ -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.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'; // 数智正式
// const baseUrl = 'https://hfju.com/api'; // 数智正式

const install = (Vue, vm) => {
Vue.prototype.$u.http.setConfig({


Завантаження…
Відмінити
Зберегти