| | |
| | | |
| | | }; |
| | | }, |
| | | onShareAppMessage() { |
| | | let that = this; |
| | | var name = that.currentInfo.customerDTO && currentInfo.customerDTO.name || that.currentInfo.supplierDTO && |
| | | currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && currentInfo.partnerDTO.name || '' |
| | | var url = |
| | | `/pages/login/supplier-login?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 |
| | | return { |
| | | title: "花满芫", |
| | | path: url, |
| | | } |
| | | }, |
| | | onShareTimeline() { |
| | | let that = this; |
| | | var name = that.currentInfo.customerDTO && currentInfo.customerDTO.name || that.currentInfo.supplierDTO && |
| | | currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && currentInfo.partnerDTO.name || '' |
| | | var url = |
| | | `/pages/login/supplier-login?shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数 |
| | | return { |
| | | title: "花满芫", |
| | | path: url, |
| | | } |
| | | }, |
| | | async onPullDownRefresh() { |
| | | await this.$store.dispatch('getCurrentInfo') |
| | | uni.stopPullDownRefresh() |
| | |
| | | } |
| | | }, |
| | | fail: (res) => { |
| | | console.log("蓝牙状态",res) |
| | | console.log("蓝牙状态", res) |
| | | that.$message.showToast('获取蓝牙状态失败') |
| | | |
| | | } |
| | |
| | | |
| | | }, |
| | | fail: function(res) { |
| | | console.log('createBLEConnection fail',res) |
| | | console.log('createBLEConnection fail', res) |
| | | that.$message.showToast('连接打印机失败') |
| | | }, |
| | | complete() { |