|
@@ -26,6 +26,11 @@
|
|
:curObj="curObj"
|
|
:curObj="curObj"
|
|
@close="closePhotoPopup"
|
|
@close="closePhotoPopup"
|
|
/>
|
|
/>
|
|
|
|
+ <vr-edit
|
|
|
|
+ :isShow="isVrShow"
|
|
|
|
+ :curObj="curObj"
|
|
|
|
+ @close="closeVrPopup"
|
|
|
|
+ />
|
|
<theme-house-edit
|
|
<theme-house-edit
|
|
:isShow="isTHEShow"
|
|
:isShow="isTHEShow"
|
|
:curObj="curObj"
|
|
:curObj="curObj"
|
|
@@ -43,6 +48,7 @@ import { arrToObj } from '@/utils'
|
|
import SearchForm from './components/searchForm/Index'
|
|
import SearchForm from './components/searchForm/Index'
|
|
import PopupEdit from './components/popup/IndexEdit'
|
|
import PopupEdit from './components/popup/IndexEdit'
|
|
import PhotoEdit from './components/popup/PhotoEdit'
|
|
import PhotoEdit from './components/popup/PhotoEdit'
|
|
|
|
+import VrEdit from './components/popup/VrEdit'
|
|
import ThemeHouseEdit from './components/popup/ThemeHouseEdit'
|
|
import ThemeHouseEdit from './components/popup/ThemeHouseEdit'
|
|
import HelpRule from './components/popup/HelpRule'
|
|
import HelpRule from './components/popup/HelpRule'
|
|
import baseTable from '_m/baseTable.js'
|
|
import baseTable from '_m/baseTable.js'
|
|
@@ -52,6 +58,7 @@ export default {
|
|
SearchForm,
|
|
SearchForm,
|
|
PopupEdit,
|
|
PopupEdit,
|
|
PhotoEdit,
|
|
PhotoEdit,
|
|
|
|
+ VrEdit,
|
|
ThemeHouseEdit,
|
|
ThemeHouseEdit,
|
|
HelpRule,
|
|
HelpRule,
|
|
},
|
|
},
|
|
@@ -67,6 +74,7 @@ export default {
|
|
searchForm: null,
|
|
searchForm: null,
|
|
isDtlShow: false,
|
|
isDtlShow: false,
|
|
isPhotoShow: false,
|
|
isPhotoShow: false,
|
|
|
|
+ isVrShow: false,
|
|
// noCreated: true,
|
|
// noCreated: true,
|
|
curObj: {},
|
|
curObj: {},
|
|
isTHEShow: false,
|
|
isTHEShow: false,
|
|
@@ -122,6 +130,7 @@ export default {
|
|
{ label: '保存排序', func: this.saveHandle, btnType: 'success' },
|
|
{ label: '保存排序', func: this.saveHandle, btnType: 'success' },
|
|
{ label: '编辑信息', func: this.openPopup, btnType: 'primary' },
|
|
{ label: '编辑信息', func: this.openPopup, btnType: 'primary' },
|
|
{ label: '编辑相册', func: this.openPhotoPopup, btnType: 'info' },
|
|
{ label: '编辑相册', func: this.openPhotoPopup, btnType: 'info' },
|
|
|
|
+ { label: '楼盘航拍', func: this.openVrPopup, btnType: 'primary' },
|
|
{ label: '置业顾问', func: this.openSale, btnType: 'info' },
|
|
{ label: '置业顾问', func: this.openSale, btnType: 'info' },
|
|
{ label: '楼盘动态', func: this.openNews, btnType: 'info' },
|
|
{ label: '楼盘动态', func: this.openNews, btnType: 'info' },
|
|
{ label: '历史成交价', func: this.openPrice, btnType: 'info' },
|
|
{ label: '历史成交价', func: this.openPrice, btnType: 'info' },
|
|
@@ -167,6 +176,20 @@ export default {
|
|
openSale (item) {
|
|
openSale (item) {
|
|
this.$router.push('/house/sale?id=' + item.id + '&name=' + item.estate_name)
|
|
this.$router.push('/house/sale?id=' + item.id + '&name=' + item.estate_name)
|
|
},
|
|
},
|
|
|
|
+ openVrPopup(row) {
|
|
|
|
+ if (row && row.id) {
|
|
|
|
+ this.curObj = row
|
|
|
|
+ } else {
|
|
|
|
+ this.curObj = {}
|
|
|
|
+ }
|
|
|
|
+ this.isVrShow = true
|
|
|
|
+ },
|
|
|
|
+ closeVrPopup(obj) {
|
|
|
|
+ this.isVrShow = false
|
|
|
|
+ if (obj) {
|
|
|
|
+ this.fetchData()
|
|
|
|
+ }
|
|
|
|
+ },
|
|
openPhotoPopup(row) {
|
|
openPhotoPopup(row) {
|
|
if (row && row.id) {
|
|
if (row && row.id) {
|
|
this.curObj = row
|
|
this.curObj = row
|