<%OPTION EXPLICIT%>
<!--#include file="../include/db/connect_sqlserver.asp"-->
<!--#include file="../include/util.asp"-->
<%if session("isLog")=true then%>
<html>
<head>
<title>外包服务平台</title>
<meta http-equiv="Content-Type" content="text/html; charsRequestet=gb2312">
<link rel="stylesheet" href="../css/css.CSS">
<style type="text/css">
<!--
.style1 {
font-size: 24pt;
color: #0000FF;
}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="requform" method="post" onsubmit="return submitit();" action="requeditsave.asp?requestID=<%=requestID%>">
<%
dim uSQL,rsUser,userClass
userClass=session("userClass")
set rsUser=server.createobject("adodb.recordset")
dim bm1,bm2,bm3,rsDepartment,parentID
if userClass=5 then
uSQL="select userName,userAccount,departmentID,DepartmentPlace,userPhone,userMail from tbl_request_user where ID='"&session("ID")&"'"
set rsUser=server.createobject("adodb.recordset")
rsUser.open uSQL,conn,3,1
set rsDepartment=server.createobject("adodb.recordset")
uSQL="select departmentName,parentID from tbl_request_department where departmentID='"&session("departmentID")&"'"
rsDepartment.open uSQL,conn,3,1
bm3=rsDepartment("departmentName")
parentID=rsDepartment("parentID")
rsDepartment.close
uSQL="select departmentName,parentID from tbl_request_department where departmentID='"&parentID&"'"
rsDepartment.open uSQL,conn,3,1
bm2=rsDepartment("departmentName")
parentID=rsDepartment("parentID")
rsDepartment.close
uSQL="select departmentName from tbl_request_department where departmentID='"&parentID&"'"
rsDepartment.open uSQL,conn,3,1
bm1=rsDepartment("departmentName")
rsDepartment.close
%>
<table class="listDataTable" id="DataTable" cellSpacing="2" cellPadding="1" width="695" border="1" style="border-collapse: collapse" bordercolor="#000000" height="322" align="center">
<caption class="style1">
<b>补添服务请求单</b> </caption>
<font color="#000000">
<tr id="ignore">
<td align="right" colSpan="6" height="2"></td>
</tr>
<tr>
<td width="84" height="22"><font color="#000000"><font color="#000000">提报人</font></font></td>
<td width="111"><FONT color=#000000>
<input name="userName" type="text" class="inputnormal" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" size="15">
</FONT></td>
<td width="82">联系电话</td>
<td width="123"><FONT color=#000000>
<input name="userPhone" type="text" class="inputnormal" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" size="15">
</FONT></td>
<td width="90">部门</td>
<td width="165"><FONT color=#000000>
<input name="departmentPlace" type="text" class="inputnormal" " onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" size="15">
</FONT></td>
</tr>
<tr>
<td height="22" width="84"><font color="#000000"><font color="#000000">服务人员</font></font></td>
<td width="111"> <%=userName%></td>
<td width="82"><font color="#000000">责任部门</font></td>
<td width="123"> <%=departmentName%></td>
<td width="90"><font color="#000000">联系电话</font></td>
<td width="165"> <%=rsUser("userPhone")%></td>
</tr>
<tr>
<td width="84" height="22">问题类型</td>
<td width="111" height="22"><font color="#000000"><FONT color=#000000>
<input name="errorType" type="text" class="inputnormal" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" size="15">
</FONT></font> </td>
<td width="82" height="22">紧急程度</td>
<td height="22" width="123"><FONT color=#000000>
<select name="requestUrge" id="select">
<option selected>-紧急程度-</option>
<option value="一般" >一般</option>
<option value="紧急">紧急</option>
</select>
</FONT> </td>
<td style="font-size: 9pt; color: #000000" id="tishi" width="90"><font color="#000000">请求时间</font></td>
<td id="tishi" style="font-size: 9pt; color: #000000" width="165"><FONT color=#000000><FONT
color=#000000>
<input name="sendTime" type="text" class="inputnormal" " onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" size="15">
</FONT></FONT></td>
</tr>
<tr>
<td height="22">反馈时间</td>
<td height="22"><font color="#000000"> <FONT color=#000000><FONT color=#000000>
<input name="returnTime" type="text" class="inputnormal" " onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" size="15">
</FONT></FONT></font></td>
<td id="tishi" style="font-size: 9pt; color: #000000">承诺时间</td>
<td id="tishi" style="font-size: 9pt; color: #000000"><FONT color=#000000><FONT color=#000000>
<input name="promissTime" type="text" class="inputnormal" " onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" size="15">
</FONT></FONT></td>
<td height="22"><font color="#000000">服务完成时间</font></td>
<td height="22"><FONT color=#000000><FONT color=#000000>
<input name="serviceFinish" type="text" class="inputnormal" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'" size="15">
</FONT></FONT></td>
</tr>
<tr>
<td colspan="6" height="2">报修描述</td>
</tr>
<tr>
<td colspan="6" height="41">
<div align="center"><font color="#000000">
<font color="#000000">
<textarea name="requestDescription" cols="95" rows="6" class="inputnormal" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'"></textarea>
</font> </font> </div>
</td>
</tr>
<tr>
<td colspan="6" height="2">工程师反馈</td>
</tr>
<tr>
<td colspan="6" height="12">
<div align="center">
<FONT color=#000000><FONT color=#000000>
<textarea name="confirmContent" cols="95" rows="6" class="inputnormal" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'"></textarea>
</FONT></FONT> </div>
</td>
</tr>
<tr>
<td colspan="6" height="2">故障描述</td>
</tr>
<tr>
<td colspan="6" height="58">
<div align="center">
<FONT color=#000000><FONT color=#000000>
<textarea name="wrongDescription" cols="95" rows="6" class="inputnormal" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'"></textarea>
</FONT></FONT> </div>
</td>
</tr>
<tr>
<td colspan="6" height="2">故障原因</td>
</tr>
<tr>
<td colspan="6" height="63">
<div align="center">
<FONT color=#000000><FONT color=#000000>
<textarea name="wrongReasion" cols="95" rows="6" class="inputnormal" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'"></textarea>
</FONT></FONT> </div>
</td>
</tr>
<tr>
<td colspan="6" height="2">解决方案</td>
</tr>
<tr>
<td colspan="6" height="2">
<div align="center"><font color="#000000">
<FONT color=#000000>
<textarea name="wrongSolution" cols="95" rows="6" class="inputnormal" onFocus="this.className='inputedit';this.select()" onBlur="this.className='inputnormal'"></textarea>
</FONT> </font> </div>
</td>
</tr>
<tr>
<td colspan="6" height="2">用户意见</td>
</tr>
<tr>
<td colspan="6" height="2">
<div align="center">
<textarea name="requ_desp" cols="95" class="areanormal" rows="6" readonly><%=evaluateFeedback%></textarea>
</div>
</td>
</tr>
<tr id="ignore">
<td height="2" colSpan="6" align="right"></td>
</tr>
</font>
</table>
<div align="right"><br>
<br>
<input name="Submit" type="submit" class="s02" value="提交">
<input type="button" name="Submit2" value="关闭" onclick="javascript:<% if session("userClass")="4" and requestState="0" then %>window.opener.document.location.reload(); <%end if%> self.close();" class="s02">
</div>
</form>
</body>
</html>
<%'else
'response.redirect "../default.asp"
'end if
%>