|
@@ -96,12 +96,7 @@
|
|
title="区域" url="/sys/area/treeData" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="false"/>
|
|
title="区域" url="/sys/area/treeData" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="false"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <%--<div class="layui-item query athird">
|
|
|
|
- <label class="layui-form-label">联系人:</label>
|
|
|
|
- <div class="layui-input-block">
|
|
|
|
- <form:input path="workClientLinkman.name" htmlEscape="false" maxlength="255" class=" form-control layui-input"/>
|
|
|
|
- </div>
|
|
|
|
- </div>--%>
|
|
|
|
|
|
+
|
|
<div class="layui-item athird">
|
|
<div class="layui-item athird">
|
|
<div class="input-group">
|
|
<div class="input-group">
|
|
<a href="#" id="moresee"><i class="glyphicon glyphicon-menu-down"></i></a>
|
|
<a href="#" id="moresee"><i class="glyphicon glyphicon-menu-down"></i></a>
|
|
@@ -139,7 +134,7 @@
|
|
<div class="layui-input-block">
|
|
<div class="layui-input-block">
|
|
<form:select path="companyIndustry" class="form-control layui-input">
|
|
<form:select path="companyIndustry" class="form-control layui-input">
|
|
<form:option value="" label=""/>
|
|
<form:option value="" label=""/>
|
|
- <form:options items="${fns:getMainDictList('company_industry')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
|
|
|
+<%-- <form:options items="${fns:getMainDictList('company_industry')}" itemLabel="label" itemValue="value" htmlEscape="false"/>--%>
|
|
</form:select>
|
|
</form:select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -148,7 +143,7 @@
|
|
<div class="layui-input-block">
|
|
<div class="layui-input-block">
|
|
<form:select path="clientType" class="form-control layui-input">
|
|
<form:select path="clientType" class="form-control layui-input">
|
|
<form:option value="" label=""/>
|
|
<form:option value="" label=""/>
|
|
- <form:options items="${fns:getMainDictList('client_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
|
|
|
+<%-- <form:options items="${fns:getMainDictList('client_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>--%>
|
|
</form:select>
|
|
</form:select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -238,7 +233,6 @@
|
|
,"id":"${workClientInfo.id}"
|
|
,"id":"${workClientInfo.id}"
|
|
,"linkman":"${workClientInfo.workClientLinkman.id}"
|
|
,"linkman":"${workClientInfo.workClientLinkman.id}"
|
|
,"clientName":"${workClientInfo.name}"
|
|
,"clientName":"${workClientInfo.name}"
|
|
- <%--,"clientName":"<c:out value="${workClientInfo.name}" escapeXml="true"/>"--%>
|
|
|
|
<%--,"clientProperty":"${fns:getMainDictLabel(workClientInfo.companyType, 'company_type', '')}"--%>
|
|
<%--,"clientProperty":"${fns:getMainDictLabel(workClientInfo.companyType, 'company_type', '')}"--%>
|
|
,"clientProperty":"${workClientInfo.companyType}"
|
|
,"clientProperty":"${workClientInfo.companyType}"
|
|
,"trade":"${workClientInfo.companyIndustry}"
|
|
,"trade":"${workClientInfo.companyIndustry}"
|
|
@@ -247,8 +241,8 @@
|
|
,"clientType":"${workClientInfo.clientType}"
|
|
,"clientType":"${workClientInfo.clientType}"
|
|
<%--,"clientType":"${fns:getMainDictLabels(workClientInfo.clientType,',','client_type', '')}"--%>
|
|
<%--,"clientType":"${fns:getMainDictLabels(workClientInfo.clientType,',','client_type', '')}"--%>
|
|
,"code":"${workClientInfo.uscCode}"
|
|
,"code":"${workClientInfo.uscCode}"
|
|
- ,"createDate":"${workClientInfo.createDate}"
|
|
|
|
- <%--,"createDate":"<fmt:formatDate value="${workClientInfo.createDate}" pattern="yyyy-MM-dd"/>"--%>
|
|
|
|
|
|
+ <%--,"createDate":"${workClientInfo.createDate}"--%>
|
|
|
|
+ ,"createDate":"<fmt:formatDate value="${workClientInfo.createDate}" pattern="yyyy-MM-dd"/>"
|
|
<c:if test="${flag == '1' or fns:getUser().id == workClientInfo.createBy.id}">
|
|
<c:if test="${flag == '1' or fns:getUser().id == workClientInfo.createBy.id}">
|
|
<shiro:hasPermission name="workclientinfo:workClientInfo:edit">,"canedit":"1"</shiro:hasPermission>
|
|
<shiro:hasPermission name="workclientinfo:workClientInfo:edit">,"canedit":"1"</shiro:hasPermission>
|
|
<shiro:hasPermission name="workclientinfo:workClientInfo:del">,"candelete":"1"</shiro:hasPermission>
|
|
<shiro:hasPermission name="workclientinfo:workClientInfo:del">,"candelete":"1"</shiro:hasPermission>
|
|
@@ -264,94 +258,7 @@
|
|
resizeListTable();/*消除由于有竖向滚动条造成table出现横向滚动条*/
|
|
resizeListTable();/*消除由于有竖向滚动条造成table出现横向滚动条*/
|
|
$("a").on("click",addLinkVisied);
|
|
$("a").on("click",addLinkVisied);
|
|
</script>
|
|
</script>
|
|
-
|
|
|
|
- <%--<!-- 表格 -->--%>
|
|
|
|
- <%--<table id="contentTable" class="table table-striped table-bordered table-hover table-condensed dataTables-example dataTable">--%>
|
|
|
|
- <%--<thead>--%>
|
|
|
|
- <%--<tr>--%>
|
|
|
|
- <%--<th style="text-align: center;width: 20%">客户名称</th>--%>
|
|
|
|
- <%--<th style="text-align: center;width: 10%">客户性质</th>--%>
|
|
|
|
- <%--<th style="text-align: center;width: 10%">所在行业</th>--%>
|
|
|
|
- <%--<th style="text-align: center;width: 10%">地区</th>--%>
|
|
|
|
- <%--<th style="text-align: center;width: 10%">客户类型</th>--%>
|
|
|
|
- <%--<th style="text-align: center;width: 15%">统一社会信用代码</th>--%>
|
|
|
|
- <%--<th style="text-align: center;width: 10%" class="sort-column createDate">创建时间</th>--%>
|
|
|
|
- <%--<th style="text-align: center;width: 15%">操作</th>--%>
|
|
|
|
- <%--</tr>--%>
|
|
|
|
- <%--</thead>--%>
|
|
|
|
- <%--<tbody>--%>
|
|
|
|
- <%--<c:choose>--%>
|
|
|
|
- <%--<c:when test="${listSize > 0}">--%>
|
|
|
|
- <%--<c:forEach items="${page.list}" var="workClientInfo">--%>
|
|
|
|
- <%--<tr>--%>
|
|
|
|
- <%--<%–<td> <input type="checkbox" id="${workClientInfo.id}" class="i-checks"></td>–%>--%>
|
|
|
|
- <%--<td style="text-align: center;"><a href="javascript:void(0)" onclick="openDialogView('查看客户信息', '${ctx}/workclientinfo/workClientInfo/detail?id=${workClientInfo.id}&wlId=${workClientInfo.workClientLinkman.id}','80%','80%')">--%>
|
|
|
|
- <%--<span title="${workClientInfo.name}">${fns:abbr(workClientInfo.name,40)}</span>--%>
|
|
|
|
- <%--</a></td>--%>
|
|
|
|
- <%--<td style="text-align: center;">--%>
|
|
|
|
- <%--${fns:getMainDictLabel(workClientInfo.companyType, 'company_type', '')}--%>
|
|
|
|
- <%--</td>--%>
|
|
|
|
|
|
|
|
- <%--<td style="text-align: center;">--%>
|
|
|
|
- <%--${fns:getMainDictLabel(workClientInfo.companyIndustry, 'company_industry', '')}--%>
|
|
|
|
- <%--</td>--%>
|
|
|
|
- <%--<td style="text-align: center;">--%>
|
|
|
|
- <%--${workClientInfo.area.name}--%>
|
|
|
|
- <%--</td>--%>
|
|
|
|
- <%--<td style="text-align: center;">--%>
|
|
|
|
- <%--<c:set value="${fn:split(workClientInfo.clientType, ',') }" var="clientTypes" />--%>
|
|
|
|
- <%--<c:forEach items="${clientTypes}" var="cType" varStatus="status">--%>
|
|
|
|
- <%--${fns:getMainDictLabel(cType, 'client_type', '')}<c:if test="${!status.last}">, </c:if>--%>
|
|
|
|
- <%--</c:forEach>--%>
|
|
|
|
- <%--</td>--%>
|
|
|
|
- <%--<td style="text-align: center;">--%>
|
|
|
|
- <%--${workClientInfo.uscCode}--%>
|
|
|
|
- <%--<%–<c:if test="${workClientInfo.companyType eq '1'}">--%>
|
|
|
|
- <%--${workClientInfo.orUnicode}--%>
|
|
|
|
- <%--</c:if>--%>
|
|
|
|
- <%--<c:if test="${workClientInfo.companyType ne '1'}">--%>
|
|
|
|
- <%--${workClientInfo.taxId}--%>
|
|
|
|
- <%--</c:if>–%>--%>
|
|
|
|
- <%--</td>--%>
|
|
|
|
- <%--<td style="text-align: center;">--%>
|
|
|
|
- <%--<fmt:formatDate value="${workClientInfo.createDate}" pattern="yyyy-MM-dd"/>--%>
|
|
|
|
- <%--</td>--%>
|
|
|
|
- <%--<td style="text-align: center;">--%>
|
|
|
|
- <%--<div style="text-align: center">--%>
|
|
|
|
- <%--<c:choose>--%>
|
|
|
|
- <%--<c:when test="${flag == '1' or fns:getUser().id == workClientInfo.createBy.id}">--%>
|
|
|
|
- <%--<shiro:hasPermission name="workclientinfo:workClientInfo:edit">--%>
|
|
|
|
- <%--<a href="javascript:void(0)" onclick="openDialog('修改客户信息', '${ctx}/workclientinfo/workClientInfo/form?id=${workClientInfo.id}¶m=1','80%','80%')" class="btn btn-success btn-xs" ><i class="fa fa-edit"></i>修改</a>--%>
|
|
|
|
- <%--</shiro:hasPermission>--%>
|
|
|
|
- <%--<shiro:hasPermission name="workclientinfo:workClientInfo:del">--%>
|
|
|
|
- <%--<a href="${ctx}/workclientinfo/workClientInfo/delete?id=${workClientInfo.id}" onclick="return confirmx('确认要删除该客户信息吗?', this.href)" class="btn btn-danger btn-xs"><i class="fa fa-trash"></i>删除</a>--%>
|
|
|
|
- <%--</shiro:hasPermission>--%>
|
|
|
|
- <%--</c:when>--%>
|
|
|
|
- <%--<c:otherwise>--%>
|
|
|
|
- <%--<a href="javascript:parent.layer.msg('只有登记人和管理员有权限操作!',{icon:5})" class="btn btn-default btn-xs" ><i class="fa fa-edit"></i>修改</a>--%>
|
|
|
|
- <%--<a href="javascript:parent.layer.msg('只有登记人和管理员有权限操作!',{icon:5})" class="btn btn-default btn-xs" ><i class="fa fa-trash"></i>删除</a>--%>
|
|
|
|
- <%--</c:otherwise>--%>
|
|
|
|
- <%--</c:choose>--%>
|
|
|
|
- <%--</div>--%>
|
|
|
|
- <%--</td>--%>
|
|
|
|
- <%--</tr>--%>
|
|
|
|
- <%--</c:forEach>--%>
|
|
|
|
- <%--</c:when>--%>
|
|
|
|
- <%--<c:otherwise>--%>
|
|
|
|
- <%--<tr align="center">--%>
|
|
|
|
- <%--<td colspan="9">暂无数据</td></tr>--%>
|
|
|
|
- <%--</c:otherwise>--%>
|
|
|
|
- <%--</c:choose>--%>
|
|
|
|
- <%--</tbody>--%>
|
|
|
|
- <%--</table>--%>
|
|
|
|
- <%----%>
|
|
|
|
- <%--<!-- 分页代码 -->--%>
|
|
|
|
- <%--<table:page page="${page}"></table:page>--%>
|
|
|
|
- <%--<br/>--%>
|
|
|
|
- <%--<br/>--%>
|
|
|
|
- <%--</div>--%>
|
|
|
|
- <%--</div>--%>
|
|
|
|
-<%--</div>--%>
|
|
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
resizeListWindow1();
|
|
resizeListWindow1();
|
|
$(window).resize(function(){
|
|
$(window).resize(function(){
|