市长热线演示版

callinopt.aspx 34KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="callinopt.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.telmanage.callinopt" %>
  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. var gridlist;
  22. var treelist = null;
  23. var historylist;
  24. $(function () {
  25. $("#layout1").ligerLayout({
  26. leftWidth: 250
  27. });
  28. var w = $("#form1").width() - 260;
  29. historylist = $("#divHistoryForm").ligerPanel({
  30. title: '历史信息',
  31. height: 150,
  32. width: w
  33. });
  34. $("#divOrderForm").ligerPanel({
  35. title: '工单信息',
  36. height: 300,
  37. width: w
  38. });
  39. //加载历史
  40. LoadList();
  41. //InitList();
  42. $.ajax({
  43. type: 'get',
  44. url: '../telmanage/ajax/telrecords.ashx?action=insertCallLogs&serverip=&ctiusercode=',
  45. dataType: 'html',
  46. success: function (res) {
  47. InitList();
  48. }
  49. });
  50. });
  51. function SetTreeValue() {
  52. try {
  53. treelist.setValue(document.getElementById("hidSeriveDeptParentId").value);
  54. if (document.getElementById("hidSeriveDeptParentId").value == "" || document.getElementById("hidSeriveDeptParentId").value == "0") {
  55. treelist.setText("顶级部门");
  56. }
  57. }
  58. catch (e) {
  59. }
  60. }
  61. function InitList() {
  62. treelist = $("#drpServiceDept").ligerComboBox({
  63. width: 130,
  64. selectBoxWidth: 200,
  65. selectBoxHeight: 150, valueField: 'id', resize: false, treeLeafOnly: false,
  66. tree: {
  67. url: '../customermanage/ajax/customeredit.ashx?action=getservicedepttreelist',
  68. checkbox: false,
  69. height: 150,
  70. ajaxType: 'get',
  71. onSuccess: function (data) { SetTreeValue(); }
  72. },
  73. onSelected: function (newvalue) {
  74. $("#hiddSeriveDeptId").val(newvalue);
  75. }
  76. });
  77. $("#txtByDept").ligerComboBox({
  78. width: 130,
  79. selectBoxWidth: 200,
  80. selectBoxHeight: 150, valueField: 'id', resize: false, treeLeafOnly: false,
  81. tree: {
  82. url: '../customermanage/ajax/customeredit.ashx?action=getservicedepttreelist',
  83. checkbox: false,
  84. height: 150,
  85. ajaxType: 'get',
  86. onSuccess: function (data) { }
  87. }
  88. });
  89. $("#drpProvince").ligerComboBox({
  90. url: '../customermanage/ajax/customeredit.ashx?action=getregionlist',
  91. valueField: '_f_regionid',
  92. textField: '_f_regionname',
  93. autocomplete: true,
  94. onSelected: function (newvalue) {
  95. $("#hiddProvinceId").val(newvalue);
  96. $("#drpCity").ligerComboBox({
  97. url: '../customermanage/ajax/customeredit.ashx?action=getregionlist&regionpid=' + newvalue,
  98. valueField: '_f_regionid',
  99. textField: '_f_regionname', onSelected: function (newvalue) {
  100. $("#hiddCityId").val(newvalue);
  101. }
  102. });
  103. }
  104. });
  105. var cid = document.getElementById("hiddCityId").value;
  106. var sprovinceid = document.getElementById("hiddProvinceId").value;
  107. if (sprovinceid != "") {
  108. $("#drpCity").ligerComboBox({
  109. url: '../customermanage/ajax/customeredit.ashx?action=getregionlist&regionpid=' + sprovinceid,
  110. valueField: '_f_regionid',
  111. textField: '_f_regionname',
  112. isMultiSelect: false,
  113. isShowCheckBox: false,
  114. onSuccess: function (data) {
  115. if (cid != "") {
  116. liger.get("drpCity").setValue(cid);
  117. } else {
  118. liger.get("drpCity").setValue(data[0]._f_regionid);
  119. document.getElementById("hiddCityId").value = data[0]._f_regionid;
  120. }
  121. }, onSelected: function (newvalue) {
  122. $("#hiddCityId").val(newvalue);
  123. }
  124. });
  125. }
  126. else {
  127. $("#drpCity").ligerComboBox({
  128. data: null,
  129. valueField: '_f_regionid',
  130. textField: '_f_regionname',
  131. isMultiSelect: false,
  132. isShowCheckBox: false
  133. });
  134. }
  135. document.getElementById("hiddCityId").value = cid;
  136. BindData("txtTsType", "hiddTsType", "TSLX");
  137. //$("#txtByName").ligerComboBox({
  138. // url: '../customermanage/ajax/customeredit.ashx?action=getaftersalelist',
  139. // valueField: '_f_userid',
  140. // textField: '_f_username',
  141. // autocomplete: true, onSelected: function (newvalue) {
  142. // $("#hiddByName").val(newvalue);
  143. // }
  144. //});
  145. }
  146. function SelectJDDept(deptid, deptname) {
  147. document.getElementById("txtJDDept").value = deptname;
  148. document.getElementById("hiddJDDept").value = deptid;
  149. try {
  150. $("#txtJDUser").ligerComboBox({
  151. url: '../telmanage/ajax/selectuser.ashx?action=getaftersalelist&deptid=' + deptid,
  152. valueField: '_f_userid',
  153. textField: '_f_username',
  154. autocomplete: true, onSelected: function (newvalue) {
  155. $("#hiddJDUser").val(newvalue);
  156. }
  157. });
  158. }
  159. catch (e) { }
  160. }
  161. function BindData(objid, hiddid, param) {
  162. $("#" + objid).ligerComboBox({
  163. url: '../customermanage/ajax/customeredit.ashx?action=getdictionarylist&param=' + param,
  164. valueField: '_f_dictionaryvalueid',
  165. textField: '_f_name',
  166. autocomplete: true,
  167. onSelected: function (newvalue) {
  168. $("#" + hiddid).val(newvalue);
  169. }
  170. });
  171. }
  172. function ProvinceData() {
  173. $.post("../customermanage/ajax/customeredit.ashx?action=getprovincelist", function (data, states) {
  174. if (states == "success") {
  175. return data;
  176. }
  177. })
  178. }
  179. function GetCustomerInfo() {
  180. $.ajax({
  181. type: 'get',
  182. url: '../telmanage/ajax/customeropt.ashx?action=getCustomerInfoByPhone&tel=' + document.getElementById("hfPhone").value,
  183. dataType: 'html',
  184. success: function (res) {
  185. if (res != "") {
  186. }
  187. }
  188. });
  189. }
  190. function OpenWindowShow1(Url, Title, Width, Height) {
  191. $.ligerDialog.open({
  192. title: Title, url: Url, height: Height, width: Width, isResize: true, modal: true, buttons: [
  193. { text: '关闭', onclick: function (item, dialog) { dialog.close(); AgentFree(); } }
  194. ], isResize: true
  195. });
  196. }
  197. function OpenWindowShow(Url, Title, Width, Height) {
  198. $.ligerDialog.open({
  199. title: Title, url: Url, height: Height, width: Width, isResize: true, modal: true, isResize: true
  200. });
  201. }
  202. function Player(path) {
  203. OpenWindowShow1('voiceplay.aspx?path=' + path, '录音播放与下载', 600, 300);
  204. }
  205. function LoadList() {
  206. gridlist = $("#divDataList").ligerGrid({
  207. checkbox: false,
  208. height: 150,
  209. columns: [
  210. { display: '电话号码', name: '_callnumber', minWidth: 60 },
  211. {
  212. display: '呼叫状态', name: '_callstate', minWidth: 40, render: function (rowdata, rowindex, value) {
  213. if (value == "0")
  214. return "未接通";
  215. else
  216. return "已接通";
  217. }
  218. },
  219. {
  220. display: '是否处理', name: '_isdeal', minWidth: 40, render: function (rowdata, rowindex, value) {
  221. if (value == "0")
  222. return "未处理";
  223. else if (value == "1")
  224. return "已处理";
  225. else
  226. return "注销";
  227. }
  228. }, { display: '坐席工号', name: '_usercode', minWidth: 40 },
  229. { display: '坐席姓名', name: '_username', minWidth: 40 },
  230. { display: '通话开始时间', name: '_talkstarttime', minWidth: 140, type: 'date', format: 'yyyy-MM-dd hh:mm:ss' },
  231. { display: '通话时长(s)', name: '_talklongtime' },
  232. {
  233. display: '录音', name: '_filepath', render: function (rowdata, rowindex, value) {
  234. if (value == "") {
  235. return;
  236. }
  237. else {
  238. return "<img src=\"../images/notice.png\" style=\"cursor:hand;\" onclick=\"Player('" + encodeURI(value) + "');\" />";
  239. }
  240. }
  241. }], url: 'ajax/telrecords.ashx?action=getcallinlist&telnum=' + document.getElementById("hfPhone").value, pageSize: 3, rownumbers: true
  242. });
  243. gridlist.changePage('first');
  244. $("#pageloading").hide();
  245. }
  246. function formatDateTime(value, rowData, rowIndex) {
  247. if (value != null) {
  248. var date = new Date(parseInt(value.replace("/Date(", "").replace(")/", ""), 10));
  249. var result = date.getFullYear() + "-" + (date.getMonth() + 1 < 10 ? "0"
  250. + (date.getMonth() + 1) : date.getMonth() + 1) + "-"
  251. + (date.getDate() < 10 ? "0" + date.getDate() : date.getDate()) + " "
  252. + (date.getHours() < 10 ? "0" + date.getHours() : date.getHours()) + ":"
  253. + (date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes()) + ":"
  254. + (date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds());
  255. return result;
  256. }
  257. return value;
  258. }
  259. function validate(optid) {
  260. $.ligerDialog.waitting('工单提交中...');
  261. return true;
  262. }
  263. function TabCloseById() {
  264. var id = "callin_" + document.getElementById("hfCallId").value + "" + document.getElementById("hfPhone").value;
  265. //id = "callin_1402107209-522613335140729";
  266. parent.f_removeTab(id);
  267. }
  268. function SelectCustomer() {
  269. var vheight = $("#form1").height();
  270. var vwidth = $("#form1").width() * 0.9;
  271. OpenWindowShow('selectcustomer.aspx?name=' + escape(document.getElementById("txtCustomerName").value), "选择客户", vwidth, vheight);
  272. }
  273. function SelectJDUser() {
  274. var vheight = $("#form1").height();
  275. var vwidth = $("#form1").width() * 0.9;
  276. OpenWindowShow('selectdeptuser.aspx', "选择接单处理人", vwidth, vheight);
  277. }
  278. function ShowCustomer(id) {
  279. }
  280. function SetCustomerInfo(F_CustomerId,
  281. F_CustomerName,
  282. F_CustomerCode,
  283. F_ServiceDeptID,
  284. F_RegionId,
  285. F_CityID,
  286. F_ServiceDept,
  287. F_Province,
  288. F_City,
  289. _f_chargename,F_Telephone, F_Mobile, F_ChargeTelephone) {
  290. document.getElementById("hiddCustomerId").value = F_CustomerId;
  291. document.getElementById("txtCustomerName").value = F_CustomerName;
  292. document.getElementById("divCustomerCode").innerHTML = "<a href=\"javascript:void(null)\" target=\"_self\" onclick=\"ShowCustomer('" + F_CustomerId + "');\">" + F_CustomerCode + "</a>";
  293. document.getElementById("hiddSeriveDeptId").value = F_ServiceDeptID;
  294. document.getElementById("hiddProvinceId").value = F_RegionId;
  295. document.getElementById("hiddCityId").value = F_CityID;
  296. document.getElementById("hiddTelephone").value = F_Telephone;
  297. document.getElementById("hiddMobile").value = F_Mobile;
  298. document.getElementById("hiddChargeTelephone").value = F_ChargeTelephone;
  299. document.getElementById("drpServiceDept").value = F_ServiceDept;
  300. document.getElementById("drpProvince").value = F_Province;
  301. document.getElementById("drpCity").value = F_City;
  302. document.getElementById("drpTelephone").value = F_Telephone;
  303. document.getElementById("drpMobile").value = F_Mobile;
  304. document.getElementById("drpChargeTelephone").value = F_ChargeTelephone;
  305. document.getElementById("txtTsName").value = _f_chargename;
  306. }
  307. var sgridlist;
  308. function FastSearch() {
  309. var txtobj = document.getElementById("txtJDUser");
  310. var txtobjcode = document.getElementById("hiddJDUser");
  311. var divobj = document.getElementById("divJDDept");
  312. var divdataobj = document.getElementById("divDataJDDept");
  313. if (txtobj.value == "") {
  314. divobj.style.display = "none";
  315. //divdataobj.innerHTML = "";
  316. txtobjcode.value = "0";
  317. }
  318. else {
  319. divobj.style.display = "inline";
  320. document.getElementById("hiddJDUser").value = "0";
  321. document.getElementById("hiddJDDept").value = "0";
  322. sgridlist = $("#divDataJDDept").ligerGrid({
  323. height: 180,
  324. columns: [
  325. { display: 'ID', name: '_f_userid', align: 'left', width: 0, hide: true },
  326. { display: '用户名称', name: '_f_username', width: 100 },
  327. { display: '部门', name: '_f_deptname', width: 150 }
  328. ], url: '../telmanage/ajax/selectuser.ashx?action=getuserbyname' + '&name=' + encodeURI(txtobj.value), pageSize: 5, rownumbers: true,
  329. onDblClickRow: function (data, rowindex, rowobj) {
  330. try {
  331. document.getElementById("txtJDUser").value = data._f_username;
  332. document.getElementById("hiddJDUser").value = data._f_userid;
  333. document.getElementById("txtJDDept").value = data._f_deptname;
  334. document.getElementById("hiddJDDept").value = data._f_deptid;
  335. }
  336. catch (e) {
  337. alert(e.Message);
  338. }
  339. document.getElementById("divJDDept").style.display = "none";
  340. }
  341. });
  342. sgridlist.changePage('first');
  343. $("#pageloading").hide();
  344. }
  345. }
  346. function EditAndSaveCustomerInfo() {
  347. //客户名称
  348. var cid = encodeURIComponent(document.getElementById("hiddCustomerId").value);
  349. if (cid == "" || cid <= 0 || cid == "undefined") { $.ligerDialog.warn('没有选择客户'); return; }
  350. var cname = encodeURIComponent(document.getElementById("txtCustomerName").value);
  351. //客户编号
  352. //var ccode = encodeURIComponent(document.getElementById("divCustomerCode").innerHTML);
  353. //所属客服部
  354. var sdepid = encodeURIComponent(document.getElementById("hiddSeriveDeptId").value);
  355. var sdep = encodeURIComponent(document.getElementById("drpServiceDept").value);
  356. //所属省份
  357. var prid = encodeURIComponent(document.getElementById("hiddProvinceId").value);
  358. var pr = encodeURIComponent(document.getElementById("drpProvince").value);
  359. //所属市县
  360. var ctid = encodeURIComponent(document.getElementById("hiddCityId").value);
  361. var ct = encodeURIComponent(document.getElementById("drpCity").value);
  362. //联系电话
  363. var tel = encodeURIComponent(document.getElementById("drpTelephone").value);
  364. var mobile = encodeURIComponent(document.getElementById("drpMobile").value);
  365. var tel1 = encodeURIComponent(document.getElementById("drpChargeTelephone").value);
  366. var params = "cid=" + cid + "&cname=" + cname
  367. //+ "&ccode=" + ccode
  368. + "&sdepid=" + sdepid + "&sdep=" + sdep
  369. + "&prid=" + prid + "&pr=" + pr
  370. + "&ctid=" + ctid + "&ct=" + ct
  371. + "&tel="
  372. + tel + "&mobile=" + mobile + "&tel1=" + tel1;
  373. $.ajax({
  374. type: "get",
  375. url: "ajax/editandsavecustomerinfo.ashx?action=editAndSave",
  376. data: params,
  377. cache: false,
  378. success: function (res, state) {
  379. if (state == "success") {
  380. if (res == "True") {
  381. $.ligerDialog.success('修改客户信息成功');
  382. } else if (res == "False") {
  383. $.ligerDialog.error('修改客户信息失败');
  384. }
  385. }
  386. }
  387. });
  388. }
  389. document.onkeydown = function (event) {
  390. var e = event || window.event || arguments.callee.caller.arguments[0];
  391. if (e && e.keyCode == 13 && document.activeElement.id == "txtCustomerName") {
  392. SelectCustomer();
  393. }
  394. };
  395. function ReplaceValue(n) {
  396. var tel = document.getElementById("hfPhone").value;
  397. switch (n) {
  398. case 1:
  399. var t1 = document.getElementById("drpTelephone").value;
  400. var t2 = document.getElementById("hiddTelephone").value;
  401. if (t1 != tel) { document.getElementById("drpTelephone").value = tel; } else { document.getElementById("drpTelephone").value = t2; }
  402. break;
  403. case 2:
  404. var t1 = document.getElementById("drpMobile").value;
  405. var t2 = document.getElementById("hiddMobile").value;
  406. if (t1 != tel) { document.getElementById("drpMobile").value = tel; } else { document.getElementById("drpMobile").value = t2; }
  407. break;
  408. case 3:
  409. var t1 = document.getElementById("drpChargeTelephone").value;
  410. var t2 = document.getElementById("hiddChargeTelephone").value;
  411. if (t1 != tel) { document.getElementById("drpChargeTelephone").value = tel; } else { document.getElementById("drpChargeTelephone").value = t2; }
  412. break;
  413. }
  414. }
  415. </script>
  416. </head>
  417. <body style="overflow: hidden;" scroll="no">
  418. <form id="form1" runat="server">
  419. <asp:HiddenField ID="hfBusinessType" Value="1" runat="server"></asp:HiddenField>
  420. <%--按键选择类型--%>
  421. <asp:HiddenField ID="hfPhone" Value="" runat="server"></asp:HiddenField>
  422. <%--来电号码--%>
  423. <asp:HiddenField ID="hfCallId" Value="0" runat="server"></asp:HiddenField>
  424. <%--来电callid--%>
  425. <asp:HiddenField ID="hfUserId" Value="0" runat="server"></asp:HiddenField>
  426. <asp:HiddenField ID="hfTab" Value="0" runat="server"></asp:HiddenField>
  427. <div class="tools_box">
  428. <div class="tools_bar">
  429. <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
  430. <tr>
  431. <td valign="middle" style="width: 61px; padding-left: 3px;">
  432. <img src="../images/phone.png" />
  433. </td>
  434. <td valign="middle" style="width: 500px;">
  435. <label id="txtLaiDian" runat="server" style="font-size: 20px; color: Red;">
  436. 0000--郑州
  437. </label>
  438. </td>
  439. <td valign="middle" style="padding-left: 3px;">
  440. <asp:CheckBox ID="cbBlack" runat="server" /><span>拉黑</span>&nbsp;&nbsp;<span id="ShiChang">拉黑时长:</span><asp:TextBox
  441. ID="txtBlackTime" runat="server" onchange="txtChange(this.value)" CssClass="txtInput normal"
  442. Text="0" onKeyUp="this.value=this.value.replace(/[^\d]/g,'');" Width="30px"></asp:TextBox>&nbsp;&nbsp;<input
  443. id="rdTimesType0" name="timetype" type="radio" checked runat="server" />&nbsp;分&nbsp;&nbsp;<input
  444. id="rdTimesType1" name="timetype" type="radio" runat="server" />&nbsp;时&nbsp;&nbsp;<input
  445. id="rdTimesType2" name="timetype" type="radio" runat="server" />&nbsp;天
  446. </td>
  447. <td style="width: 220px; padding-right: 3px;">来电时间:<span style="color: #F00; font-weight: 800; font-size: 14px;"><%=System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") %></span>
  448. </td>
  449. </tr>
  450. </table>
  451. </div>
  452. </div>
  453. <div id="layout1">
  454. <div position="left" title="客户信息" style="overflow: auto; height: 95%;">
  455. <table class="form_table">
  456. <col width="85px" />
  457. <col />
  458. <tbody>
  459. <tr>
  460. <th>客户名称:
  461. </th>
  462. <td>
  463. <div style="float: left;">
  464. <asp:HiddenField ID="hiddCustomerId" runat="server" Value="0" />
  465. <asp:TextBox ID="txtCustomerName" runat="server" CssClass="txtInput normal" Style="width: 90px;"></asp:TextBox>
  466. </div>
  467. <div style="float: left; padding-top: 2px;">
  468. <img src="../images/btn_off_lookup.gif" onclick="SelectCustomer();" alt="选择客户" style="cursor: pointer;" />
  469. </div>
  470. </td>
  471. </tr>
  472. <tr>
  473. <th>客户编号:
  474. </th>
  475. <td>
  476. <div id="divCustomerCode" runat="server">
  477. <a href="javascript:void(null)" target="_self" onclick="ShowCustomer('0');">0000</a>
  478. </div>
  479. </td>
  480. </tr>
  481. <tr>
  482. <th>所属单位:
  483. </th>
  484. <td>
  485. <asp:TextBox ID="drpServiceDept" runat="server"></asp:TextBox><asp:HiddenField ID="hiddSeriveDeptId"
  486. runat="server" />
  487. </td>
  488. </tr>
  489. <tr>
  490. <th>所属省份:
  491. </th>
  492. <td>
  493. <asp:TextBox ID="drpProvince" runat="server"></asp:TextBox><asp:HiddenField ID="hiddProvinceId"
  494. runat="server" />
  495. </td>
  496. </tr>
  497. <tr>
  498. <th>所属市县:
  499. </th>
  500. <td>
  501. <asp:TextBox ID="drpCity" runat="server"></asp:TextBox><asp:HiddenField ID="hiddCityId"
  502. runat="server" />
  503. </td>
  504. </tr>
  505. <tr>
  506. <th>联系电话1:
  507. </th>
  508. <td>
  509. <div style="float: left;">
  510. <asp:TextBox ID="drpTelephone" runat="server" CssClass="txtInput normal" Style="width: 100px;"></asp:TextBox><asp:HiddenField
  511. ID="hiddTelephone" runat="server" />
  512. </div>
  513. <div style="float: left; padding-top: 2px;">
  514. <img src="../images/timg.jpg" onclick="ReplaceValue(1);" alt="替换" style="cursor: pointer; width:20px;height:20px;" />
  515. </div>
  516. </td>
  517. </tr>
  518. <tr>
  519. <th>联系电话2:
  520. </th>
  521. <td>
  522. <div style="float: left;">
  523. <asp:TextBox ID="drpMobile" runat="server" CssClass="txtInput normal" Style="width: 100px;"></asp:TextBox><asp:HiddenField
  524. ID="hiddMobile" runat="server" />
  525. </div>
  526. <div style="float: left; padding-top: 2px;">
  527. <img src="../images/timg.jpg" onclick="ReplaceValue(2);" alt="替换" style="cursor: pointer; width:20px;height:20px;" />
  528. </div>
  529. </td>
  530. </tr>
  531. <tr>
  532. <th>联系电话3:
  533. </th>
  534. <td>
  535. <div style="float: left;">
  536. <asp:TextBox ID="drpChargeTelephone" runat="server" CssClass="txtInput normal" Style="width: 100px;"></asp:TextBox><asp:HiddenField
  537. ID="hiddChargeTelephone" runat="server" />
  538. </div>
  539. <div style="float: left; padding-top: 2px;">
  540. <img src="../images/timg.jpg" onclick="ReplaceValue(3);" alt="替换" style="cursor: pointer; width:20px;height:20px;" />
  541. </div>
  542. </td>
  543. </tr>
  544. <tr>
  545. <th colspan="2" style="text-align: center">
  546. <input id="editandsave" type="button" title="修改并保存" value="修改并保存" class="btnSubmit" onclick="EditAndSaveCustomerInfo()" />
  547. </th>
  548. </tr>
  549. </tbody>
  550. </table>
  551. </div>
  552. <div position="center" title="">
  553. <div id="divHistoryForm">
  554. <div id="divDataList">
  555. </div>
  556. </div>
  557. <div id="divOrderForm">
  558. <div style="position: relative; z-index: 9999;">
  559. <div id="divJDDept" ostate="0" onmouseover="this.ostate='1';" onmouseout="this.ostate='0';"
  560. style="display: none; height: 100px; width: 280px; background-color: White; border: solid 1px #89BBDC; position: absolute; top: 100px; right: 385px;">
  561. <div id="divDataJDDept" style="height: 180px; width: 100%; overflow-y: auto;">
  562. </div>
  563. </div>
  564. <div id="divJDDeptZX" ostate="0" onmouseover="this.ostate='1';" onmouseout="this.ostate='0';"
  565. style="display: none; height: 180px; width: 280px; background-color: White; border: solid 1px #89BBDC; position: absolute; top: -120px; left: 450px;">
  566. <div id="divDataJDDeptZX" style="height: 180px; width: 100%; overflow-y: auto;">
  567. </div>
  568. </div>
  569. </div>
  570. <div id="contentTab" style="width: 100%; height: auto;">
  571. <ul class="tab_nav">
  572. <li id="tabli0" class="selected"><a href="javascript:;">诉求问题</a></li>
  573. </ul>
  574. <div class="tab_con" id="tabdiv0" style="height: 180px; display: block; overflow-y: auto;">
  575. <table class="form_table" style="width: 100%; height: auto;">
  576. <col width="95px" />
  577. <col />
  578. <col width="95px" />
  579. <col />
  580. <col width="95px" />
  581. <col />
  582. <tbody>
  583. <tr>
  584. <th>诉求类型:
  585. </th>
  586. <td>
  587. <asp:TextBox ID="txtTsType" runat="server" Style="width: 120px;"></asp:TextBox><asp:HiddenField
  588. ID="hiddTsType" runat="server" Value="0" />
  589. </td>
  590. <th>诉求人:
  591. </th>
  592. <td>
  593. <asp:TextBox ID="txtTsName" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
  594. </td>
  595. <th>诉求人电话:
  596. </th>
  597. <td>
  598. <asp:TextBox ID="txtTsPhone" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
  599. </td>
  600. </tr>
  601. <tr>
  602. <th>承办单位:
  603. </th>
  604. <td>
  605. <asp:TextBox ID="txtByDept" runat="server" Style="width: 120px;"></asp:TextBox><asp:HiddenField
  606. ID="hiddByDept" runat="server" Value="0" />
  607. </td>
  608. <th>工单处理人</th>
  609. <td>
  610. <div style="float: left;">
  611. <asp:TextBox ID="txtJDDept" runat="server" Style="display: none;"></asp:TextBox><asp:HiddenField
  612. ID="hiddJDDept" runat="server" Value="0" />
  613. <asp:TextBox ID="txtJDUser" runat="server" CssClass="txtInput normal" onkeyup="FastSearch();"
  614. Style="width: 120px;"></asp:TextBox><asp:HiddenField ID="hiddJDUser" runat="server"
  615. Value="0" />
  616. </div>
  617. <div style="float: left; padding-top: 2px; display: none;">
  618. <div id="selectDeptUser" onclick="SelectJDUser();"
  619. alt="选择处理人" style="cursor: pointer; width: 21px; height: 19px; background: url(../images/btn_off_lookup.gif) no-repeat;">
  620. &nbsp;
  621. </div>
  622. </div>
  623. </td>
  624. <th>直接接单说明</th>
  625. <td><asp:TextBox ID="F_EXAMINETYPE" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox></td>
  626. </tr>
  627. <tr>
  628. <th>诉求内容:
  629. </th>
  630. <td colspan="5">
  631. <textarea id="txtTsContent" cols="20" rows="2" runat="server" class="txtInput normal"
  632. style="width: 600px; height: 40px;"></textarea>
  633. </td>
  634. </tr>
  635. </tbody>
  636. </table>
  637. </div>
  638. <div id="divOpt0" runat="server" style="width: 100%; text-align: center;">
  639. </div>
  640. </div>
  641. </div>
  642. </div>
  643. </div>
  644. </form>
  645. </body>
  646. </html>