Quellcode durchsuchen

在线文档-自动保存修改

fan vor 2 Jahren
Ursprung
Commit
e09dd0e6ae
1 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen
  1. 7 7
      public/static/views/onlineShareExcel.html

+ 7 - 7
public/static/views/onlineShareExcel.html

@@ -361,7 +361,7 @@
                         });
                         });
                         return;
                         return;
                     }
                     }
-                    util.ajaxJson("正在加载中", ctx + '/market/cOnlineExcel/checkExcelEmpty', {
+                    util.ajaxJson(null, ctx + '/market/cOnlineExcel/checkExcelEmpty', {
                         data: excelData,
                         data: excelData,
                     }, function (data) {
                     }, function (data) {
                         if (data.result == 1) {
                         if (data.result == 1) {
@@ -370,7 +370,7 @@
                                 type: 'error'
                                 type: 'error'
                             });
                             });
                         } else {
                         } else {
-                            util.ajaxJson("正在加载中", ctx + urlsave, {
+                            util.ajaxJson(null, ctx + urlsave, {
                                 data: excelData,
                                 data: excelData,
                                 id: excelId,
                                 id: excelId,
                                 editConStart: editFrom,
                                 editConStart: editFrom,
@@ -384,17 +384,17 @@
                                         type: 'error'
                                         type: 'error'
                                     })
                                     })
                                 } else {
                                 } else {
-                                    window.top.$vm.$message({
-                                        message: '自动保存成功',
-                                        type: 'info'
-                                    });
+                                    // window.top.$vm.$message({
+                                    //     message: '自动保存成功',
+                                    //     type: 'info'
+                                    // });
                                     //console.log(data);
                                     //console.log(data);
                                     //getData()
                                     //getData()
                                 }
                                 }
                             });
                             });
                         }
                         }
                     });
                     });
-                }, 60000)
+                }, 15000)
             }
             }
             if (excelInfo.shareStatus == '1') {
             if (excelInfo.shareStatus == '1') {
                 $("#editTo").attr('disabled', true);
                 $("#editTo").attr('disabled', true);