|
|
@@ -118,6 +118,7 @@ import { getCustomDetail,cancel,confirmClear } from "@/api/clear/index";
|
|
|
import productMins from "@/mixins/product";
|
|
|
import TuiListCell from "@/components/plugin/list-cell";
|
|
|
import { IMGHOST } from '@/config'
|
|
|
+import { mapGetters } from "vuex";
|
|
|
export default {
|
|
|
name: "customInfo",
|
|
|
components: {
|
|
|
@@ -134,6 +135,9 @@ export default {
|
|
|
loading: false
|
|
|
};
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ ...mapGetters({ dictInfo:"getDictionariesInfo" })
|
|
|
+ },
|
|
|
onShareAppMessage(res) {
|
|
|
return {
|
|
|
title: '点击查账和结账',
|
|
|
@@ -144,6 +148,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
inviteClear(){
|
|
|
+ let miniOriginalId = that.dictInfo.miniOriginalId && that.dictInfo.miniOriginalId.current && that.dictInfo.miniOriginalId.current.ghs ? that.dictInfo.miniOriginalId.current.ghs : ''
|
|
|
uni.share({
|
|
|
provider: "weixin", //分享服务提供商(即weixin|qq|sinaweibo)
|
|
|
scene: 'WXSceneSession', //场景,可取值参考下面说明。
|
|
|
@@ -152,7 +157,7 @@ export default {
|
|
|
summary: '暂无', //分享内容的摘要
|
|
|
imageUrl: IMGHOST+'/custom/hit_me_clear.jpg',//图片一定要有,不然会分享失败
|
|
|
miniProgram: {
|
|
|
- id: 'gh_2e886744af66',//小程序原始id,发起分享的 App 与小程序属于同一微信开放平台帐号
|
|
|
+ id: miniOriginalId,//小程序原始id,发起分享的 App 与小程序属于同一微信开放平台帐号
|
|
|
path: "admin/clear/showBill?id="+this.detailInfo.id,
|
|
|
type: 0,// 0-正式版; 1-测试版; 2-体验版
|
|
|
webUrl: 'https://www.wixhb.com'
|