Ver Código Fonte

点击外呼增加 备注 和 用户反馈,通话状态

yuqian 8 anos atrás
pai
commit
198300c45a

+ 27 - 0
HyBaseCallCenter/BaseCallCenter.DAL/T_Call_TaskTelNum.cs

@@ -781,6 +781,33 @@ namespace HySoft.BaseCallCenter.DAL
781 781
                 {
782 782
                     model.F_AskRes = ds.Tables[0].Rows[0]["F_AskRes"].ToString();
783 783
                 }
784
+                if (ds.Tables[0].Rows[0]["F_YHFKID"] != DBNull.Value && ds.Tables[0].Rows[0]["F_YHFKID"].ToString() != "")
785
+                {
786
+                    model.F_YHFKId = Convert.ToInt32(ds.Tables[0].Rows[0]["F_YHFKId"].ToString());
787
+                }
788
+                else
789
+                {
790
+                    model.F_YHFKId = 0;
791
+
792
+                }
793
+                if (ds.Tables[0].Rows[0]["F_HJJGId"] != DBNull.Value && ds.Tables[0].Rows[0]["F_HJJGId"].ToString() != "")
794
+                {
795
+                    model.F_HJJGId = Convert.ToInt32(ds.Tables[0].Rows[0]["F_HJJGId"].ToString());
796
+                }
797
+                else
798
+                {
799
+                    model.F_HJJGId = 0;
800
+
801
+                }
802
+                if (ds.Tables[0].Rows[0]["F_Remark"] != DBNull.Value && ds.Tables[0].Rows[0]["F_Remark"].ToString() != "")
803
+                {
804
+                    model.F_Remark = ds.Tables[0].Rows[0]["F_Remark"].ToString();
805
+                }
806
+                else
807
+                {
808
+                    model.F_Remark = "";
809
+
810
+                }
784 811
                 return model;
785 812
             }
786 813
             else

+ 18 - 0
HyBaseCallCenter/BaseCallCenter.Model/T_Call_TaskTelNum.cs

@@ -67,6 +67,9 @@ namespace HySoft.BaseCallCenter.Model
67 67
         private string _f_askinfo;
68 68
         private string _f_askres;
69 69
         private string _taskname;
70
+        private int? _f_yhfkid;
71
+        private int? _f_hjjgid;
72
+        private string _f_remark;
70 73
         /// <summary>
71 74
         /// 计划名称
72 75
         /// </summary>
@@ -491,6 +494,21 @@ namespace HySoft.BaseCallCenter.Model
491 494
             set { _expandsintfield5 = value; }
492 495
             get { return _expandsintfield5; }
493 496
         }
497
+        public int? F_YHFKId
498
+        {
499
+            set { _f_yhfkid = value; }
500
+            get { return _f_yhfkid; }
501
+        }
502
+        public int? F_HJJGId
503
+        {
504
+            set { _f_hjjgid = value; }
505
+            get { return _f_yhfkid; }
506
+        }
507
+        public string F_Remark
508
+        {
509
+            set { _f_remark = value; }
510
+            get { return _f_remark; }
511
+        }
494 512
         #endregion Model
495 513
 
496 514
     }

+ 1 - 1
HyBaseCallCenter/BaseCallCenter.Web/calloutmanage/callout.aspx

@@ -750,7 +750,7 @@
750 750
                         <td valign="middle" style="width: 61px; padding-left: 3px;">
751 751
                             <img src="../images/phone.png" />
752 752
                         </td>
753
-                        <td valign="middle" style="width: 300px;">
753
+                        <td valign="middle" style="width: 400px;">
754 754
                             <label id="txtWaiHuDian" runat="server" style="font-size: 20px; color: Red;">
755 755
                                 0000--郑州
756 756
                            

+ 110 - 112
HyBaseCallCenter/BaseCallCenter.Web/calloutmanage/calloutoptshow.aspx

@@ -28,6 +28,7 @@
28 28
             if (id != "0") {
29 29
                 document.getElementById("rdHJJGList_" + id).checked = true;
30 30
             }
31
+            document.getElementById('txtarea').value = document.getElementById('txtRemark').value;
31 32
         });
32 33
         function GetCallState() {
33 34
             var pstate = parent.CallOutRes();
@@ -112,125 +113,122 @@
112 113
 </head>
113 114
 <body>
114 115
     <form id="form1" runat="server">
115
-    <table id="tableMessage" cellpadding="3" cellspacing="3" border="0" style="width: 100%;">
116
-        <tr>
117
-            <td id="tdLeft" valign="top" style="padding: 0px 2px 5px 2px;">
118
-                <div class="tools_box" style="height: 30px;">
119
-                    <div class="tools_bar">
120
-                        <div style="float: left; padding-top: 6px; padding-left: 1px; font-weight: bold;
121
-                            color: red;">
122
-                            <img src="../images/phone.png" style="height: 19px; width: 20px" />&nbsp;电话信息</div>
123
-                    </div>
124
-                </div>
125
-                <table id="table1" cellpadding="0" cellspacing="0" style="width: 100%; background-color: White;
126
-                    border: 1px solid #D6D6D6;">
127
-                    <tr>
128
-                        <td valign="top">
129
-                            <div id="divFieldList" runat="server" style="width: 100%;">
116
+        <table id="tableMessage" cellpadding="3" cellspacing="3" border="0" style="width: 100%;">
117
+            <tr>
118
+                <td id="tdLeft" valign="top" style="padding: 0px 2px 5px 2px;">
119
+                    <div class="tools_box" style="height: 30px;">
120
+                        <div class="tools_bar">
121
+                            <div style="float: left; padding-top: 6px; padding-left: 1px; font-weight: bold; color: red;">
122
+                                <img src="../images/phone.png" style="height: 19px; width: 20px" />&nbsp;电话信息
130 123
                             </div>
131
-                        </td>
132
-                    </tr>
133
-                </table>
134
-            </td>
135
-        </tr>
136
-        <tr>
137
-            <td id="td1" valign="top" style="padding: 0px 2px 5px 2px;">
138
-                <div class="tools_box" style="height: 30px;">
139
-                    <div class="tools_bar">
140
-                        <div style="float: left; padding-top: 6px; padding-left: 1px; font-weight: bold;
141
-                            color: red;">
142
-                            <img src="../images/phone.png" style="height: 19px; width: 20px" />&nbsp;呼叫结果</div>
124
+                        </div>
143 125
                     </div>
144
-                </div>
145
-                <table id="table2" cellpadding="0" cellspacing="0" style="width: 100%; background-color: White;
146
-                    border: 1px solid #D6D6D6;">
147
-                    <tr>
148
-                        <td valign="top">
149
-                            <div id="divHJJGList" runat="server" style="width: 100%;">
126
+                    <table id="table1" cellpadding="0" cellspacing="0" style="width: 100%; background-color: White; border: 1px solid #D6D6D6;">
127
+                        <tr>
128
+                            <td valign="top">
129
+                                <div id="divFieldList" runat="server" style="width: 100%;">
130
+                                </div>
131
+                            </td>
132
+                        </tr>
133
+                    </table>
134
+                </td>
135
+            </tr>
136
+            <tr>
137
+                <td id="td1" valign="top" style="padding: 0px 2px 5px 2px;">
138
+                    <div class="tools_box" style="height: 30px;">
139
+                        <div class="tools_bar">
140
+                            <div style="float: left; padding-top: 6px; padding-left: 1px; font-weight: bold; color: red;">
141
+                                <img src="../images/phone.png" style="height: 19px; width: 20px" />&nbsp;呼叫结果
150 142
                             </div>
151
-                        </td>
152
-                    </tr>
153
-                </table>
154
-            </td>
155
-        </tr>
156
-        <tr>
157
-            <td id="td1" valign="top" style="padding: 0px 2px 5px 2px;">
158
-                <div class="tools_box" style="height: 30px;">
159
-                    <div class="tools_bar">
160
-                        <div style="float: left; padding-top: 6px; padding-left: 1px; font-weight: bold;
161
-                            color: red;">
162
-                            <img src="../images/phone.png" style="height: 19px; width: 20px" />&nbsp;用户反馈</div>
143
+                        </div>
163 144
                     </div>
164
-                </div>
165
-                <table id="table2" cellpadding="0" cellspacing="0" style="width: 100%; background-color: White;
166
-                    border: 1px solid #D6D6D6;">
167
-                    <tr>
168
-                        <td valign="top">
169
-                            <div id="divYHFKList" runat="server" style="width: 100%;">
145
+                    <table id="table2" cellpadding="0" cellspacing="0" style="width: 100%; background-color: White; border: 1px solid #D6D6D6;">
146
+                        <tr>
147
+                            <td valign="top">
148
+                                <div id="divHJJGList" runat="server" style="width: 100%;">
149
+                                </div>
150
+                            </td>
151
+                        </tr>
152
+                    </table>
153
+                </td>
154
+            </tr>
155
+            <tr>
156
+                <td id="td1" valign="top" style="padding: 0px 2px 5px 2px;">
157
+                    <div class="tools_box" style="height: 30px;">
158
+                        <div class="tools_bar">
159
+                            <div style="float: left; padding-top: 6px; padding-left: 1px; font-weight: bold; color: red;">
160
+                                <img src="../images/phone.png" style="height: 19px; width: 20px" />&nbsp;用户反馈
170 161
                             </div>
171
-                        </td>
172
-                    </tr>
173
-                </table>
174
-            </td>
175
-        </tr>
176
-        <tr>
177
-            <td valign="top" style="padding: 0px 2px 5px 2px;">
178
-                <div class="tools_box" style="height: 30px;">
179
-                    <div class="tools_bar">
180
-                        <div style="float: left; padding-top: 6px; padding-left: 1px; font-weight: bold;
181
-                            color: red;">
182
-                            <img src="../images/ico-show-txt.png" />&nbsp;&nbsp;问卷信息</div>
162
+                        </div>
183 163
                     </div>
184
-                </div>
185
-                <table id="tableTree" cellpadding="0" cellspacing="0" style="width: 100%; background-color: White;
186
-                    border: 1px solid #D6D6D6;">
187
-                    <tr>
188
-                        <td valign="top">
189
-                            <asp:HiddenField ID="txtId" runat="server" Value="" />
190
-                            <asp:HiddenField ID="txtTaskId" runat="server" Value="" />
191
-                            <asp:HiddenField ID="txtPhone" runat="server" Value="" />
192
-                            <asp:HiddenField ID="txtPagerId" runat="server" Value="" />
193
-                            <asp:HiddenField ID="txtUserId" runat="server" Value="0" />
194
-                            <asp:HiddenField ID="txtcallstate" runat="server" Value="0" />
195
-                            <asp:HiddenField ID="txtHJJGId" runat="server" Value="0" />
196
-                            <asp:HiddenField ID="txtHJJGName" runat="server" Value="" />
197
-                            <asp:HiddenField ID="txtYHFKId" runat="server" Value="0" />
198
-                            <asp:HiddenField ID="txtYHFKName" runat="server" Value="" />
199
-                            <table class="form_table">
200
-                                <col width="100px" />
201
-                                <col />
202
-                                <tbody>
203
-                                    <tr>
204
-                                        <th style="border-right: 1px dotted #cccccc;">
205
-                                            <span>问卷名称:</span>
206
-                                        </th>
207
-                                        <td>
208
-                                            <span id="spanTitle" runat="server"></span>
209
-                                        </td>
210
-                                    </tr>
211
-                                    <tr>
212
-                                        <th style="border-top: 1px dotted #cccccc; border-right: 1px dotted #cccccc;">
213
-                                            <span>问卷说明:</span>
214
-                                        </th>
215
-                                        <td style="border-top: 1px dotted #cccccc;">
216
-                                            <span id="spanRemark" runat="server"></span>
217
-                                        </td>
218
-                                    </tr>
219
-                                </tbody>
220
-                            </table>
221
-                            <div id="divDataItems" runat="server" style="width: 100%">
164
+                    <table id="table2" cellpadding="0" cellspacing="0" style="width: 100%; background-color: White; border: 1px solid #D6D6D6;">
165
+                        <tr>
166
+                            <td valign="top">
167
+                                <div id="divYHFKList" runat="server" style="width: 100%;">
168
+                                </div>
169
+                            </td>
170
+                        </tr>
171
+                    </table>
172
+                </td>
173
+            </tr>
174
+            <tr>
175
+                <td valign="top" style="padding: 0px 2px 5px 2px;">
176
+                    <div class="tools_box" style="height: 30px;">
177
+                        <div class="tools_bar">
178
+                            <div style="float: left; padding-top: 6px; padding-left: 1px; font-weight: bold; color: red;">
179
+                                <img src="../images/ico-show-txt.png" />&nbsp;&nbsp;问卷信息
222 180
                             </div>
223
-                        </td>
224
-                    </tr>
225
-                </table>
226
-            </td>
227
-        </tr>
228
-        <tr>
229
-        <td align="center" style="height:50px;">
230
-        </td>
231
-        </tr>
232
-    </table>
233
-    <br />
181
+                        </div>
182
+                    </div>
183
+                    <table id="tableTree" cellpadding="0" cellspacing="0" style="width: 100%; background-color: White; border: 1px solid #D6D6D6;">
184
+                        <tr>
185
+                            <td valign="top">
186
+                                <asp:HiddenField ID="txtId" runat="server" Value="" />
187
+                                <asp:HiddenField ID="txtTaskId" runat="server" Value="" />
188
+                                <asp:HiddenField ID="txtPhone" runat="server" Value="" />
189
+                                <asp:HiddenField ID="txtPagerId" runat="server" Value="" />
190
+                                <asp:HiddenField ID="txtUserId" runat="server" Value="0" />
191
+                                <asp:HiddenField ID="txtcallstate" runat="server" Value="0" />
192
+                                <asp:HiddenField ID="txtHJJGId" runat="server" Value="0" />
193
+                                <asp:HiddenField ID="txtHJJGName" runat="server" Value="" />
194
+                                <asp:HiddenField ID="txtYHFKId" runat="server" Value="0" />
195
+                                <asp:HiddenField ID="txtYHFKName" runat="server" Value="" />
196
+                                <asp:HiddenField ID="txtRemark" runat="server" Value="" />
197
+
198
+                                <table class="form_table">
199
+                                    <col width="100px" />
200
+                                    <col />
201
+                                    <tbody>
202
+                                        <tr>
203
+                                            <th style="border-right: 1px dotted #cccccc;">
204
+                                                <span>问卷名称:</span>
205
+                                            </th>
206
+                                            <td>
207
+                                                <span id="spanTitle" runat="server"></span>
208
+                                            </td>
209
+                                        </tr>
210
+                                        <tr>
211
+                                            <th style="border-top: 1px dotted #cccccc; border-right: 1px dotted #cccccc;">
212
+                                                <span>问卷说明:</span>
213
+                                            </th>
214
+                                            <td style="border-top: 1px dotted #cccccc;">
215
+                                                <span id="spanRemark" runat="server"></span>
216
+                                            </td>
217
+                                        </tr>
218
+                                    </tbody>
219
+                                </table>
220
+                                <div id="divDataItems" runat="server" style="width: 100%">
221
+                                </div>
222
+                            </td>
223
+                        </tr>
224
+                    </table>
225
+                </td>
226
+            </tr>
227
+            <tr>
228
+                <td align="center" style="height: 50px;"></td>
229
+            </tr>
230
+        </table>
231
+        <br />
234 232
     </form>
235 233
 </body>
236 234
 </html>

Diferenças do arquivo suprimidas por serem muito extensas
+ 20 - 13
HyBaseCallCenter/BaseCallCenter.Web/calloutmanage/calloutoptshow.aspx.cs


+ 9 - 0
HyBaseCallCenter/BaseCallCenter.Web/calloutmanage/calloutoptshow.aspx.designer.cs

@@ -148,6 +148,15 @@ namespace HySoft.BaseCallCenter.Web.calloutmanage {
148 148
         protected global::System.Web.UI.WebControls.HiddenField txtYHFKName;
149 149
         
150 150
         /// <summary>
151
+        /// txtRemark 控件。
152
+        /// </summary>
153
+        /// <remarks>
154
+        /// 自动生成的字段。
155
+        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
156
+        /// </remarks>
157
+        protected global::System.Web.UI.WebControls.HiddenField txtRemark;
158
+        
159
+        /// <summary>
151 160
         /// spanTitle 控件。
152 161
         /// </summary>
153 162
         /// <remarks>

+ 1 - 1
HyBaseCallCenter/BaseCallCenter.Web/default.aspx

@@ -910,7 +910,7 @@
910 910
                                         </span>
911 911
                                     </div>
912 912
                                 </td>
913
-                                 <td align="center">
913
+                                <td align="center">
914 914
                                     <div id="autocallplan">
915 915
                                     </div>
916 916
                                 </td>

+ 1 - 1
HyBaseCallCenter/BaseCallCenter.Web/images/login.css

@@ -12,7 +12,7 @@ p {
12 12
 	background: url("../images/login_img.gif") no-repeat center; margin: 0px auto; width: 980px; height: 440px; position: relative;
13 13
 }
14 14
 #main .box p {
15
-	background: url("../images/cmlogo2.png") no-repeat; top:0px; width: 435px; height: 70px; margin-top: -70px; position: absolute;
15
+	background: url("../images/logo.gif"); top:0px; width: 435px; height: 37px; margin-top: -52px; position: absolute;
16 16
 }
17 17
 #main .box .foot {
18 18
 	width: 980px; height: 30px; text-align: right; bottom: 0px; color: rgb(255, 255, 255); line-height: 30px; font-family: "Arial"; font-size: 12px; margin-bottom: -30px; position: absolute;

+ 1 - 1
HyBaseCallCenter/BaseCallCenter.Web/images/style.css

@@ -50,7 +50,7 @@ img.spec_photo{ border:1px solid #ccc; height:20px; vertical-align:middle; width
50 50
 /*管理首页样式
51 51
 ===============================================*/
52 52
 .layout{ background:url(head_bg_line.gif) repeat-x left top #e5edef; }
53
-.logo{ display:block; width:240px; height:50px; background:url(cmlogo1.png) no-repeat; text-indent:-9999px; }
53
+.logo{ display:block; width:233px; height:50px; background:url(head_logo.png) no-repeat; text-indent:-9999px; }
54 54
 .header{ background:url(head_bg.gif) repeat-x left bottom; color:#E8E8E8; font-family:Verdana, Geneva, sans-serif; }
55 55
 .header a{ color:#E8E8E8; text-decoration:none; }
56 56
 .header a:hover{ color:#FF0; text-decoration:none; }