|
|
@@ -6,10 +6,10 @@
|
|
|
<view :class="['iconfont', 'iconchenggong']"></view>
|
|
|
<view class="result-title">支付成功</view>
|
|
|
|
|
|
- <button v-if="loginInfo.admin.subscribe == 0" class="admin-button-com blue big" @click="pageTo({url:'/pagesClient/official/warn'})">开启动态提醒</button>
|
|
|
+ <button v-if="loginInfo.admin.subscribe == 0" class="admin-button-com blue big" @click="openMind">开启动态提醒</button>
|
|
|
|
|
|
- <button v-if="loginInfo.admin.subscribe == 0" class="admin-button-com big" @click="go_detail">订单详情</button>
|
|
|
- <button v-if="loginInfo.admin.subscribe == 1" class="admin-button-com blue big" @click="go_detail">订单详情</button>
|
|
|
+ <button v-if="loginInfo.admin.subscribe == 0" class="admin-button-com big" @click="goDetail">订单详情</button>
|
|
|
+ <button v-if="loginInfo.admin.subscribe == 1" class="admin-button-com blue big" @click="goDetail">订单详情</button>
|
|
|
<button class="admin-button-com big" @click="goClose">返回首页</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -19,11 +19,28 @@
|
|
|
<script>
|
|
|
export default {
|
|
|
name: "AppResult",
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ hasInit:false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onLoad () {
|
|
|
+ this.hasInit = true
|
|
|
+ },
|
|
|
+ onShow () {
|
|
|
+ if(this.hasInit == false){
|
|
|
+ this.$store.commit("setLoginInfo", {})
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
+ openMind(){
|
|
|
+ this.hasInit = false
|
|
|
+ this.pageTo({ url: "/pagesClient/official/warn"})
|
|
|
+ },
|
|
|
goClose () {
|
|
|
- this.pageTo({ url: "/admin/home/workbench", type: 3 });
|
|
|
+ this.pageTo({ url: "/admin/home/workbench", type: 3 })
|
|
|
},
|
|
|
- go_detail() {
|
|
|
+ goDetail() {
|
|
|
this.pageTo({url: '/pagesPurchase/purDetails?status=2&id=' + this.option.id, type: 2})
|
|
|
}
|
|
|
},
|