?? service_deal.jsp
字號:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="/WEB-INF/jb-common.tld" prefix="jb"%>
<script src="validate.js"></script>
<script src="icommon.js"></script>
<html:errors />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<title>處理客戶服務</title>
<link rel="stylesheet" type="text/css" href="styles.css">
<script>
function doDel(id){
if ( window.confirm("確定刪除?") ){
window.location.href = "?o=doDel&id=" + id;
}
}
</script>
</head>
<body class="main">
<html:form action="service" method="post">
<html:hidden property="o" value="doDeal" />
<html:hidden property="item.svrId" />
<span class="page_title">處理客戶服務</span>
<div class="button_bar">
<button class="common_button" onclick="javascript:history.go(-1);">返回</button>
<button class="common_button" onclick="javascript:doSubmit('doDeal');">保存</button>
</div>
<table class="query_form_table" border="0" cellPadding="3"
cellSpacing="0">
<tr>
<th>編號</th>
<td>${serviceForm.item.svrId } </td>
<th>服務類型</th>
<td>${serviceForm.item.svrType } </td>
</tr>
<tr>
<th>概要</th>
<td colspan="3">${serviceForm.item.svrTitle } </td>
</tr>
<tr>
<th>客戶</th>
<td>${serviceForm.item.svrCustName } </td>
<th>狀態</th>
<td>已分配</td>
</tr>
<tr> <th>服務請求</th>
<td colspan="3">${serviceForm.item.svrRequest } </td>
</tr>
<tr>
<th>創建人</th>
<td>${serviceForm.item.svrCreateBy } </td>
<th>創建時間</th>
<td><bean:write name="serviceForm" property="item.svrCreateDate" format="yyyy年MM月dd日" /> </td>
</tr>
</table>
<br />
<table class="query_form_table">
<tr>
<th>分配給</th>
<td>${serviceForm.item.svrDueTo } </td>
<th>分配時間</th>
<td><bean:write name="serviceForm" property="item.svrDueDate" format="yyyy年MM月dd日" /> </td>
</tr>
</table>
<br />
<table class="query_form_table">
<tr>
<th>服務處理</th>
<td colspan="3"><html:textarea property="item.svrDeal" rows="6" cols="50"></html:textarea><span class="red_star">*</span></td>
</tr>
<tr>
<th>處理人</th>
<td>
<html:text property="item.svrDealBy" value="${sessionScope.USER.usrName }" readonly="true" />
<html:hidden property="item.svrDealId" value="${sessionScope.USER.usrId }" /><span class="red_star">*</span>
</td>
<th>處理時間</th>
<td><input name="svrDealDate" readonly="true" /><span class="red_star">*</span></td>
</tr>
</table>
<br />
<table disabled class="query_form_table">
<tr>
<th>處理結果</th>
<td><html:text property="item.svrResult" /></td>
<th>滿意度</th>
<td><html:text property="item.svrSatisfy" /></td>
</tr>
</table>
<script>
build_validate("item.svrDeal","服務處理不能為空","Limit","1","3000"); //build_validate("item.svrDealId","處理人不能為空","Limit","1","8"); build_validate("item.svrDealBy","處理人不能為空","Limit","1","50"); //build_validate("item.svrDealDate","處理時間不能為空","Limit","1","8");
//build_validate("item.svrResult","處理結果不能為空","Limit","1","500"); //build_validate("item.svrSatisfy","滿意度不能為空","Limit","1","4"); setCurTime('svrDealDate');
</script>
</html:form>
</body>
</html:html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -