客户信息
<h3><strong>简要描述:</strong></h3>
<h1>- 获取表头字段接口</h1>
<p><strong>请求URL:</strong></p>
<ul>
<li>` <a href="http://../admin/crm_field/listProjectFields"><a href="http://../admin/crm\_field/listProjectFields">http://../admin/crm\_field/listProjectFields</a></a></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>project_id</td>
<td>是</td>
<td>int</td>
<td>项目编号</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;msg&quot;: &quot;success&quot;,
&quot;code&quot;: 0,
&quot;data&quot;: [{
&quot;id&quot;: 1,
&quot;issue&quot;: &quot;&quot;,
&quot;field_name&quot;: &quot;客户姓名&quot;,
&quot;field_type&quot;: 1,
&quot;input_type&quot;: 1,
&quot;is_display&quot;: 1,
&quot;is_edit&quot;: 1,
&quot;is_empty&quot;: 1,
&quot;is_search&quot;: 0,
&quot;jump&quot;: 1,
&quot;field_json&quot;: null,
&quot;status&quot;: 1,
&quot;crm_id&quot;: 1
}]
}</code></pre>
<p><strong>说明:</strong><br />
field_name为字段名称,坐席工号,录入日期,呼叫状态,为固定字段</p>
<hr />
<h3><strong>简要描述:</strong></h3>
<h1>- 获取客户信息接口</h1>
<p><strong>请求URL:</strong></p>
<ul>
<li>` <a href="http://../admin/customer_info/grid"><a href="http://../admin/customer\_info/grid">http://../admin/customer\_info/grid</a></a></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>project_id</td>
<td>是</td>
<td>int</td>
<td>项目编号</td>
</tr>
<tr>
<td>task_id</td>
<td>是</td>
<td>int</td>
<td>任务编号 ,默认传0</td>
</tr>
<tr>
<td>status</td>
<td>是</td>
<td>int</td>
<td>呼叫状态 0:已呼,1:未呼 ,默认传-1</td>
</tr>
<tr>
<td>type</td>
<td>是</td>
<td>int</td>
<td>客户归属 0:公海,1:私海,默认传-1</td>
</tr>
<tr>
<td>telephone</td>
<td>是</td>
<td>int</td>
<td>号码</td>
</tr>
<tr>
<td>extno</td>
<td>是</td>
<td>int</td>
<td>工号</td>
</tr>
<tr>
<td>startd</td>
<td>是</td>
<td>int</td>
<td>开始时间</td>
</tr>
<tr>
<td>endd</td>
<td>是</td>
<td>int</td>
<td>结束时间</td>
</tr>
<tr>
<td>name</td>
<td>是</td>
<td>string</td>
<td>客户姓名</td>
</tr>
<tr>
<td>conditions</td>
<td>是</td>
<td>json</td>
<td>高级查询条件,默认:[],根据获取表头字段接口,is_search=1,的字段作为参数,例:[{“name”:”测三四十”,”type”:3,”value”:”1”}],name为field_name值,type为 input_type值,value为输入或选择的值</td>
</tr>
<tr>
<td>page</td>
<td>是</td>
<td>int</td>
<td>起始条数</td>
</tr>
<tr>
<td>limit</td>
<td>是</td>
<td>int</td>
<td>当前页显示条数</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;msg&quot;: &quot;success&quot;,
&quot;code&quot;: 0,
&quot;data&quot;: [{
&quot;uuid&quot;: &quot;beeb8dda-87fb-4f7d-aa60-a4dee98e2e08&quot;,
&quot;project_id&quot;: 1,
&quot;import_stamp&quot;: &quot;2021-08-26 18:17:52&quot;,
&quot;edit_stamp&quot;: &quot;2021-08-28 17:26:26&quot;,
&quot;group&quot;: &quot;default&quot;,
&quot;name&quot;: &quot;&quot;,
&quot;telephone&quot;: &quot;18790337264&quot;,
&quot;extno&quot;: &quot;1001&quot;,
&quot;status&quot;: 0,
&quot;fields&quot;: &quot;{\&quot;年龄\&quot;: \&quot;39\&quot;, \&quot;多选2\&quot;: [\&quot;张三\&quot;, \&quot;李四\&quot;], \&quot;下拉框\&quot;: \&quot;3\&quot;, \&quot;多选框\&quot;: [\&quot;11\&quot;], \&quot;长文本\&quot;: \&quot;\&quot;, \&quot;乡镇地址\&quot;: \&quot;贵州省/厦门市/海沧区/中华街道办事处/蜂巢山社区居委会/152964/3076/3190/3087/3081\&quot;}&quot;,
&quot;task_id&quot;: 0,
&quot;admin_id&quot;: 1
}],
&quot;count&quot;: 2
}</code></pre>
<h3><strong>简要描述:</strong></h3>
<h1>- 导出客户信息接口</h1>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://../admin/info/download</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>project_id</td>
<td>是</td>
<td>int</td>
<td>项目编号</td>
</tr>
<tr>
<td>task_id</td>
<td>是</td>
<td>int</td>
<td>任务编号 ,默认传0</td>
</tr>
<tr>
<td>status</td>
<td>是</td>
<td>int</td>
<td>呼叫状态 0:已呼,1:未呼 ,默认传-1</td>
</tr>
<tr>
<td>type</td>
<td>是</td>
<td>int</td>
<td>客户归属 0:公海,1:私海,默认传-1</td>
</tr>
<tr>
<td>telephone</td>
<td>是</td>
<td>int</td>
<td>号码</td>
</tr>
<tr>
<td>extno</td>
<td>是</td>
<td>int</td>
<td>工号</td>
</tr>
<tr>
<td>startd</td>
<td>是</td>
<td>int</td>
<td>开始时间</td>
</tr>
<tr>
<td>endd</td>
<td>是</td>
<td>int</td>
<td>结束时间</td>
</tr>
<tr>
<td>name</td>
<td>是</td>
<td>string</td>
<td>客户姓名</td>
</tr>
<tr>
<td>conditions</td>
<td>是</td>
<td>json</td>
<td>高级查询条件,默认:[],根据获取表头字段接口,is_search=1,的字段作为参数,例:[{“name”:”测三四十”,”type”:3,”value”:”1”}],name为field_name值,type为 input_type值,value为输入或选择的值</td>
</tr>
</tbody>
</table>
<h3><strong>简要描述:</strong></h3>
<h1>- 分配坐席接口</h1>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://../admin/customer_info/assign</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>agent</td>
<td>是</td>
<td>string</td>
<td>例:1001</td>
<td>坐席名称</td>
</tr>
<tr>
<td>uuids</td>
<td>是</td>
<td>string</td>
<td>例:”sdfe15erd3f5t”,”e51sd541tsd1fd3f”</td>
<td>客户信息标识</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<p>复制 <code>{ &quot;code&quot;: 0, &quot;msg&quot;: &quot;成功&quot;, &quot;data&quot;:1 }</code></p>