| 
					
				 | 
			
			
				@@ -55,7 +55,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.$api.other.admareainfodetail({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             id: this.curObj.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            console.log(res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.cObj = {...res} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.getDef() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -87,6 +86,15 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = { ...this.cObj } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let disabled = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (this.cObj.id) disabled = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let roVals = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let newsIds = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (params.information_list && params.information_list.length > 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        params.information_list.forEach(item => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          roVals.push({ keyRO: item.title, valRO: item.id }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          newsIds.push(item.id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        params.newsIds = [...newsIds] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.formData = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { label: '区域名', key: 'area_name'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { label: '区域图', key: 'pri_image', type: 'uploads', class: 'c-2' }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -94,6 +102,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           remoteParams: { skey: 'area_name', api: `other.admareainfolist`, opKey: 'area_name', opVal: 'id' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           remoteOptions: [{ keyRO: params.parent_name, valRO: params.parent_id }] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { label: '关联文章', key: 'newsIds', type: 'selectRemote', multiple: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          remoteParams: { skey: 'title', api: `house.adminformationlist`, opKey: 'title', opVal: 'id' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          remoteOptions: roVals 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { label: '描述', key: 'remark', type: 'textarea'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { label: '预设1', key: 'option1', class: 'c-2'}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { label: '预设2', key: 'option2', class: 'c-2'}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -112,6 +124,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               apiStr = 'admareainfoedit' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               delete newForm.parent_id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (newForm.newsIds && newForm.newsIds.length > 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              newForm.information_id_list = newForm.newsIds.join(',') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            delete newForm.newsIds 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             newForm.longitude = this.cObj.longitude 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             newForm.latitude = this.cObj.latitude 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!newForm.longitude) return this.$msgw('请选择经度!') 
			 |