238 lines
9.9 KiB
HTML
238 lines
9.9 KiB
HTML
|
|
<!DOCTYPE html>
|
|||
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
|||
|
|
<head>
|
|||
|
|
<th:block th:include="include :: header('项目管理列表')" />
|
|||
|
|
</head>
|
|||
|
|
<body class="gray-bg">
|
|||
|
|
<div class="container-div">
|
|||
|
|
<div class="row">
|
|||
|
|
<div class="col-sm-12 search-collapse">
|
|||
|
|
<form id="formId">
|
|||
|
|
<div class="select-list">
|
|||
|
|
<ul>
|
|||
|
|
<li>
|
|||
|
|
<label>项目编码:</label>
|
|||
|
|
<input type="text" name="projectCode"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>项目名称:</label>
|
|||
|
|
<input type="text" name="projectName"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>客户code:</label>
|
|||
|
|
<input type="text" name="customerCode"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>客户名称:</label>
|
|||
|
|
<input type="text" name="customerName"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>属地:</label>
|
|||
|
|
<input type="text" name="province"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>项目阶段:</label>
|
|||
|
|
<input type="text" name="projectStage"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>项目把握度:</label>
|
|||
|
|
<input type="text" name="projectGraspDegree"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>汇智支撑人员id:</label>
|
|||
|
|
<input type="text" name="hzSupportUser"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>运作机构:</label>
|
|||
|
|
<input type="text" name="operateInstitution"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>代理商code:</label>
|
|||
|
|
<input type="text" name="partnerCode"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>联系方式:</label>
|
|||
|
|
<input type="text" name="contactWay"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>预计金额:</label>
|
|||
|
|
<input type="text" name="estimatedAmount"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>预计下单时间:</label>
|
|||
|
|
<input type="text" class="time-input" placeholder="请选择预计下单时间" name="estimatedOrderTime"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>预计发货时间:</label>
|
|||
|
|
<input type="text" class="time-input" placeholder="请选择预计发货时间" name="estimatedDeliverTime"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>竞争对手:</label>
|
|||
|
|
<input type="text" name="competitor"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>是否国产:</label>
|
|||
|
|
<input type="text" name="countryProduct"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>服务器配置:</label>
|
|||
|
|
<input type="text" name="serverConfiguration"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>关键技术问题:</label>
|
|||
|
|
<input type="text" name="keyProblem"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<label>项目描述:</label>
|
|||
|
|
<input type="text" name="projectDesc"/>
|
|||
|
|
</li>
|
|||
|
|
<li>
|
|||
|
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
|||
|
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
|||
|
|
</li>
|
|||
|
|
</ul>
|
|||
|
|
</div>
|
|||
|
|
</form>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="btn-group-sm" id="toolbar" role="group">
|
|||
|
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="sip:product:add">
|
|||
|
|
<i class="fa fa-plus"></i> 添加
|
|||
|
|
</a>
|
|||
|
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="sip:product:edit">
|
|||
|
|
<i class="fa fa-edit"></i> 修改
|
|||
|
|
</a>
|
|||
|
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="sip:product:remove">
|
|||
|
|
<i class="fa fa-remove"></i> 删除
|
|||
|
|
</a>
|
|||
|
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="sip:product:export">
|
|||
|
|
<i class="fa fa-download"></i> 导出
|
|||
|
|
</a>
|
|||
|
|
</div>
|
|||
|
|
<div class="col-sm-12 select-table table-striped">
|
|||
|
|
<table id="bootstrap-table"></table>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<th:block th:include="include :: footer" />
|
|||
|
|
<script th:inline="javascript">
|
|||
|
|
var editFlag = [[${@permission.hasPermi('sip:product:edit')}]];
|
|||
|
|
var removeFlag = [[${@permission.hasPermi('sip:product:remove')}]];
|
|||
|
|
var prefix = ctx + "sip/project";
|
|||
|
|
|
|||
|
|
$(function() {
|
|||
|
|
var options = {
|
|||
|
|
url: prefix + "/list",
|
|||
|
|
createUrl: prefix + "/add",
|
|||
|
|
updateUrl: prefix + "/edit/{id}",
|
|||
|
|
removeUrl: prefix + "/remove",
|
|||
|
|
exportUrl: prefix + "/export",
|
|||
|
|
modalName: "项目管理",
|
|||
|
|
columns: [{
|
|||
|
|
checkbox: true
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'id',
|
|||
|
|
title: '',
|
|||
|
|
visible: false
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'projectCode',
|
|||
|
|
title: '项目编码'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'projectName',
|
|||
|
|
title: '项目名称'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'customerCode',
|
|||
|
|
title: '客户code'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'customerName',
|
|||
|
|
title: '客户名称'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'industryType',
|
|||
|
|
title: '行业'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'province',
|
|||
|
|
title: '属地'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'projectStage',
|
|||
|
|
title: '项目阶段'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'projectGraspDegree',
|
|||
|
|
title: '项目把握度'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'hzSupportUser',
|
|||
|
|
title: '汇智支撑人员id'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'operateInstitution',
|
|||
|
|
title: '运作机构'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'partnerCode',
|
|||
|
|
title: '代理商code'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'contactWay',
|
|||
|
|
title: '联系方式'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'estimatedAmount',
|
|||
|
|
title: '预计金额'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'currencyType',
|
|||
|
|
title: '币种'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'estimatedOrderTime',
|
|||
|
|
title: '预计下单时间'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'estimatedDeliverTime',
|
|||
|
|
title: '预计发货时间'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'competitor',
|
|||
|
|
title: '竞争对手'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'countryProduct',
|
|||
|
|
title: '是否国产'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'serverConfiguration',
|
|||
|
|
title: '服务器配置'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'keyProblem',
|
|||
|
|
title: '关键技术问题'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'projectDesc',
|
|||
|
|
title: '项目描述'
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
title: '操作',
|
|||
|
|
align: 'center',
|
|||
|
|
formatter: function(value, row, index) {
|
|||
|
|
var actions = [];
|
|||
|
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
|||
|
|
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
|
|||
|
|
return actions.join('');
|
|||
|
|
}
|
|||
|
|
}]
|
|||
|
|
};
|
|||
|
|
$.table.init(options);
|
|||
|
|
});
|
|||
|
|
</script>
|
|||
|
|
</body>
|
|||
|
|
</html>
|