| | |
| | | this.getListSearchMethod(this.mBigPopup.value); |
| | | return; |
| | | } |
| | | this.choiceMain = this.popupOurOpenData.qurey; // 进入的主题:列:机构单位,社区建筑 |
| | | this.choiceMain = this.popupOurOpenData.qurey; // 进入的主题:列:机构单位,校区建筑 |
| | | this.choiceData = this.popupOurOpenData.main; //带入数据 包括name、type、method |
| | | |
| | | this.choiceValue = this.popupOurOpenData.main[0].name; |
| | |
| | | const data = res.data.data; |
| | | let outList = []; |
| | | if ( |
| | | this.mBigPopup.name == "社区建筑" || |
| | | this.mBigPopup.name == "校区建筑" || |
| | | this.mBigPopup.name == "文化风景" |
| | | ) { |
| | | // 社区建筑使用该id获取具体信息 |
| | | // 校区建筑使用该id获取具体信息 |
| | | data.forEach((item) => { |
| | | let icon = item.tpurl ? item.tpurl.split(",") : item.id; |
| | | outList.push({ |
| | |
| | | from: this.choiceMain, |
| | | video: item.videourl, |
| | | buts: |
| | | this.mBigPopup.name == "社区建筑" || |
| | | this.mBigPopup.name == "校区建筑" || |
| | | this.mBigPopup.name == "文化风景" |
| | | ? ["定位", "实景", "图集"] |
| | | : ["定位"], |
| | | }); |
| | | }); |
| | | } else if (this.mBigPopup.name == "活动") { |
| | | // 社区建筑使用该id获取具体信息 |
| | | // 校区建筑使用该id获取具体信息 |
| | | data.records.forEach((item) => { |
| | | let icon = item.tpurl.split(","); |
| | | let useData = { |
| | |
| | | introduce: item.context, |
| | | video: item.videourl, |
| | | buts: |
| | | that.mBigPopup.name == "社区建筑" || |
| | | that.mBigPopup.name == "校区建筑" || |
| | | that.mBigPopup.name == "文化风景" |
| | | ? ["定位", "实景", "图集"] |
| | | : ["定位"], |
| | |
| | | introduce: item.introduce, |
| | | video: item.videourl, |
| | | buts: |
| | | that.mBigPopup.name == "社区建筑" || |
| | | that.mBigPopup.name == "校区建筑" || |
| | | that.mBigPopup.name == "文化风景" |
| | | ? ["定位", "实景", "图集"] |
| | | : ["定位"], |
| | |
| | | introduce: item.introduce, |
| | | video: item.videourl, |
| | | buts: |
| | | that.mBigPopup.name == "社区建筑" || |
| | | that.mBigPopup.name == "校区建筑" || |
| | | that.mBigPopup.name == "文化风景" |
| | | ? ["定位", "实景", "图集"] |
| | | : ["定位"], |