Browse Source

修改

Jyt
wangshuai 2 years ago
parent
commit
1b6802d4f2
4 changed files with 26 additions and 11 deletions
  1. +2
    -2
      manifest.json
  2. +11
    -6
      pages/mine/ScoringPlaylist.vue
  3. +11
    -1
      pages/mine/details2.vue
  4. +2
    -2
      utils/domain.js

+ 2
- 2
manifest.json View File

@@ -1,5 +1,5 @@
{
"name" : "AI销讲助手",
"name" : "AI销",
"appid" : "__UNI__D88F14A",
"description" : "AI销讲助手",
"versionName" : "1.1.0",
@@ -91,7 +91,7 @@
},
"quickapp" : {},
"mp-weixin" : {
"appid" : "wx83fec12ec03d9349",
"appid" : "wxd6dd7eae72606ca2",
"setting" : {
"urlCheck" : false,
"es6" : true,


+ 11
- 6
pages/mine/ScoringPlaylist.vue View File

@@ -24,13 +24,15 @@
customerId:'',
listarr:[],
id:'',
type:''
type:'',
tipsFncName: '', // 提醒页面变更的值
};
},
onLoad: function(options) {
onLoad(options) {
this.customerId = options.customerId;
this.id=options.id;
this.type=options.type;
if (options.UpDateEvent) this.tipsFncName = options.UpDateEvent
this.searchinfo()
},
methods: {
@@ -84,10 +86,13 @@
uni.setStorageSync("entrance", 2); //写入缓存
uni.setStorageSync("searchobj", d[0]); //写入缓存
if(res[0].merge==0){
let newobj = res[0];
uni.navigateTo({
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(d[0])}&stateisshow=${'2'}`
})
if (this.tipsFncName) uni.$emit(this.tipsFncName, d[0])
uni.$emit('newobjStatus', newobj.status)
uni.navigateBack()
// let newobj = res[0];
// uni.navigateTo({
// url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&itemobj=${JSON.stringify(d[0])}&stateisshow=${'2'}`
// })
}else{
let newobj = res[0];
uni.navigateTo({


+ 11
- 1
pages/mine/details2.vue View File

@@ -561,6 +561,11 @@
uni.$on('DETAILS2INIT', (info) => {
this.init(info)
});
// 当前页面状态
uni.$on('newobjStatus', status => {
this.status = status
})
},


@@ -596,6 +601,7 @@

onUnload() {
uni.$off('DETAILS2INIT')
uni.$off('newobjStatus')
//卸载不需要的业务和获取播放状态的业务,提高页面性能
this.$zaudio.off('seek', this.ACTION);
this.$zaudio.off('stop', this.ACTION);
@@ -653,9 +659,11 @@
},
argece(item) {
if (item.selected == 0) {
// 关闭当前页面弹窗
this.Pinspeak = false
uni.navigateTo({
url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
.keywordsId + "&type=" + 1
.keywordsId + "&type=" + 1 + '&UpDateEvent=DETAILS2INIT'
})
}
},
@@ -694,6 +702,8 @@
//评分点击
clickaudeopal(item) {
if (item.selected == 0) {
// 关闭当前页面弹窗
this.Pinspeak = false
uni.navigateTo({
url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
.marketingId + "&type=" + 0


+ 2
- 2
utils/domain.js View File

@@ -1,9 +1,9 @@
const base = 'http://81.70.55.170:9999' ;// 测试站
// const base = 'http://81.70.55.170:9999' ;// 测试站
// const base = 'http://8kdmng.natappfree.cc' ;// 佳豪
// const base = 'http://192.168.31.134:9999' ;// 佳豪
// const base = 'http://192.168.31.86:9999' ;// 胜浩
// const base = 'http://192.168.31.167:9999' // 长龙
// const base = 'https://zanyong.hfju.com';// 正式 AI销管
const base = 'https://zanyong.hfju.com';// 正式 AI销管
// const base = 'https://hxz.quhouse.com';// 正式 AI销讲助手

// http.js使用


Loading…
Cancel
Save