| | |
| | | private DateTime? _lastupdatetime; |
| | | private string _operator; |
| | | |
| | | public string BF_IsGongwen {get;set;} |
| | | |
| | | /// <summary> |
| | | /// 主键--标识ID |
| | | /// </summary> |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// BF_IsGongwen |
| | | /// </summary> |
| | | public bool? BF_IsGongwen |
| | | { |
| | | get; |
| | | |
| | | set; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 所在部门 |
| | | /// </summary> |
| | | public int? DepartmentId |
| | |
| | | this.BF_Isbaoxiaojingli = isChange ? MyConvert.ConvertToBoolean(value) : BF_Isbaoxiaojingli; |
| | | theValue = this.BF_Isbaoxiaojingli; |
| | | } |
| | | else if ("BF_IsGongwen".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 69) |
| | | { |
| | | this.BF_IsGongwen = isChange ? MyConvert.ConvertToBoolean(value) : BF_IsGongwen; |
| | | theValue = this.BF_IsGongwen; |
| | | } |
| | | return theValue; |
| | | } |
| | | |
| | |
| | | new SqlParameter("@BF_IsDriver", trueModel.BF_IsDriver) , |
| | | new SqlParameter("@BF_Isbaoxiaojingli", trueModel.BF_Isbaoxiaojingli) , |
| | | new SqlParameter("@BF_IsBaoxiaozhuguan", trueModel.BF_IsBaoxiaozhuguan) , |
| | | new SqlParameter("@BF_IsGongwen", trueModel.BF_IsGongwen.HasValue?trueModel.BF_IsGongwen.Value:false) , |
| | | }; |
| | | try |
| | | { |
| | |
| | | new SqlParameter("@BF_IsDriver", trueModel.BF_IsDriver) , |
| | | new SqlParameter("@BF_Isbaoxiaojingli", trueModel.BF_Isbaoxiaojingli) , |
| | | new SqlParameter("@BF_IsBaoxiaozhuguan", trueModel.BF_IsBaoxiaozhuguan) , |
| | | new SqlParameter("@BF_IsGongwen", trueModel.BF_IsGongwen.HasValue?trueModel.BF_IsGongwen.Value:false) , |
| | | }; |
| | | try |
| | | { |
| | |
| | | { |
| | | _inquiryCommonModel = SerializationHelper.DeSerialize(typeof(InquiryCommonModel), _eC_OrderPrintParameter.PrintParameter) as InquiryCommonModel; |
| | | } |
| | | var ssss = /*_inquiryCommonModel.PrintDemand +*/ _inquiryCommonModel.AfterWorksDemand.Replace("封面后道:", "").Replace("内页后道:", ""); |
| | | var ssss = ""; |
| | | if (!string.IsNullOrEmpty(_inquiryCommonModel.AfterWorksDemand)) |
| | | { |
| | | ssss = /*_inquiryCommonModel.PrintDemand +*/ _inquiryCommonModel.AfterWorksDemand.Replace("封面后道:", "").Replace("内页后道:", ""); |
| | | } |
| | | if(_eC_OrderBasic.PrintTypeId == -1) |
| | | { |
| | | ssss = _inquiryCommonModel.PrintDemand; |
| | |
| | | <th> |
| | | 报销经理 |
| | | </th> |
| | | |
| | | <th> |
| | | 公文权限 |
| | | </th> |
| | | <th> |
| | | 操作 |
| | | </th> |
| | |
| | | <span onclick="CompledWork('<%#Eval("Keyid")%>',6)"> |
| | | <%#bool.Parse(Eval("BF_Isbaoxiaojingli").ToString()) ? "√" : "×"%></span> |
| | | </td> |
| | | <td class="Operate" > |
| | | <span onclick="CompledWork('<%#Eval("Keyid")%>',7)"> |
| | | <%#bool.Parse(Eval("BF_IsGongwen").ToString()) ? "√" : "×"%></span> |
| | | </td> |
| | | |
| | | <td class="Operate"> |
| | | <span menu_member_case_id="case_ViewThings" menu_member_case_name="物品领取记录" onclick="ViewModel('<%#Eval("MemberId")%>')">物品领取记录</span> |
| | |
| | | this.types.InnerText = "报销经理:"; |
| | | this.IsBusinessManager.SelectedValue = m_OA_Staff.BF_Isbaoxiaojingli ? "True" : "False"; |
| | | } |
| | | else if (type.ToInt32() == 7) |
| | | { |
| | | this.types.InnerText = "公文权限:"; |
| | | this.IsBusinessManager.SelectedValue = m_OA_Staff.BF_Isbaoxiaojingli ? "True" : "False"; |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | |
| | | { |
| | | m_OA_Staff.BF_Isbaoxiaojingli = this.IsBusinessManager.SelectedValue.ToBoolean2(); |
| | | } |
| | | else if (type.ToInt32() == 7) |
| | | { |
| | | m_OA_Staff.BF_IsGongwen = this.IsBusinessManager.SelectedValue.ToBoolean2(); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | <%#Eval("DM_PrintStatus").ToString() == "1" ? "未打印" : "已打印"%> |
| | | </td> |
| | | <td class="Operate " style="text-align: center"> |
| | | <span menu_member_case_id="case_OnDetail" menu_member_case_name="查看" onclick="onEdit('<%#Eval("Keyid")%>')">查看</span> <span menu_member_case_id="case_OnUpdate" menu_member_case_name="修改" onclick="editModel('<%#Eval("Keyid")%>')">修改</span> <span menu_member_case_id="case_OnDele" menu_member_case_name="删除" onclick="onDele('<%#Eval("Keyid")%>')">删除</span> |
| | | <span menu_member_case_id="case_OnDetail" menu_member_case_name="查看" onclick="onEdit('<%#Eval("Keyid")%>')">查看</span> <span menu_member_case_id="case_OnUpdate" menu_member_case_name="修改" <%#Eval("BF_IsGongwen") %> onclick="editModel('<%#Eval("Keyid")%>')">修改</span> <span menu_member_case_id="case_OnDele" menu_member_case_name="删除" <%#Eval("BF_IsGongwen") %> onclick="onDele('<%#Eval("Keyid")%>')">删除</span> |
| | | |
| | | <span menu_member_case_id="case_Juesequanxian" menu_member_case_name="查看角色权限" onclick="Juesequanxian('<%#Eval("Keyid")%>')">查看角色权限</span> |
| | | <span menu_member_case_id="case_Juesequanxian" menu_member_case_name="查看角色权限" <%#Eval("BF_IsGongwen") %> onclick="Juesequanxian('<%#Eval("Keyid")%>')">查看角色权限</span> |
| | | |
| | | |
| | | |
| | |
| | | { |
| | | OA_DocumentBLL bll_OA_DocumentBLL = null; |
| | | OA_DocumentDicBLL bll_OA_DocumentDicBLL = null; |
| | | OA_StaffBLL bll_OA_StaffBLL = null; |
| | | |
| | | //初始化 |
| | | public OA_DocumentList() |
| | | { |
| | | bll_OA_DocumentBLL = new OA_DocumentBLL(); |
| | | bll_OA_DocumentDicBLL = new OA_DocumentDicBLL(); |
| | | bll_OA_StaffBLL = new OA_StaffBLL(); |
| | | } |
| | | |
| | | //页面加载 |
| | |
| | | Pagination pa = new Pagination(); |
| | | pa.PageSize = UCPager1.AspNetPager.PageSize; |
| | | pa.PageIndex = UCPager1.AspNetPager.CurrentPageIndex; |
| | | this.RepClientList.DataSource = bll_OA_DocumentBLL.SelectModelPage(pa, CurrentUser.MemberId, this.txtDM_PromulgatedDateStart.Value.ToDateTime2(), this.txtDM_PromulgatedDateEnd.Value.ToDateTime2(), this.DM_Status.Value.ToInt32(), this.DM_PostingSector.Value.ToInt32(), "", "", this.DM_DocumentType.Value, this.DM_DocumentNumber.Value, this.DM_Title.Value, "", "", "", null, null, null, null, null, null, null, null, null, ""); |
| | | var oA_Documents = bll_OA_DocumentBLL.SelectModelPage(pa, CurrentUser.MemberId, this.txtDM_PromulgatedDateStart.Value.ToDateTime2(), this.txtDM_PromulgatedDateEnd.Value.ToDateTime2(), this.DM_Status.Value.ToInt32(), this.DM_PostingSector.Value.ToInt32(), "", "", this.DM_DocumentType.Value, this.DM_DocumentNumber.Value, this.DM_Title.Value, "", "", "", null, null, null, null, null, null, null, null, null, ""); |
| | | var oA_Staff = bll_OA_StaffBLL.GetModelByKeyid(CurrentUser.StaffId); |
| | | foreach (var oA_Document in oA_Documents) |
| | | { |
| | | if (oA_Staff != null) |
| | | { |
| | | if (oA_Staff.BF_IsGongwen.HasValue && oA_Staff.BF_IsGongwen.Value == true) |
| | | { |
| | | oA_Document.BF_IsGongwen = ""; |
| | | } |
| | | else |
| | | { |
| | | oA_Document.BF_IsGongwen = "style=\"display:none;\""; |
| | | } |
| | | } |
| | | } |
| | | |
| | | this.RepClientList.DataSource = oA_Documents; |
| | | this.RepClientList.DataBind(); |
| | | UCPager1.AspNetPager.RecordCount = pa.RecordCount; |
| | | } |