市长热线演示版

workordervipshow.aspx 12KB

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