| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <script src="../Script/Common/huayi.load.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <link href="../css/layer/need/layer.css" />
- <link rel="stylesheet" href="../css/init.css" />
- <title>审核</title>
- </head>
- <style>
- .text-center{
- text-align: center !important;
- }
- </style>
- <body>
- <div class="Common">
- <div style="width: 100%;padding: 10px;">
- <table class="Table" border="" cellspacing="0" cellpadding="0">
- <theard>
- <tr>
- <td class="text-center" style="min-width:80px;">承办人</td>
- <td class="text-center" style="min-width:80px;">联系方式</td>
- <td class="text-center" style="min-width:80px;">职务</td>
- <td class="text-center" style="min-width:80px;">单位</td>
- <td class="text-center" style="min-width:80px;">办理结果</td>
- <td class="text-center" style="min-width:80px;">办理时间</td>
- <td class="text-center" style="min-width:80px;">是/否向当事人反馈</td>
- <td class="text-center" style="min-width:80px;">是否满意</td>
- <td class="text-center" style="min-width:80px;">审核领导</td>
- <td class="text-center" style="min-width:80px;">审核领导职务</td>
- <td class="text-center" style="min-width:80px;">审核领导联系方式</td>
- <td class="text-center" style="min-width:80px;">附件</td>
- <td class="text-center" style="min-width:80px;">追加回复附件</td>
- <td class="text-center" style="min-width:100px;">操作</td>
- </tr>
- </theard>
- <tbody class="BLQK">
- </tbody>
- </table>
- </div>
- </div>
- <script src="../js/adjustHeight.js"></script>
- <script src="../css/laydate/laydate.js"></script>
- <script>
- var wid = helper.request.queryString("wid");
- $(document).ready(function() {
- getDetail(17);
- });
- // 获取详情
- function getDetail(type) {
- $.ajax({
- type: "get",
- url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrderNew",
- dataType: 'json',
- async: false,
- data: {
- workorderid: wid,
- type: type,
- token: $.cookie("token")
- },
- success: function(result) {
- if(result.state.toLowerCase() == "success") {
- var htmls = ''
- $(".BLQK").empty();
- $(result.data.bldata).each(function(i, n) {
- //类型
- var bval = n.F_Type;
- switch(bval + '') {
- case '1':
- bval = '主办';
- break;
- case '2':
- bval = '协办';
- break;
- }
- //是/否向当事人反馈
- var isProResultValue = n.F_IsProResult + "";
- switch(isProResultValue) {
- case "0":
- isProResultValue = "否";
- break;
- case "1":
- isProResultValue = "是";
- break;
- case "2":
- isProResultValue = "已办未果";
- break;
- }
- //是否满意
- var isSatisfiedValue = n.F_IsSatisfied + "";
- switch(isSatisfiedValue) {
- case "0":
- isSatisfiedValue = "未评价";
- break;
- case "1":
- isSatisfiedValue = "满意";
- break;
- case "2":
- isSatisfiedValue = "基本满意";
- break;
- case "3":
- isSatisfiedValue = "不满意";
- break;
- }
- //沟通时间
- var connectTimeValue = n.F_ConnectTime;
- switch(connectTimeValue) {
- case null:
- connectTimeValue = "";
- break;
- default:
- connectTimeValue = n.F_ConnectTime;
- }
- //职务
- var dutiesValue
- switch(n.F_Duties) {
- case "":
- dutiesValue = ""
- break;
- case null:
- dutiesValue = ""
- break;
- default:
- dutiesValue = n.F_Duties
- break;
- }
- //处理情况
- var situationValue
- switch(n.F_Situation) {
- case "":
- situationValue = ""
- break;
- case null:
- situationValue = ""
- break;
- default:
- situationValue = n.F_Situation
- break;
- }
- //已办未果备注
- var unsuccessful
- switch(n.F_Unsuccessful) {
- case "":
- unsuccessful = ""
- break;
- case null:
- unsuccessful = ""
- break;
- default:
- unsuccessful = n.F_Unsuccessful
- break;
- }
- // 审核领导
- var auditUser
- switch(n.F_AuditUser) {
- case "":
- auditUser = ""
- break;
- case null:
- auditUser = ""
- break;
- default:
- auditUser = n.F_AuditUser
- break;
- }
- // 领导职务
- var auditPost
- switch(n.F_AuditPost) {
- case "":
- auditPost = ""
- break;
- case null:
- auditPost = ""
- break;
- default:
- auditPost = n.F_AuditPost
- break;
- }
- // 领导联系方式
- var auditContact
- switch(n.F_AuditContact) {
- case "":
- auditContact = ""
- break;
- case null:
- auditContact = ""
- break;
- case undefined:
- auditContact = ""
- break;
- default:
- auditContact = n.F_AuditContact
- break;
- }
- htmls += '<tr>' +
- '<td class="text-center">' + n.F_DealUser +
- '</td>' +
- '<td class="text-center">' + n
- .F_DealUserContact +
- '</td>' +
- '<td class="text-center">' + dutiesValue +
- '</td>' +
- '<td class="text-center">' + n.DeptName +
- '</td>' +
- '<td class="text-center">' + n.F_Result +
- '</td>' +
- '<td class="text-center">' + n.F_CreateTime +
- '</td>' +
- '<td class="text-center">' + isProResultValue +
- '</td>' +
- '<td class="text-center">' + isSatisfiedValue +
- '</td>' +
- '<td class="text-center">' + auditUser +
- '</td>' +
- '<td class="text-center">' + auditPost +
- '</td>' +
- '<td class="text-center">' + auditContact +
- '</td>'
- //办理情况附件
- htmls += '<td class="gallerys">';
- var FileHtml;
- $(n.File).each(function(j, m) {
- if(m.F_FileType == ".jpg" || m
- .F_FileType ==
- ".png") {
- FileHtml =
- '<img class="gallery-pic" style="width:60px; height:60px" border="0" ondblclick="$.openPhotoGallery(this)" src="' +
- m.F_FileUrl + '" alt="' + m
- .F_FileName +
- '" fileId="' + m.F_FileId + '">'
- } else {
- FileHtml =
- '<div><a style="margin-right:5px;" target="view_window" href="' +
- m.F_FileUrl + '" download="' + m
- .F_FileName + '">' + m
- .F_FileName.substring(
- 19) + '</a></div>'
- }
- htmls += FileHtml;
- })
- htmls += '</td>' +
- '<td class="gallerys">'
- var FileHtmls;
- $(n.Files).each(function(j, m) {
- if(m.F_FileType == ".jpg" || m
- .F_FileType ==
- ".png") {
- FileHtmls =
- '<img style="width:60px; height:60px" border="0" ondblclick="$.openPhotoGallery(this)" src="' +
- m.F_FileUrl + '" alt="' + m
- .F_FileName +
- '" fileId="' + m.F_FileId +
- '">';
- } else {
- FileHtmls =
- '<div><a style="margin-right:5px;" target="view_window" href="' +
- m.F_FileUrl + '" download="' + m
- .F_FileName + '">' + m
- .F_FileName.substring(
- 19) + '</a></div>'
- }
- htmls += FileHtmls
- })
- htmls += '</td>';
-
- htmls +="<td class='text-center'><a class='xg' onclick='audioAddReply( \""+n.F_Id+"\",\""+n.F_WorkOrderId+"\")' title='审核'>审核</a></td></tr>"
-
- })
- $(htmls).appendTo($(".BLQK"));
- }
- }
- })
- }
-
-
- // 追加回复 69
- function audioAddReply(backid,workorderid){
- layer.open({
- type: 2,
- content: "../CommonHtml/auditHandleAddReplyThird.html?backid=" + backid +'&workorderid='+workorderid, //iframe的url,no代表不显示滚动条
- title: "办理工单",
- area: ["100%", "80%"], //宽高
- });
- }
- </script>
- </body>
- </html>
|