From 5fe2efb71f6ad809a1cfc59beab18bbea99fff5e Mon Sep 17 00:00:00 2001
From: 81041 <81041@DESKTOP-025NVD9>
Date: 星期五, 18 一月 2019 09:01:41 +0800
Subject: [PATCH] Merge branch 'dev_lxw' of https://gitlab.com/whyclxw1/gx_tieta.git into dev_lxw

---
 gx_tieta/WebRoot/mobil/iframe/homeinfo1.html |   25 ++++++++++++++++---------
 1 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/gx_tieta/WebRoot/mobil/iframe/homeinfo1.html b/gx_tieta/WebRoot/mobil/iframe/homeinfo1.html
index 43456d8..23b815f 100644
--- a/gx_tieta/WebRoot/mobil/iframe/homeinfo1.html
+++ b/gx_tieta/WebRoot/mobil/iframe/homeinfo1.html
@@ -363,7 +363,6 @@
             
 
             var footerMenu = new FooterMenu($('#pageFooter'));  // 瀹炰緥鍖栧簳閮ㄥ鑸爮
-            
             // 涓婁紶瑙嗛妯″潡
             var videoInfoTbl = $('#videoInfoTbl');
             // 娓叉煋骞跺垵濮嬪寲涓婁紶鎸夐挳
@@ -380,6 +379,7 @@
                         VideoOrImage: 'video'
                     })
                 }
+                ,exts: 'mp4|MOV|avi|rmvb'
                 ,accept: 'video' //瑙嗛
                 ,choose: function(obj) {
                 	
@@ -425,15 +425,10 @@
 			var uploadImgsLoad;
 			var uploadImgs = upload.render({
     			elem: '#imgsSelect'
-    			,url: 'MyFileAction!uploadStationFile'
+    			,url: 'MyFileAction!uploadStationFile_mobile'
     			,accept: 'image'
 			    ,multiple: true
-			    ,data: {
-                    json:JSON.stringify( {
-                        StationId: homeInfo.homeId,
-                        VideoOrImage: 'image'
-                    })
-                }
+			    ,data:{} 
 			    ,auto: false
 			    ,bindAction: '#uploadImgs'
 			    ,choose: function(obj){
@@ -466,8 +461,20 @@
 				        imgsInfo.append(tr);
       				});
 			    }
-			    ,before:function() {
+			    ,before:function(obj) {
 			    	uploadImgsLoad = layer.load(1);
+			    	// 璁剧疆鎻愪氦鐨勫弬鏁�
+			    	this.data.json = JSON.stringify({
+	                        StationId: homeInfo.homeId
+	                        ,VideoOrImage: 'image'
+	                        ,binfmation: {
+	                        	StationId: homeInfo.homeId
+	                        	,StationName: $('#homeName').val()
+	                        	,latitude: $('#lat').val()	// 绾害
+	                        	,longitude: $('#lng').val()	// 缁忓害
+	                        	,Address: $('#addr').val()				// 鍦板潃
+	                        }
+	                    })
 			    }
 			    ,done:function(res) {
 			    	var rs = JSON.parse(res.result);

--
Gitblit v1.9.1