From 451ec557d579f8f9e1b0c84754709cc8b3d2090e Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 07 五月 2025 08:37:46 +0800
Subject: [PATCH] 人事管理里边增加  一个权限

---
 CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffQuanxianshezhi.aspx.cs |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffQuanxianshezhi.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffQuanxianshezhi.aspx.cs
index 36c9eca..b690a64 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffQuanxianshezhi.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffQuanxianshezhi.aspx.cs
@@ -107,9 +107,13 @@
                 else if (type.ToInt32() == 7)
                 {
                     this.types.InnerText = "鍏枃鏉冮檺锛�";
-                    this.IsBusinessManager.SelectedValue = m_OA_Staff.BF_Isbaoxiaojingli ? "True" : "False";
+                    this.IsBusinessManager.SelectedValue = m_OA_Staff.BF_IsGongwen.HasValue&&m_OA_Staff.BF_IsGongwen.Value ? "True" : "False";
                 }
-
+                else if (type.ToInt32() == 8)
+                {
+                    this.types.InnerText = "甯哥敤璧勬枡鏉冮檺锛�";
+                    this.IsBusinessManager.SelectedValue = m_OA_Staff.BF_IsChangyongziliao.HasValue&& m_OA_Staff.BF_IsChangyongziliao.Value ? "True" : "False";
+                }
 
             }
                  
@@ -153,6 +157,10 @@
                 {
                     m_OA_Staff.BF_IsGongwen = this.IsBusinessManager.SelectedValue.ToBoolean2();
                 }
+                else if (type.ToInt32() == 8)
+                {
+                    m_OA_Staff.BF_IsChangyongziliao = this.IsBusinessManager.SelectedValue.ToBoolean2();
+                }
 
 
 

--
Gitblit v1.9.1