hdw
2019-01-18 9c670af9d062caf6ee2a3835c52932ba11b05a3e
关闭上传页面的图片的等待框
2个文件已修改
15 ■■■■■ 已修改文件
gx_tieta/WebRoot/iframe/homeinfo.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
gx_tieta/WebRoot/mobil/iframe/homeinfo1.html 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gx_tieta/WebRoot/iframe/homeinfo.html
@@ -647,7 +647,7 @@
                      });
                }
                ,before:function() {
                    uploadImgsLoad = layer.load(1);
                    //uploadImgsLoad = layer.load(1);
                }
                ,done:function(res) {
                    var rs = JSON.parse(res.result);
gx_tieta/WebRoot/mobil/iframe/homeinfo1.html
@@ -129,7 +129,6 @@
                                            <thead>
                                                <tr>
                                                    <th>图片预览</th>
                                                    <th>文件名</th>
                                                    <th>大小</th>
                                                    <th lay-data="{fixed: 'right', sort: true, minWidth: 100, align: 'center'}">操作</th>
                                                </tr>
@@ -297,7 +296,7 @@
                    data: "json="+temp,
                    dataType: 'json',
                    success:function(data) {
                        console.info(data);
                        //console.info(data);
                        data = JSON.parse(data.result);
                        if(data.code==1){
                            layer.msg("申请验收成功!3秒后关闭面板");
@@ -317,7 +316,7 @@
                setTimeout(function() {
                    var lng = $('#lng').val();        // 经度
                    var lat = $('#lat').val();        // 纬度
                    console.log(lng+'***'+lat);
                    //console.log(lng+'***'+lat);
                    var point = new BMap.Point(lng, lat);
                    delMkByLabel('新机房');
                    var mk = new BMap.Marker(point);
@@ -331,7 +330,7 @@
                    
                    // 给mk点添加移动事件
                    mk.addEventListener('dragend', function(e) {
                        console.log(e.point);
                        //console.log(e.point);
                        var lat = e.point.lat;
                        var lng = e.point.lng;
                        
@@ -384,7 +383,7 @@
                ,choose: function(obj) {
                    
                    var files = this.files = obj.pushFile();
                    console.log(obj.pushFile());
                    //console.log(obj.pushFile());
                    videoInfoTbl.text('');
                    // 遍历
                    Object.keys(files).forEach(function(key) {
@@ -409,7 +408,7 @@
                    });
                }
                ,progress: function(e , percent) {
                    console.log(percent);
                    //console.log(percent);
                    element.progress('uploadProgress',percent  + '%');
                }
                ,done: function(res, index, upload) {
@@ -438,7 +437,6 @@
                      obj.preview(function(index, file, result){
                          var tr = $(['<tr id="upload-'+ index +'">'
                            ,'<td><img src="'+result+'">'
                          ,'<td>'+ file.name +'</td>'
                          ,'<td>'+ (file.size/1014).toFixed(1) +'kb</td>'
                          ,'<td>'
                            ,'<button class="layui-btn layui-btn-xs imgs-reload layui-hide">重传</button>'
@@ -462,7 +460,6 @@
                      });
                }
                ,before:function(obj) {
                    uploadImgsLoad = layer.load(1);
                    // 设置提交的参数
                    this.data.json = JSON.stringify({
                            StationId: homeInfo.homeId