市长热线演示版

workordershow.aspx 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="workordershow.aspx.cs"
  2. Inherits="HySoft.BaseCallCenter.Web.workordermanage.workorder.workordershow" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head id="Head1" runat="server">
  6. <title>工单查看</title>
  7. <link href="../../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  8. <script src="../../scripts/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  9. <script src="../../scripts/ui/json2.js" type="text/javascript"></script>
  10. <script src="../../scripts/ui/js/core/base.js" type="text/javascript"></script>
  11. <script src="../../scripts/ui/js/ligerui.min.js" type="text/javascript"></script>
  12. <link href="../../scripts/ui/skins/Tab/css/tab.css" rel="stylesheet" type="text/css" />
  13. <link href="../../scripts/ui/skins/Tab/css/grid.css" rel="stylesheet" type="text/css" />
  14. <script src="../../scripts/ui/js/plugins/ligerGrid.js" type="text/javascript"></script>
  15. <script src="../../scripts/ui/js/plugins/ligerLayout.js" type="text/javascript"></script>
  16. <script src="../../scripts/ui/js/plugins/ligerTree.js" type="text/javascript"></script>
  17. <script src="../../scripts/ui/js/plugins/ligerMenu.js" type="text/javascript"></script>
  18. <link href="../../scripts/ui/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />
  19. <link href="../../images/style.css" rel="stylesheet" type="text/css" />
  20. <script src="../../scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
  21. <script type="text/javascript">
  22. $(function () {
  23. try {
  24. var w = $("#form1").width();
  25. var h = $("#form1").height() - 150;
  26. $("#divBaseInfo").ligerPanel({
  27. title: '客户基本信息',
  28. height: 125,
  29. width: w
  30. });
  31. $("#divWorkOrderBase").ligerPanel({
  32. title: '工单基本信息',
  33. height: 125,
  34. width: w
  35. });
  36. InitOrderFlow();
  37. }
  38. catch (e) {
  39. //alert(e.Message);
  40. }
  41. });
  42. function InitOrderFlow() {
  43. var w = $("#form1").width();
  44. var fcount = parseInt(document.getElementById("hfFlowCount").value);
  45. for (var i = 0; i < fcount; i++) {
  46. var divflow = "#divOrderFlow" + i.toString();
  47. var flowtitle = document.getElementById("hfFlowTitle" + i.toString()).value;
  48. var flowheight = parseInt(document.getElementById("hfFlowHeight" + i.toString()).value);
  49. $(divflow).ligerPanel({
  50. title: flowtitle,
  51. height: flowheight,
  52. width: w
  53. });
  54. }
  55. }
  56. function PrePage() {
  57. parent.$.ligerDialog.close();
  58. var id = getQueryString("id");
  59. parent.NextWorkOrderId(id, "pre");
  60. }
  61. function NextPage() {
  62. parent.$.ligerDialog.close();
  63. var id = getQueryString("id");
  64. parent.NextWorkOrderId(id, "next");
  65. }
  66. function getQueryString(name) {
  67. var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
  68. var r = window.location.search.substr(1).match(reg);
  69. if (r != null) return unescape(r[2]); return null;
  70. }
  71. function openFileList(hisid) {
  72. $.ligerDialog.open({ url: '../workorder/downloadfiles.aspx?hisid=' + hisid, width: 500 });
  73. }
  74. </script>
  75. </head>
  76. <body style="overflow: scroll; overflow-x: hidden;">
  77. <form id="form1" runat="server">
  78. <%--处理流程数量--%>
  79. <asp:HiddenField ID="hfFlowCount" Value="0" runat="server"></asp:HiddenField>
  80. <div id="divBaseInfo">
  81. <table class="form_table" style="width: 100%;">
  82. <colgroup>
  83. <col width="100" />
  84. <col />
  85. <col width="100" />
  86. <col />
  87. <col width="100" />
  88. <col />
  89. </colgroup>
  90. <tr style="height:25px;">
  91. <th style="height:25px; padding:0px 8px 0px 0px;">
  92. 客户名称:
  93. </th>
  94. <td style="height:25px; padding:2px 0px 0px 8px;">
  95. <asp:TextBox ID="txtCustomerName" runat="server" CssClass="txtInput normal" ReadOnly="true"
  96. Style="width: 120px;"></asp:TextBox>
  97. </td>
  98. <th style="height:25px; padding:0px 8px 0px 0px;">
  99. 客户编号:
  100. </th>
  101. <td style="height:25px; padding:2px 0px 0px 8px;">
  102. <asp:TextBox ID="txtCustomerCode" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  103. ReadOnly="true"></asp:TextBox>
  104. </td>
  105. <th style="height:25px; padding:0px 8px 0px 0px;">
  106. 所属省市:
  107. </th>
  108. <td style="height:25px; padding:2px 0px 0px 8px;">
  109. <asp:TextBox ID="txtProvince" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  110. ReadOnly="true"></asp:TextBox>
  111. </td>
  112. </tr>
  113. <%--<tr style="height:25px;">
  114. <th style="height:25px; padding:0px 8px 0px 0px;">
  115. 客户名称:
  116. </th>
  117. <td style="height:25px; padding:2px 0px 0px 8px;">
  118. <asp:TextBox ID="txtCustomerName" runat="server" CssClass="txtInput normal" ReadOnly="true"
  119. Style="width: 120px;"></asp:TextBox>
  120. </td>
  121. <th style="height:25px; padding:0px 8px 0px 0px;">
  122. 客户属性:
  123. </th>
  124. <td style="height:25px; padding:2px 0px 0px 8px;">
  125. <asp:TextBox ID="txtCustomerNature" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  126. ReadOnly="true"></asp:TextBox>
  127. </td>
  128. <th style="height:25px; padding:0px 8px 0px 0px;">
  129. 客户编号:
  130. </th>
  131. <td style="height:25px; padding:2px 0px 0px 8px;">
  132. <asp:TextBox ID="txtCustomerCode" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  133. ReadOnly="true"></asp:TextBox>
  134. </td>
  135. </tr>
  136. <tr style="height:25px;">
  137. <th style="height:25px; padding:0px 8px 0px 0px;">
  138. 所属部门:
  139. </th>
  140. <td style="height:25px; padding:2px 0px 0px 8px;">
  141. <asp:TextBox ID="txtServiceDept" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  142. ReadOnly="true"></asp:TextBox>
  143. </td>
  144. <th style="height:25px; padding:0px 8px 0px 0px;">
  145. 客户等级:
  146. </th>
  147. <td style="height:25px; padding:2px 0px 0px 8px;">
  148. <asp:TextBox ID="txtCustomerClass" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  149. ReadOnly="true"></asp:TextBox>
  150. </td>
  151. <th style="height:25px; padding:0px 8px 0px 0px;">
  152. 投诉负责人:
  153. </th>
  154. <td style="height:25px; padding:2px 0px 0px 8px;">
  155. <asp:TextBox ID="txtAfterSaleName" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  156. ReadOnly="true"></asp:TextBox>
  157. </td>
  158. </tr>
  159. <tr style="height:25px;">
  160. <th style="height:25px; padding:0px 8px 0px 0px;">
  161. 维保时间:
  162. </th>
  163. <td style="height:25px; padding:2px 0px 0px 8px;">
  164. <asp:TextBox ID="txtQualityGuaranteeEndTime" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  165. ReadOnly="true"></asp:TextBox>
  166. </td>
  167. <th style="height:25px; padding:0px 8px 0px 0px;">
  168. 所属省市:
  169. </th>
  170. <td style="height:25px; padding:2px 0px 0px 8px;">
  171. <asp:TextBox ID="txtProvince" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  172. ReadOnly="true"></asp:TextBox>
  173. </td>
  174. <th style="height:25px; padding:0px 8px 0px 0px;">
  175. 系统类型:
  176. </th>
  177. <td style="height:25px; padding:2px 0px 0px 8px;">
  178. <asp:TextBox ID="txtSystemType" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  179. ReadOnly="true"></asp:TextBox>
  180. </td>
  181. </tr>--%>
  182. </table>
  183. </div>
  184. <div id="divWorkOrderBase">
  185. <table class="form_table" style="width: 100%;">
  186. <colgroup>
  187. <col width="100" />
  188. <col />
  189. <col width="100" />
  190. <col />
  191. <col width="100" />
  192. <col />
  193. </colgroup>
  194. <tr style="height:25px;">
  195. <th style="height:25px; padding:0px 8px 0px 0px;">
  196. 工单编号:
  197. </th>
  198. <td style="height:25px; padding:2px 0px 0px 8px;">
  199. <asp:TextBox ID="txtWorkOrderNum" runat="server" CssClass="txtInput normal" ReadOnly="true"
  200. Style="width: 120px;"></asp:TextBox>
  201. </td>
  202. <th style="height:25px; padding:0px 8px 0px 0px;">
  203. 来电类型:
  204. </th>
  205. <td style="height:25px; padding:2px 0px 0px 8px;">
  206. <asp:TextBox ID="txtCallInType" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  207. ReadOnly="true"></asp:TextBox>
  208. </td>
  209. <th style="height:25px; padding:0px 8px 0px 0px;">
  210. 创建时间:
  211. </th>
  212. <td style="height:25px; padding:2px 0px 0px 8px;">
  213. <asp:TextBox ID="txtCreateTime" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  214. ReadOnly="true"></asp:TextBox>
  215. </td>
  216. </tr>
  217. <tr style="height:25px;">
  218. <th style="height:25px; padding:0px 8px 0px 0px;">
  219. 工单状态:
  220. </th>
  221. <td style="height:25px; padding:2px 0px 0px 8px;">
  222. <asp:TextBox ID="txtWorkOrderState" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  223. ReadOnly="true"></asp:TextBox>
  224. </td>
  225. <%--<th style="height:25px; padding:0px 8px 0px 0px;">
  226. 投诉级别:
  227. </th>
  228. <td style="height:25px; padding:2px 0px 0px 8px;">
  229. <asp:TextBox ID="txtWorkOrderClass" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  230. ReadOnly="true"></asp:TextBox>
  231. </td>--%>
  232. <th style="height:25px; padding:0px 8px 0px 0px;">
  233. 投诉类型:
  234. </th>
  235. <td style="height:25px; padding:2px 0px 0px 8px;">
  236. <asp:TextBox ID="txtWorkOrderType" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  237. ReadOnly="true"></asp:TextBox>
  238. </td>
  239. <th style="height:25px; padding:0px 8px 0px 0px;">
  240. 制单人:
  241. </th>
  242. <td style="height:25px; padding:2px 0px 0px 8px;">
  243. <asp:TextBox ID="txtCreateName" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  244. ReadOnly="true"></asp:TextBox>
  245. </td>
  246. </tr>
  247. <tr style="height:25px;">
  248. <th style="height:25px; padding:0px 8px 0px 0px;">
  249. 来电人:
  250. </th>
  251. <td style="height:25px; padding:2px 0px 0px 8px;">
  252. <asp:TextBox ID="txtCallInName" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  253. ReadOnly="true"></asp:TextBox>
  254. </td>
  255. <th style="height:25px; padding:0px 8px 0px 0px;">
  256. 来电人电话:
  257. </th>
  258. <td style="height:25px; padding:2px 0px 0px 8px;">
  259. <asp:TextBox ID="txtCallInPhone" runat="server" CssClass="txtInput normal" Style="width: 120px;"
  260. ReadOnly="true"></asp:TextBox>
  261. </td>
  262. </tr>
  263. </table>
  264. </div>
  265. <%=html%>
  266. <div class="foot_btn_box">
  267. <asp:Button ID="btnPerPage" runat="server" Text="上&nbsp;一&nbsp;条" CssClass="btnSubmit"
  268. OnClientClick="PrePage();"/>&nbsp;
  269. <asp:Button ID="btnNextPage" runat="server" Text="下&nbsp;一&nbsp;条" CssClass="btnSubmit"
  270. OnClientClick="NextPage();" />
  271. </div>
  272. </form>
  273. </body>
  274. </html>