Commit b5765d57 by wangxing

下载修改

parent 398d6c3a
......@@ -5799,6 +5799,7 @@ public class SolrServiceImpl implements SolrService {
mapResult.put("jsasj_fxasjdd_xzqhmc", solrDocument.get("FXASJDD_XZQHMC"));
mapResult.put("jsasj_asjfsdd_xzqhdm", solrDocument.get("ASJFSDD_XZQHDM"));
mapResult.put("jsasj_asjfsdd_dzmc", solrDocument.get("ASJFSDD_DZMC"));
mapResult.put("jsasj_fxasjdd_dzmc", solrDocument.get("JSASJ_FXASJDD_DZMC"));
String jsasjAsjfssjAsjfskssj = (String) solrDocument.get("ASJFSSJ_ASJFSJSSJ");
if(null!=jsasjAsjfssjAsjfskssj && !"".equals(jsasjAsjfssjAsjfskssj)){
if(jsasjAsjfssjAsjfskssj.length() > 19){
......@@ -6379,8 +6380,7 @@ public class SolrServiceImpl implements SolrService {
return easyUIPage;
}
//目前没有用到(2019-01-09)
//接受案事件查询
public List<Map<String, Object>> getJsasjSorlByFQ(String fq,Integer maxValue,String solrAddress, String sorlInstance,String[] checkIds){
solrAddress = solrAddress + "/"+sorlInstance;
HttpSolrClient client = new HttpSolrClient(solrAddress);
......@@ -6420,10 +6420,11 @@ public class SolrServiceImpl implements SolrService {
for (SolrDocument solrDocument : results) {
if(solrDocument != null){
Map<String, Object> mapResult = new HashMap<String, Object>();
mapResult.put("id", solrDocument.get("ID"));
mapResult.put("jsasj_jyaq", solrDocument.get("JSASJ_JYAQ"));
mapResult.put("jsasj_asjfsdd_xzqhdm", solrDocument.get("JSASJ_ASJFSDD_XZQHDM"));
mapResult.put("jsasj_asjfsdd_dzmc", solrDocument.get("JSASJ_ASJFSDD_DZMC"));
mapResult.put("jsasj_fxasjdd_xzqhmc", solrDocument.get("FXASJDD_XZQHMC"));
mapResult.put("jsasj_asjfsdd_xzqhdm", solrDocument.get("ASJFSDD_XZQHDM"));
mapResult.put("jsasj_asjfsdd_dzmc", solrDocument.get("ASJFSDD_DZMC"));
mapResult.put("jsasj_fxasjdd_dzmc", solrDocument.get("JSASJ_FXASJDD_DZMC"));
String jsasjAsjfssjAsjfskssj = (String) solrDocument.get("ASJFSSJ_ASJFSJSSJ");
if(null!=jsasjAsjfssjAsjfskssj && !"".equals(jsasjAsjfssjAsjfskssj)){
if(jsasjAsjfssjAsjfskssj.length() > 19){
......@@ -6445,6 +6446,14 @@ public class SolrServiceImpl implements SolrService {
mapResult.put("zuzdw_xbr_xm1", solrDocument.get("ZUZDW_XBR_XM1"));
mapResult.put("zuzdw_gajgmc", solrDocument.get("ZUZDW_GAJGMC"));
mapResult.put("xxdjdw_gajgmc", solrDocument.get("XXDJDW_GAJGMC"));
mapResult.put("jsasj_asjfssj_asjfskssj", solrDocument.get("ASJFSSJ_ASJFSKSSJ"));
mapResult.put("jsasj_asjfssj_asjfskssj_year", solrDocument.get("ASJFSSJ_ASJFSKSSJ_YEAR"));
mapResult.put("jsasj_asjfssj_asjfskssj_month", solrDocument.get("ASJFSSJ_ASJFSKSSJ_MONTH"));
mapResult.put("jsasj_asjfssj_asjfskssj_month", solrDocument.get("ASJFSSJ_ASJFSKSSJ_DATE"));
mapResult.put("jsasj_fxasjdd_xzqhdm", solrDocument.get("FXASJDD_XZQHDM"));
mapResult.put("jsasj_fxasjdd_xzqhdm_province", solrDocument.get("FXASJDD_XZQHDM_PROVINCE"));
mapResult.put("jsasj_fxasjdd_xzqhdm_city", solrDocument.get("FXASJDD_XZQHDM_CITY"));
mapResult.put("jsasj_fxasjdd_xzqhmc", solrDocument.get("FXASJDD_XZQHMC"));
xyrxxList.add(mapResult);
}
}
......
......@@ -1783,9 +1783,11 @@ var navCategory = {
},
getFirstLevel:function(searchType,groupid,groupValue,code,id,flag){
if(flag){
console.log(111);
$('#'+groupid.replace("XZQHDM_PROVINCE","XZQHDM_CITY")).remove();
$('#'+groupid.replace("XZQHDM_PROVINCE","XZQHMC").replace("XZQHDM_CITY","XZQHMC")).remove();
}else{
console.log(222);
var str = "<a class=\"newNavA pull-left newNavA-title\" id=\""+groupid+"1\" onclick=\"navCategory.getFirstLevel('" + searchType + "','" + groupid + "','" + groupValue + "','" + code + "','" + id + "',true)\" >>" + groupValue + "</a>";
$('#'+id+' .newLayoutDiv a').eq(0).after(str);
}
......
......@@ -736,6 +736,9 @@
if(searchType == 'wzmst'){
url = "createFileJbwzmst";
sorlInstance = "TB_XW_JBWZMST";
}else if(searchType == 'jsasj'){
url = "createFileJsasj";
sorlInstance = "TB_XW_JSASJ";
}
var checkIds = [];
$.each($('#Table').datagrid('getChecked'), function(index, item){ //把所有被选中的复选框的值存入数组
......@@ -850,7 +853,7 @@
checkList: [
{
'1':['jsasj_fxasjdd_xzqhmc','发现地区划'],
'2':['jsasj_asjfsdd_dzmc','发现地点名称'],
'2':['jsasj_fxasjdd_dzmc','发现地点名称'],
'3':['jsasj_asjfssj_asjfskssj','发现时间'],
'4':['jsasj_jyaq','简要案情']
}
......
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