Welcome Huihui's Code World ! !
接下来看看由辉辉所写的关于OA项目的相关操作吧
目录
Welcome Huihui's Code World ! !
一.主要功能点介绍
二.效果展示
三.前端代码
jsp
myAudit.jsp
meetingAudit.jsp
js
myAudit.js
meetingAudit.js
四.后端代码
实体类
dao
servlet
工具类
五. 亮点功能介绍:如何将审批人签名转换为电子手写签名图片
1.网站下载地址
2.使用步骤
3.效果演示
①显示指定是当前账户审核的且是待审核状态的所有会议的信息
②审批操作点击之后出现弹出层,其中要包含的字段:会议标题及其内容,并且还需要签字
⭐⭐③将审批人签名转换为电子手写签名图片
jsp
myAudit.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@include file="/common/head.jsp"%>
meetingAudit.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@include file="/common/head.jsp"%>
发布会议 js
myAudit.js
//把需要用到的模块定义成全局变量 let layer,$,table; var row; layui.use(['jquery','layer','table'],function(){ layer=layui.layer, $=layui.jquery, table=layui.table; //初始化表格 initTable(); //查询按钮的点击事件 $('#btn_search').click(function(){ select();//调用写好的查询的方法 }); }); //1.初始化数据表格 function initTable(){ table.render({ //执行渲染 elem:'#tb', //指定原始表格元素选择器(推荐id选择器) url: 'meetingInfo.action?methodName=myAudit', //请求地址 height: 480, //自定义高度 loading: false, //是否显示加载条(默认 true) cols: [[ //设置表头 field是数据库的字段名,title是显示在页面中的值 {field: 'id', title: '会议编号', width: 165}, {field: 'title', title: '会议地点', width: 165}, {field: 'startTime', title: '开始时间', width: 165}, {field: 'endTime', title: '结束时间', width: 165}, {field: 'meetingstate', title: '会议状态', width: 165}, {field: 'seatPic', title: '会议排座', width: 165, templet: function(d){//templet:自定义列内容的显示方式 if(d.seatPic==null || d.seatPic==""){ return "尚未排座"; }else{ return ""; } } }, {field: ' ', title: '审核', width: 165,toolbar:'#toolbar'},//#toolbar是工具栏的id ]], page:true }); //工具条的事件 table.on('tool(tb)', function (obj) {//obj是指这张表中的数据 row = obj.data;//将这张表中的数据赋给row这个变量 //obj.event:获取触发事件的元素的 event 值,用于区分不同的操作 var auditevent=obj.event;//拿到审批按钮的:‘lay-event="audit"’ console.log("该行数据"+row) if (obj.event == "audit") { open(row.id); } }); } //2.点击查询 function select(){ //reload中填写的‘tb’是表格的id table.reload('tb', { url: 'meetingInfo.action', //请求地址 method: 'POST', //请求方式,GET或者POST loading: true, //是否显示加载条(默认 true) page: true, //是否分页 where: { //设定异步数据接口的额外参数,任意设 'methodName':'myAudit', 'auditor':$('#auditor').val(),//获取当前的审批人 'title':$('#title').val()//获取输入框输入的值 }, request: { //自定义分页请求参数名 pageName: 'page', //页码的参数名称,默认:page limitName: 'rows' //每页数据量的参数名,默认:limit } }); } //3.点击审批 function open(id){ layer.open({ type: 2, //layer提供了5种层类型。可传入的值有:0(信息框,默认)1(页面层)2(iframe层)3(加载层)4(tips层) title:'审批', // area: ['660px', '340px'], //宽高 area: ['660px', '540px'], //宽高 skin: 'layui-layer-rim', //样式类名 content:'jsp/meeting/meetingAudit.jsp', //审批页面 btn:['审批通过','审批驳回'], yes: function(index, layero){ //调用子页面中提供的getData方法,快速获取子页面的form表单数据 let data= $(layero).find("iframe")[0].contentWindow.save();//父调子 console.log("子页面"+data); console.log("子页面数据集"+data['sign']); // data['meetingId']=id; data['auditor']=$('#auditor').val(); console.log("子页面数据集"+data['auditor']); addMeetingAudit(data,id); }, btn2: function(index, layero){//审批驳回 let data={}; data['sign']=null; data['meetingId']=id; data['auditor']=$('#auditor').val(); addMeetingAudit(data); return false; }, }); } //审批意见(签字) function addMeetingAudit(params,id){ params['methodName']="add"; params['meetingId']=id; console.log(params); $.post('meetingAudit.action',params,function(rs){ console.log(rs.success) if(rs.success){ layer.msg(rs.msg,{icon:6},function(){}); layer.closeAll(); select(); }else{ console.log("失败") layer.msg(rs.msg,{icon:5},function(){}); } },'json'); }
meetingAudit.js
let layer,table,$,form; var row; layui.use(['layer','table','jquery','form'],function(){ layer=layui.layer, table=layui.table, form=layui.form, $=layui.jquery; if(parent.row!=null){ form.val('audit',$.extend({}, parent.row||{})); } init(); function init() { $('.strokeColorBox').css('border',"4px solid "+$('.strokeColor').val()).find('.icon').css('color',$('.strokeColor').val()); $('.weightBox .icon').html($('.weight').val()+'px'); $('.drawFont').css({ 'height': $('.font_box_size').val() }) } /** * 右键按下不显示浏览器自带框 */ $('#canvas').get(0).oncontextmenu = function (e) { showMyselfBox(e); return false; }; /** * 显示自定义框 */ function showMyselfBox (e) { var left = e.offsetX; var top = e.offsetY; $('.myselfBox').css({ left: left, top: top }).show(); } /** * 鼠标滑过工具台 */ $('.contro li').on('mouseover', function () { $(this).on('mouseout', function () { $('.contro li').find('.iconAlert').hide() }); $(this).find('.iconAlert').show(); }); /** * 点击工具台 */ $('.drawType li').on('click touchstart', function (e) { if (e.type == "touchstart") { e.preventDefault(); } $(this).addClass('drawTypeChoose').siblings().removeClass('drawTypeChoose'); initData.drawType = $(this).attr('data-name'); initData.drayTypeNum= $(this).attr('data-nameNum') }) /** * 改变线条颜色 */ $('.strokeColor').on('change', function (e) { initData.color = $(this).val(); $('.strokeColorBox').css('border','4px solid '+initData.color).find('.icon').css('color',initData.color); }) /** * 改变背景色 */ $('.backgroundColor').on('change', function (e) { initData.background = $(this).val(); $('.backgroundColor').css('border','4px solid '+initData.background).find('.icon').css('color',initData.background); }) $('.fillDraw').on('click touchstart',function (e) { if (e.type == "touchstart") { e.preventDefault() } if ($(this).attr('data-choose') == 'false') { $(this).attr('data-choose','true').addClass('fillBg'); $('.backgroundColorBox').css({'border':'4px solid '+initData.background,'background':'#fff'}).find('.icon').css('color',initData.background); $('.backgroundColor').show(); initData.isFill = true; } else { initData.isFill = false; $(this).attr('data-choose','false').removeClass('fillBg'); $('.backgroundColor').hide(); $('.backgroundColorBox').css({'border':'4px solid #07133d','background':'#07133d'}).find('.icon').css('color','#666'); } }) /** * 改变线条粗细 */ $('.weight').on('change', function () { initData.size = $(this).val(); $('.weightBox .icon').html($('.weight').val()+'px'); }) /** * 绘制还是移动 */ $('.drawOrMove').on('click touchstart',function (e) { if (e.type == "touchstart") { e.preventDefault() } $(this).addClass('drawOrmoveChoose').siblings('.drawOrMove').removeClass('drawOrmoveChoose'); if ($(this).attr('data-name') == 'move') { // if (initData.drawType == 'line' || initData.drawType == 'pen' || initData.drawType == 'line' || initData.drawType == 'signet' || initData.drawType == 'eraser') { // alert('') // } $('.maskLi').show(); initData.drawOrMove = $(this).attr('data-name'); $('#canvas').css('cursor','move'); } else { initData.drawOrMove = $(this).attr('data-name'); $('.maskLi').hide(); $('#canvas').css('cursor','crosshair'); } }) /** * 绘制文字 */ $('.intoFontInput').on('input', function () { $('.intoFont').html($(this).val()); initData.context = $(this).val(); }) $('.font_box_size').on('change',function () { initData.fontSize = $(this).val(); }) /** * 清除画布 */ $('.remote').on('mousedown touchstart',function (e) { if (e.type == "touchstart") { e.preventDefault() } initData.context2d.clearRect(0,0,initData.canvasWidth,initData.canvasHeight); initData.drawHistoryArrData = []; initData.drawHistoryArrData.length = 0; }) /** * 保存图片 */ $('.downLoad').on('mousedown touchstart',function (a) { //debugger; save(); }) /** * 鼠标在canvas按下 */ $('#canvas').on('mousedown touchstart',function (e) { if (e.type == "touchstart") { e.preventDefault() } if (e.button == '0' || e.type == "touchstart") { // 判断是左键按下 $('.myselfBox').hide(); initData.mouseDown(e); $(this).on('mousemove touchmove', function (e) { if (e.type == "touchmove") { e.preventDefault() } initData.mouseMove(e); }) } }) /** * 鼠标抬起 */ $('html').on('mouseup touchend',function(){ initData.mouseUp(); }) var initData= { drawHistoryArrData: [], // 存放所有绘制图形的数据 context2d: $('#canvas').get(0).getContext('2d'), // canvas绘图2d环境 canvasWidth: $('#canvas').width(), canvasHeight: $('#canvas').height(), relPosX: 0, // 鼠标在绘制图形中按下相对该图形左面的距离 relPosY: 0, // 鼠标在绘制图形中按下相对该图形上面的距离 relPosToX: 0, // 鼠标在绘制图形中按下相对该图形左面的距离 relPosToY: 0, initLeft: 0, initTop: 0, chooseIndex: 0, // 选中图形在drawHistoryArrData数据中的index drawOrMove: 'draw', // 当前模式是拖拽还是绘制 isMove: false, // 是否可以拖拽 drawType: 'pen', // 绘制图形的类型 drawTypeNum: '1', // 用于区分同一图形不同形状 size: 2, // 绘制的粗细 fontSize: $('.font_box_size').val(), context:'', color: $('.strokeColor').val(), // 绘制颜色 isFill: false, // 是否填充 background: $('.backgroundColor').val(), msgArr:[], // 画笔信息 /** * 矩形绘制轨迹 */ drawTypeArr: function (arr,j) { var drawTypeFn = { // 绘制方法 rect: function () { // 矩形 initData.context2d.beginPath(); initData.context2d.lineWidth = arr[j].size; initData.context2d.strokeStyle = arr[j].color; initData.context2d.rect(arr[j].x, arr[j].y, arr[j].w,arr[j].h); if (arr[j].fill) { initData.context2d.fillStyle = arr[j].fill; initData.context2d.fill(); } initData.context2d.stroke(); }, line: function () { // 线 initData.context2d.beginPath(); initData.context2d.moveTo (arr[j].x,arr[j].y); //设置起点状态 initData.context2d.lineTo (arr[j].toX,arr[j].toY); //设置末端状态 initData.context2d.lineWidth = arr[j].size; //设置线宽状态 initData.context2d.strokeStyle = arr[j].color; //设置线的颜色状态 initData.context2d.stroke(); }, circle: function () { // 圆 initData.context2d.beginPath(); initData.context2d.lineWidth = arr[j].size; //设置线宽状态 initData.context2d.strokeStyle = arr[j].color; initData.context2d.arc(arr[j].x,arr[j].y,arr[j].r,0,2*Math.PI); if (arr[j].fill) { initData.context2d.fillStyle = arr[j].fill; initData.context2d.fill(); } initData.context2d.stroke() }, delta: function () { // 三角 var w = arr[j].toX-arr[j].x; var h = arr[j].toY-arr[j].y; var harfDis = Math.tan(30/2)*h ; if (arr[j].toX-arr[j].x>0) { harfDis = harfDis } else { harfDis = -harfDis } initData.context2d.beginPath(); initData.context2d.moveTo (arr[j].x,arr[j].y); //设置起点状态 initData.context2d.lineTo (arr[j].toX,arr[j].toY); initData.context2d.lineTo (arr[j].toX + 2*harfDis,arr[j].toY); initData.context2d.lineTo (arr[j].x,arr[j].y); //设置末端状态 initData.context2d.lineWidth = arr[j].size; //设置线宽状态 initData.context2d.strokeStyle = arr[j].color; //设置线的颜色状态 if (arr[j].fill) { initData.context2d.fillStyle = arr[j].fill; initData.context2d.fill(); } initData.context2d.stroke(); }, ellipse: function () { initData.context2d.beginPath(); initData.context2d.lineWidth = arr[j].size; //设置线宽状态 initData.context2d.strokeStyle = arr[j].color; initData.context2d.ellipse(arr[j].x,arr[j].y,Math.abs(arr[j].toX - arr[j].x),Math.abs(arr[j].toY -arr[j].y),0,0,Math.PI*2); if (arr[j].fill) { initData.context2d.fillStyle = arr[j].fill; initData.context2d.fill(); } initData.context2d.stroke(); }, polygon: function () { var y1 = (arr[j].toY-arr[j].y)/2; var tan = Math.tan((90-(arr[j].reg/2))*(2*Math.PI/360)); var x1 = y1*tan; initData.context2d.beginPath(); initData.context2d.moveTo (arr[j].x,arr[j].y); //设置起点状态 initData.context2d.lineTo (arr[j].toX,arr[j].y); initData.context2d.lineTo (arr[j].toX+x1,arr[j].y+y1); initData.context2d.lineTo (arr[j].toX,arr[j].toY); //设置末端状态 initData.context2d.lineTo (arr[j].x,arr[j].toY); initData.context2d.lineTo (arr[j].x-x1,arr[j].y+y1); initData.context2d.lineTo (arr[j].x,arr[j].y); initData.context2d.lineWidth = arr[j].size; //设置线宽状态 initData.context2d.strokeStyle = arr[j].color; //设置线的颜色状态 if (arr[j].fill) { initData.context2d.fillStyle = arr[j].fill; initData.context2d.fill(); } initData.context2d.stroke(); }, font: function () { // initData.context2d.beginPath(); initData.context2d.font = arr[j].fontSize+'px Verdana'; initData.context2d.textAlign = 'center'; initData.context2d.textBaseline = 'bottom'; initData.context2d.fillStyle = arr[j].color; // if (arr[j].fill) { initData.context2d.fillText(arr[j].context, arr[j].x, arr[j].y); // } // initData.context2d.strokeText(arr[j].context, arr[j].x, arr[j].y); // initData.context2d.lineWidth = 1; // initData.context2d.strokeStyle = 'transparent'; // initData.context2d.rect(arr[j].x, arr[j].y, arr[j].w,arr[j].h); // initData.context2d.stroke(); $('.drawFont').hide(); // initData.context = "" $('.intoFont').html(''); $('.intoFontInput').val(''); $('.drawFont').attr('data-type','hide'); }, signet: function () { var img = new Image(); img.src = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAHGCAMAAAC1uokeAAAC+lBMVEUAAAD1rhv1uh31uh31rhv1rhv1rhv1rhv1rhv1sRv1rhv1uR31rhv1rhv1rhv1rhv1rhv1rhv1wR/1rhv1rhv1rhv1rhv1rhv1rhv0yyH1rhv1rhv1rhv1rhv1rhv1rhv1rhv1rhv1rhv1rhv1rhvz3CX1rhv1rhv1rhv1rhv1rhv1rhv1rhv1rhvz3CX1rhv1rhvz3CX1rhv1rhvz3CX1rhv1rhv1rhv1rhv1rhvz3CX1rhvz3CX1rhvz3CXz3CXz3CXz3CXz3CXz3CX1rhv1rhv1rhv1rhv1rhv1rhv1rhv1rhv1rhv1rhvz3CXz3CXz3CX1rhv1rhv1rhv1rhvz3CX1rhvz3CX1rhvz3CXz3CX1rhv1rhv1rhvz3CXz3CXz3CXz3CXz3CXz3CXz3CXz3CXz3CXz3CXz3CX1rhvz3CXz3CXz3CXz3CXz3CXz3CXz3CXz3CXz3CX1rhvz3CXz3CX1rhvz3CXz3CX1rhvz3CXz3CXz3CXz3CX1rhv///8IBAQAAAHx1gDx1wXz2hjz5Cf//yvy2hPy2yT1qBrz3Cfz2xzy2Q7z3CLy2AkFAQPz3Sn1phn//ynz4Sb1rBry2CT1pBnz2x7z3iX/6Sf03zXz2iT1rRv/7Sf/8ynz2yDz4Cbz4yf44CX//Cn13iX//fT/+Sn2qhr01iP1vR72tBwTDgn03zr/9Snz3yX//vj+/O/9+t/89cb68af04EL2uR354iX00iL9+dnz3S/1wh/79L7787j/8Cfz4yb8983464f1yiH68rH25Fj0xyA5Mg7+++X25mT84yX1sBvw1QD+++n36HD35mn25V314Uf14kz0ziFCOhAlHwwcFwr9+NP46oH//vz67pr57IzgzCbBsCP68KH46Xj141Hl0Sagk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rlgkUzqIXmxwFQlchhBIOulCVcTa+whDmb0qfnyRFvoQj9YFGEb1Ig6BKlFgdP0pTzgONXd4WJ+Y5HMFR7MgZo0OmmNXMOfSiJrwinQM8VVrhQnXf5SssI+QaNeYiTGhYOJRVOA/hdugwTBPLojcJEBabxv8oZworYd7kv8wU8f+MhrTKDZKd2C45+EPNKTeXjuqDlUudGYj8ZK5Th+JOKsiZ9GencnPfNPJBHhE6NnNwQPqFftKn4I531NlU9pOP42ZK0aIryjxOWv7Uj80b0aKra+rsynq3t1XbiwOlnG6Tp8NnIj8PtFa9n4qO6O4Yf4oq0kNkA70xFGq5GGE6QLcGEe2t6zWpMkIhid6cgYj2+nrNIY7IWPQGRLSX1HHkTYS1000bIvq7il5YUSI0COKOt1YnkSC4H32kh1Ad3WraEAmIJLpzLrz16AG0gW5Uon0eKLmlqAtMCC2u4ak2o5/2IFqoGziEsR9VTgTVxGpxaQtPKhUWw3lyODzMG+1iv9vq9XrnSplPhe3FUCdYvgKoLp6WFjy2ewAAAABJRU5ErkJggg=='; img.onload = function(){ initData.context2d.drawImage(img, arr[j].x-50, arr[j].y-50,100,100); } }, pen: function () { var lineWidth = arr[j].size; var radius=lineWidth/2; var lineColor =arr[j].color; initData.context2d.beginPath(); $.each(arr[j].msgArr,function (index,val) { initData.context2d.lineWidth= lineWidth; initData.context2d.lineTo(val.x, val.y); initData.context2d.strokeStyle = lineColor; initData.context2d.stroke(); initData.context2d.beginPath(); initData.context2d.arc(val.x, val.y, radius, 0, 360, false); initData.context2d.fillStyle = lineColor; initData.context2d.fill(); initData.context2d.beginPath(); initData.context2d.moveTo(val.x, val.y); initData.context2d.stroke(); }) }, eraser: function () { $.each(arr[j].msgArr,function (index,val) { initData.context2d.clearRect(val.x,val.y,arr[j].size,arr[j].size); }) } }; switch (arr[j].drawType) { case 'rect':drawTypeFn.rect(); break; case 'line':drawTypeFn.line(); break; case 'circle':drawTypeFn.circle(); break; case 'delta':drawTypeFn.delta(); break; case 'ellipse':drawTypeFn.ellipse(); break; case 'polygon': drawTypeFn.polygon(); break; case 'font': drawTypeFn.font(); break; case 'signet': drawTypeFn.signet(); break; case 'pen': drawTypeFn.pen(); break; case 'eraser': drawTypeFn.eraser(); break; } }, /** * 统一绘制方法 */ drawArr: function (arr) { for (var j in arr) { this.drawTypeArr(arr,j) } }, /** * 鼠标按下执行 */ mouseDown: function (e) { // 鼠标按下 initData.initLeft = e.offsetX?e.offsetX:e.originalEvent.targetTouches[0].pageX - $('#canvas').offset().left;//获取鼠标起始位置 initData.initTop = e.offsetY?e.offsetY:e.originalEvent.targetTouches[0].pageY - $('#canvas').offset().top; initData.msgArr = []; if (initData.drawHistoryArrData.length>0) { function getChooseIndex() { for(var i in initData.drawHistoryArrData) { initData.drawArr([initData.drawHistoryArrData[i]]); if (initData.drawOrMove == 'move') { if(initData.context2d.isPointInPath(initData.initLeft,initData.initTop)) { initData.drawArr(initData.drawHistoryArrData); initData.relPosX = initData.initLeft - initData.drawHistoryArrData[i].x; initData.relPosY = initData.initTop - initData.drawHistoryArrData[i].y; initData.relPosToX = initData.initLeft - initData.drawHistoryArrData[i].toX; initData.relPosToY = initData.initTop - initData.drawHistoryArrData[i].toY; initData.isMove = true; return i; } } } if (initData.drawOrMove == 'move') { return -1; } else { return initData.drawHistoryArrData.length; } } initData.chooseIndex = getChooseIndex(); } else { if (initData.drawOrMove == 'move') { initData.chooseIndex = -1; } } if ($('.drawFont').attr('data-type') == 'hide') { if (this.drawType == 'font') { var x = initData.initLeft; var y = initData.initTop; $('.drawFont').attr('data-type','show'); $('.drawFont').css({ 'left':initData.initLeft+"px", 'top':initData.initTop+"px" }).show(); $('.intoFontInput').on('blur', function () { initData.context = $('.intoFontInput').val(); initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawType, drawTypeNum: initData.drawTypeNum, fill: initData.isFill?initData.background:'', size: initData.size, fontSize: initData.fontSize, context:initData.context, color: initData.color, x: x, y: y, w: $('.intoFontInput').width(), h: $('.intoFontInput').height() }; initData.drawArr(initData.drawHistoryArrData); }) } } if (this.drawType == 'signet') { initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawType, drawTypeNum: initData.drawTypeNum, fill: initData.isFill?initData.background:'', size: initData.size, color: initData.color, x: initData.initLeft, y: initData.initTop }; initData.drawArr(initData.drawHistoryArrData); } }, /** * 鼠标移动执行 */ mouseMove: function (e) { // 鼠标移动 initData.context2d.clearRect(0,0,initData.canvasWidth,initData.canvasHeight); var moveX = e.offsetX?e.offsetX:e.originalEvent.targetTouches[0].pageX - $('#canvas').offset().left; var moveY = e.offsetY?e.offsetY:e.originalEvent.targetTouches[0].pageY - $('#canvas').offset().top; var moveWidth = moveX - initData.initLeft; var moveHeight = moveY - initData.initTop; if (initData.isMove) { switch (initData.drawHistoryArrData[initData.chooseIndex].drawType) { case 'rect': initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawHistoryArrData[initData.chooseIndex].drawType, drawTypeNum: initData.drawHistoryArrData[initData.chooseIndex].drawTypeNum, fill: initData.drawHistoryArrData[initData.chooseIndex].fill, size: initData.drawHistoryArrData[initData.chooseIndex].size, color: initData.drawHistoryArrData[initData.chooseIndex].color, x: moveWidth + initData.initLeft - initData.relPosX, y: moveHeight + initData.initTop - initData.relPosY, w: initData.drawHistoryArrData[initData.chooseIndex].w, h: initData.drawHistoryArrData[initData.chooseIndex].h }; break; case 'line': initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawHistoryArrData[initData.chooseIndex].drawType, drawTypeNum: initData.drawHistoryArrData[initData.chooseIndex].drawTypeNum, fill: initData.drawHistoryArrData[initData.chooseIndex].fill, size: initData.drawHistoryArrData[initData.chooseIndex].size, color: initData.drawHistoryArrData[initData.chooseIndex].color, x: initData.drawHistoryArrData[initData.chooseIndex].x+moveX, y: initData.drawHistoryArrData[initData.chooseIndex].y +moveY, toX: moveX, toY: moveY }; break; case 'circle': initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawHistoryArrData[initData.chooseIndex].drawType, drawTypeNum: initData.drawTypeNum, fill: initData.drawHistoryArrData[initData.chooseIndex].fill, size: initData.size, color: initData.color, x: moveWidth + initData.initLeft - initData.relPosX, y: moveHeight + initData.initTop - initData.relPosY, r: initData.drawHistoryArrData[initData.chooseIndex].r, }; break; case 'delta': initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawHistoryArrData[initData.chooseIndex].drawType, drawTypeNum: initData.drawTypeNum, fill: initData.drawHistoryArrData[initData.chooseIndex].fill, size: initData.size, color: initData.color, x: moveWidth + initData.initLeft - initData.relPosX, y: moveHeight + initData.initTop - initData.relPosY, toX: moveWidth + initData.initLeft - initData.relPosToX, toY: moveHeight + initData.initTop - initData.relPosToY, }; break; case 'ellipse': initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawHistoryArrData[initData.chooseIndex].drawType, drawTypeNum: initData.drawTypeNum, fill: initData.drawHistoryArrData[initData.chooseIndex].fill, size: initData.size, color: initData.color, x: moveWidth + initData.initLeft - initData.relPosX, y: moveHeight + initData.initTop - initData.relPosY, toX: moveWidth + initData.initLeft - initData.relPosToX, toY: moveHeight + initData.initTop - initData.relPosToY, }; break; case 'polygon':// 六边形 initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawHistoryArrData[initData.chooseIndex].drawType, drawTypeNum: initData.drawTypeNum, fill: initData.drawHistoryArrData[initData.chooseIndex].fill, size: initData.size, color: initData.color, x: moveWidth + initData.initLeft - initData.relPosX, y: moveHeight + initData.initTop - initData.relPosY, reg: initData.drawHistoryArrData[initData.chooseIndex].reg, toX: moveWidth + initData.initLeft - initData.relPosToX, toY: moveHeight + initData.initTop - initData.relPosToY }; break; } } else { if (initData.chooseIndex != -1) { switch (this.drawType) { case 'rect': // 矩形 initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawType, drawTypeNum: initData.drawTypeNum, fill: initData.isFill?initData.background:'', size: initData.size, color: initData.color, x: initData.initLeft, y: initData.initTop, w: moveWidth, h: moveHeight }; break; case 'line': // 线 initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawType, drawTypeNum: initData.drawTypeNum, fill: initData.isFill?initData.background:'', size: initData.size, color: initData.color, x: initData.initLeft, y: initData.initTop, toX: moveX, toY: moveY }; break; case 'circle': //圆 initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawType, drawTypeNum: initData.drawTypeNum, fill: initData.isFill?initData.background:'', size: initData.size, color: initData.color, x: initData.initLeft, y: initData.initTop, r: Math.sqrt(moveWidth*moveWidth+moveHeight*moveHeight) }; break; case 'delta': // 三角 initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawType, drawTypeNum: initData.drawTypeNum, fill: initData.isFill?initData.background:'', size: initData.size, color: initData.color, x: initData.initLeft, y: initData.initTop, toX: moveX, toY: moveY, }; break; case 'ellipse': // 椭圆 initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawType, drawTypeNum: initData.drawTypeNum, fill: initData.isFill?initData.background:'', size: initData.size, color: initData.color, x: initData.initLeft, y: initData.initTop, toX: moveX, toY: moveY, }; break; case 'polygon':// 六边形 initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawType, drawTypeNum: initData.drawTypeNum, fill: initData.isFill?initData.background:'', size: initData.size, color: initData.color, x: initData.initLeft, y: initData.initTop, reg: $('.polygon_1_deg').val(), toX: moveX, toY: moveY, }; break; case 'pen': initData.msgArr.push({ x: moveX, y: moveY }) var msg = initData.msgArr.concat(); initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawType, drawTypeNum: initData.drawTypeNum, fill: initData.isFill?initData.background:'', size: initData.size, color: initData.color, x: initData.initLeft, y: initData.initTop, toX: moveX, toY: moveY, msgArr:msg }; break; case 'eraser': initData.msgArr.push({ x: moveX, y: moveY }) var msg = initData.msgArr.concat(); initData.drawHistoryArrData[initData.chooseIndex] = { drawType: initData.drawType, drawTypeNum: initData.drawTypeNum, fill: initData.isFill?initData.background:'', size: initData.size, color: initData.color, x: initData.initLeft, y: initData.initTop, toX: moveX, toY: moveY, msgArr:msg }; break; // case 'signet': // 印章 // initData.drawHistoryArrData[initData.chooseIndex] = { // drawType: initData.drawType, // drawTypeNum: initData.drawTypeNum, // fill: initData.isFill?initData.background:'', // size: initData.size, // color: initData.color, // x: initData.initLeft, // y: initData.initTop, // toX: moveX, // toY: moveY, // }; break; // case 'delta' // case 'circle' // case 'ellipse' // case 'line' // // case 'signet' // case 'pen' // case 'brush' } } } initData.drawArr(initData.drawHistoryArrData); }, /** * 鼠标抬起执行 */ mouseUp: function () { initData.msgArr = []; initData.isMove = false; initData.relPosX = 0; initData.relPosY = 0; $('#canvas').off('mousemove'); } }; }); function save(){ var mycanvas = document.getElementById("canvas"); var image = mycanvas.toDataURL("image/png"); let params={ 'sign':image }; return params; }
实体类
package com.wh.entity; import java.util.Date; public class MeetingInfo { private long id; private String title; private String content; private String canyuze; private String liexize; private String zhuchiren; private String location; private Date startTime; private Date endTime; private String fujian; private int state; private String seatPic; private String remark; private String auditor; public MeetingInfo() { // TODO Auto-generated constructor stub } public MeetingInfo(long id, String title, String content, String canyuze, String liexize, String zhuchiren, String location, Date startTime, Date endTime, String fujian, int state, String seatPic, String remark, String auditor) { super(); this.id = id; this.title = title; this.content = content; this.canyuze = canyuze; this.liexize = liexize; this.zhuchiren = zhuchiren; this.location = location; this.startTime = startTime; this.endTime = endTime; this.fujian = fujian; this.state = state; this.seatPic = seatPic; this.remark = remark; this.auditor = auditor; } public MeetingInfo(String title, String content, String canyuze, String liexize, String zhuchiren, String location, Date startTime, Date endTime, String fujian, int state, String seatPic, String remark, String auditor) { super(); this.title = title; this.content = content; this.canyuze = canyuze; this.liexize = liexize; this.zhuchiren = zhuchiren; this.location = location; this.startTime = startTime; this.endTime = endTime; this.fujian = fujian; this.state = state; this.seatPic = seatPic; this.remark = remark; this.auditor = auditor; } public long getId() { return id; } public void setId(long id) { this.id = id; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public String getCanyuze() { return canyuze; } public void setCanyuze(String canyuze) { this.canyuze = canyuze; } public String getLiexize() { return liexize; } public void setLiexize(String liexize) { this.liexize = liexize; } public String getZhuchiren() { return zhuchiren; } public void setZhuchiren(String zhuchiren) { this.zhuchiren = zhuchiren; } public String getLocation() { return location; } public void setLocation(String location) { this.location = location; } public Date getStartTime() { return startTime; } public void setStartTime(Date startTime) { this.startTime = startTime; } public Date getEndTime() { return endTime; } public void setEndTime(Date endTime) { this.endTime = endTime; } public String getFujian() { return fujian; } public void setFujian(String fujian) { this.fujian = fujian; } public int getState() { return state; } public void setState(int state) { this.state = state; } public String getSeatPic() { return seatPic; } public void setSeatPic(String seatPic) { this.seatPic = seatPic; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } public String getAuditor() { return auditor; } public void setAuditor(String auditor) { this.auditor = auditor; } @Override public String toString() { return "MeetingInfo [id=" + id + ", title=" + title + ", content=" + content + ", canyuze=" + canyuze + ", liexize=" + liexize + ", zhuchiren=" + zhuchiren + ", location=" + location + ", startTime=" + startTime + ", endTime=" + endTime + ", fujian=" + fujian + ", state=" + state + ", seatPic=" + seatPic + ", remark=" + remark + ", auditor=" + auditor + "]"; } }
package com.wh.entity; import java.util.Date; public class MeetingAudit { private int id; private long meetingid; private String auditor; private String sign; private Date createdate; public MeetingAudit() { // TODO Auto-generated constructor stub } public MeetingAudit(int id, long meetingid, String auditor, String sign, Date createdate) { super(); this.id = id; this.meetingid = meetingid; this.auditor = auditor; this.sign = sign; this.createdate = createdate; } public MeetingAudit(long meetingid, String auditor, String sign, Date createdate) { super(); this.meetingid = meetingid; this.auditor = auditor; this.sign = sign; this.createdate = createdate; } public int getId() { return id; } public void setId(int id) { this.id = id; } public long getMeetingid() { return meetingid; } public void setMeetingid(long meetingid) { this.meetingid = meetingid; } public String getAuditor() { return auditor; } public void setAuditor(String auditor) { this.auditor = auditor; } public String getSign() { return sign; } public void setSign(String sign) { this.sign = sign; } public Date getCreatedate() { return createdate; } public void setCreatedate(Date createdate) { this.createdate = createdate; } @Override public String toString() { return "Audit [id=" + id + ", meetingid=" + meetingid + ", auditor=" + auditor + ", sign=" + sign + ", createdate=" + createdate + "]"; } }
dao
package com.wh.dao; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.wh.entity.MeetingInfo; import com.wh.entity.Permission; import com.wh.entity.User; import com.zking.util.BaseDao; import com.zking.util.BuildTree; import com.zking.util.PageBean; import com.zking.util.StringUtils; import com.zking.util.TreeVo; public class MeetingInfoDao extends BaseDao
{ //通用的会议查询SQL语句, //包含会议信息表数据,主持人姓名、审批人姓名、会议状态 private String getSQL() { return "SELECT\r\n" + " a.id,\r\n" + " a.title,\r\n" + " a.content,\r\n" + " a.canyuze,\r\n" + " a.liexize,\r\n" + " a.zhuchiren,\r\n" + " b.name zhuchirenName,\r\n" + " a.location,\r\n" + " DATE_FORMAT( a.startTime, '%Y-%m-%d %H-%m-%s' ) startTime,\r\n" + " DATE_FORMAT( a.endTime, '%Y-%m-%d %H-%m-%s' ) endTime,\r\n" + " a.state,\r\n" + " (\r\n" + " CASE\r\n" + " a.state \r\n" + " WHEN 0 THEN\r\n" + " '取消会议' \r\n" + " WHEN 1 THEN\r\n" + " '新建' \r\n" + " WHEN 2 THEN\r\n" + " '待审核' \r\n" + " WHEN 3 THEN\r\n" + " '驳回' \r\n" + " WHEN 4 THEN\r\n" + " '待开' \r\n" + " WHEN 5 THEN\r\n" + " '进行中' \r\n" + " WHEN 6 THEN\r\n" + " '开启投票' \r\n" + " WHEN 7 THEN\r\n" + " '结束会议' ELSE '其他' \r\n" + " END \r\n" + " ) meetingstate,\r\n" + " a.seatPic,\r\n" + " a.remark,\r\n" + " a.auditor,\r\n" + " c.name auditorName \r\n" + " FROM\r\n" + " t_oa_meeting_info a\r\n" + " INNER JOIN t_oa_user b ON a.zhuchiren = b.id\r\n" + "LEFT JOIN t_oa_user c ON a.auditor = c.id where 1=1"; } //我的审批(查询会议) //①查询所有,②根据会议标题进行模糊查询③拿当前登录的用户作为审批人信息④查询的会议的状态都为待审核⑤查询出来的数据降序排列(最新发布的会议就会出现在最上面) public List package com.wh.dao; import com.wh.entity.MeetingAudit; import com.wh.entity.User; import com.zking.util.BaseDao; import com.zking.util.StringUtils; public class MeetingAuditDao extends BaseDao
{ /** * 新增会议审批记录 * @param audit */ public int add(MeetingAudit meetingAudit) { //1.新增会议审批记录 String sql="insert into t_oa_meeting_audit(meetingId,auditor,sign)" + " values("+meetingAudit.getMeetingid()+","+meetingAudit.getAuditor()+",'"+meetingAudit.getSign()+"')"; //2.根据会议ID更新会议的状态(3=驳回,4=待开) int state=StringUtils.isBlank(meetingAudit.getSign())?3:4; String sql1="update t_oa_meeting_info set state="+state+" where id="+meetingAudit.getMeetingid(); return super.executeUpdateBatch(new String[] {sql,sql1}); } } servlet
package com.wh.web; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.beanutils.ConvertUtils; import com.wh.dao.MeetingInfoDao; import com.wh.entity.MeetingInfo; import com.wh.entity.User; import com.zking.framework.ActionSupport; import com.zking.framework.ModelDriver; import com.zking.util.MyDateConverter; import com.zking.util.PageBean; import com.zking.util.R; import com.zking.util.ResponseUtil; import com.zking.util.StringUtils; import java.util.Date; public class MeetingInfoAction extends ActionSupport implements ModelDriver
{ private MeetingInfo meetingInfo = new MeetingInfo(); private MeetingInfoDao mid = new MeetingInfoDao(); //我的审批(查询会议) public void myAudit(HttpServletRequest req, HttpServletResponse resp) { try { PageBean pageBean = new PageBean(); pageBean.setRequest(req); User u = (User) req.getSession().getAttribute("user"); if(StringUtils.isNotBlank(u.toString())) { meetingInfo.setAuditor(u.getId()+""); } List package com.wh.web; import java.util.List; import java.util.Map; import java.util.UUID; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.beanutils.ConvertUtils; import com.wh.dao.MeetingAuditDao; import com.wh.dao.MeetingInfoDao; import com.wh.entity.MeetingAudit; import com.wh.entity.MeetingInfo; import com.wh.entity.User; import com.zking.framework.ActionSupport; import com.zking.framework.ModelDriver; import com.zking.util.Base64ImageUtils; import com.zking.util.CommonUtils; import com.zking.util.ImageUtils; import com.zking.util.MyDateConverter; import com.zking.util.PageBean; import com.zking.util.PropertiesUtil; import com.zking.util.R; import com.zking.util.ResponseUtil; import com.zking.util.StringUtils; import java.io.File; import java.util.Date; public class MeetingAuditAction extends ActionSupport implements ModelDriver
{ private MeetingAudit meetingAudit = new MeetingAudit(); private MeetingAuditDao mad = new MeetingAuditDao(); // 增加 public void add(HttpServletRequest req, HttpServletResponse resp) throws Exception { String meetingId = req.getParameter("meetingId"); meetingAudit.setMeetingid(Integer.parseInt(meetingId)); String sign = req.getParameter("sign"); meetingAudit.setSign(sign); // 影响行数 try { //保存会议签字的图片 if(StringUtils.isNotBlank(meetingAudit.getSign())) { //定义签字图片保存路径 String sourceFilePath=PropertiesUtil.getValue("dirPathSign"); //定义请求地址(拿到配置文件中定义好的路径) String requestFilePath = PropertiesUtil.getValue("serverPathSign"); //定义会议签字图片名称(原图名称) String sourcefileName=UUID.randomUUID().toString().replace("-", "")+".jpg"; //定义会议签字图片名称(裁剪后的名称) String targetfileName=UUID.randomUUID().toString().replace("-", "")+".jpg"; //拼接图片完成路径(原图) String realPath=sourceFilePath+sourcefileName; //拼接裁剪图路径 String targetPath=sourceFilePath+targetfileName; //上传签字图片并保存到指定位置 Base64ImageUtils.GenerateImage(meetingAudit.getSign().replace("data:image/png;base64,", ""), realPath); //裁剪原图 ImageUtils.shearImg(realPath, targetPath); //替换sign的图片路径 meetingAudit.setSign(requestFilePath+targetfileName); //删除原图 File file=new File(realPath); if(file.exists()) file.delete(); } //调用新增的方法,将审批的意见插入 mad.add(meetingAudit); ResponseUtil.writeJson(resp, R.ok(0, "审批成功")); } catch (Exception e) { e.printStackTrace(); ResponseUtil.writeJson(resp, R.error(200, "审批失败")); } } @Override public MeetingAudit getModel() { ConvertUtils.register(new MyDateConverter(), Date.class); return meetingAudit; } } 工具类
package com.zking.util; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; /** * 把目标文件从Base64编码转换为图片文件 * @author W * */ public class Base64ImageUtils { public static void main(String[] args) { // 测试从Base64编码转换为图片文件 // String strImg = // "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCADcALIDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+iiigA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v59KpG/aVQpt7cgdAU6frS/wBoyb9/kwb/AO9t5/PNAEsX2T7JcbfO2fLuzjPXjFMaS3tIrdx5+z5tiDGevOaUX7BSot7cA9Rs6/rUZv2KhTb25A6DZwP1qJ0+cIVOQ6FLq1e4kA8zftOcYx93/CpBcW3lN/rdu4Z6Z71zY1SaJjMsEBY9Ts5/nVxNaPl48iDHpsrjqQ5D0Kc+c1zJb+ZBiSXPG3p6nr+NZ99qNuZrm3h83zQjF+nTviqNzrhBCRwQeYOnydKrwXr5MojtxLL1ITr9eaunDnM6k+QsJHaR2Hl/vvL832znH8qnf7N59rnzd21NmMYxnjNUvt7bdv2e325zjZxn86kOoOSpMEGV4B2dPpzXZY4yyn2fz7rHm7tr784xjPOK57xAbKOC1un8/wAreCMY3btv8sVqf2g4LEQQZbqdnX681S1a6aVI0+zWxXOdpj4z69agC7i1vbOzK+blEQwdOmeM1Ut5LSNJfK+042fNnb03Dp+lZ2lau8d4sBt7bKgCIhOgHpzWrNdmJyBbW3lng/u+v60AQ3c8OLbyd+d7ffxnOF9K3dH1q7sRvtZ9jnsa5ee5M7KvlxxhcnEa464/wqaCTy4460A9J/4WDef8+kH/AJEorhftf+fMoqPZgZ8klWJP9X5dV/8AlpVj/nnViI4/MjqxUaUUARv/AKusySPy5K00qpd0AW7WTzLeOT/pnViqOlE/Y4/+ulWoP3ske7mgA/5Z0f8ALSij/lpQQRySR29v5k8nlxx/6ySsz+047iT/AESOT/pnWdrNxJcajLBIcxRHCL2Aptr+60+eVeHPU1FQun7hv2txH5kkcckckkf+sq3XBzs0En7slfpXV6Bez31uWuG3sOh70hmjR/1zo/5aVJH0kPetBEdV7uP95HHViq2B9o/7Z0AZN9H9nuI7iP8A5ZyVseZHcWlZd1V3TWPkY7UARf8ALOp4P9XJUWBnb2q1afvbf5+f3dACeXH/AM9KKTaKKAP/2Xd3d2lkNWNuTWV4OGFGcEFwcEYrZGl2VkcwUk5LQT09"; // 使用index.js中 保存图片中console.log(url) 替换成strImg String str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AQgsJ7C/pBc1hPSsYNw0LEZ2CIyXAA+t4+1bNIMABCAAAQhAoDwCi15O2uPa6TPHueWph8QQ6J4ABk73jGkBAhCAAAQgAAEIQAACEOiJAAZOT6BpBgIQgAAEIAABCEAAAhDongAGTveMaQECEIAABCAAAQhAAAIQ6IkABk5PoGkGAhCAAAQgAAEIQAACEOieAAZO94xpAQIQgAAEIAABCEAAAhDoiQAGTk+gaQYCEIAABCAAAQhAAAIQ6J4ABk73jGkBAhCAAAQgAAEIQAACEOiJAAZOT6BpBgIQgAAEIAABCEAAAhDongAGTveMaQECEIAABCAAAQhAAAIQ6IkABk5PoGkGAhCAAAQgAAEIQAACEOieAAZO94xpAQIQgAAEIAABCEAAAhDoiQAGTk+gaQYCEIAABCAAAQhAAAIQ6J4ABk73jGkBAhCAAAQgAAEIQAACEOiJAAZOT6BpBgIQgAAEIAABCEAAAhDongAGTveMaQECEIAABCAAAQhAAAIQ6IkABk5PoGkGAhCAAAQgAAEIQAACEOiewP8CwlS48Zcj/uAAAAAASUVORK5CYII="; GenerateImage(strImg, "E:\\temp\\meetingPic"); //GenerateImage(strImg1, "D:\\temp\\xiao.jpg"); // 测试从图片文件转换为Base64编码 // System.out.println(GetImageStr("d:\\wangyc.jpg")); } public static String GetImageStr(String imgFilePath) {// 将图片文件转化为字节数组字符串,并对其进行Base64编码处理 byte[] data = null; // 读取图片字节数组 try { InputStream in = new FileInputStream(imgFilePath); data = new byte[in.available()]; in.read(data); in.close(); } catch (IOException e) { e.printStackTrace(); } // 对字节数组Base64编码 BASE64Encoder encoder = new BASE64Encoder(); return encoder.encode(data);// 返回Base64编码过的字节数组字符串 } public static boolean GenerateImage(String imgStr, String imgFilePath) {// 对字节数组字符串进行Base64解码并生成图片 if (imgStr == null) // 图像数据为空 return false; BASE64Decoder decoder = new BASE64Decoder(); try { // Base64解码 byte[] bytes = decoder.decodeBuffer(imgStr); for (int i = 0; i < bytes.length; ++i) { if (bytes[i] < 0) {// 调整异常数据 bytes[i] += 256; } } // 生成jpeg图片 OutputStream out = new FileOutputStream(imgFilePath); out.write(bytes); out.flush(); out.close(); return true; } catch (Exception e) { return false; } } }
package com.zking.util; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.text.ParseException; import java.util.ArrayList; import java.util.Arrays; import java.util.UUID; import java.util.regex.Pattern; /** * 将目标图片裁剪 * @author W * */ public class ImageUtils { private static int WHITE = new Color(255, 255, 255).getRGB(); private static int BLACK = new Color(0, 0, 0).getRGB(); public static int[] bufferedImageToIntArray(BufferedImage image, int width, int height) { try { int rgb = 0; int x1 = width; int y1 = height; int x2 = 0; int y2 = 0; int temp1 = 0; int temp2 = 0; // 方式一:通过getRGB()方式获得像素数组 for (int i = 0; i < width; i++) { for (int j = 0; j < height; j++) { rgb = image.getRGB(i, j); if (rgb == -16777216) { temp1 = i; temp2 = j; // 计算最左侧 if (x1 >= temp1) { x1 = temp1; } // 计算最右侧 if (x2 <= temp1) { x2 = temp1; } // 计算最下方 if (y2 <= temp2) { y2 = temp2; } // 计算最上方 if (y1 >= temp2) { y1 = temp2; } } } } System.out.println("BLACK: " + BLACK); System.out.println("x1: " + x1); System.out.println("x2: " + x2); System.out.println("y1: " + y1); System.out.println("y2: " + y2); System.out.println("宽度: " + String.valueOf(x2 - x1)); System.out.println("高度: " + String.valueOf(y2 - y1)); return new int[] {x1, y1, x2 - x1, y2 - y1}; } catch (Exception e) { e.printStackTrace(); } return null; } /** * 剪切图片 * @param source 原图片地址 * @param o 目标地址 * @throws IOException */ public static void shearImg(String source,String target) throws IOException { BufferedImage bufferedImage = ImageIO.read(new File(source)); int width = bufferedImage.getWidth(); int height = bufferedImage.getHeight(); System.out.println("原图片宽度" + width); System.out.println("原图片高度" + height); int[] arr = bufferedImageToIntArray(bufferedImage, width, height); // blank是作为四周边距留白 int blank = 0; BufferedImage newBufferedImage = bufferedImage.getSubimage(arr[0] - blank, arr[1] - blank, arr[2] + blank * 2, arr[3] + blank * 2); ImageIO.write(newBufferedImage, "png", new File(target)); } public static void main(String[] args) throws IOException { String source = "D:\\temp\\images\\T280\\sign\\df0862b3627649e7b36da63cf21ffd27.jpg"; String target="D:\\temp\\images\\T280\\sign\\"+UUID.randomUUID().toString().replace("-", "")+".jpg"; shearImg(source, target); } }
package com.zking.util; import java.io.IOException; import java.io.InputStream; import java.util.Properties; /** * 读取配置文件的内容 * @author W * */ public class PropertiesUtil { public static String getValue(String key) throws IOException { Properties p = new Properties(); InputStream in = PropertiesUtil.class.getResourceAsStream("/resource.properties"); p.load(in); return p.getProperty(key); } }
1.网站下载地址
js代码网https://www.jsdaima.com/
2.使用步骤
3.效果演示
插播一条(当不需要获取子页面所有的值时,便是上面那样的写法,若需要获取子页面全部的值,便是现在这种写法!!!)
好啦,今天的分享就到这了,希望能够帮到你呢!