| 
					
				 | 
			
			
				@@ -26,6 +26,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       :curObj="curObj" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       @close="closeUpdatePopup" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <popup-record 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :isShow="isQShow" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      :curObj="curObj" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      @close="closeQPopup" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -33,6 +38,7 @@ import { arrToObj } from '@/utils' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import SearchForm from './components/searchForm/Trend' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import PopupEdit from './components/popup/TrendEdit' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import PopupUpdate from './components/popup/TrendUpdate' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import PopupRecord from './components/popup/TrendRecord' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import baseTable from '_m/baseTable.js' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   name: 'index', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -40,6 +46,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     SearchForm, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     PopupEdit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     PopupUpdate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    PopupRecord, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   provide() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -54,6 +61,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       isDtlShow: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       curObj: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       isUpdateShow: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isQShow: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   computed: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -68,7 +76,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.listConfig = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       rows: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //  minWidth: 150, align: 'left' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { label: '更新时间', prop: 'update_at' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { label: '更新时间', prop: 'update_re' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { label: '楼盘名称', prop: 'estate_name' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { label: '所属区域', prop: 'area_type', type: 'flag', flags: arrToObj(this.$dictData.area_type) }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { label: '产品类型', prop: 'product_type', type: 'flag', flags: arrToObj(this.$dictData.product_type) }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -79,9 +87,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { label: '实际折扣', prop: 'actual_discount' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { label: '最新动态', prop: 'dynamic' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { label: '更新人', prop: 'update_by' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { label: '操作', width: 200, type: 'handle2', operations: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { label: '操作', width: 220, type: 'handle2', operations: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { label: '更新动态', func: this.openUpdatePopup, btnType: 'success' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { label: '去更新', func: this.openUpdatePopup, btnType: 'success' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { label: '更新记录', func: this.openQPopup, btnType: 'primary' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { label: '编辑', func: this.openPopup, btnType: 'primary' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { label: '删除', func: this.delHandle, btnType: 'danger' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           ] 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -100,6 +109,20 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, null, true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    openQPopup (row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (row && row.id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.curObj = row 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.curObj = {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.isQShow = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    closeQPopup (obj) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.isQShow = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (obj) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.fetchData() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     openPopup(row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (row && row.id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.curObj = row 
			 |