|
@@ -857,27 +857,27 @@
|
|
|
const goods = this.courseLists.find(
|
|
|
(e) => e.subscribeSign == 1 || e.subscribeSign == 3
|
|
|
);
|
|
|
- if (goods) {
|
|
|
- let {
|
|
|
- goodsName,
|
|
|
- subscribeSign
|
|
|
- } = goods;
|
|
|
- console.log(goods, 'goods')
|
|
|
- let text =
|
|
|
- `您七大员新考【${goodsName}】课程` +
|
|
|
- (subscribeSign == 1 ?
|
|
|
- "已学完,可以预约考试了!" :
|
|
|
- "课程考试未通过,请重新预约考试!");
|
|
|
- uni.showModal({
|
|
|
- title: "提示",
|
|
|
- content: text,
|
|
|
- success: (res) => {
|
|
|
- if (res.confirm) {
|
|
|
- this.appointment(goods);
|
|
|
- }
|
|
|
- },
|
|
|
- });
|
|
|
- }
|
|
|
+ // if (goods) {
|
|
|
+ // let {
|
|
|
+ // goodsName,
|
|
|
+ // subscribeSign
|
|
|
+ // } = goods;
|
|
|
+ // console.log(goods, 'goods')
|
|
|
+ // let text =
|
|
|
+ // `您七大员新考【${goodsName}】课程` +
|
|
|
+ // (subscribeSign == 1 ?
|
|
|
+ // "已学完,可以预约考试了!" :
|
|
|
+ // "课程考试未通过,请重新预约考试!");
|
|
|
+ // uni.showModal({
|
|
|
+ // title: "提示",
|
|
|
+ // content: text,
|
|
|
+ // success: (res) => {
|
|
|
+ // if (res.confirm) {
|
|
|
+ // this.appointment(goods);
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // });
|
|
|
+ // }
|
|
|
}
|
|
|
if (res2.code == 200) {
|
|
|
this.livingLists = res2.rows || [];
|