提交 b6801986 编写于 作者: NoSubject's avatar NoSubject

人员组织导出功能

上级 5bbfbb56
......@@ -20,7 +20,7 @@
margin: 10px 0px;
height: 30px;
line-height: 30px;
width: 160px;
width: 180px;
border: 1px solid #999999;
border-radius: 8px;
background-color: #3c76b7;
......@@ -49,4 +49,4 @@
color: #999999;
padding-left: 40px;
background: url(../x_component_Org/$Main/default/icon/ok.png) no-repeat left center;
}
\ No newline at end of file
}
......@@ -3,5 +3,6 @@
<div class="importPersonTemplateNode"></div>
<div class="importPersonNode"></div>
<div class="importPersonResultNode"></div>
<div class="exportPersonNode"></div>
<!-- <div class="exportPersonNode"></div>-->
<a class="exportPersonNode" style="display: block; text-decoration: none" target='_blank' ></a>
</div>
......@@ -206,16 +206,10 @@ MWF.xApplication.Org.Main = new Class({
}).load();
}.bind(this));
}.bind(this));
var exporturl = o2.filterUrl(o2.Actions.getHost("x_cms_assemble_control") + "/x_organization_assemble_control/jaxrs/export/export/all");
this.exportPersonNode.set("text",this.lp.exportPersonText);
var anode = new Element("div").inject(this.exportPersonNode);
anode.set("html", this.lp.exportPersonAction.replace("{url}", exporturl));
anode.hide();
this.exportPersonNode.addEvent("click", function(){
debugger;
this.exportPersonNode.getElement("a").click()
debugger;
}.bind(this));
this.exportPersonNode.set("text", this.lp.exportPersonText);
this.exportPersonNode.set("href", exporturl);
},
privateNamesQueryPower:function(){
debugger;
......
......@@ -258,7 +258,6 @@ MWF.xApplication.Org.LP = {
"importPersonAction": "上传Excel文件,导入组织",
"importPersonResult": "组织已导入,<a target='_blank' href='{url}' >点击此处</a>查看导入结果",
"exportPersonText": "导出组织到excel文件",
"exportPersonAction": "<a target='_blank' href='{url}' >组织导出excel文件</a>",
"queryPrivateConfigTitle":"个人通讯录权限配置",
"queryPrivateConfigExcludUnit":"不允许被查询单位",
......@@ -269,4 +268,4 @@ MWF.xApplication.Org.LP = {
"queryPrivateConfigBtnEdit":"编辑",
"queryPrivateConfigBtnSave":"保存",
"queryPrivateConfigBtnCancel":"取消"
};
\ No newline at end of file
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册