<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>项目列表</title>
|
</head>
|
|
<body class="fullscreen">
|
[#include "/business/pages/include/static.html" /]
|
[#include "/business/pages/include/header.html" /]
|
[#include "/component/DatePicker.html" /]
|
[#include "/component/sel.html" /]
|
[#assign focusLabel = 'PROJECT_SELF']
|
<nav class="fs_nav">
|
<div class="fsnav_con">
|
<h3>项目列表</h3>
|
</div>
|
</nav>
|
<div class="fs_navpath">
|
<h3>当前位置</h3>
|
<span></span>
|
<em>项目列表</em>
|
</div>
|
|
<div class="fs_main clearfix">
|
<div class="event_fill list_common_select">
|
<table><tr><th width="85%">
|
<div class="fill_item"><label>项目编码:</label><input class="general" type="text" id="projectCode"/></div>
|
<div class="fill_item"><label>项目名称:</label><input class="general" type="text" id="projectName"/></div>
|
<div class="fill_item"><label>项目状态:</label>
|
<select id="projectState" name="projectState" style="width:120px;">
|
<option value="">请选择</option>
|
<option value="1">正常</option>
|
<option value="3">过期</option>
|
</select>
|
</div>
|
</th><td width="15%">
|
<a class="retrievebtn" id="reset">重置</a><a class="retrievebtn focus" onclick="query();">查询</a>
|
</td></tr></table>
|
</div>
|
</div>
|
|
<div class="fs_main clearfix">
|
<div id="main"></div>
|
<div class="paging clearfix" id="pagination"></div>
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
function query(){
|
var projectCode = $.trim($("#projectCode").val());
|
var projectName = $.trim($("#projectName").val());
|
var departmentId = $.trim($("#departmentId").val());
|
var projectState = $("#projectState").val();
|
var params = {"projectCode":projectCode,"projectName":projectName,"departmentId":departmentId,"projectState":projectState};
|
pagination("${base}/business/pages/duty/dutyProListData.html","${base}/business/pages/duty/dutyProListCount.html","main","pagination",{psize:10},params);
|
}
|
|
function queryStatus(status) {
|
query();
|
}
|
|
$(function() {
|
query();
|
|
$("#reset").click(function() {
|
window.location.reload(true);
|
});
|
})
|
|
|
function delProject(id) {
|
window.top.confirmInfo('提示', '确定要删除吗?', function(){
|
$.post("${base}/business/pages/servicelist/slaproject/delProject.html",{"id":id},function(data,textStatus) {
|
if(data == 1) {
|
window.top.popupTips("删除成功");
|
} else {
|
window.top.popupTips("删除失败");
|
}
|
query();
|
})
|
})
|
}
|
|
</script>
|
|
[#include "/business/pages/include/footer.html" /]
|
</body>
|
</html>
|