|
@@ -738,7 +738,7 @@
|
|
|
}
|
|
|
}
|
|
|
var cyclecount_vip = filter_vip.cyclecount; //时长
|
|
|
- var cycleunit_vip = filter_vip.cycleunit;//单位 1:年 2:月 3:天
|
|
|
+ var cycleunit_vip = filter_vip.cycleunit;//单位 1:年 2:月 3:天 4:季
|
|
|
//订阅周期
|
|
|
var effectiveduration_vip = ""
|
|
|
if ((obj.vip_starttime) && (obj.vip_endtime)) {
|
|
@@ -778,6 +778,8 @@
|
|
|
}
|
|
|
if (cycleunit_vip === 3) {
|
|
|
effectiveduration_vip = cyclecount_vip + "天";
|
|
|
+ }else if (cycleunit_vip === 4) {
|
|
|
+ effectiveduration_vip = cyclecount_vip + "季";
|
|
|
}
|
|
|
} else {
|
|
|
if (cycleunit_vip === 1) {
|
|
@@ -786,6 +788,8 @@
|
|
|
effectiveduration_vip = cyclecount_vip + "个月"
|
|
|
} else if (cycleunit_vip === 3) {
|
|
|
effectiveduration_vip = cyclecount_vip + "天";
|
|
|
+ } else if (cycleunit_vip === 4) {
|
|
|
+ effectiveduration_vip = cyclecount_vip + "季";
|
|
|
}
|
|
|
}
|
|
|
//试用用户生成订单 周期
|
|
@@ -796,6 +800,8 @@
|
|
|
effectiveduration_vip = cyclecount_vip + "个月"
|
|
|
} else if (cycleunit_vip === 3) {
|
|
|
effectiveduration_vip = cyclecount_vip + "天";
|
|
|
+ } else if (cycleunit_vip === 4) {
|
|
|
+ effectiveduration_vip = cyclecount_vip + "季";
|
|
|
}
|
|
|
}
|
|
|
} else if (vip_type === 2) {
|
|
@@ -867,6 +873,8 @@
|
|
|
effectiveduration_vip = filterObj.cyclecount + "个月";
|
|
|
} else if (filterObj.cycleunit === 3) {
|
|
|
effectiveduration_vip = filterObj.cyclecount + "天";
|
|
|
+ } else if (filterObj.cycleunit === 4) {
|
|
|
+ effectiveduration_vip = filterObj.cyclecount + "季";
|
|
|
} else if (filterObj.cycleunit === -1) {
|
|
|
effectiveduration_vip = "不延期";
|
|
|
} else {
|
|
@@ -907,6 +915,8 @@
|
|
|
}
|
|
|
if (cycleunit_vip === 3) {
|
|
|
effectiveduration_vip = cyclecount_vip + "天";
|
|
|
+ }else if (cycleunit_vip === 4) {
|
|
|
+ effectiveduration_vip = cyclecount_vip + "季";
|
|
|
}
|
|
|
} else {
|
|
|
if (cycleunit_vip === 1) {
|
|
@@ -915,6 +925,8 @@
|
|
|
effectiveduration_vip = cyclecount_vip + "个月"
|
|
|
} else if (cycleunit_vip === 3) {
|
|
|
effectiveduration_vip = cyclecount_vip + "天";
|
|
|
+ } else if (cycleunit_vip === 4) {
|
|
|
+ effectiveduration_vip = cyclecount_vip + "季";
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1019,6 +1031,8 @@
|
|
|
}
|
|
|
if (cycleunit_vip === 3) {
|
|
|
effectiveduration_vip = cyclecount_vip + "天";
|
|
|
+ }else if (cycleunit_vip === 4) {
|
|
|
+ effectiveduration_vip = cyclecount_vip + "季";
|
|
|
}
|
|
|
} else {
|
|
|
if (cycleunit_vip === 1) {
|
|
@@ -1027,6 +1041,8 @@
|
|
|
effectiveduration_vip = cyclecount_vip + "个月"
|
|
|
} else if (cycleunit_vip === 3) {
|
|
|
effectiveduration_vip = cyclecount_vip + "天";
|
|
|
+ } else if (cycleunit_vip === 4) {
|
|
|
+ effectiveduration_vip = cyclecount_vip + "季";
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1148,6 +1164,8 @@
|
|
|
effectiveduration_vip = filter_vip.cyclecount + "年"
|
|
|
} else if (parseInt(filter_vip.cycleunit) === 2) {
|
|
|
effectiveduration_vip = filter_vip.cyclecount + "个月"
|
|
|
+ } else if (parseInt(filter_vip.cycleunit) === 4) {
|
|
|
+ effectiveduration_vip = filter_vip.cyclecount + "季"
|
|
|
} else {
|
|
|
effectiveduration_vip = "7天"
|
|
|
}
|