|
@@ -5,7 +5,7 @@
|
|
|
<view style="margin-top:24upx;">特向您收取未来时间的年费,感谢您对公司的支持</view>
|
|
<view style="margin-top:24upx;">特向您收取未来时间的年费,感谢您对公司的支持</view>
|
|
|
<view style="margin-top:24upx;">当前系统到期时间:{{ currentDeadline }}</view>
|
|
<view style="margin-top:24upx;">当前系统到期时间:{{ currentDeadline }}</view>
|
|
|
<view style="margin-top:24upx;">续期一年到期时间:<text style="color:#3385FF;">{{ newDeadline }}</text></view>
|
|
<view style="margin-top:24upx;">续期一年到期时间:<text style="color:#3385FF;">{{ newDeadline }}</text></view>
|
|
|
- <view style="margin-top:40upx;text-align:center;">
|
|
|
|
|
|
|
+ <view style="margin-top:40upx;text-align:center;" v-if="hasRenew == 1">
|
|
|
<button class="admin-button-com big default" @click="closeRenew()">稍后再说</button>
|
|
<button class="admin-button-com big default" @click="closeRenew()">稍后再说</button>
|
|
|
<button class="admin-button-com big blue" @click="startRenew()" style="margin-left:80upx;">支持公司,续期一年</button>
|
|
<button class="admin-button-com big blue" @click="startRenew()" style="margin-left:80upx;">支持公司,续期一年</button>
|
|
|
</view>
|
|
</view>
|
|
@@ -20,7 +20,8 @@ export default {
|
|
|
data(){
|
|
data(){
|
|
|
return {
|
|
return {
|
|
|
currentDeadline:'',
|
|
currentDeadline:'',
|
|
|
- newDeadline:''
|
|
|
|
|
|
|
+ newDeadline:'',
|
|
|
|
|
+ hasRenew:0
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -31,6 +32,7 @@ export default {
|
|
|
let that = this
|
|
let that = this
|
|
|
needRemind().then(res=>{
|
|
needRemind().then(res=>{
|
|
|
if(res.code == 1){
|
|
if(res.code == 1){
|
|
|
|
|
+ that.hasRenew = res.data.hasRenew ? res.data.hasRenew : 0
|
|
|
that.currentDeadline = res.data.currentDeadline
|
|
that.currentDeadline = res.data.currentDeadline
|
|
|
that.newDeadline = res.data.newDeadline
|
|
that.newDeadline = res.data.newDeadline
|
|
|
}
|
|
}
|