Commit 5dfe46da by sunxin

页面优化

parent 97a34df1
...@@ -75,12 +75,14 @@ ...@@ -75,12 +75,14 @@
<groupId>bbdtek</groupId> <groupId>bbdtek</groupId>
<artifactId>bbdtek-geo-split</artifactId> <artifactId>bbdtek-geo-split</artifactId>
<version>1.0.1</version> <version>1.0.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/bbdtek-geo-split-1.0.1.jar</systemPath> <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/bbdtek-geo-split-1.0.1.jar</systemPath>
</dependency> </dependency>
<dependency> <dependency>
<groupId>bbdtek</groupId> <groupId>bbdtek</groupId>
<artifactId>npl-tire-split</artifactId> <artifactId>npl-tire-split</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/npl-tire-split-1.0.0.jar</systemPath> <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/npl-tire-split-1.0.0.jar</systemPath>
</dependency> </dependency>
<!-- geoip2 --> <!-- geoip2 -->
...@@ -610,6 +612,7 @@ ...@@ -610,6 +612,7 @@
<groupId>com.kingdee.eas.cp.eip.sso.ltpa</groupId> <groupId>com.kingdee.eas.cp.eip.sso.ltpa</groupId>
<artifactId>LTPATokenManager</artifactId> <artifactId>LTPATokenManager</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/LTPATokenManager-1.0.0.jar</systemPath> <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/LTPATokenManager-1.0.0.jar</systemPath>
</dependency> </dependency>
<!--JFreeChart--> <!--JFreeChart-->
......
...@@ -462,7 +462,7 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> { ...@@ -462,7 +462,7 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> {
if(ctBbtcBusType!=null){ if(ctBbtcBusType!=null){
SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ","; SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ",";
}else{ }else{
SupplementTypeStr = SupplementTypeStr + "--"; SupplementTypeStr = SupplementTypeStr + "-";
} }
} }
...@@ -477,7 +477,7 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> { ...@@ -477,7 +477,7 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> {
if(ctBbtcBusCategory!=null){ if(ctBbtcBusCategory!=null){
SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ","; SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ",";
}else{ }else{
SupplementCategoryStr = SupplementCategoryStr + "--"; SupplementCategoryStr = SupplementCategoryStr + "-";
} }
} }
report.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1)); report.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1));
...@@ -718,7 +718,7 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> { ...@@ -718,7 +718,7 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> {
if(ctBbtcBusType!=null){ if(ctBbtcBusType!=null){
SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ","; SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ",";
}else{ }else{
SupplementTypeStr = SupplementTypeStr + "--"; SupplementTypeStr = SupplementTypeStr + "-";
} }
} }
...@@ -733,7 +733,7 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> { ...@@ -733,7 +733,7 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> {
if(ctBbtcBusCategory!=null){ if(ctBbtcBusCategory!=null){
SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ","; SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ",";
}else{ }else{
SupplementCategoryStr = SupplementCategoryStr + "--,"; SupplementCategoryStr = SupplementCategoryStr + "-";
} }
} }
report.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1)); report.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1));
......
...@@ -141,7 +141,7 @@ public class ReportController extends BaseController { ...@@ -141,7 +141,7 @@ public class ReportController extends BaseController {
if(ctBbtcBusType!=null){ if(ctBbtcBusType!=null){
SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ","; SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ",";
}else{ }else{
SupplementTypeStr = SupplementTypeStr + "--"; SupplementTypeStr = SupplementTypeStr + "-";
} }
} }
...@@ -156,7 +156,7 @@ public class ReportController extends BaseController { ...@@ -156,7 +156,7 @@ public class ReportController extends BaseController {
if(ctBbtcBusCategory!=null){ if(ctBbtcBusCategory!=null){
SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ","; SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ",";
}else{ }else{
SupplementCategoryStr = SupplementCategoryStr + "--"; SupplementCategoryStr = SupplementCategoryStr + "-";
} }
} }
report.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1)); report.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1));
...@@ -322,7 +322,7 @@ public class ReportController extends BaseController { ...@@ -322,7 +322,7 @@ public class ReportController extends BaseController {
if(ctBbtcBusType!=null){ if(ctBbtcBusType!=null){
SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ","; SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ",";
}else{ }else{
SupplementTypeStr = SupplementTypeStr + "--"; SupplementTypeStr = SupplementTypeStr + "-";
} }
} }
...@@ -337,7 +337,7 @@ public class ReportController extends BaseController { ...@@ -337,7 +337,7 @@ public class ReportController extends BaseController {
if(ctBbtcBusCategory!=null){ if(ctBbtcBusCategory!=null){
SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ","; SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ",";
}else{ }else{
SupplementCategoryStr = SupplementCategoryStr + "--"; SupplementCategoryStr = SupplementCategoryStr + "-";
} }
} }
report.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1)); report.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1));
...@@ -418,7 +418,7 @@ public class ReportController extends BaseController { ...@@ -418,7 +418,7 @@ public class ReportController extends BaseController {
if(ctBbtcBusType!=null){ if(ctBbtcBusType!=null){
SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ","; SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ",";
}else{ }else{
SupplementTypeStr = SupplementTypeStr + "--"; SupplementTypeStr = SupplementTypeStr + "-";
} }
} }
...@@ -433,7 +433,7 @@ public class ReportController extends BaseController { ...@@ -433,7 +433,7 @@ public class ReportController extends BaseController {
if(ctBbtcBusCategory!=null){ if(ctBbtcBusCategory!=null){
SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ","; SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ",";
}else{ }else{
SupplementCategoryStr = SupplementCategoryStr + "--"; SupplementCategoryStr = SupplementCategoryStr + "-";
} }
} }
reportEntity1.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1)); reportEntity1.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1));
...@@ -606,7 +606,7 @@ public class ReportController extends BaseController { ...@@ -606,7 +606,7 @@ public class ReportController extends BaseController {
if(ctBbtcBusType!=null){ if(ctBbtcBusType!=null){
SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ","; SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ",";
}else{ }else{
SupplementTypeStr = SupplementTypeStr + "--"; SupplementTypeStr = SupplementTypeStr + "-";
} }
} }
...@@ -622,7 +622,7 @@ public class ReportController extends BaseController { ...@@ -622,7 +622,7 @@ public class ReportController extends BaseController {
if(ctBbtcBusCategory!=null){ if(ctBbtcBusCategory!=null){
SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ","; SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ",";
}else{ }else{
SupplementCategoryStr = SupplementCategoryStr + "--"; SupplementCategoryStr = SupplementCategoryStr + "-";
} }
} }
reportEntity1.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1)); reportEntity1.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1));
...@@ -1012,7 +1012,7 @@ public class ReportController extends BaseController { ...@@ -1012,7 +1012,7 @@ public class ReportController extends BaseController {
if (ctBbtcBusType != null) { if (ctBbtcBusType != null) {
SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ","; SupplementTypeStr = SupplementTypeStr + ctBbtcBusType.getName() + ",";
} else { } else {
SupplementTypeStr = SupplementTypeStr + "--"; /* SupplementTypeStr = SupplementTypeStr + "--";*/
} }
} }
...@@ -1027,7 +1027,7 @@ public class ReportController extends BaseController { ...@@ -1027,7 +1027,7 @@ public class ReportController extends BaseController {
if (ctBbtcBusCategory != null) { if (ctBbtcBusCategory != null) {
SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ","; SupplementCategoryStr = SupplementCategoryStr + ctBbtcBusCategory.getName() + ",";
} else { } else {
SupplementCategoryStr = SupplementCategoryStr + "--"; /* SupplementCategoryStr = SupplementCategoryStr + "--";*/
} }
} }
reportEntity1.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1)); reportEntity1.setSupplementCategory(SupplementCategoryStr.substring(0,SupplementCategoryStr.length()-1));
......
...@@ -10,6 +10,7 @@ import com.ejweb.modules.workbench.entity.ReportNotice; ...@@ -10,6 +10,7 @@ import com.ejweb.modules.workbench.entity.ReportNotice;
import com.ejweb.modules.workbench.entity.ReportNoticeEntity; import com.ejweb.modules.workbench.entity.ReportNoticeEntity;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List; import java.util.List;
...@@ -37,6 +38,8 @@ public class NoticeService extends CrudService<ReportNoticeDao, ReportNoticeEnti ...@@ -37,6 +38,8 @@ public class NoticeService extends CrudService<ReportNoticeDao, ReportNoticeEnti
page.setCount(noticeList.size()); page.setCount(noticeList.size());
return page; return page;
} }
@Transactional(readOnly = false)
public void updateByPrimaryKeySelective(ReportNotice record) throws Exception{ public void updateByPrimaryKeySelective(ReportNotice record) throws Exception{
record.setStatus("1"); record.setStatus("1");
noticeMapper.updateByPrimaryKeySelective(record); noticeMapper.updateByPrimaryKeySelective(record);
......
...@@ -540,7 +540,7 @@ ...@@ -540,7 +540,7 @@
function getType02() { function getType02() {
var selectNode = $("#supplementType"); var selectNode = $("#supplementType");
selectNode.empty();//每次需要将上一次的数据进行清空 selectNode.empty();//每次需要将上一次的数据进行清空
selectNode.append("<option value=''>请选择</option>"); /* selectNode.append("<option value=''>请选择</option>");*/
var ts_describe1= $("#supplementGroup").val(); var ts_describe1= $("#supplementGroup").val();
var ts_describe2= $("#supplementArea").val(); var ts_describe2= $("#supplementArea").val();
...@@ -553,7 +553,6 @@ ...@@ -553,7 +553,6 @@
var data2 = returnedData.ctBbtcTypeList; var data2 = returnedData.ctBbtcTypeList;
var supplementType="${report.supplementType}"; var supplementType="${report.supplementType}";
supplementType=supplementType+","; supplementType=supplementType+",";
alert(supplementType);
if (data2 != '') { if (data2 != '') {
var slsb=$("#supplementType"); var slsb=$("#supplementType");
...@@ -588,7 +587,6 @@ ...@@ -588,7 +587,6 @@
var data2 = returnedData.ctBbtcTypeList; var data2 = returnedData.ctBbtcTypeList;
var supplementType="${report.supplementType}"; var supplementType="${report.supplementType}";
supplementType=supplementType+","; supplementType=supplementType+",";
alert(supplementType);
if (data2 != '') { if (data2 != '') {
var slsb=$("#supplementType"); var slsb=$("#supplementType");
...@@ -721,15 +719,14 @@ ...@@ -721,15 +719,14 @@
} }
} }
/*
/*
*联动查询类型下的类别02 改变业务类型时执行的,和初始化查询不同 *联动查询类型下的类别02 改变业务类型时执行的,和初始化查询不同
*/ */
function getBusCategory02(){ function getBusCategory02(){
var selectNode = $("#supplementCategory"); var selectNode = $("#supplementCategory");
selectNode.empty();//每次需要将上一次的数据进行清空 selectNode.empty();//每次需要将上一次的数据进行清空
selectNode.append("<option value=''>请选择</option>"); /* selectNode.append("<option value=''>请选择</option>");*/
/*获取类型选项框中的多个值 逗号分隔*/ /*获取类型选项框中的多个值 逗号分隔*/
var ts_describe= $("#supplementType").val(); var ts_describe= $("#supplementType").val();
...@@ -766,7 +763,7 @@ ...@@ -766,7 +763,7 @@
} }
/* /*
*联动查询类型下的类别 *联动查询类型下的类别
*/ */
function getBusCategory(){ function getBusCategory(){
...@@ -1063,7 +1060,7 @@ ...@@ -1063,7 +1060,7 @@
</select>--%> </select>--%>
<select id="supplementType" name="supplementType" class="selectpicker bla bla bli" onchange="getBusCategory02()" style="width: 280px" multiple data-live-search="true" > <select id="supplementType" name="supplementType" class="selectpicker bla bla bli" onchange="getBusCategory02()" style="width: 280px" multiple data-live-search="true" >
<option value="">请选择</option> <%-- <option value="">请选择</option>--%>
<c:if test="${ not empty typeMap}"> <c:if test="${ not empty typeMap}">
<c:forEach items="${typeMap}" var="type" > <c:forEach items="${typeMap}" var="type" >
...@@ -1088,7 +1085,7 @@ ...@@ -1088,7 +1085,7 @@
</form:select>--%> </form:select>--%>
<select id="supplementCategory" name="supplementCategory" class="selectpicker bla bla bli" onchange="resetPageNo()" style="width: 280px" multiple data-live-search="true" > <select id="supplementCategory" name="supplementCategory" class="selectpicker bla bla bli" onchange="resetPageNo()" style="width: 280px" multiple data-live-search="true" >
<option value="">请选择</option> <%-- <option value="">请选择</option>--%>
<c:if test="${not empty catgoryMap}"> <c:if test="${not empty catgoryMap}">
<c:forEach items="${catgoryMap}" var="catgory" > <c:forEach items="${catgoryMap}" var="catgory" >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment