Browse Source

热线整合

1550076451 3 years ago
parent
commit
8a8e0bb3fd

+ 1 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

13905
                 //int maindeptid = RequestString.GetInt("maindeptid", 0);
13905
                 //int maindeptid = RequestString.GetInt("maindeptid", 0);
13906
                 string  maindeptid = RequestString.GetFormString("maindeptid");
13906
                 string  maindeptid = RequestString.GetFormString("maindeptid");
13907
                 string otherdeptids = RequestString.GetFormString("otherdeptids");
13907
                 string otherdeptids = RequestString.GetFormString("otherdeptids");
13908
-                DateTime limittime = DateTime.Parse(RequestString.GetFormString("limittime") + " 23:59:59");
13908
+                DateTime limittime = DateTime.Parse(RequestString.GetFormString("limittime") );
13909
                 string assignedopinion = RequestString.GetFormString("assignedopinion");
13909
                 string assignedopinion = RequestString.GetFormString("assignedopinion");
13910
                 string files = RequestString.GetFormString("files");
13910
                 string files = RequestString.GetFormString("files");
13911
                 int state = RequestString.GetInt("state", 0);
13911
                 int state = RequestString.GetInt("state", 0);

+ 18 - 7
CallCenterCommon/CallCenter.Utility/NPOI/NPOIHelper.cs

792
                 sheet.AddMergedRegion(new CellRangeAddress(0, 0, 2, 5));
792
                 sheet.AddMergedRegion(new CellRangeAddress(0, 0, 2, 5));
793
 
793
 
794
                 ICell cell4 = irow1.CreateCell(6);
794
                 ICell cell4 = irow1.CreateCell(6);
795
-                cell4.SetCellValue("群众满意度");
795
+                cell4.SetCellValue("回访满意度");
796
                 cell4.CellStyle = cellStylebt;
796
                 cell4.CellStyle = cellStylebt;
797
                 sheet.AddMergedRegion(new CellRangeAddress(0, 2, 6, 6));
797
                 sheet.AddMergedRegion(new CellRangeAddress(0, 2, 6, 6));
798
 
798
 
801
                 cell5.CellStyle = cellStylebt;
801
                 cell5.CellStyle = cellStylebt;
802
                 sheet.AddMergedRegion(new CellRangeAddress(0, 2, 7, 7));
802
                 sheet.AddMergedRegion(new CellRangeAddress(0, 2, 7, 7));
803
 
803
 
804
-                ICell cell6 = irow1.CreateCell(8);
804
+                ICell cell8 = irow1.CreateCell(8);
805
+                cell8.SetCellValue("热线整合");
806
+                cell8.CellStyle = cellStylebt;
807
+                sheet.AddMergedRegion(new CellRangeAddress(0, 2, 8, 8));
808
+
809
+                ICell cell6 = irow1.CreateCell(9);
805
                 cell6.SetCellValue("加扣分项");
810
                 cell6.SetCellValue("加扣分项");
806
                 cell6.CellStyle = cellStylebt;
811
                 cell6.CellStyle = cellStylebt;
807
-                sheet.AddMergedRegion(new CellRangeAddress(0, 2, 8, 8));
812
+                sheet.AddMergedRegion(new CellRangeAddress(0, 2, 9, 9));
808
 
813
 
809
-                ICell cell7 = irow1.CreateCell(9);
814
+                ICell cell7 = irow1.CreateCell(10);
810
                 cell7.SetCellValue("总分");
815
                 cell7.SetCellValue("总分");
811
                 cell7.CellStyle = cellStylebt;
816
                 cell7.CellStyle = cellStylebt;
812
-                sheet.AddMergedRegion(new CellRangeAddress(0, 2, 9, 9));
817
+                sheet.AddMergedRegion(new CellRangeAddress(0, 2, 10, 10));
813
 
818
 
814
              
819
              
815
 
820
 
854
                         IRow irow4 = sheet.CreateRow(index);
859
                         IRow irow4 = sheet.CreateRow(index);
855
                         index++;
860
                         index++;
856
                         iCellIndex++;
861
                         iCellIndex++;
857
-                        for (int i = 0; i < 10; i++)
862
+                        for (int i = 0; i < 11; i++)
858
                         {
863
                         {
859
                             switch (i )
864
                             switch (i )
860
                             {
865
                             {
899
                                     cel7.CellStyle = cellStylebt1;
904
                                     cel7.CellStyle = cellStylebt1;
900
                                     break;
905
                                     break;
901
                                 case 8:
906
                                 case 8:
907
+                                    ICell cel10 = irow4.CreateCell(i);
908
+                                    cel10.SetCellValue(dr["F_Integration"].ToString());
909
+                                    cel10.CellStyle = cellStylebt1;
910
+                                    break;
911
+                                    
912
+                                case 9:
902
                                     ICell cel8= irow4.CreateCell(i);
913
                                     ICell cel8= irow4.CreateCell(i);
903
                                     cel8.SetCellValue(dr["F_Buckle"].ToString());
914
                                     cel8.SetCellValue(dr["F_Buckle"].ToString());
904
                                     cel8.CellStyle = cellStylebt1;
915
                                     cel8.CellStyle = cellStylebt1;
905
                                     break;
916
                                     break;
906
-                                case 9:
917
+                                case 10:
907
                                     ICell cel9 = irow4.CreateCell(i);
918
                                     ICell cel9 = irow4.CreateCell(i);
908
                                     cel9.SetCellValue(dr["F_Total"].ToString());
919
                                     cel9.SetCellValue(dr["F_Total"].ToString());
909
                                     cel9.CellStyle = cellStylebt1;
920
                                     cel9.CellStyle = cellStylebt1;