⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dev_execute.jsp

📁 主要实现管理客户以及客户信息和其公司的服务管理
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>

<%@ 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="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>jb-aptech毕业设计项目</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link href="<%=request.getContextPath()%>/html/css/style.css"
			rel="stylesheet" type="text/css">
		<script src="<%=request.getContextPath()%>/html/script/common.js"></script>
		<script type="text/javascript">
		
		  function updateplan(obj,pid,sid){
		  	  document.forms[obj].action="<%=request.getContextPath()%>/sales.do?method=doEditPlan&pid="+pid+"&sid="+sid;
		  document.forms[obj].submit();
		  }
		  	  function executesucess(obj){
		    	     	 var url = "<%=request.getContextPath()%>/sales.do?method=doExcueteSucess&sid="+obj;
		 to(url);
		  }
		  	  function madeplan(obj){
		   	 var url = "<%=request.getContextPath()%>/sales.do?method=toDevPlan&sid="+obj;
		 to(url);
		  }
	  	  function executefails(obj){
		   	 var url = "<%=request.getContextPath()%>/sales.do?method=doExcuetefails&sid="+obj;
		 to(url);
		  }	  
		</script>
	</head>
	<body>

		<div class="page_title">
			客户开发计划 &gt; 执行计划
		</div>
		<div class="button_bar">
			<button class="common_button" onclick="help('');">
				帮助
			</button>
			<button class="common_button"
				onclick="executefails('${sales.salesChanceId }');">
				终止开发
			</button>
			<button class="common_button" onclick="back();">
				返回
			</button>
			<button class="common_button"
				onclick="madeplan('${sales.salesChanceId }');">
				制定计划
			</button>
			<button class="common_button"
				onclick="executesucess('${sales.salesChanceId }');">
				开发成功
			</button>

		</div>
		<table class="query_form_table">
			<tr>
				<th>
					编号
				</th>
				<td>
					${sales.salesChanceId }
				</td>
				<th>
					机会来源
				</th>
				<td>
					${sales.salesChanceSource }
				</td>
			</tr>
			<tr>
				<th>
					客户名称
				</th>
				<td>
					${sales.salesChanceCustomerName }
				</td>
				<th>
					成功机率(%)
				</th>
				<td>
					&nbsp;${sales.salesChanceSucessOdds }
				</td>
			</tr>
			<tr>
				<th>
					概要
				</th>
				<td colspan="3">
					${sales.salesChanceSummary }
				</td>
			</tr>
			<tr>
				<th>
					联系人
				</th>
				<td>
					${sales.salesChanceLinkMan }
				</td>
				<th>
					联系人电话
				</th>
				<td>
					${sales.salesChanceLinkManPhone }
				</td>
			</tr>
			<tr>
				<th>
					机会描述
				</th>
				<td colspan="3">
					${sales.salesChanceDescription }
				</td>
			</tr>
			<tr>
				<th>
					创建人
				</th>
				<td>
					${sales.userInfoBySalesChanceCreaterId.userName }
				</td>
				<th>
					创建时间
				</th>
				<td>
					${sales.salesChanceDataTime }
				</td>
			</tr>
			<tr>
				<th>
					指派给
				</th>
				<td>
					${sales.userInfoBySalesChanceAssignId.userName }
				</td>
				<th>
					指派时间
				</th>
				<td>
					${sales.salesChanceAssignDate }
				</td>
			</tr>
		</table>
		<br />
		<table class="data_list_table" id="table1">
			<tr>
				<th>
					日期
				</th>
				<th>
					计划
				</th>
				<th>
					执行效果${msg }
				</th>
			</tr>
			<c:forEach items="${planlist}" var="plan">
				<html:form action="/sales" method="post"
					styleId="pageForm${plan.exploitationPlanId }">
					<tr>
						<td class="list_data_text" height="24">
							<logic:notEmpty name="planlist" scope="request">
								<bean:write name="plan" property="exploitationPlanDatetime"
									format="yyyy年MM月dd日" />
							</logic:notEmpty>
						</td>
						<td class="list_data_ltext">
							<html:text property="plan.exploitationPlanPlan"
								value="${plan.exploitationPlanPlan }" size="50" />
						</td>
						<td class="list_data_ltext" height="24">
							<html:text property="plan.exploitationPlanExecute" value=""
								size="50" />
						<td>
							<button class="common_button"
								onclick="updateplan('pageForm${plan.exploitationPlanId }','${plan.exploitationPlanId }','${sales.salesChanceId }');">
								保存
							</button>
						</td>
					</tr>
				</html:form>
			</c:forEach>
		</table>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -