Преглед изворни кода

修复配置了服务器映射后,视图中导出excel出错的问题

unknown пре 5 година
родитељ
комит
d9e3a90e9b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      o2web/source/x_component_query_Query/Viewer.js

+ 1 - 1
o2web/source/x_component_query_Query/Viewer.js

@@ -151,7 +151,7 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
         action.exportViewWithQuery(this.json.viewName, this.json.application, {"filterList": filterData}, function(json){
             var uri = action.action.actions.getViewExcel.uri;
             uri = uri.replace("{flag}", json.data.id);
-            uri = action.action.address+uri;
+            uri = o2.filterUrl( action.action.address+uri );
             var a = new Element("a", {"href": uri, "target":"_blank"});
             a.click();
             a.destroy();