|
@@ -236,15 +236,20 @@
|
|
|
this.caption = res.data.result.caption;
|
|
|
this.brand_name = res.data.result.brand_name;
|
|
|
this.access_time = res.data.result.access_time;
|
|
|
- if (res.data.result.level_identify == 'group_restrain' || res.data.result.level_identify ==
|
|
|
- 'subgroup') { //约束
|
|
|
+ if (res.data.result.level_identify == 'group_restrain' ) { //约束
|
|
|
console.log("约束1")
|
|
|
this.restrainShow1 = true;
|
|
|
this.restrainList1 = res.data.result.list;
|
|
|
} else {
|
|
|
- this.lastShow = true;
|
|
|
- this.childrenList = res.data.result.list;
|
|
|
- this.oldList = this.childrenList
|
|
|
+ if(res.data.result.list[0].next_restrain==1){
|
|
|
+ this.restrainShow1 = true;
|
|
|
+ this.restrainList1 = res.data.result.list;
|
|
|
+ }else{
|
|
|
+ this.lastShow = true;
|
|
|
+ this.childrenList = res.data.result.list;
|
|
|
+ this.oldList = this.childrenList
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
} else {
|
|
|
uni.showToast({
|