Procházet zdrojové kódy

坐席用户添加导出功能

lihai %!s(int64=7) %!d(string=před) roky
rodič
revize
8f6b73b052

+ 9 - 0
CallCenterWeb.UI/SystemManager/js/yongHuManger.js

@@ -21,6 +21,15 @@ $('.searchGo').click(function () {
21 21
     //}
22 22
 
23 23
 })
24
+//导出
25
+$('.export').click(function () {
26
+    dcexcel(this);
27
+})
28
+function dcexcel(obj) {
29
+    var url = huayi.config.callcenter_url + "UserAccount/ExportList?token=" + $.cookie("token");
30
+    url += "&dptid=" + id + "&key=" + $('.searCon').val();
31
+    obj.href = url;
32
+}
24 33
 $.get(huayi.config.callcenter_url + "Department/GetDeptList", {
25 34
     "token": $.cookie("token"),
26 35
     "pid": pid

+ 1 - 0
CallCenterWeb.UI/SystemManager/yongHuManger.html

@@ -30,6 +30,7 @@
30 30
             <div class="toolRight">
31 31
                 <span>搜索内容:<input type="text" class="searCon" placeholder="编号或名称" /></span>
32 32
                 <button class="btns searchGo">搜索</button>
33
+                <a class="btns export">导出</a>
33 34
             </div>
34 35
         </div>
35 36
         <div class="treeTable clearfix">