人口基本信息- 修改框架(身份证校验工具类BUG)
This commit is contained in:
parent
2e893208fb
commit
ac35b40ab1
@ -1,5 +1,6 @@
|
|||||||
package com.cm.population;
|
package com.cm.population;
|
||||||
|
|
||||||
|
import com.cm.common.plugin.service.file.IFileService;
|
||||||
import org.mybatis.spring.annotation.MapperScan;
|
import org.mybatis.spring.annotation.MapperScan;
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
@ -47,7 +47,8 @@ public class IdCardVerifyUtil {
|
|||||||
zoneNum.put(61, "陕西");
|
zoneNum.put(61, "陕西");
|
||||||
zoneNum.put(62, "甘肃");
|
zoneNum.put(62, "甘肃");
|
||||||
zoneNum.put(63, "青海");
|
zoneNum.put(63, "青海");
|
||||||
zoneNum.put(64, "新疆");
|
zoneNum.put(64, "宁夏");
|
||||||
|
zoneNum.put(65, "新疆");
|
||||||
zoneNum.put(71, "台湾");
|
zoneNum.put(71, "台湾");
|
||||||
zoneNum.put(81, "香港");
|
zoneNum.put(81, "香港");
|
||||||
zoneNum.put(82, "澳门");
|
zoneNum.put(82, "澳门");
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
<div class="layui-inline">
|
<div class="layui-inline">
|
||||||
<input type="text" id="idcard" class="layui-input search-item" placeholder="请输入证件号">
|
<input type="text" id="idcard" class="layui-input search-item" placeholder="请输入证件号">
|
||||||
</div>
|
</div>
|
||||||
<button type="button" id="search" class="layui-btn layui-btn-sm">
|
<button type="button" id="search" disabled class="layui-btn layui-btn-disabled layui-btn-sm">
|
||||||
<i class="fa fa-lg fa-search"></i> 搜索
|
<i class="fa fa-lg fa-search"></i> 搜索
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@ -182,6 +182,10 @@
|
|||||||
'count': data.total,
|
'count': data.total,
|
||||||
'data': data.rows
|
'data': data.rows
|
||||||
};
|
};
|
||||||
|
},
|
||||||
|
done: function(res, curr, count){
|
||||||
|
$('#search').removeAttr("disabled");
|
||||||
|
$('#search').removeClass("layui-btn-disabled");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -192,7 +196,8 @@
|
|||||||
where: {
|
where: {
|
||||||
name: $('#name').val(),
|
name: $('#name').val(),
|
||||||
idcardType: $('#idcardType').val(),
|
idcardType: $('#idcardType').val(),
|
||||||
idcard: $('#idcard').val()
|
idcard: $('#idcard').val(),
|
||||||
|
time: new Date()
|
||||||
},
|
},
|
||||||
page: {
|
page: {
|
||||||
curr: currentPage
|
curr: currentPage
|
||||||
@ -211,6 +216,8 @@
|
|||||||
});
|
});
|
||||||
// 事件 - 搜索
|
// 事件 - 搜索
|
||||||
$(document).on('click', '#search', function() {
|
$(document).on('click', '#search', function() {
|
||||||
|
$(this).attr("disabled", "disabled");
|
||||||
|
$(this).addClass("layui-btn-disabled");
|
||||||
reloadTable(1);
|
reloadTable(1);
|
||||||
});
|
});
|
||||||
// 事件 - 增删改
|
// 事件 - 增删改
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
<div class="layui-inline">
|
<div class="layui-inline">
|
||||||
<input type="text" id="idcard" class="layui-input search-item" placeholder="请输入证件号">
|
<input type="text" id="idcard" class="layui-input search-item" placeholder="请输入证件号">
|
||||||
</div>
|
</div>
|
||||||
<button type="button" id="search" class="layui-btn layui-btn-sm">
|
<button type="button" id="search" class="layui-btn layui-btn-sm layui-btn-disabled" disabled>
|
||||||
<i class="fa fa-lg fa-search"></i> 搜索
|
<i class="fa fa-lg fa-search"></i> 搜索
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@ -182,6 +182,10 @@
|
|||||||
'count': data.total,
|
'count': data.total,
|
||||||
'data': data.rows
|
'data': data.rows
|
||||||
};
|
};
|
||||||
|
},
|
||||||
|
done: function(res, curr, count){
|
||||||
|
$('#search').removeAttr("disabled");
|
||||||
|
$('#search').removeClass("layui-btn-disabled");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -192,7 +196,8 @@
|
|||||||
where: {
|
where: {
|
||||||
name: $('#name').val(),
|
name: $('#name').val(),
|
||||||
idcardType: $('#idcardType').val(),
|
idcardType: $('#idcardType').val(),
|
||||||
idcard: $('#idcard').val()
|
idcard: $('#idcard').val(),
|
||||||
|
time: new Date()
|
||||||
},
|
},
|
||||||
page: {
|
page: {
|
||||||
curr: currentPage
|
curr: currentPage
|
||||||
@ -211,6 +216,8 @@
|
|||||||
});
|
});
|
||||||
// 事件 - 搜索
|
// 事件 - 搜索
|
||||||
$(document).on('click', '#search', function() {
|
$(document).on('click', '#search', function() {
|
||||||
|
$(this).attr("disabled", "disabled");
|
||||||
|
$(this).addClass("layui-btn-disabled");
|
||||||
reloadTable(1);
|
reloadTable(1);
|
||||||
});
|
});
|
||||||
// 事件 - 增删改
|
// 事件 - 增删改
|
||||||
|
Loading…
Reference in New Issue
Block a user