RuoYi/ruoyi-admin/src/main/resources/templates/system/clew/clew.html

270 lines
10 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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="company"/>
</li>
<li>
<label>销售:</label>
<input type="text" name="saleId"/>
</li>
<li>
<label>信息流:</label>
<input type="text" name="infoFlow"/>
</li>
<li>
<label>下次跟进日期:</label>
<input type="text" class="time-input" placeholder="请选择下次跟进日期" name="nextTime"/>
</li>
<li>
<label>微信昵称:</label>
<input type="text" name="wxName"/>
</li>
<li>
<label>手机号:</label>
<input type="text" name="phone"/>
</li>
<li>
<label>债务金额:</label>
<input type="text" name="debtMoney"/>
</li>
<li>
<label>App来源</label>
<input type="text" name="sourceApp"/>
</li>
<li>
<label>微信号:</label>
<input type="text" name="wxAccount"/>
</li>
<li>
<label>客户评级:</label>
<input type="text" name="customerLevel"/>
</li>
<li>
<label>是否长按识别二维码:</label>
<input type="text" name="touchQrcode"/>
</li>
<li>
<label>跟进次数:</label>
<input type="text" name="contactNumber"/>
</li>
<li>
<label>是否触达:</label>
<input type="text" name="isTouch"/>
</li>
<li>
<label>是否加微:</label>
<input type="text" name="isAddWx"/>
</li>
<li>
<label>是否有效:</label>
<input type="text" name="isEffective"/>
</li>
<li>
<label>是否意向:</label>
<input type="text" name="isPlan"/>
</li>
<li>
<label>成交状态:</label>
<input type="text" name="isDeal"/>
</li>
<li>
<label>省份:</label>
<input type="text" name="provinceName"/>
</li>
<li>
<label>城市:</label>
<input type="text" name="cityName"/>
</li>
<li>
<label>姓名:</label>
<input type="text" name="customerName"/>
</li>
<li>
<label>方便接电话时间:</label>
<input type="text" class="time-input" placeholder="请选择方便接电话时间" name="contactTime"/>
</li>
<li>
<label>其他联系方式:</label>
<input type="text" name="otherPhone"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</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="system:clew:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:clew:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:clew:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:clew: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('system:clew:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:clew:remove')}]];
var prefix = ctx + "system/clew";
$(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: 'company',
title: '广告主'
},
{
field: 'saleId',
title: '销售'
},
{
field: 'infoFlow',
title: '信息流'
},
{
field: 'nextTime',
title: '下次跟进日期'
},
{
field: 'wxName',
title: '微信昵称'
},
{
field: 'phone',
title: '手机号'
},
{
field: 'debtType',
title: '债务类型'
},
{
field: 'debtMoney',
title: '债务金额'
},
{
field: 'sourceType',
title: '推广来源'
},
{
field: 'sourceApp',
title: 'App来源'
},
{
field: 'wxAccount',
title: '微信号'
},
{
field: 'customerStatus',
title: '客户状态'
},
{
field: 'customerLevel',
title: '客户评级'
},
{
field: 'touchQrcode',
title: '是否长按识别二维码'
},
{
field: 'contactNumber',
title: '跟进次数'
},
{
field: 'isTouch',
title: '是否触达'
},
{
field: 'isAddWx',
title: '是否加微'
},
{
field: 'isEffective',
title: '是否有效'
},
{
field: 'isPlan',
title: '是否意向'
},
{
field: 'isDeal',
title: '成交状态'
},
{
field: 'provinceName',
title: '省份'
},
{
field: 'cityName',
title: '城市'
},
{
field: 'customerName',
title: '姓名'
},
{
field: 'contactTime',
title: '方便接电话时间'
},
{
field: 'otherPhone',
title: '其他联系方式'
},
{
field: 'remark',
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>