From cdd5fe1813e63adcddd61581cb886b9d154e5a3c Mon Sep 17 00:00:00 2001
From: hdw <hdw@192.168.31.211>
Date: 星期三, 16 一月 2019 19:19:38 +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