Browse Source

提交激活修改提示,不去信息页面查询了

yxb
DESKTOP-2IO5MST\huting 1 year ago
parent
commit
43f85ebfc6
1 changed files with 19 additions and 3 deletions
  1. 19
    3
      subpackage/after-sale/activation/activate.vue

+ 19
- 3
subpackage/after-sale/activation/activate.vue View File

</view> </view>
</view> </view>
<view class="up_btn"> <view class="up_btn">
<button aria-disabled="true" @click="btn" :disabled="disabled">
<button aria-disabled="true" @click="btn" :disabled="disabled" v-if="!state.isSuccess">
点击开始激活 点击开始激活
</button> </button>
<button aria-disabled="true" @click="back" v-else>
点击返回首页
</button>
</view> </view>
</view> </view>
<!-- 激活成功popup --> <!-- 激活成功popup -->
formatTime, formatTime,
expireDate, expireDate,
expireDate2, expireDate2,
getFormatDate
getFormatDate,
msg
} from "@/utils/utils"; } from "@/utils/utils";
import { import {
onLoad onLoad
orderId: "", orderId: "",
id: "", id: "",
cardStatus: "", cardStatus: "",
obuStatus: ""
obuStatus: "",
isSuccess: false //是否激活成功
}) })
onLoad(() => { onLoad(() => {
//读取传入 存储的数据orderInfo //读取传入 存储的数据orderInfo


} }
}) })
msg("激活成功")
state.isSuccess = true
// #endif // #endif


DataSynchronizationRequest(); DataSynchronizationRequest();


// #ifdef MP-WEIXIN
uni.navigateTo({ uni.navigateTo({
url: "/subpackage/after-sale/deviceInfo/deviceInfo", url: "/subpackage/after-sale/deviceInfo/deviceInfo",
}); });
// #endif
} }
}) })
}; };
const data = stringToJson(res.bizContent); const data = stringToJson(res.bizContent);
}) })
} }
const back = () => {
uni.switchTab({
url: "/pages/index/index"
});
}
</script> </script>


<style> <style>

Loading…
Cancel
Save