From 6b3eeeb69a30c971ec7ba7afb860cd142eac611a Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期四, 12 十月 2023 16:30:45 +0800
Subject: [PATCH] 工程项目任务汇报模块复选框刷新优化

---
 WebTM/views/项目管理/工作任务/PM_WorkTaskBillList.html |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillList.html" "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillList.html"
index bdcc8dc..7862219 100644
--- "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillList.html"
+++ "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBillList.html"
@@ -481,9 +481,9 @@
                     , content: '../../椤圭洰绠$悊/宸ヤ綔浠诲姟/PM_WorkTaskBill.html?OperationType=1&linterid=0&HSouceBillType='
                     ,btn: ['纭畾'],
                     // 鎸夐挳1 鐨勫洖璋�
-                    btn1: function (index, layero, that) {
+                    end: function (index, layero, that) {
                         //鍒锋柊椤甸潰
-                        window.location.reload();
+                        $("#btnSearch").trigger('click');
                     }
                 })
             }
@@ -504,9 +504,9 @@
                         , content: '../../椤圭洰绠$悊/宸ヤ綔浠诲姟/PM_WorkTaskBill.html?OperationType=3&linterid=' + linterid + '&HSouceBillType='
                         , btn: ['纭畾'],
                         // 鎸夐挳1 鐨勫洖璋�
-                        btn1: function (index, layero, that) {
+                        end: function (index, layero, that) {
                             //鍒锋柊椤甸潰
-                            window.location.reload();
+                            $("#btnSearch").trigger('click');
                         }
                     })
                 } else {
@@ -530,9 +530,9 @@
                         , content: '../../椤圭洰绠$悊/椤圭洰闃舵/Add_Edit_Gy_ProjectStage.html?OperationType=4&linterid=' + linterid + '&HSouceBillType='
                         , btn: ['纭畾'],
                         // 鎸夐挳1 鐨勫洖璋�
-                        btn1: function (index, layero, that) {
+                        end: function (index, layero, that) {
                             //鍒锋柊椤甸潰
-                            //window.location.reload();
+                            $("#btnSearch").trigger('click');
                         }
                     })
                 } else {
@@ -563,7 +563,7 @@
                                         //鍏抽棴褰撳墠frame
                                         layer.close(wait);
                                         //淇敼涓哄姛鍚庡埛鏂扮晫闈�
-                                        window.location.reload();
+                                        w$("#btnSearch").trigger('click');
                                     });
                                 } else {
                                     layer.alert(result.code + result.Message, { icon: 5 });
@@ -585,8 +585,7 @@
 
             //#region 鍒锋柊
             function get_Refresh() {
-                set_ClearQuery();
-                get_FastQuery(1);
+                $("#btnSearch").trigger('click');
             }
             //#endregion
 
@@ -736,9 +735,9 @@
                         , content: url
                         , btn: ['纭畾'],
                         // 鎸夐挳1 鐨勫洖璋�
-                        btn1: function (index, layero, that) {
+                        end: function (index, layero, that) {
                             //鍒锋柊椤甸潰
-                            window.location.reload();
+                            $("#btnSearch").trigger('click');
                         }
                     })
                     //})

--
Gitblit v1.9.1