zhoufan 7 年 前
コミット
f9b6d2ecdb

+ 218 - 209
代码/Code/HBSMayorHotline/Web/WebSite/PeopleNewsInfo.aspx

@@ -1,17 +1,17 @@
1
-<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PeopleNewsInfo.aspx.cs" Inherits="WebSite_PeopleNewsInfo" %>
1
+<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PeopleNewsInfo.aspx.cs" Inherits="WebSite_PeopleNewsInfo" %>
2 2
 
3 3
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/DTD/xhtml1-transitional.dtd">
4 4
 
5
-<%@ Register src="_controls/LeftList.ascx" tagname="LeftList" tagprefix="uc1" %>
6
-<%@ Register src="_controls/Top.ascx" tagname="Top" tagprefix="uc2" %>
7
-<%@ Register src="_controls/Bottom.ascx" tagname="Bottom" tagprefix="uc3" %>
8
-<%@ Register src="_controls/ShowLink.ascx" tagname="ShowLink" tagprefix="uc4" %>
5
+<%@ Register Src="_controls/LeftList.ascx" TagName="LeftList" TagPrefix="uc1" %>
6
+<%@ Register Src="_controls/Top.ascx" TagName="Top" TagPrefix="uc2" %>
7
+<%@ Register Src="_controls/Bottom.ascx" TagName="Bottom" TagPrefix="uc3" %>
8
+<%@ Register Src="_controls/ShowLink.ascx" TagName="ShowLink" TagPrefix="uc4" %>
9 9
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/DTD/xhtml1-transitional.dtd">
10 10
 
11 11
 <html xmlns="http://www.w3.org/1999/xhtml">
12 12
 <head id="Head1" runat="server">
13
-     <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
14
-    <title>鹤�市12345市长热线</title>
13
+    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
14
+    <title>º×±ÚÊÐ12345Êг¤ÈÈÏß</title>
15 15
     <link href="css/style.css" rel="stylesheet" type="text/css" />
16 16
     <link href="css/list.css" rel="stylesheet" type="text/css" />
17 17
     <script language="javascript" type="text/javascript">
@@ -21,214 +21,223 @@
21 21
             }
22 22
         }
23 23
     </script>
24
-    <style type="text/css"> 
25
-a { 
26
-color: #c75f3e; 
27
-} 
28
-
29
-#mytable { 
30
-width: 700px; 
31
-padding: 0; 
32
-margin: 0; 
33
-} 
34
-
35
-caption { 
36
-padding: 0 0 5px 0; 
37
-width: 700px; 
38
-font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
39
-text-align: right; 
40
-} 
41
-th { 
42
-
43
-color: #4f6b72; 
44
-border-right: 1px solid #C1DAD7; 
45
-border-bottom: 1px solid #C1DAD7; 
46
-border-top: 1px solid #C1DAD7; 
47
-letter-spacing: 2px; 
48
-text-transform: uppercase; 
49
-text-align: left; 
50
-padding: 6px 6px 6px 12px; 
51
-background: #CAE8EA  no-repeat; 
52
-} 
53
-
54
-th.nobg { 
55
-border-top: 0; 
56
-border-left: 0; 
57
-border-right: 1px solid #C1DAD7; 
58
-background: none; 
59
-} 
60
-td { 
61
-border-right: 1px solid #C1DAD7; 
62
-border-bottom: 1px solid #C1DAD7; 
63
-
64
-
65
-padding: 3px 6px 3px 12px; 
66
- 
67
-} 
68
-
69
-th.spec { 
70
-border-left: 1px solid #C1DAD7; 
71
-border-top: 0; 
72
-background: #fff no-repeat; 
73
-
74
-} 
75
-
76
-th.specalt { 
77
-border-left: 1px solid #C1DAD7; 
78
-border-top: 0; 
79
-background: #f5fafa no-repeat; 
80
-font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
81
-color: #797268; 
82
-} 
83
-</style>
24
+    <style type="text/css">
25
+        a {
26
+            color: #c75f3e;
27
+        }
28
+
29
+        #mytable {
30
+            width: 700px;
31
+            padding: 0;
32
+            margin: 0;
33
+        }
34
+
35
+        caption {
36
+            padding: 0 0 5px 0;
37
+            width: 700px;
38
+            font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
39
+            text-align: right;
40
+        }
41
+
42
+        th {
43
+            color: #4f6b72;
44
+            border-right: 1px solid #C1DAD7;
45
+            border-bottom: 1px solid #C1DAD7;
46
+            border-top: 1px solid #C1DAD7;
47
+            letter-spacing: 2px;
48
+            text-transform: uppercase;
49
+            text-align: left;
50
+            padding: 6px 6px 6px 12px;
51
+            background: #CAE8EA no-repeat;
52
+        }
53
+
54
+            th.nobg {
55
+                border-top: 0;
56
+                border-left: 0;
57
+                border-right: 1px solid #C1DAD7;
58
+                background: none;
59
+            }
60
+
61
+        td {
62
+            border-right: 1px solid #C1DAD7;
63
+            border-bottom: 1px solid #C1DAD7;
64
+            padding: 3px 6px 3px 12px;
65
+        }
66
+
67
+        th.spec {
68
+            border-left: 1px solid #C1DAD7;
69
+            border-top: 0;
70
+            background: #fff no-repeat;
71
+        }
72
+
73
+        th.specalt {
74
+            border-left: 1px solid #C1DAD7;
75
+            border-top: 0;
76
+            background: #f5fafa no-repeat;
77
+            font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
78
+            color: #797268;
79
+        }
80
+    </style>
84 81
 </head>
85 82
 <body>
86 83
     <form id="form1" runat="server">
87
-    <uc2:Top ID="Top1" runat="server" />
88
-<div class="hb_list">
89
-<div class="hb_left">
90
-<div class="hbb_left">
91
-    <div class="dl_jl">
92
-        <uc1:LeftList ID="LeftList1" runat="server" />
93
-    </div>
94
-   
95
-  </div>
96
-  
97
-  <div class="dlk_left">
98
-    <div class="dl_jl"></div>
99
-    <div class="hdjl">&nbsp;&nbsp;投诉查询</div>
100
-	<div class="xxzt"><div class="ztwz">信�主题:</div><input type="text" class="ztk" /></div>
101
-	<div class="xxzt"><div class="ztwz">信�内容:</div><input type="text" class="ztk" /></div>
102
-	<div class="xck">
103
-      <input type="button" value="" class="dlk2" onclick="javascript:location.href='WorkSearch.aspx'"/>
104
-    </div>
105
-  </div>
106
-  <div class="link_right">
107
-  <div class="wsdc"> �情链接</div>
108
-  <div class="ljdh">连接导航:</div>
109
-  <div class="xlk">
110
-  
111
-      <uc4:ShowLink ID="ShowLink1" runat="server" />
112
-  
113
-  </div>
114
-  </div>
115
-  </div>
116
-<div class="hb_right">
117
-<div class="home">当��置:首页&gt;��查询&gt;��详情
118
-    </div>
119
-<div class="list_tb">
120
-    <div class="list_tbb">
121
-      <div class="list_gz">��详情</div>
122
-      
123
-    </div>
124
-    <div class="listbiao">
125
-<table border=1 cellPadding=0 cellSpacing=0 bordercolor="#111111" 
126
-            style="border-collapse: collapse; height: 394px; width: 761px;" class="word">
127
-                    <tbody>
128
-                      <tr>
129
-                        <td width="15%" height="25" noWrap  bgcolor="#E1F0F7" align="center">��编�</td>
130
-                        <td width="35%"><asp:Label ID="lblWorkOrderId" runat="server" Text=""></asp:Label>
131
-                          </td>
132
-                        <td width="15%" noWrap bgcolor="#E1F0F7" align="center">办�情况</td>
133
-                        <td width="35%"><asp:Label ID="lblWorkState" runat="server" Text=""></asp:Label>
134
-                          </td>
135
-                      </tr>
136
-                      <tr>
137
-                        <td noWrap height="25" bgcolor="#E1F0F7" align="center">�映类别</td>
138
-                        <td colSpan=3>
139
-                       
84
+        <uc2:Top ID="Top1" runat="server" />
85
+        <div class="hb_list">
86
+            <div class="hb_left">
87
+                <div class="hbb_left">
88
+                    <div class="dl_jl">
89
+                        <uc1:LeftList ID="LeftList1" runat="server" />
90
+                    </div>
91
+
92
+                </div>
93
+
94
+                <div class="dlk_left">
95
+                    <div class="dl_jl"></div>
96
+                    <div class="hdjl">&nbsp;&nbsp;ͶËß²éѯ</div>
97
+                    <div class="xxzt">
98
+                        <div class="ztwz">ÐÅÏ¢Ö÷Ì⣺</div>
99
+                        <input type="text" class="ztk" /></div>
100
+                    <div class="xxzt">
101
+                        <div class="ztwz">ÐÅÏ¢ÄÚÈÝ£º</div>
102
+                        <input type="text" class="ztk" /></div>
103
+                    <div class="xck">
104
+                        <input type="button" value="" class="dlk2" onclick="javascript: location.href = 'WorkSearch.aspx'" />
105
+                    </div>
106
+                </div>
107
+                <div class="link_right">
108
+                    <div class="wsdc">ÓÑÇéÁ´½Ó</div>
109
+                    <div class="ljdh">Á¬½Óµ¼º½£º</div>
110
+                    <div class="xlk">
111
+
112
+                        <uc4:ShowLink ID="ShowLink1" runat="server" />
113
+
114
+                    </div>
115
+                </div>
116
+            </div>
117
+            <div class="hb_right">
118
+                <div class="home">
119
+                    µ±Ç°Î»ÖãºÊ×Ò³&gt;ÊÜÀí²éѯ&gt;ÊÜÀíÏêÇé
120
+                </div>
121
+                <div class="list_tb">
122
+                    <div class="list_tbb">
123
+                        <div class="list_gz">ÊÜÀíÏêÇé</div>
124
+
125
+                    </div>
126
+                    <div class="listbiao">
127
+                        <table border="1" cellpadding="0" cellspacing="0" bordercolor="#111111"
128
+                            style="border-collapse: collapse; height: 394px; width: 761px;" class="word">
129
+                            <tbody>
130
+                                <tr>
131
+                                    <td width="15%" height="25" nowrap bgcolor="#E1F0F7" align="center">ÊÜÀí±àºÅ</td>
132
+                                    <td width="35%">
133
+                                        <asp:Label ID="lblWorkOrderId" runat="server" Text=""></asp:Label>
134
+                                    </td>
135
+                                    <td width="15%" nowrap bgcolor="#E1F0F7" align="center">°ìÀíÇé¿ö</td>
136
+                                    <td width="35%">
137
+                                        <asp:Label ID="lblWorkState" runat="server" Text=""></asp:Label>
138
+                                    </td>
139
+                                </tr>
140
+                                <tr>
141
+                                    <td nowrap height="25" bgcolor="#E1F0F7" align="center">·´Ó³Àà±ð</td>
142
+                                    <td colspan="3">
143
+
140 144
                                         <asp:Label ID="lblType" runat="server" Text=""></asp:Label>
141
-                        </td>
142
-                      </tr>
143
-                      <tr>
144
-                        <td height="25" noWrap bgcolor="#E1F0F7" align="center">��时间</td>
145
-                        <td><asp:Label ID="lblAcceptTime" runat="server" Text=""></asp:Label>
146
-                          </td>
147
-                        <td noWrap bgcolor="#E1F0F7" align="center">�馈时间</td>
148
-                        <td><asp:Label ID="lblBackTime" runat="server" Text=""></asp:Label>
149
-                          </td>
150
-                      </tr>
151
-                      <tr>
152
-                        <td noWrap height="25" bgcolor="#E1F0F7" align="center">信�主题</td>
153
-                        <td colSpan=3><asp:Label ID="lblTitle" runat="server" 
154
-                                Text=""></asp:Label>
155
-                          </td>
156
-                      </tr>
157
-                      <tr>
158
-                        <td noWrap bgcolor="#E1F0F7" align="center">情况摘�</td>
159
-                        <td colSpan=3 style="WORD-BREAK: break-all; WORD-WRAP: break-word" height="120">
160
-                          
161
-                          
162
-                          
163
-                         
164
-                            <asp:Label ID="lblContent" runat="server" Text=""></asp:Label>
165
-                          
166
-                          
167
-                        </td>
168
-                      </tr>
169
-                      <tr>
170
-                        <td noWrap height="25" bgcolor="#E1F0F7" align="center">交办��</td>
171
-                        <td colSpan=3><asp:Label 
172
-                                ID="lblOption" runat="server" Text=""></asp:Label>
173
-                          </td>
174
-                      </tr>
175
-                      <tr>
176
-                        <td height=25 noWrap bgcolor="#E1F0F7" align="center">承办��</td>
177
-                        <td colSpan=3><asp:Label ID="lblDeptMent" runat="server" Text=""></asp:Label>
178
-                          </td>
179
-                      </tr>
180
-                      <tr>
181
-                        <td noWrap bgcolor="#E1F0F7" align="center">处�结果</td>
182
-                        <td style="WORD-BREAK: break-all; WORD-WRAP: break-word" colSpan=3 height="120">
183
-                          <asp:Label 
184
-                                ID="lblResult" runat="server" Text=""></asp:Label>
185
-                            <br>
186
-                          
187
-                        </td>
188
-                      </tr>
189
-                      
190
-                    </tbody>
191
-                  </table>
192
-    <div class="list_tbb">
193
-      <div class="list_gz">相关信�</div>
194
-      <asp:Repeater ID="rptItems" runat="server">
195
-       <HeaderTemplate>
196
-        <table id="mytable1" cellspacing="0" cellpadding="0" width="100%">
197
-        <tr> 
198
-        <th scope="col" style=" width:40%">信�主题</th>
199
-        <th scope="col" style=" width:12%">�馈类别</th> 
200
-        <th scope="col" style=" width:12%">办�情况</th>
201
-        <th scope="col" style=" width:23%">��时间</th>
202
-        <th scope="col">点击次数</th>
203
-        </tr>
204
-        
205
-       </HeaderTemplate>
206
-         <ItemTemplate>
207
-         <tr>
208
-          <td   class="row" valign="middle"><a href='PeopleNewsInfo.aspx?WorkOrderId=<%#Eval("F_WorkOrderId") %>'><%#Eval("F_Title") %></a> </td>
209
-          <td class="row" valign="middle"><%#Eval("F_Value") %></td>
210
-          <td class="row" valign="middle"><%#GetItem(Eval("F_WorkState"))%></td>
211
-          <td class="row" valign="middle"><%#Eval("F_AcceptTime")%></td>
212
-          <td class="row" valign="middle"><%#Eval("F_ViewCount") %></td>
213
-          </tr>
214
-         </ItemTemplate>
215
-         <FooterTemplate>
216
-      </table>
217
-      </FooterTemplate>
218
-      </asp:Repeater>
219
-    </div>
220
-    
145
+                                    </td>
146
+                                </tr>
147
+                                <tr>
148
+                                    <td height="25" nowrap bgcolor="#E1F0F7" align="center">ÊÜÀíʱ¼ä</td>
149
+                                    <td>
150
+                                        <asp:Label ID="lblAcceptTime" runat="server" Text=""></asp:Label>
151
+                                    </td>
152
+                                    <td nowrap bgcolor="#E1F0F7" align="center">·´À¡Ê±¼ä</td>
153
+                                    <td>
154
+                                        <asp:Label ID="lblBackTime" runat="server" Text=""></asp:Label>
155
+                                    </td>
156
+                                </tr>
157
+                                <tr>
158
+                                    <td nowrap height="25" bgcolor="#E1F0F7" align="center">ÐÅÏ¢Ö÷Ìâ</td>
159
+                                    <td colspan="3">
160
+                                        <asp:Label ID="lblTitle" runat="server"
161
+                                            Text=""></asp:Label>
162
+                                    </td>
163
+                                </tr>
164
+                                <tr>
165
+                                    <td nowrap bgcolor="#E1F0F7" align="center">Çé¿öÕªÒª</td>
166
+                                    <td colspan="3" style="word-break: break-all; word-wrap: break-word" height="120">
167
+
168
+
169
+
170
+
171
+                                        <asp:Label ID="lblContent" runat="server" Text=""></asp:Label>
172
+
173
+
174
+                                    </td>
175
+                                </tr>
176
+                                <tr>
177
+                                    <td nowrap height="25" bgcolor="#E1F0F7" align="center">½»°ìÒâ¼û</td>
178
+                                    <td colspan="3">
179
+                                        <asp:Label
180
+                                            ID="lblOption" runat="server" Text=""></asp:Label>
181
+                                    </td>
182
+                                </tr>
183
+                                <tr>
184
+                                    <td height="25" nowrap bgcolor="#E1F0F7" align="center">³Ð°ìµ¥Î»</td>
185
+                                    <td colspan="3">
186
+                                        <asp:Label ID="lblDeptMent" runat="server" Text=""></asp:Label>
187
+                                    </td>
188
+                                </tr>
189
+                                <tr>
190
+                                    <td nowrap bgcolor="#E1F0F7" align="center">´¦Àí½á¹û</td>
191
+                                    <td style="word-break: break-all; word-wrap: break-word" colspan="3" height="120">
192
+                                        <asp:Label
193
+                                            ID="lblResult" runat="server" Text=""></asp:Label>
194
+                                        <br>
195
+                                    </td>
196
+                                </tr>
197
+
198
+                            </tbody>
199
+                        </table>
200
+                        <div class="list_tbb">
201
+                            <div class="list_gz">Ïà¹ØÐÅÏ¢</div>
202
+                            <asp:Repeater ID="rptItems" runat="server">
203
+                                <HeaderTemplate>
204
+                                    <table id="mytable1" cellspacing="0" cellpadding="0" width="100%">
205
+                                        <tr>
206
+                                            <th scope="col" style="width: 40%">ÐÅÏ¢Ö÷Ìâ</th>
207
+                                            <th scope="col" style="width: 12%">·´À¡Àà±ð</th>
208
+                                            <th scope="col" style="width: 12%">°ìÀíÇé¿ö</th>
209
+                                            <th scope="col" style="width: 23%">ÊÜÀíʱ¼ä</th>
210
+                                            <th scope="col">µã»÷´ÎÊý</th>
211
+                                        </tr>
212
+                                </HeaderTemplate>
213
+                                <ItemTemplate>
214
+                                    <tr>
215
+                                        <td class="row" valign="middle"><a href='PeopleNewsInfo.aspx?WorkOrderId=<%#Eval("F_WorkOrderId") %>'><%#Eval("F_Title") %></a> </td>
216
+                                        <td class="row" valign="middle"><%#Eval("F_Value") %></td>
217
+                                        <td class="row" valign="middle"><%#GetItem(Eval("F_WorkState"))%></td>
218
+                                        <td class="row" valign="middle"><%#Eval("F_AcceptTime")%></td>
219
+                                        <td class="row" valign="middle"><%#Eval("F_ViewCount") %></td>
220
+                                    </tr>
221
+                                </ItemTemplate>
222
+                                <FooterTemplate>
223
+                                    </table>
224
+                                </FooterTemplate>
225
+                            </asp:Repeater>
226
+                        </div>
227
+
228
+                    </div>
229
+                </div>
230
+                <div align="center">
231
+                    <a href="javascript:history.go(-1);">
232
+                        <img src="../_images/submit_back.gif" border="0">
233
+                    </a>
234
+                </div>
235
+            </div>
236
+
221 237
         </div>
222
-  </div>
223
-  <div align="center" ><a href="javascript:history.go(-1);">
224
-		   			  							<img src="../_images/submit_back.gif" border="0">
225
-		   			  					  </a> </div>
226
-</div>
227
-    
228
-</div>
229 238
 
230
-    <uc3:Bottom ID="Bottom1" runat="server" />
239
+        <uc3:Bottom ID="Bottom1" runat="server" />
231 240
 
232 241
     </form>
233 242
 </body>
234
-</html>
243
+</html>

+ 14 - 5
代码/Code/HBSMayorHotline/Web/WebSite/PeopleNewsInfo.aspx.cs

@@ -13,13 +13,22 @@ public partial class WebSite_PeopleNewsInfo : System.Web.UI.Page
13 13
     {
14 14
         if (!this.IsPostBack)
15 15
         {
16
-            if (Request["WorkOrderId"] != null)
16
+            if (Request["WorkOrderId"] != null && Request["Password"] != null)
17 17
             {
18 18
                 string wid = Request["WorkOrderId"].ToString();
19
-                this.bind(wid);
20
-                Dictionary<string, string> paras = new Dictionary<string, string>();
21
-                paras.Add("@wid", wid);
22
-                DbHelperSQL.ExecuteSql("update T_Web_WorkRelease set F_ViewCount=F_ViewCount+1 where F_WorkOrderId=@wid", paras);
19
+                string pwd = Request["Password"].ToString();
20
+                Dictionary<String, String> paras = new Dictionary<string, string>();
21
+                paras.Add("@WorkOrderId", wid);
22
+                paras.Add("@Password", pwd);
23
+                object obj = SZRX.DBUtility.DbHelperSQL.GetSingle("select count(1) from T_Web_WorkAccountSearch where F_WorkOrderId=@WorkOrderId and F_SearchPassword=@Password", paras);
24
+
25
+                if (Int32.Parse(obj.ToString()) > 0)
26
+                {
27
+                    this.bind(wid);
28
+                    Dictionary<string, string> paras1 = new Dictionary<string, string>();
29
+                    paras1.Add("@wid", wid);
30
+                    DbHelperSQL.ExecuteSql("update T_Web_WorkRelease set F_ViewCount=F_ViewCount+1 where F_WorkOrderId=@wid", paras1);
31
+                }
23 32
             }
24 33
         }
25 34
     }

+ 181 - 169
代码/Code/HBSMayorHotline/Web/WebSite/WorkSearch.aspx

@@ -1,85 +1,89 @@
1 1
 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="WorkSearch.aspx.cs" Inherits="WebSite_WorkSearch" %>
2
+
2 3
 <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
3
-<%@ Register src="_controls/LeftList.ascx" tagname="LeftList" tagprefix="uc1" %>
4
-<%@ Register src="_controls/Top.ascx" tagname="Top" tagprefix="uc2" %>
5
-<%@ Register src="_controls/Bottom.ascx" tagname="Bottom" tagprefix="uc3" %>
6
-<%@ Register src="_controls/ShowLink.ascx" tagname="ShowLink" tagprefix="uc4" %>
4
+<%@ Register Src="_controls/LeftList.ascx" TagName="LeftList" TagPrefix="uc1" %>
5
+<%@ Register Src="_controls/Top.ascx" TagName="Top" TagPrefix="uc2" %>
6
+<%@ Register Src="_controls/Bottom.ascx" TagName="Bottom" TagPrefix="uc3" %>
7
+<%@ Register Src="_controls/ShowLink.ascx" TagName="ShowLink" TagPrefix="uc4" %>
7 8
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8 9
 
9 10
 <html xmlns="http://www.w3.org/1999/xhtml">
10 11
 <head runat="server">
11
-     <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
12
+    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
12 13
     <title>鹤壁市12345市长热线</title>
13 14
     <link href="css/style.css" rel="stylesheet" type="text/css" />
14 15
     <link href="css/list.css" rel="stylesheet" type="text/css" />
15 16
 
16 17
     <script src="../_common/scripts/calendar.js" type="text/javascript"></script>
17
-    
18
-    <style type="text/css"> 
19
-a { 
20
-color: #c75f3e; 
21
-} 
22
-
23
-#mytable { 
24
-width: 700px; 
25
-padding: 0; 
26
-margin: 0; 
27
-} 
28
-
29
-caption { 
30
-padding: 0 0 5px 0; 
31
-width: 700px; 
32
-font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
33
-text-align: right; 
34
-} 
35
-th { 
36
-font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
37
-color: #4f6b72; 
38
-border-right: 1px solid #C1DAD7; 
39
-border-bottom: 1px solid #C1DAD7; 
40
-border-top: 1px solid #C1DAD7; 
41
-letter-spacing: 2px; 
42
-text-transform: uppercase; 
43
-text-align: left; 
44
-padding: 6px 6px 6px 12px; 
45
-background: #CAE8EA  no-repeat; 
46
-} 
47
-
48
-th.nobg { 
49
-border-top: 0; 
50
-border-left: 0; 
51
-border-right: 1px solid #C1DAD7; 
52
-background: none; 
53
-} 
54
-td { 
55
-border-right: 1px solid #C1DAD7; 
56
-border-bottom: 1px solid #C1DAD7; 
57
-background: #fff; 
58
-font-size:11px; 
59
-padding: 3px 6px 3px 12px; 
60
-color: #4f6b72; 
61
-} 
62
-td.alt { 
63
-background: #F5FAFA; 
64
-color: #797268; 
65
-} 
66
-
67
-th.spec { 
68
-border-left: 1px solid #C1DAD7; 
69
-border-top: 0; 
70
-background: #fff no-repeat; 
71
-font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
72
-} 
73
-
74
-th.specalt { 
75
-border-left: 1px solid #C1DAD7; 
76
-border-top: 0; 
77
-background: #f5fafa no-repeat; 
78
-font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
79
-color: #797268; 
80
-} 
81
-</style> 
82
-    
18
+
19
+    <style type="text/css">
20
+        a {
21
+            color: #c75f3e;
22
+        }
23
+
24
+        #mytable {
25
+            width: 700px;
26
+            padding: 0;
27
+            margin: 0;
28
+        }
29
+
30
+        caption {
31
+            padding: 0 0 5px 0;
32
+            width: 700px;
33
+            font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
34
+            text-align: right;
35
+        }
36
+
37
+        th {
38
+            font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
39
+            color: #4f6b72;
40
+            border-right: 1px solid #C1DAD7;
41
+            border-bottom: 1px solid #C1DAD7;
42
+            border-top: 1px solid #C1DAD7;
43
+            letter-spacing: 2px;
44
+            text-transform: uppercase;
45
+            text-align: left;
46
+            padding: 6px 6px 6px 12px;
47
+            background: #CAE8EA no-repeat;
48
+        }
49
+
50
+            th.nobg {
51
+                border-top: 0;
52
+                border-left: 0;
53
+                border-right: 1px solid #C1DAD7;
54
+                background: none;
55
+            }
56
+
57
+        td {
58
+            border-right: 1px solid #C1DAD7;
59
+            border-bottom: 1px solid #C1DAD7;
60
+            background: #fff;
61
+            font-size: 11px;
62
+            padding: 3px 6px 3px 12px;
63
+            color: #4f6b72;
64
+        }
65
+
66
+            td.alt {
67
+                background: #F5FAFA;
68
+                color: #797268;
69
+            }
70
+
71
+        th.spec {
72
+            border-left: 1px solid #C1DAD7;
73
+            border-top: 0;
74
+            background: #fff no-repeat;
75
+            font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
76
+        }
77
+
78
+        th.specalt {
79
+            border-left: 1px solid #C1DAD7;
80
+            border-top: 0;
81
+            background: #f5fafa no-repeat;
82
+            font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
83
+            color: #797268;
84
+        }
85
+    </style>
86
+
83 87
     <script language="javascript" type="text/javascript">
84 88
         function Init() {
85 89
             pagination(1);
@@ -128,15 +132,15 @@ color: #797268;
128 132
 
129 133
             var res = WebSite_WorkSearch.GetWorkId(nmb.value, pwd.value).value;
130 134
             if (res != "") {
131
-                window.location.href = "PeopleNewsInfo.aspx?WorkOrderId=" + res;
135
+                window.location.href = "PeopleNewsInfo.aspx?WorkOrderId=" + nmb.value + "&Password=" + pwd.value;
132 136
             }
133 137
             else {
134 138
                 alert("受理号码或密码错误");
135
-             }
136
-             
137
-         }
138
-        
139
-        
139
+            }
140
+
141
+        }
142
+
143
+
140 144
     </script>
141 145
     <script language="javascript" type="text/javascript">
142 146
         function select(link) {
@@ -148,98 +152,106 @@ color: #797268;
148 152
 </head>
149 153
 <body onload="Init()">
150 154
     <form id="form1" runat="server">
151
-     <uc2:Top ID="Top1" runat="server" />
152
-<div class="hb_list">
153
-<div class="hb_left">
154
-<div class="hbb_left">
155
-    <div class="dl_jl">
156
-        <uc1:LeftList ID="LeftList1" runat="server" />
157
-    </div>
158
-   
159
-  </div>
160
-  
161
-  <div class="dlk_left">
162
-    <div class="dl_jl"></div>
163
-    <div class="hdjl">&nbsp;&nbsp;投诉查询</div>
164
-	<div class="xxzt"><div class="ztwz">信息主题:</div><input type="text" class="ztk" /></div>
165
-	<div class="xxzt"><div class="ztwz">信息内容:</div><input type="text" class="ztk" /></div>
166
-	<div class="xck">
167
-      <input type="button" value="" class="dlk2" onclick="javascript:location.href='WorkSearch.aspx'"/>
168
-    </div>
169
-  </div>
170
-  <div class="link_right">
171
-  <div class="wsdc"> 友情链接</div>
172
-  <div class="ljdh">连接导航:</div>
173
-  <div class="xlk">
174
-  
175
-      <uc4:ShowLink ID="ShowLink1" runat="server" />
176
-  
177
-  </div>
178
-  </div>
179
-  </div>
180
-<div class="hb_right">
181
-<div class="home">当前位置:首页&gt;受理查询
182
-    </div>
183
-<div class="list_tb">
184
-    <div class="listbiao">
185
-      <table id="mytable1" cellspacing="0" cellpadding="0" width="100%">
186
-        <tr> 
187
-          <th scope="col"  style="text-align:center; font-size:14px;">按密码查询</th> 
188
-        </tr>
189
-        <tr>
190
-          <td class="row" valign="middle">受理编号:&nbsp;&nbsp;<input id="txtNmb" type="text" width="100px" />&nbsp;&nbsp;&nbsp;查询密码:&nbsp;&nbsp;<input id="txtPwd" type="text" width="100px" />
191
-          &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
192
-           <button id="btnSerach"  width="50px" type="button" onclick="check()" value="查询">查询</button></td>
193
-        </tr>
194
-      </table>
195
-      <br />
196
-      <table id="Table1" cellspacing="0" cellpadding="0" width="100%" style="display:none;">
197
-        <tr> 
198
-          <th scope="col" colspan="4"  style="text-align:center; font-size:14px;">高级查询</th> 
199
-        </tr>
200
-        <tr>
201
-          <td class="row" valign="middle">开始时间:</td>
202
-          <td class="row" valign="middle"><input id="txtBegin" type="text" width="100px"  onfocus="calendar();"/></td>
203
-          <td class="row" valign="middle">结束时间:</td>
204
-          <td class="row" valign="middle"><input id="txtEnd" type="text" width="100px" onfocus="calendar();" /></td>
205
-        </tr>
206
-        <tr>
207
-         <td class="row" valign="middle">反映类别:</td>
208
-         <td class="row" valign="middle">
209
-         <asp:DropDownList id="drpSort" runat="server" Width="150px">
210
-          </asp:DropDownList>
211
-         </td>
212
-         <td class="row" valign="middle">办理进程:</td>
213
-         <td class="row" valign="middle">
214
-          <asp:DropDownList id="drpWorkState" runat="server" Width="150px">
215
-          </asp:DropDownList>
216
-         </td>
217
-        </tr>
218
-        <tr>
219
-          <td class="row" valign="middle">交办单位:</td>
220
-          <td class="row" valign="middle">
221
-           <asp:DropDownList id="drpDepartment" runat="server" Width="150px">
222
-          </asp:DropDownList>
223
-         </td>
224
-         <td colspan="2" style="text-align:center;"> <button type="button" id="btn" value="查询" onclick="Init();" width="50px">查询</button> </td>
225
-        </tr>
226
-      </table>
227
-      <br />
228
-      
229
-    </div>
230
-    
231
-    
232
-    <div id="divDataItems" class="listbiao" style="display:none;">
233
-      
234
-    </div>
235
-	
236
-  </div>
237
-</div>
238
-</div>
239
-
240
-
241
-
242
-     <uc3:Bottom ID="Bottom1" runat="server" />
155
+        <uc2:Top ID="Top1" runat="server" />
156
+        <div class="hb_list">
157
+            <div class="hb_left">
158
+                <div class="hbb_left">
159
+                    <div class="dl_jl">
160
+                        <uc1:LeftList ID="LeftList1" runat="server" />
161
+                    </div>
162
+
163
+                </div>
164
+
165
+                <div class="dlk_left">
166
+                    <div class="dl_jl"></div>
167
+                    <div class="hdjl">&nbsp;&nbsp;投诉查询</div>
168
+                    <div class="xxzt">
169
+                        <div class="ztwz">信息主题:</div>
170
+                        <input type="text" class="ztk" /></div>
171
+                    <div class="xxzt">
172
+                        <div class="ztwz">信息内容:</div>
173
+                        <input type="text" class="ztk" /></div>
174
+                    <div class="xck">
175
+                        <input type="button" value="" class="dlk2" onclick="javascript: location.href = 'WorkSearch.aspx'" />
176
+                    </div>
177
+                </div>
178
+                <div class="link_right">
179
+                    <div class="wsdc">友情链接</div>
180
+                    <div class="ljdh">连接导航:</div>
181
+                    <div class="xlk">
182
+
183
+                        <uc4:ShowLink ID="ShowLink1" runat="server" />
184
+
185
+                    </div>
186
+                </div>
187
+            </div>
188
+            <div class="hb_right">
189
+                <div class="home">
190
+                    当前位置:首页&gt;受理查询
191
+                </div>
192
+                <div class="list_tb">
193
+                    <div class="listbiao">
194
+                        <table id="mytable1" cellspacing="0" cellpadding="0" width="100%">
195
+                            <tr>
196
+                                <th scope="col" style="text-align: center; font-size: 14px;">按密码查询</th>
197
+                            </tr>
198
+                            <tr>
199
+                                <td class="row" valign="middle">受理编号:&nbsp;&nbsp;<input id="txtNmb" type="text" width="100px" />&nbsp;&nbsp;&nbsp;查询密码:&nbsp;&nbsp;<input id="txtPwd" type="text" width="100px" />
200
+                                    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
201
+           <button id="btnSerach" width="50px" type="button" onclick="check()" value="查询">查询</button></td>
202
+                            </tr>
203
+                        </table>
204
+                        <br />
205
+                        <table id="Table1" cellspacing="0" cellpadding="0" width="100%" style="display: none;">
206
+                            <tr>
207
+                                <th scope="col" colspan="4" style="text-align: center; font-size: 14px;">高级查询</th>
208
+                            </tr>
209
+                            <tr>
210
+                                <td class="row" valign="middle">开始时间:</td>
211
+                                <td class="row" valign="middle">
212
+                                    <input id="txtBegin" type="text" width="100px" onfocus="calendar();" /></td>
213
+                                <td class="row" valign="middle">结束时间:</td>
214
+                                <td class="row" valign="middle">
215
+                                    <input id="txtEnd" type="text" width="100px" onfocus="calendar();" /></td>
216
+                            </tr>
217
+                            <tr>
218
+                                <td class="row" valign="middle">反映类别:</td>
219
+                                <td class="row" valign="middle">
220
+                                    <asp:DropDownList ID="drpSort" runat="server" Width="150px">
221
+                                    </asp:DropDownList>
222
+                                </td>
223
+                                <td class="row" valign="middle">办理进程:</td>
224
+                                <td class="row" valign="middle">
225
+                                    <asp:DropDownList ID="drpWorkState" runat="server" Width="150px">
226
+                                    </asp:DropDownList>
227
+                                </td>
228
+                            </tr>
229
+                            <tr>
230
+                                <td class="row" valign="middle">交办单位:</td>
231
+                                <td class="row" valign="middle">
232
+                                    <asp:DropDownList ID="drpDepartment" runat="server" Width="150px">
233
+                                    </asp:DropDownList>
234
+                                </td>
235
+                                <td colspan="2" style="text-align: center;">
236
+                                    <button type="button" id="btn" value="查询" onclick="Init();" width="50px">查询</button>
237
+                                </td>
238
+                            </tr>
239
+                        </table>
240
+                        <br />
241
+
242
+                    </div>
243
+
244
+
245
+                    <div id="divDataItems" class="listbiao" style="display: none;">
246
+                    </div>
247
+
248
+                </div>
249
+            </div>
250
+        </div>
251
+
252
+
253
+
254
+        <uc3:Bottom ID="Bottom1" runat="server" />
243 255
 
244 256
 
245 257
 

+ 4 - 1
代码/Code/HBSMayorHotline/Web/WebSite/WorkSearch.aspx.cs

@@ -113,7 +113,10 @@ public partial class WebSite_WorkSearch : System.Web.UI.Page
113 113
     [AjaxPro.AjaxMethod(AjaxPro.HttpSessionStateRequirement.ReadWrite)]
114 114
     public string GetWorkId(string strid, string strpwd) 
115 115
     {
116
-        object obj = SZRX.DBUtility.DbHelperSQL.GetSingle("select F_WorkOrderId from T_Web_WorkAccountSearch where F_WorkOrderId='" + strid + "' and F_SearchPassword='" + strpwd + "'");
116
+        Dictionary<String, String> paras = new Dictionary<string, string>();
117
+        paras.Add("@WorkOrderId", strid);
118
+        paras.Add("@Password", strpwd);
119
+        object obj = SZRX.DBUtility.DbHelperSQL.GetSingle("select F_WorkOrderId from T_Web_WorkAccountSearch where F_WorkOrderId=@WorkOrderId and F_SearchPassword=@Password", paras);
117 120
         if (obj != null && obj.ToString() != "") 
118 121
         {
119 122
             return obj.ToString();