| @@ -507,7 +507,7 @@ | |||||
| argtextindex1: 0, | argtextindex1: 0, | ||||
| argtextindex2: 0, | argtextindex2: 0, | ||||
| isSw: false, | isSw: false, | ||||
| info: {}, // 详细信息 | |||||
| info: null, // 详细信息 | |||||
| }; | }; | ||||
| }, | }, | ||||
| filters: { | filters: { | ||||
| @@ -527,6 +527,12 @@ | |||||
| } | } | ||||
| }, | }, | ||||
| }, | }, | ||||
| onLoad(options) { | |||||
| if (options.info) this.info = JSON.parse(options.info); | |||||
| this.customerId = options.customerId; | |||||
| }, | |||||
| onShow() { | onShow() { | ||||
| this.intention = false; | this.intention = false; | ||||
| this.kehuyixiangcenterindex = 0; | this.kehuyixiangcenterindex = 0; | ||||
| @@ -545,14 +551,14 @@ | |||||
| var info = currPage.data.info; | var info = currPage.data.info; | ||||
| if (info) { | if (info) { | ||||
| info = info; | info = info; | ||||
| console.log('1') | |||||
| console.log('1', info) | |||||
| } else { | } else { | ||||
| info = { | info = { | ||||
| bg: 0 | bg: 0 | ||||
| } | } | ||||
| } | } | ||||
| if (Object.keys(this.info).length > 0) { | |||||
| if (this.info) { | |||||
| info = this.info | info = this.info | ||||
| } | } | ||||
| @@ -568,10 +574,6 @@ | |||||
| this.TimeUpdate() | this.TimeUpdate() | ||||
| this.init(info) | this.init(info) | ||||
| }, | }, | ||||
| onLoad(options) { | |||||
| this.customerId = options.customerId; | |||||
| if (options.info) this.info = JSON.parse(options.info); | |||||
| }, | |||||
| // 在组件实例被从页面节点树移除时执行 | // 在组件实例被从页面节点树移除时执行 | ||||
| destroyed: function() { | destroyed: function() { | ||||
| //暂停 | //暂停 | ||||
| @@ -945,7 +947,7 @@ | |||||
| this.newluyinList = [] | this.newluyinList = [] | ||||
| uni.request({ | uni.request({ | ||||
| url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id + | url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id + | ||||
| "&bg=" + info.bg + "&speaker=" + this.roleindex, //仅为示例,并非真实接口地址。并非真实接口地址。 | |||||
| "&bg=" + (info.bg || 0) + "&speaker=" + this.roleindex, //仅为示例,并非真实接口地址。并非真实接口地址。 | |||||
| method: "GET", | method: "GET", | ||||
| header: { | header: { | ||||
| 'content-type': 'application/json', | 'content-type': 'application/json', | ||||
| @@ -192,13 +192,8 @@ export default { | |||||
| this.getinit(); | this.getinit(); | ||||
| }, | }, | ||||
| methods: { | methods: { | ||||
| //搜索 | |||||
| searchinfo(){ | |||||
| }, | |||||
| toinfo(item){ | toinfo(item){ | ||||
| console.log(item) | |||||
| let parames = { | let parames = { | ||||
| marketingId: this.keywordIds, | marketingId: this.keywordIds, | ||||
| customerId: item.id, | customerId: item.id, | ||||
| @@ -210,6 +205,11 @@ export default { | |||||
| uni.navigateTo({ | uni.navigateTo({ | ||||
| url: `/pages/center/Piabodata/Customerportrait/Receivedetailabout?customerId=${item.id}&info=${JSON.stringify(items)}` | url: `/pages/center/Piabodata/Customerportrait/Receivedetailabout?customerId=${item.id}&info=${JSON.stringify(items)}` | ||||
| }) | }) | ||||
| }).catch(e => { | |||||
| uni.setStorageSync("entrance", 1); //写入缓存 | |||||
| uni.navigateTo({ | |||||
| url: `/pages/center/Piabodata/Customerportrait/Receivedetailabout?customerId=${item.id}` | |||||
| }) | |||||
| }) | }) | ||||
| }, | }, | ||||
| //搜索 | //搜索 | ||||
| @@ -5,8 +5,9 @@ | |||||
| // const baseUrl = 'http://192.168.31.89:9090/api';// sh | // const baseUrl = 'http://192.168.31.89:9090/api';// sh | ||||
| // 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.92:8080/api';// 测试站 | // const baseUrl = 'http://192.168.31.92:8080/api';// 测试站 | ||||
| const baseUrl = 'http://127.0.0.1:8080/autoSR/api';// 本地 | |||||
| // const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 测试站 | |||||
| // const baseUrl = 'http://127.0.0.1:8080/autoSR/api';// 本地 | |||||
| // const baseUrl = 'http://192.168.31.244:8080/autoSR/api';// 本地 | |||||
| const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 测试站 | |||||
| // const baseUrl = 'http://192.168.31.210:8080/api'; // 泽明 | // const baseUrl = 'http://192.168.31.210:8080/api'; // 泽明 | ||||
| // const baseUrl = 'http://192.168.31.167:8080/autoSR/api'; // 长龙 | // const baseUrl = 'http://192.168.31.167:8080/autoSR/api'; // 长龙 | ||||
| // const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | // const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 | ||||