|
@@ -144,7 +144,7 @@
|
|
|
@getChildList="getChildList" @goDetail="goDetail"
|
|
|
v-show="newgroupingListShow" :newcode="newgroupingcode" :data="newgroupingdata"></newgroupingList>
|
|
|
|
|
|
- <newsearchlist v-show="newsearchShow"></newsearchlist>
|
|
|
+ <newsearchlist v-show="newsearchShow" @goDetail="goDetail" @goDetail4="goDetail4"></newsearchlist>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -307,6 +307,23 @@
|
|
|
}
|
|
|
//console.log(wz)
|
|
|
},
|
|
|
+ goDetail4(item){
|
|
|
+ this.newgroupingcode=item.Code;
|
|
|
+ var newgroupingdata={
|
|
|
+ parentCode:item.parentCode,
|
|
|
+ name:item.Name,
|
|
|
+ title:item.Title,
|
|
|
+ topName:item.topName,
|
|
|
+ comment:''
|
|
|
+ }
|
|
|
+ console.log(newgroupingdata)
|
|
|
+ this.indexShow=false;
|
|
|
+ this.listShow=false;
|
|
|
+ this.newDetailShow=false;
|
|
|
+ this.newgroupingListShow=true;
|
|
|
+ this.newsearchShow=false;
|
|
|
+ this.newgroupingdata=newgroupingdata
|
|
|
+ },
|
|
|
gotoTop(){
|
|
|
uni.pageScrollTo({
|
|
|
scrollTop: 0, duration: 300
|