|
@@ -53,7 +53,7 @@
|
53
|
53
|
|
54
|
54
|
<div class="Bottom">
|
55
|
55
|
<a @click="ToProcessOrder" v-if="!DetailInfo.bettingDetail.betting.isDrawn" class="active">确定</a>
|
56
|
|
- <a :href="`/api/shop/sent-award/order/${$route.query.id}?returlURL=${encodeURIComponent(`${Origin}/#/PaiJiang/PaiJiangGuanLi`)}&token=${Jwt}`" v-if="DetailInfo.bettingDetail.betting.isDrawn && DetailInfo.bettingDetail.betting.isWinning && !DetailInfo.bettingDetail.betting.isCashed" class="active">派奖</a>
|
|
56
|
+ <a :href="`${APIBase}api/shop/sent-award/order/${$route.query.id}?returlURL=${encodeURIComponent(`${Origin}/#/PaiJiang/PaiJiangGuanLi`)}&token=${Jwt}`" v-if="DetailInfo.bettingDetail.betting.isDrawn && DetailInfo.bettingDetail.betting.isWinning && !DetailInfo.bettingDetail.betting.isCashed" class="active">派奖</a>
|
57
|
57
|
<!-- <a v-else>撤单</a> -->
|
58
|
58
|
</div>
|
59
|
59
|
</div>
|
|
@@ -62,6 +62,7 @@
|
62
|
62
|
</template>
|
63
|
63
|
|
64
|
64
|
<script>
|
|
65
|
+import { createNamespacedHelpers } from 'vuex'
|
65
|
66
|
import MainPageContainer from '../../../components/common/MainPageContainer'
|
66
|
67
|
import DingDanXiangQingDaLeTou from '../../../components/index/DingDanXiangQingDaLeTou'
|
67
|
68
|
import DingDanXiangQingShuangSeQiu from '../../../components/index/DingDanXiangQingShuangSeQiu'
|
|
@@ -69,7 +70,8 @@ import DingDanXiangQingZuQiu from '../../../components/index/DingDanXiangQingZuQ
|
69
|
70
|
import DingDanXiangQingLanQiu from '../../../components/index/DingDanXiangQingLanQiu'
|
70
|
71
|
import DingDanXiangQingP3 from '../../../components/index/DingDanXiangQingP3'
|
71
|
72
|
import DingDanXiangQingP5 from '../../../components/index/DingDanXiangQingP5'
|
72
|
|
-import { createNamespacedHelpers } from 'vuex'
|
|
73
|
+import { APIBase } from '@/util/constant'
|
|
74
|
+
|
73
|
75
|
const { mapActions: mapUserActions } = createNamespacedHelpers('user')
|
74
|
76
|
export default {
|
75
|
77
|
name: 'index',
|
|
@@ -79,6 +81,7 @@ export default {
|
79
|
81
|
Origin: window.location.origin,
|
80
|
82
|
CpImgArr: [],
|
81
|
83
|
DetailInfo: null,
|
|
84
|
+ APIBase,
|
82
|
85
|
DataLock: false // 数据锁
|
83
|
86
|
}
|
84
|
87
|
},
|