Exemple #1
0
 private void OpenUC(DataTable dt)
 {
     if (dt.TableName == DataSources.EnumReminderType.YYDZ.ToString())
     {
         //预约到站提醒
         UCReserveOrderQuery ucForm = new UCReserveOrderQuery(dt);
         string tag = "UCReserveOrderQuery_self|UCReserveOrderQuery_001|UCReserveOrderQuery_02";
         UCBase.AddUserControl(ucForm, "预约到站提醒", "UCReserveOrderQuery", tag, "");
         return;
     }
     if (dt.TableName == DataSources.EnumReminderType.DPG.ToString())
     {
         //待派工提醒
         RepairQueryManager ucForm = new RepairQueryManager();
         string             tag    = "RepairQueryManager_self|RepairQueryManager_001|RepairQueryManager_002";
         UCBase.AddUserControl(ucForm, "待派工提醒", "RepairQueryManager", tag, "");
         return;
     }
     if (dt.TableName == DataSources.EnumReminderType.SBFWDBH.ToString())
     {
         //三包服务驳回提醒
         RepairQueryManager ucForm = new RepairQueryManager();
         string             tag    = "UCReserveOrderQuery_self";
         UCBase.AddUserControl(ucForm, "三包服务驳回提醒", "UCReserveOrderQuery", tag, this.Name);
         return;
     }
 }
Exemple #2
0
 private void OpenUC(DataTable dt)
 {
     if (dt.TableName == DataSources.EnumReminderType.YYDZ.ToString())
     {
         if (LocalCache.HasFunction("CL_RepairBusiness_Reserve_UCReserveOrderQuery"))
         {
             //预约到站提醒
             UCReserveOrderQuery ucForm = new UCReserveOrderQuery(dt);
             string tag = "CL_RepairBusiness_Reserve_UCReserveOrderQuery_Reminder|CL_RepairBusiness_Reserve_Reminder|CL_RepairBusiness_Reserve_UCReserveOrderQuery_Reminder";
             UCBase.AddUserControl(ucForm, "预约到站提醒", "CL_RepairBusiness_Reserve_UCReserveOrderQuery_Reminder", tag, "");
         }
         return;
     }
     if (dt.TableName == DataSources.EnumReminderType.DPG.ToString())
     {
         if (LocalCache.HasFunction("CL_RepairBusiness_RepairQuery"))
         {
             //待派工提醒
             RepairQueryManager ucForm = new RepairQueryManager(dt);
             string             tag    = "CL_RepairBusiness_RepairQuery_Reminder|CL_RepairBusiness_Reserve_Reminder|CL_RepairBusiness_RepairQuery_Reminder";
             UCBase.AddUserControl(ucForm, "待派工提醒", "CL_RepairBusiness_RepairQuery_Reminder", tag, "");
         }
         return;
     }
     if (dt.TableName == DataSources.EnumReminderType.SBFWDBH.ToString())
     {
         if (LocalCache.HasFunction("CL_RepairBusiness__MaintainThreeGuarantyQuery"))
         {
             //三包服务驳回提醒
             RepairQueryManager ucForm = new RepairQueryManager();
             string             tag    = "CL_RepairBusiness__MaintainThreeGuarantyQuery_Reminder|CL_RepairBusiness_YuTongThreeGuaranty|CL_RepairBusiness__MaintainThreeGuarantyQuery_Reminder";
             UCBase.AddUserControl(ucForm, "三包服务驳回提醒", "CL_RepairBusiness__MaintainThreeGuarantyQuery_Reminder", tag, "");
         }
         return;
     }
 }