Commit 57e642e2 by yangliang

添加人员采集右侧菜单完成状态以及未采集说明

parent 1d61e6ab
...@@ -40,6 +40,7 @@ public class DefaultViewConfig implements WebMvcConfigurer { ...@@ -40,6 +40,7 @@ public class DefaultViewConfig implements WebMvcConfigurer {
registry.addViewController("/toObjectKJ").setViewName("rygl/objectKJ"); registry.addViewController("/toObjectKJ").setViewName("rygl/objectKJ");
registry.addViewController("/catchimg").setViewName("rygl/demo"); registry.addViewController("/catchimg").setViewName("rygl/demo");
registry.addViewController("/dnabqdy").setViewName("rygl/dnabqdy"); registry.addViewController("/dnabqdy").setViewName("rygl/dnabqdy");
//registry.addViewController("/ryxxwfcjsm").setViewName("rygl/ryxxwfcjsm");
registry.addViewController("/iframe1").setViewName("zlcc/iframe1"); registry.addViewController("/iframe1").setViewName("zlcc/iframe1");
registry.addViewController("/iframe2").setViewName("zlcc/iframe2"); registry.addViewController("/iframe2").setViewName("zlcc/iframe2");
registry.addViewController("/iframe3").setViewName("zwbzgl/iframe1"); registry.addViewController("/iframe3").setViewName("zwbzgl/iframe1");
......
package com.founder.controller;
import com.alibaba.fastjson.JSON;
import com.founder.amsisDao.NewDataSourceDao;
import com.founder.dao.DemoDao;
import com.founder.login.service.LoginService;
import com.founder.model.AutoXxwcjsm;
import com.founder.model.TbXwYthcjZj;
import com.founder.model.User;
import com.founder.module.redis.service.IDicItemService;
import com.founder.service.IXxwcjsmService;
import com.founder.utils.SysUitl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.*;
/**
* Created by libin on 2018/4/10.
*/
@Controller
public class xxwfcjsmController {
private Logger log= LoggerFactory.getLogger(xxwfcjsmController.class);
@Autowired
private IXxwcjsmService xxwcjsmService;
@RequestMapping("/ryxxwfcjsm")
public ModelAndView ryxxwfcjsm(ModelAndView model, HttpServletRequest request) {
model.addObject("rybh",request.getParameter("rybh"));
model.addObject("xm",request.getParameter("xm"));
model.addObject("gmsfhm",request.getParameter("gmsfhm"));
List<AutoXxwcjsm> xxwcjsms = xxwcjsmService.getXxwcjsm(request.getParameter("rybh"));
AutoXxwcjsm xxwcjsm = null;
if(xxwcjsms==null||xxwcjsms.size()<=0){
xxwcjsm = new AutoXxwcjsm();
model.addObject("type","0");
}else{
xxwcjsm = xxwcjsms.get(0);
model.addObject("type","1");
}
model.addObject("xxwcjsm",xxwcjsm);
model.setViewName("rygl/ryxxwfcjsm");
return model;
}
@RequestMapping("/doSaveWcjsm")
public String doSaveZjxx(AutoXxwcjsm xxwcjsm,String type, Model model, HttpServletRequest request, HttpServletResponse response) {
User user = (User) request.getSession().getAttribute("User");
model.addAttribute("username",user.getUsername());
model.addAttribute("unitcode",user.getUnitcode());
xxwcjsm.setLrr(user.getUsername());
xxwcjsm.setLrdwdm(user.getUnitcode());
xxwcjsm.setGxdwdm(user.getUnitcode());
xxwcjsm.setGxr(user.getUsername());
boolean flg = false;
if("1".equals(type)){
flg = xxwcjsmService.updateXxwcjsm(xxwcjsm);
}else{
flg = xxwcjsmService.saveXxwcjsm(xxwcjsm);
}
model.addAttribute("rybh",xxwcjsm.getRybh());
model.addAttribute("xm",xxwcjsm.getXm());
model.addAttribute("zjhm",xxwcjsm.getGmsfhm());
model.addAttribute("flag",flg);
model.addAttribute("xxwcjsm",xxwcjsm);
return "zjcj/zjcj.html";
}
}
package com.founder.dao;
import com.founder.model.AutoXxwcjsm;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface XxwcjsmDao {
Boolean insertXxwcjsm(AutoXxwcjsm entity);
Boolean updateXxwcjsm(AutoXxwcjsm entity);
List<AutoXxwcjsm> getXxwcjsm(String rybh);
}
package com.founder.model;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;
@Table(name = "TB_XW_YTHCJ_RYXXWCJSM")
public class AutoXxwcjsm implements Serializable {
private static final long serialVersionUID = 1L;
//人员编号
private String rybh = null;
private String xm = null;
private String gmsfhm = null;
private String wcjx = null;
private String wcjsm = null;
//电子文件内容
private byte[] zpsj0 = null;
private byte[] zpsj1 = null;
private byte[] zpsj2 = null;
private byte[] zpsj3 = null;
private String img0Str64 = null;
private String img1Str64 = null;
private String img2Str64 = null;
private String img3Str64 = null;
private String scbz = null;
private String lrr = null;
private String lrdwdm = null;
private String lrdwmc = null;
private Date lrsj = null;
private String gxr = null;
private Date gxsj = null;
private String gxdwdm = null;
private String gxdwmc = null;
public static long getSerialVersionUID() {
return serialVersionUID;
}
public String getRybh() {
return rybh;
}
public void setRybh(String rybh) {
this.rybh = rybh;
}
public String getXm() {
return xm;
}
public void setXm(String xm) {
this.xm = xm;
}
public String getGmsfhm() {
return gmsfhm;
}
public void setGmsfhm(String gmsfhm) {
this.gmsfhm = gmsfhm;
}
public String getWcjx() {
return wcjx;
}
public void setWcjx(String wcjx) {
this.wcjx = wcjx;
}
public String getWcjsm() {
return wcjsm;
}
public void setWcjsm(String wcjsm) {
this.wcjsm = wcjsm;
}
public byte[] getZpsj0() {
return zpsj0;
}
public void setZpsj0(byte[] zpsj0) {
this.zpsj0 = zpsj0;
}
public byte[] getZpsj1() {
return zpsj1;
}
public void setZpsj1(byte[] zpsj1) {
this.zpsj1 = zpsj1;
}
public byte[] getZpsj2() {
return zpsj2;
}
public void setZpsj2(byte[] zpsj2) {
this.zpsj2 = zpsj2;
}
public byte[] getZpsj3() {
return zpsj3;
}
public void setZpsj3(byte[] zpsj3) {
this.zpsj3 = zpsj3;
}
public String getScbz() {
return scbz;
}
public void setScbz(String scbz) {
this.scbz = scbz;
}
public String getLrr() {
return lrr;
}
public void setLrr(String lrr) {
this.lrr = lrr;
}
public String getLrdwdm() {
return lrdwdm;
}
public void setLrdwdm(String lrdwdm) {
this.lrdwdm = lrdwdm;
}
public String getLrdwmc() {
return lrdwmc;
}
public void setLrdwmc(String lrdwmc) {
this.lrdwmc = lrdwmc;
}
public Date getLrsj() {
return lrsj;
}
public void setLrsj(Date lrsj) {
this.lrsj = lrsj;
}
public String getGxr() {
return gxr;
}
public void setGxr(String gxr) {
this.gxr = gxr;
}
public Date getGxsj() {
return gxsj;
}
public void setGxsj(Date gxsj) {
this.gxsj = gxsj;
}
public String getGxdwdm() {
return gxdwdm;
}
public void setGxdwdm(String gxdwdm) {
this.gxdwdm = gxdwdm;
}
public String getGxdwmc() {
return gxdwmc;
}
public void setGxdwmc(String gxdwmc) {
this.gxdwmc = gxdwmc;
}
public String getImg0Str64() {
return img0Str64;
}
public void setImg0Str64(String img0Str64) {
this.img0Str64 = img0Str64;
}
public String getImg1Str64() {
return img1Str64;
}
public void setImg1Str64(String img1Str64) {
this.img1Str64 = img1Str64;
}
public String getImg2Str64() {
return img2Str64;
}
public void setImg2Str64(String img2Str64) {
this.img2Str64 = img2Str64;
}
public String getImg3Str64() {
return img3Str64;
}
public void setImg3Str64(String img3Str64) {
this.img3Str64 = img3Str64;
}
}
\ No newline at end of file
package com.founder.service;
import com.founder.model.AutoXxwcjsm;
import java.util.List;
public interface IXxwcjsmService {
/**
* 保存信息未采集说明
* @param ryxx
* @return
*/
Boolean saveXxwcjsm(AutoXxwcjsm ryxx);
/**update
* 修改信息未采集说明
* @param ryxx
* @return
*/
Boolean updateXxwcjsm(AutoXxwcjsm ryxx);
/**
* 修改信息未采集说明
* @param rybh
* @return
*/
List<AutoXxwcjsm> getXxwcjsm(String rybh);
}
package com.founder.service;
import com.founder.dao.XxwcjsmDao;
import com.founder.model.AutoXxwcjsm;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class XxwcjsmServiceImpl implements IXxwcjsmService {
@Autowired
private XxwcjsmDao xxwcjsmDao;
@Override
public Boolean saveXxwcjsm(AutoXxwcjsm entity) {
Boolean b = false;
try {
b = xxwcjsmDao.insertXxwcjsm(entity);
}catch (Exception e){
System.out.println("插入信息未采集说明失败"+e);
}
return b;
}
@Override
public Boolean updateXxwcjsm(AutoXxwcjsm entity) {
Boolean b = false;
try {
b = xxwcjsmDao.updateXxwcjsm(entity);
}catch (Exception e){
System.out.println("修改信息未采集说明失败"+e);
}
return b;
}
@Override
public List<AutoXxwcjsm> getXxwcjsm(String rybh){
return xxwcjsmDao.getXxwcjsm(rybh);
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.founder.dao.XxwcjsmDao">
<insert id="insertXxwcjsm" parameterType="com.founder.model.AutoXxwcjsm">
insert into TB_XW_YTHCJ_RYXXWCJSM (
RYBH,
XM,
GMSFHM,
WCJX,
WCJSM,
ZPSJ0,
ZPSJ1,
ZPSJ2,
ZPSJ3,
XXDJDW_GAJGJGDM,
XXDJRY_XM
DJSJ
GXSJ,
XXSC_PDBZ
) values (
#{rybh ,jdbcType=VARCHAR},
#{xm ,jdbcType=VARCHAR},
#{gmsfhm ,jdbcType=VARCHAR},
#{wcjx ,jdbcType=VARCHAR},
#{wcjsm ,jdbcType=VARCHAR},
#{zpsj0 ,jdbcType=VARCHAR},
#{zpsj1 ,jdbcType=VARCHAR},
#{zpsj2 ,jdbcType=VARCHAR},
#{zpsj3 ,jdbcType=VARCHAR},
#{lrr,jdbcType=VARCHAR},
#{lrdwdm,jdbcType=VARCHAR},
sysdate,
sysdate,
'0'
)
</insert>
<update id="updateXxwcjsm" parameterType="com.founder.model.AutoXxwcjsm">
update TB_XW_YTHCJ_RYXXWCJSM SET
<if test="xm != null and xm != ''">XM=#{xm , jdbcType=VARCHAR },</if>
<if test="xm == null or xm == ''">XM=NULL, </if>
<if test="gmsfhm != null and gmsfhm != ''">GMSFHM= #{gmsfhm , jdbcType=VARCHAR },</if>
<if test="gmsfhm == null or gmsfhm == ''">GMSFHM=NULL, </if>
<if test="wcjx != null and wcjx != ''">WCJX= #{wcjx , jdbcType=VARCHAR },</if>
<if test="wcjx == null or wcjx == ''">WCJX=NULL, </if>
<if test="wcjsm != null and wcjsm != ''">WCJSM= #{wcjsm , jdbcType=VARCHAR },</if>
<if test="wcjsm == null or wcjsm == ''">WCJSM=NULL, </if>
<if test="zpsj0 != null and zpsj0 != ''">ZPSJ0= #{zpsj0 , jdbcType=VARCHAR },</if>
<if test="zpsj0 == null or zpsj0 == ''">ZPSJ0=NULL, </if>
<if test="zpsj1 != null and zpsj1 != ''">ZPSJ1= #{zpsj1 , jdbcType=VARCHAR },</if>
<if test="zpsj1 == null or zpsj1 == ''">ZPSJ1=NULL, </if>
<if test="zpsj2 != null and zpsj2 != ''">ZPSJ2= #{zpsj2 , jdbcType=VARCHAR },</if>
<if test="zpsj2 == null or zpsj2 == ''">ZPSJ2=NULL, </if>
<if test="zpsj3 != null and zpsj3 != ''">ZPSJ3= #{zpsj3 , jdbcType=VARCHAR },</if>
<if test="zpsj3 == null or zpsj3 == ''">ZPSJ3=NULL, </if>
XXCZDW_GAJGJGDM = #{gxdwdm,jdbcType=VARCHAR},
XXCZRY_XM = #{gxr,jdbcType=VARCHAR},
GXSJ = sysdate
WHERE RYBH = #{rybh, jdbcType=VARCHAR }
</update>
<select id="getXxwcjsm" parameterType="java.lang.String" resultType="com.founder.model.AutoXxwcjsm">
select
RYBH,
XM,
GMSFHM,
WCJX,
WCJSM,
ZPSJ0,
ZPSJ1,
ZPSJ2,
ZPSJ3,
GXSJ,
XXDJDW_GAJGJGDM AS LRDWDM,
XXDJRY_XM AS LRR,
DJSJ AS LRSJ,
XXSC_PDBZ AS SCBZ from TB_XW_YTHCJ_RYXXWCJSM where (XXSC_PDBZ='0' or XXSC_PDBZ is null) and RYBH = #{rybh, jdbcType=VARCHAR }
</select>
</mapper>
\ No newline at end of file
...@@ -157,6 +157,7 @@ function startRegis(eyeMode) { ...@@ -157,6 +157,7 @@ function startRegis(eyeMode) {
window.opener.document.getElementById("imghead21").src="data:image/gif;base64,"+data.left[1].img_data; window.opener.document.getElementById("imghead21").src="data:image/gif;base64,"+data.left[1].img_data;
$("#hmsjRight").val(data.right[1].img_data); $("#hmsjRight").val(data.right[1].img_data);
window.opener.document.getElementById("imghead22").src="data:image/gif;base64,"+data.right[1].img_data; window.opener.document.getElementById("imghead22").src="data:image/gif;base64,"+data.right[1].img_data;
window.opener.document.getElementById("hmifcj").src="/static/rygl/img/yes.png";
$("#leftEye").attr("src","data:image/gif;base64,"+data.left[1].img_data) $("#leftEye").attr("src","data:image/gif;base64,"+data.left[1].img_data)
$("#rightEye").attr("src","data:image/gif;base64,"+data.right[1].img_data) $("#rightEye").attr("src","data:image/gif;base64,"+data.right[1].img_data)
if(!$("#hmsjLeft").val()){ if(!$("#hmsjLeft").val()){
...@@ -826,6 +827,7 @@ function baocun(){ ...@@ -826,6 +827,7 @@ function baocun(){
layer.closeAll(); layer.closeAll();
var code = data.code var code = data.code
if(code == "0"){ if(code == "0"){
window.opener.document.getElementById("hmifcj").src="/static/rygl/img/yes.png";
layer.alert(data.msg, { layer.alert(data.msg, {
skin: 'layui-layer-molv' //样式类名 skin: 'layui-layer-molv' //样式类名
,closeBtn: 0 ,closeBtn: 0
...@@ -834,10 +836,12 @@ function baocun(){ ...@@ -834,10 +836,12 @@ function baocun(){
}); });
} else { } else {
window.opener.document.getElementById("hmifcj").src="/static/rygl/img/no.png";
layer.alert(data.msg); layer.alert(data.msg);
} }
}, },
error:function(e){ error:function(e){
window.opener.document.getElementById("hmifcj").src="/static/rygl/img/no.png";
//console.log("error="+JSON.stringify(e)); //console.log("error="+JSON.stringify(e));
} }
}); });
......
...@@ -154,6 +154,7 @@ var ret=0; ...@@ -154,6 +154,7 @@ var ret=0;
$("#R_EDZZP64").val(ss); $("#R_EDZZP64").val(ss);
//theForm.IFIDCARDNAM.value = "已采集";//采集二代证后页面显示二代证已采集 //theForm.IFIDCARDNAM.value = "已采集";//采集二代证后页面显示二代证已采集
//convert(["nNATION","nHOUSEREGCODE","nSEX"]); //convert(["nNATION","nHOUSEREGCODE","nSEX"]);
$("#edzifcj").attr("src","/static/rygl/img/yes.png");
setCodeTexts(); setCodeTexts();
return(1); return(1);
}else{ }else{
...@@ -196,6 +197,7 @@ function getWH(){ ...@@ -196,6 +197,7 @@ function getWH(){
}else if (strs.length > 2){ }else if (strs.length > 2){
$("#zc").val(strs[2]); $("#zc").val(strs[2]);
} }
$("#sgtzifcj").attr("src","/static/rygl/img/yes.png");
}else{ }else{
$.messager.alert( '提示',"身高体重读取失败!"); $.messager.alert( '提示',"身高体重读取失败!");
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -343,6 +343,7 @@ ...@@ -343,6 +343,7 @@
var edzzpStr64 = $("#edzzpStr64").val(); var edzzpStr64 = $("#edzzpStr64").val();
if(edzzpStr64!=null&&edzzpStr64!=""){ if(edzzpStr64!=null&&edzzpStr64!=""){
$("#imghead1").attr("src","data:image/jpg;base64,"+edzzpStr64); $("#imghead1").attr("src","data:image/jpg;base64,"+edzzpStr64);
$("#edzifcj").attr("src","/static/rygl/img/yes.png");
}else if($("#gmsfhm").val()!=null&&$("#gmsfhm").val()!=""&&$("#gmsfhm").val()!="无"){ }else if($("#gmsfhm").val()!=null&&$("#gmsfhm").val()!=""&&$("#gmsfhm").val()!="无"){
toFyckxx(); toFyckxx();
} }
...@@ -361,18 +362,22 @@ ...@@ -361,18 +362,22 @@
var zjleftStr64 = $("#r_zjLeftBase64").val(); var zjleftStr64 = $("#r_zjLeftBase64").val();
if(zjleftStr64!=null&&zjleftStr64!=""){ if(zjleftStr64!=null&&zjleftStr64!=""){
$("#imghead11").attr("src","data:image/jpg;base64,"+zjleftStr64); $("#imghead11").attr("src","data:image/jpg;base64,"+zjleftStr64);
$("#zjifcj").attr("src","/static/rygl/img/yes.png");
} }
var zjrightStr64 = $("#r_zjRightBase64").val(); var zjrightStr64 = $("#r_zjRightBase64").val();
if(zjrightStr64!=null&&zjrightStr64!=""){ if(zjrightStr64!=null&&zjrightStr64!=""){
$("#imghead12").attr("src","data:image/jpg;base64,"+zjrightStr64); $("#imghead12").attr("src","data:image/jpg;base64,"+zjrightStr64);
$("#zjifcj").attr("src","/static/rygl/img/yes.png");
} }
var hmleftStr64 = $("#r_hmLeftBase64").val(); var hmleftStr64 = $("#r_hmLeftBase64").val();
if(hmleftStr64!=null&&hmleftStr64!=""){ if(hmleftStr64!=null&&hmleftStr64!=""){
$("#imghead21").attr("src","data:image/jpg;base64,"+hmleftStr64); $("#imghead21").attr("src","data:image/jpg;base64,"+hmleftStr64);
$("#hmifcj").attr("src","/static/rygl/img/yes.png");
} }
var hmrightStr64 = $("#r_hmRightBase64").val(); var hmrightStr64 = $("#r_hmRightBase64").val();
if(hmrightStr64!=null&&hmrightStr64!=""){ if(hmrightStr64!=null&&hmrightStr64!=""){
$("#imghead22").attr("src","data:image/jpg;base64,"+hmrightStr64); $("#imghead22").attr("src","data:image/jpg;base64,"+hmrightStr64);
$("#hmifcj").attr("src","/static/rygl/img/yes.png");
} }
var tstz1Base64 = $("#tstz1Base64").val(); var tstz1Base64 = $("#tstz1Base64").val();
if(tstz1Base64!=null&&tstz1Base64!=""){ if(tstz1Base64!=null&&tstz1Base64!=""){
...@@ -526,6 +531,14 @@ ...@@ -526,6 +531,14 @@
codeVal=codeFormatter($("#zwcjdwdmStr").val(),"CODE_UNIT"); codeVal=codeFormatter($("#zwcjdwdmStr").val(),"CODE_UNIT");
$("#zwcjdwdm").val(codeVal); $("#zwcjdwdm").val(codeVal);
addRyzpimg(); addRyzpimg();
if($("#szzwbh").val()!=null&&$("#szzwbh").val()!=""){
$("#zwifcj").attr("src","/static/rygl/img/yes.png");
}
if($("#sgsx").val()!=null&&$("#sgsx").val()!=""&&$("#tzsx").val()!=null&&$("#tzsx").val()!=""){
$("#sgtzifcj").attr("src","/static/rygl/img/yes.png");
}
setCodeTexts(); setCodeTexts();
//$("#zw").find("a").append("<img src=\"/static/rygl/img/yes.png\" style='width: 20px;height: 20px;' title=\"已采集\"/>"); //$("#zw").find("a").append("<img src=\"/static/rygl/img/yes.png\" style='width: 20px;height: 20px;' title=\"已采集\"/>");
//$("#hm").find("a").append("<img src=\"/static/rygl/img/no.png\" style='width: 20px;height: 20px;' title=\"未采集\"/>"); //$("#hm").find("a").append("<img src=\"/static/rygl/img/no.png\" style='width: 20px;height: 20px;' title=\"未采集\"/>");
...@@ -1011,6 +1024,7 @@ ...@@ -1011,6 +1024,7 @@
}else{ }else{
$("#szzwbh").val(result.message); $("#szzwbh").val(result.message);
} }
$("#zwifcj").attr("src","/static/rygl/img/yes.png");
$.messager.alert( '提示',"指纹采集成功!"); $.messager.alert( '提示',"指纹采集成功!");
}else{ }else{
$.messager.alert( '提示',"指纹采集失败!"); $.messager.alert( '提示',"指纹采集失败!");
...@@ -1316,6 +1330,8 @@ ...@@ -1316,6 +1330,8 @@
if(unitcode.substr(0,2)=="46"){ if(unitcode.substr(0,2)=="46"){
window.open ("https://localhost/toswcj?rybh="+$("#rybh").val()+"&xm="+$("#xm").val()+"&gmsfhm="+$("#gmsfhm").val(),'newwindow','height=600,width=450,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no') window.open ("https://localhost/toswcj?rybh="+$("#rybh").val()+"&xm="+$("#xm").val()+"&gmsfhm="+$("#gmsfhm").val(),'newwindow','height=600,width=450,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no')
return; return;
}else{
$("#swifcj").attr("src","/static/rygl/img/yes.png");
} }
debugger; debugger;
...@@ -2240,18 +2256,18 @@ ...@@ -2240,18 +2256,18 @@
<!-- 菜单 --> <!-- 菜单 -->
<div class="navbox" style="position: fixed; left: 50%; margin-left: 520px; margin-top: 65px;"> <div class="navbox" style="position: fixed; left: 50%; margin-left: 520px; margin-top: 65px;">
<ul class="navs"> <ul class="navs">
<li id="edz"><a onclick="scanedz(document.frminput)"><i class="fa fa-address-card-o"></i> 二代证信息采集</a></li> <li id="edz"><a onclick="scanedz(document.frminput)"><i class="fa fa-address-card-o"></i> 二代证信息采集<img id="edzifcj" src="/static/rygl/img/no.png"/></li></a>
<li id="sgtz"><a onclick="scanWH(document.frminput)"><i class="fa fa-street-view"></i> 身高体重信息采集</a></li> <li id="sgtz"><a onclick="scanWH(document.frminput)"><i class="fa fa-street-view"></i> 身高体重信息采集<img id="sgtzifcj" src="/static/rygl/img/no.png"/></li></a>
<li id="zw"><a onclick="getStatus()"><i class="fa fa-hand-paper-o"></i> 捺印指纹信息采集</a></li> <li id="zw"><a onclick="getStatus()"><i class="fa fa-hand-paper-o"></i> 捺印指纹信息采集<img id="zwifcj" src="/static/rygl/img/no.png"/></li></a>
<li id="hm"><a onclick="hmcj()"><i class="fa fa-barcode"></i> 虹膜信息采集</a></li> <li id="hm"><a onclick="hmcj()"><i class="fa fa-barcode"></i> 虹膜信息采集<img id="hmifcj" src="/static/rygl/img/no.png"/></li></a>
<li id="zj"><a onclick="zjcj(0)"><i class="fa fa-barcode"></i> 足迹信息采集</a></li> <li id="zj"><a onclick="zjcj(0)"><i class="fa fa-barcode"></i> 足迹信息采集<img id="zjifcj" src="/static/rygl/img/no.png"/></li></a>
<li id="sw"><a onclick="swcj()"><i class="fa fa-barcode"></i> 声纹信息采集</a></li> <li id="sw"><a onclick="swcj()"><i class="fa fa-barcode"></i> 声纹信息采集<img id="swifcj" src="/static/rygl/img/no.png"/></li></a>
<li id="wp"><a onclick="sswpcj()"><i class="fa fa-barcode"></i> 随身物品信息采集</a></li> <li id="wp"><a onclick="sswpcj()"><i class="fa fa-barcode"></i> 随身物品信息采集<img id="sswpifcj" src="/static/rygl/img/no.png"/></li></a>
<li id="sj"><a href="javascript:sjcj()"><i class="fa fa-barcode"></i> 随身手机信息采集</a></li> <li id="sj"><a href="javascript:sjcj()"><i class="fa fa-barcode"></i> 随身手机信息采集<img id="sjifcj" src="/static/rygl/img/no.png"/></li></a>
<li id="yhk"><a onclick="yhkcj()"><i class="fa fa-barcode"></i> 银行卡信息采集</a></li> <li id="yhk"><a onclick="yhkcj()"><i class="fa fa-barcode"></i> 银行卡信息采集<img id="yhkifcj" src="/static/rygl/img/no.png"/></li></a>
<li id="dna"><a onclick="openDialog_DNADY()"><i class="fa fa-print"></i> 打印DNA标签</a></li> <li id="dna"><a onclick="openDialog_DNADY()"><i class="fa fa-print"></i> 打印DNA标签</a></li>
<li><a href="javascript:prtzw()"><i class="fa fa-print"></i> 打印指纹卡</a></li> <li><a href="javascript:prtzw()"><i class="fa fa-print"></i> 打印指纹卡</a></li>
<li><a href="javascript:xxwfcjsm()"><i class="fa fa-barcode"></i> 人员信息无法采集说明</a></li> <li><a href="javascript:openDialog_bz()"><i class="fa fa-barcode"></i> 人员信息无法采集说明</a></li>
<!-- <!--
<li><a href="#"><i class="fa fa-barcode"></i> 笔迹信息采集(建设中)</a></li> <li><a href="#"><i class="fa fa-barcode"></i> 笔迹信息采集(建设中)</a></li>
<li><a href="#"><i class="fa fa-barcode"></i> 社会信息导入(建设中)</a></li> <li><a href="#"><i class="fa fa-barcode"></i> 社会信息导入(建设中)</a></li>
...@@ -2621,6 +2637,7 @@ ...@@ -2621,6 +2637,7 @@
$("#imghead1").attr("src","data:image/gif;base64,"+xp); $("#imghead1").attr("src","data:image/gif;base64,"+xp);
$("#edzzpStr64").val(xp); $("#edzzpStr64").val(xp);
$("#R_EDZZP64").val(xp); $("#R_EDZZP64").val(xp);
$("#edzifcj").attr("src","/static/rygl/img/yes.png");
} }
//if($("#cyzjdm").combobox("getValue")==null||$("#cyzjdm").combobox("getValue")==""){ //if($("#cyzjdm").combobox("getValue")==null||$("#cyzjdm").combobox("getValue")==""){
// $("#cyzjdm").combobox("setValue","111"); // $("#cyzjdm").combobox("setValue","111");
...@@ -2788,6 +2805,36 @@ ...@@ -2788,6 +2805,36 @@
]) ])
} }
function openDialog_bz(){
var dialogId='w';
openUrlForm({
id:dialogId,
url:'ryxxwfcjsm?rybh='+$('#rybh').val()+'&xm'+$('#xm').val()+'&gmsfhm'+$('#gmsfhm').val(),
title:'人员信息无法采集说明',
width:835,
height:540,
cache:false,
onClose:function(){
}
},[
{
//确定生成表头配置信息,并重新加载表格数据
text:'确定',
handler:function(){
$('#w').dialog('close');
$(document).unbind("scroll");
}
},{
text:'取消',
handler:function(){
$('#w').dialog('close');
$(document).unbind("scroll");
}
}
])
}
</script> </script>
<!-- 权限机制 <!-- 权限机制
<div style="display: none" id="perurl" th:text="${perurl}"></div>--> <div style="display: none" id="perurl" th:text="${perurl}"></div>-->
......
<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en" style="background: #fff;">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title></title>
<!--- 代码框-->
<link rel="stylesheet" href="/static/easyui-window/css/easyui.css">
<link rel="stylesheet" href="/static/rygl/css/details.css">
<script type="text/javascript" src="/static/rygl/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="/static/easyui-window/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/static/xtba/zlcc/easyui-window/js/function-zdy.js"></script>
<script src="/static/rygl/js/webuploader.min.js"></script>
<script src="/static/rygl/js/diyUpload.js"></script>
<body style="overflow: auto;background: #fff;">
<form action="" name="frminput" method="post" enctype="multipart/form-data">
<input type="hidden" id="wfcjyyStr" name="wfcjyyStr" value="测试测试"/>
<input type="hidden" id="wfcjyyStr_bak" name="wfcjyyStr_bak" th:value="${xxwcjsm.wcjsm}"/>
<input type="hidden" id="wcjxStr" name="wcjxStr" value="01-03-05"/>
<input type="hidden" id="type" name="type" th:value="${type}"/>
<input type="hidden" id="imgflag0" name="imgflag0" value="0"/>
<input type="hidden" id="imgflag1" name="imgflag1" value="0"/>
<input type="hidden" id="imgflag2" name="imgflag2" value="0"/>
<input type="hidden" id="imgflag3" name="imgflag3" value="0"/>
<input type="hidden" name="img0Str64" id="img0Str64" th:value="${xxwcjsm.img0Str64}"/>
<input type="hidden" name="img1Str64" id="img1Str64" th:value="${xxwcjsm.img1Str64}"/>
<input type="hidden" name="img2Str64" id="img2Str64" th:value="${xxwcjsm.img2Str64}"/>
<input type="hidden" name="img3Str64" id="img3Str64" th:value="${xxwcjsm.img3Str64}"/>
<!--表格设置面板-->
<div id="w" class="dialogclass">
<div class="inputARea">
<p class="title">未采集项:</p>
<p class="value">
<input type="checkbox" name="wcjx" id="sfz" value="01"><label for="sfz">身份证</label>
<input type="checkbox" name="wcjx" id="zw" value="02"><label for="zw">指纹</label>
<input type="checkbox" name="wcjx" id="rx" value="03"><label for="rx">人像</label>
<input type="checkbox" name="wcjx" id="sw" value="04"><label for="sw">声纹</label>
<input type="checkbox" name="wcjx" id="zj" value="05"><label for="zj">足迹</label>
<input type="checkbox" name="wcjx" id="hm" value="06"><label for="hm">虹膜</label>
</p>
</div>
<div class="inputARea">
<p class="title">无法采集原因:</p><p class="value"><textarea id="wfcjyy" name="wfcjyy" rows="4" style="width:98%;resize:none;"></textarea></p>
</div>
<div style="padding: 10px;">
<ul class="upload-ul clearfix">
<li class="upload-pick">
<div class="webuploader-container clearfix" id="goodsUpload">+</div>
</li>
</ul>
</div>
<div><button id="capture" onclick="tosave();" style="cursor: pointer;background-color: orange;width: 81px;height: 30px; margin-top: 0px;margin-left: 362px;">信息保存</button></div>
</div>
</form>
<script>
$(function(){
//上传图片
var $tgaUpload = $('#goodsUpload').diyUpload({
url:'/uploadFilePath',
success:function( data ) { },
error:function( err ) { },
buttonText : '',
accept: {
title: "Images",
extensions: 'gif,jpg,jpeg,bmp,png'
},
thumb:{
width:120,
height:90,
quality:100,
allowMagnify:true,
crop:true,
type:"image/jpeg"
}
});
});
function tosave(){
for(var i=0;i<4;i++){
alert("图片"+i+"标识:"+$('#imgflag'+i).val()+" 图片内容:"+$('#img'+i+'Str64').val());
}
}
</script>
</body>
</html>
\ No newline at end of file
...@@ -171,6 +171,10 @@ ...@@ -171,6 +171,10 @@
pageList : [10,20,50,100,200], //rows pageList : [10,20,50,100,200], //rows
pageNumber : 1, pageNumber : 1,
loadFilter: function(data){ loadFilter: function(data){
debugger;
if(data!=null){
window.opener.document.getElementById("sswpifcj").src="/static/rygl/img/yes.png";
}
return data; return data;
} }
}); });
......
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
}; };
function saveRecord(){ function saveRecord(){
window.opener.document.getElementById("swifcj").src="/static/rygl/img/yes.png";
var record = recorder.getBlob(); var record = recorder.getBlob();
var file = new File([record], "voicefile", { type: 'audio/wav' }); var file = new File([record], "voicefile", { type: 'audio/wav' });
var formFile = new FormData(); var formFile = new FormData();
......
...@@ -314,6 +314,7 @@ ...@@ -314,6 +314,7 @@
//保存和更新 //保存和更新
function toSave(){ function toSave(){
window.opener.document.getElementById("zjifcj").src="/static/rygl/img/yes.png";
document.zjcjform.action = "/doSaveZjxx"; document.zjcjform.action = "/doSaveZjxx";
document.zjcjform.submit(); document.zjcjform.submit();
} }
......
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