OA会议管理系统之我的会议(会议排座&可拖拽座位&附源码)(二)

简介: OA会议管理系统之我的会议(会议排座&可拖拽座位&附源码)(二)

myMeeting.js

//--------------------------------------------------我的会议------------------------------------------------------
var table,$,layer,form;
var row;
layui.use(['table','jquery','layer','form'], function(){
  table = layui.table
  ,layer=layui.layer
  ,$=layui.jquery
  ,form=layui.form;
  initTable();
  //为查询按钮设置点击事件
    $("#btn_search").click(function(){
      query();
    })
  //初始化审批人
  initFormSelects();
      //送审
    $('#btn_auditor').click(function(){
      $.post('Meetinginfo.action',{
        'methodName':'updateAuditorById',
        'id':$('#meetingId').val(),
        'auditor':$('#auditor').val()
      },function(rs){
        console.log(rs.success);
        if(rs.success){
          //关闭对话框
          layer.closeAll();
          layer.msg(rs.msg,{icon:6},function(){});
          //刷新列表
          query();
          //隐藏页面层
          $('#audit').hide(); 
          $(document).on('click', '.layui-layer-close', function() {
                  layer.closeAll();
                  $('#audit').hide();
              });
        }else{
          layer.msg(rs.msg,{icon:5},function(){});
        }
      },'json');
      return false;
    });
});
//查询的点击事件
function query(){
  table.reload('tb', {
        url: 'Meetinginfo.action?methodName=BystateList',     //请求地址
        method: 'POST',                    //请求方式,GET或者POST
        page: true,                        //是否分页
        where: {                           //设定异步数据接口的额外参数,任意设
          'title':$('#title').val(),
        },  
        request: {                         //自定义分页请求参数名
            pageName: 'page', //页码的参数名称,默认:page
            limitName: 'rows' //每页数据量的参数名,默认:limit
        },
        done: function (res) {
          //console.log(res);
        }
   })
  };
//将分页查询方法封装
function initTable(){
   table.render({
        elem: '#tb'
        ,url:'Meetinginfo.action?methodName=BystateList'
        ,title: '我的会议'
        ,cols: [[
          {type: 'checkbox', fixed: 'left'}
          ,{field:'id', title:'会议编号', width:140, fixed: 'left', unresize: true, sort: true}
          ,{field:'title', title:'会议标题', width:180, edit: 'text'}
          ,{field:'roomName', title:'会议地点', width:150, edit: 'text'}
          ,{field:'startTime', title:'开始时间', width:150, edit: 'text'}
          ,{field:'endTime', title:'结束时间', width:120, edit: 'text'}
          ,{field:'meetingState', title:'会议状态', width:120, edit: 'text'}
          ,{field:'seatPic', title:'会议排座', width:120 ,
                templet: function(d){
                      if(d.seatPic==null || d.seatPic=="")
                        return "尚未排座";
                      else
                        return "<img width='35px' src='"+d.seatPic+"'/>";
                  }}
          ,{field:'auditorName', title:'审批人', width:120,
                templet: function(d){
                      if(d.auditorName==null || d.auditorName=="")
                        return "未送审";
                      else
                        return "<p width='120px' >"+d.auditorName+"";
                  }}
          ,{fixed: 'right', title:'操作', toolbar: '#tbar', width:300}
        ]]
        ,page: true
      });
    //工具条事件
    table.on('tool(tb)', function(obj){ //注:tool 是工具条事件名,test 是 table 原始容器的属性 lay-filter="对应的值"
      row = obj.data; //获得当前行数据
      var layEvent = obj.event; //获得 lay-event 对应的值(也可以是表头的 event 参数对应的值)
      var tr = obj.tr; //获得当前行 tr 的 DOM 对象(如果有的话)
      //console.log(row);
      if(layEvent === 'seat'){ //会议排座
        open(row.id);
      } else if(layEvent === 'send'){ //送审
        if(row.seatPic==null || row.seatPic==""){
          layer.msg('先请完成会议排座,再进行送审操作!',function(){});
          return false;
        }
        //在打开送审页面之前,先请完成会议ID的赋值操作(送审人)
        $('#meetingId').val(row.id);
        openLayerAudit();
      } else if(layEvent==="back"){ //反馈详情
        openLayerFeedBack(row.id);
      } 
    });
}
//打开会议排座对话框
function open(id){
  layer.open({
        type: 2,                    //layer提供了5种层类型。可传入的值有:0(信息框,默认)1(页面层)2(iframe层)3(加载层)4(tips层)
        title: '会议排座',                   //对话框标题
        area: ['700px', '600px'],   //宽高
        skin: 'layui-layer-rim',    //样式类名
        content: '../../Layui/jsp/meeting/seatPic.jsp?id='+id//弹出内容。可以传入普通的html内容,还可以指定DOM,更可以随着type的不同而不同
    });
}
//会议送审
function openLayerAudit(){
  //每次打开都对送审人进行初始化默认值设置
  $('#auditor').val("");
  //必须重新渲染
  form.render('select');
  //弹出对话框
    layer.open({
        type: 1,                    //layer提供了5种层类型。可传入的值有:0(信息框,默认)1(页面层)2(iframe层)3(加载层)4(tips层)
        title:'会议送审',
        area: ['426px', '140px'],   //宽高
        skin: 'layui-layer-rim',    //样式类名
        content: $('#audit'),   //弹出内容。可以传入普通的html内容,还可以指定DOM,更可以随着type的不同而不同
    });
}
//初始化审批人
function initFormSelects(){
  $.getJSON('user.action',{
    'methodName':'queryUaerfromSelect',
    'rid':'3'
  },function(rs){
    //console.log(rs);
    let data=rs.data;
    $.each(data,function(i,e){
      $('#auditor').append(new Option(e.name,e.value));
    });
    //重新渲染
    form.render('select');
  });
}
//反馈详情
function openLayerFeedBack(id){
  $.getJSON('MeetingFeedBack.action',{
    methodName:'queryMeetingBackByMeetingId',
    meetingId:id
  },function(data){
    //先清空人员信息
    $('#meeting_ok').html("");
    $('#meeting_no').html("");
    $('#meeting_noread').html("");
    if(data.success){
      //console.log(data.data);
      $.each(data.data,function(i,e){
        if(e.result==1)
          $('#meeting_ok').html(e.NAMES);
        else if(e.result==2)
          $('#meeting_no').html(e.NAMES);
        else
          $('#meeting_noread').html(e.NAMES);
      });
      //弹出对话框
        layer.open({
            type: 1,                    //layer提供了5种层类型。可传入的值有:0(信息框,默认)1(页面层)2(iframe层)3(加载层)4(tips层)
            title:'反馈详情',
            area: ['600px', '460px'],   //宽高
            skin: 'layui-layer-rim',    //样式类名
            content: $('#feedback'),   //弹出内容。可以传入普通的html内容,还可以指定DOM,更可以随着type的不同而不同
            btn:['关闭'],
            yes:function(index,layero){
              layer.closeAll();
              $('#feedback').hide(); //隐藏页面层
              //获取到关闭“x”,隐藏页面层
              $(document).on('click', '.layui-layer-close', function() {
                  layer.closeAll();
                  $('#feedback').hide();
              });
            }
        });
    }
  });
}

3.4.Web层编写

Useraction

package com.xw.web;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import com.xw.entity.User;
import com.xw.dao.UserDao;
import com.zking.framework.ActionSupport;
import com.zking.framework.ModelDriver;
import com.zking.util.PageBean;
import com.zking.util.R;
import com.zking.util.ResponseUtil;
import com.zking.util.StringUtils;
public class Useraction extends ActionSupport implements ModelDriver<User> {
  User user = new User();
  UserDao userdao = new UserDao();
  /**
   * 会议排座人员信息绑定
   * 
   * @param req
   * @param resp
   * @return
   * @throws Exception
   */
  public void queryUserByMeetingId(HttpServletRequest req, HttpServletResponse resp) throws Exception {
    String meetingId = req.getParameter("meetingId");
    List<User> users= userdao.queryUserByMeetingId(Integer.valueOf(meetingId));
    ResponseUtil.writeJson(resp, R.ok(0, "查询成功", users));
  }
  @Override
  public User getModel() {
    return user;
  }
}

MeetinginfoAction

package com.xw.web;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Enumeration;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import javax.security.auth.message.callback.PrivateKeyCallback.Request;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.commons.beanutils.ConvertUtils;
import com.sun.xml.internal.ws.encoding.soap.SOAP12Constants;
import com.xw.biz.IMeetinginfoBiz;
import com.xw.biz.MeetinginfoBizImpl;
import com.xw.entity.Meetinginfo;
import com.xw.entity.User;
import com.zking.framework.ActionSupport;
import com.zking.framework.ModelDriver;
import com.zking.util.Base64ImageUtils;
import com.zking.util.DateUtil;
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;
/**
 * 会议管理
 * 
 * @author 索隆
 *
 */
public class MeetinginfoAction extends ActionSupport implements ModelDriver<Meetinginfo> {
  private Meetinginfo Meetinginfo = new Meetinginfo();
  private IMeetinginfoBiz imd = new MeetinginfoBizImpl();
  /**
   * 会议送审
   * 
   * @param req
   * @param resp
   * @throws Exception
   */
  public void updateAuditorById(HttpServletRequest req, HttpServletResponse resp) throws Exception {
    // 调用的方法
    int update = imd.updateAuditorById(Meetinginfo);
    if (update > 0) {
      // 会议送审成功
      ResponseUtil.writeJson(resp, R.ok(0, "会议送审成功"));
    } else {
      // 会议送审失败
      ResponseUtil.writeJson(resp, R.error(1, "会议送审失败"));
    }
  }
  /**
   * 会议发布的排座图片存储
   * 
   * @param req
   * @param resp
   * @throws Exception
   */
  public void updateSeatPicById(HttpServletRequest req, HttpServletResponse resp) throws Exception {
    // 获取图片的存放地址
    String dirPath = PropertiesUtil.getValue("dirPath");
    // 获取浏览器请求路径
    String serverPath = PropertiesUtil.getValue("serverPath");
    // 生成图片的名称
    String finleName = UUID.randomUUID().toString().replaceAll("-", "") + ".png";
    Meetinginfo.getSeatPic();
    Base64ImageUtils.GenerateImage(Meetinginfo.getSeatPic().replaceAll("data:image/png;base64,", ""),
        dirPath + finleName);
    // 将数据库的图片内容进行修改从存放地址改变成请求路径
    Meetinginfo.setSeatPic(serverPath + finleName);
    // 修改会议信息的SeatPic字段
    int n = imd.updateSeatPicById(Meetinginfo);
    if (n > 0) {
      // 会议排座成功
      ResponseUtil.writeJson(resp, R.ok(0, "会议排座成功"));
    } else {
      // 会议排座失败
      ResponseUtil.writeJson(resp, R.error(1, "会议排座失败"));
    }
  }
  /**
   * 初始化我的会议数据
   * 
   * @param req
   * @param resp
   * @throws Exception
   */
  public void BystateList(HttpServletRequest req, HttpServletResponse resp) throws Exception {
    // 初始化PageBean
    PageBean pageBean = new PageBean();
    pageBean.setRequest(req);
    // 获取当前登陆的用户id
    HttpSession session = req.getSession();
    User user = (User) session.getAttribute("user");
    if (user != null) {
      Meetinginfo.setZhuchiren(user.getId() + "");
    }
    // 初始化数据
    String title = req.getParameter("title");
    String state = req.getParameter("state");
    if (StringUtils.isNotBlank(title)) {
      Meetinginfo.setTitle(title);
    }
    if (StringUtils.isNotBlank(state)) {
      Meetinginfo.setState(Integer.valueOf(state));
    }
    List<Map<String, Object>> list = imd.Bystatelist(Meetinginfo, pageBean);
    // 利用R工具类制造出符合要求的json格式数据
    ResponseUtil.writeJson(resp, R.ok(0, "查询成功", pageBean.getTotal(), list));
  }
  @Override
  public Meetinginfo getModel() {
    // 将获取到时间String类型转换成date类型
    ConvertUtils.register(new MyDateConverter(), Date.class);
    return Meetinginfo;
  }
}

温馨提示:

先用PropertiesUtil工具类读取配置文件,再用Base64ImageUtils通过io流的方式生成图片

Base64ImageUtils(生成图片的工具类)

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;
public class Base64ImageUtils {
  public static void main(String[] args) {
    // 测试从Base64编码转换为图片文件
    // String strImg =
    // "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCADcALIDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goO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P9XJUWBnb2q1afvbf5+f3dACeXH/AM9KKTaKKAP/2Xd3d2lkNWNuTWV4OGFGcEFwcEYrZGl2VkcwUk5LQT09";
    // 使用index.js中 保存图片中console.log(url) 替换成strImg
    String strImg = "iVBORw0KGgoAAAANSUhEUgAAAzgAAACWCAYAAAASci2BAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQfUBUV1x/92sWGJ3aggpoBgQexiQ1FsYD0oioi9oWhEFEVQRIwVewNR7Ah2wQIqKEYQBYQUEcEIiAawRcWWnH8yexwer+zum92d2f3NOXu+97035d7fzJa7M3PvZUSCAAQgAAEIQAACEIAABCAwEgKXGYkeqAEBCEAAAhCAAAQgAAEIQEAYOAwCCEAAAhCAAAQgAAEIQGA0BDBwRtOVKAIBCEAAAhCAAAQgAAEIYOAwBiAAAQhAAAIQgAAEIACB0RDAwBlNV6IIBCAAAQhAAAIQgAAEIICBwxiAAAQgAAEIQAACEIAABEZDAANnNF2JIhCAAAQgAAEIQAACEIAABg5jAAIQgAAEIAABCEAAAhAYDQEMnNF0JYpAAAIQgAAEIAABCEAAAhg4jAEIQAACEIAABCAAAQhAYDQEMHBG05UoAgEIQAACEIAABCAAAQhg4DAGIAABCEAAAhCAAAQgAIHREMDAGU1XoggEIAABCEAAAhCAAAQggIHDGIAABCAAAQhAAAIQgAAERkMAA2c0XYkiEIAABCAAAQhAAAIQgAAGDmMAAhCAAAQgAAEIQAACEBgNAQyc0XQlikAAAhCAAAQgAAEIQAACGDiMAQhAAAIQgAAEIAABCEBgNAQwcEbTlSgCAQhAAAIQgAAEIAABCGDgMAYgAAEIQAACEIAABCAAgdEQwMAZTVeiCAQgMGEC15F0M0k3D0f8eYvA5SWSDpF0zoQ5oToEIAABCEyAAAbOBDoZFSEAgdESuKekYxpq9zFJ75f0uYblyA4BCEAAAhAoggAGThHdhJAQgAAELkVgf0kvir49WdLZks6K/laf7yhpZ0mPmqnlSEknheM7oSyoIQABCEAAAkUTwMApuvvWEv5uknaQtHuNWnaVd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y92c/hCMGs/Y/HAgXWgWAoMT4IF18C7oTIDZiMTrNrRrZOisWxflIQABCEAAAhC4JIF7SjomfDW7J+dGkjadOex9rUo/jQybiwALgakTwMAZ9wiIl6qtqyljZV2ClIcABCAAAQgsJ7C/pBc1hPSsYNw0LEZ2CIyXAA+t4+1bNIMABCAAAQhAoDwCi15O2uPa6TPHueWph8QQ6J4ABk73jGkBAhCAAAQgAAEIQAACEOiJAAZOT6BpBgIQgAAEIAABCEAAAhDongAGTveMaQECEIAABCAAAQhAAAIQ6IkABk5PoGkGAhCAAAQgAAEIQAACEOieAAZO94xpAQIQgAAEIAABCEAAAhDoiQAGTk+gaQYCEIAABCAAAQhAAAIQ6J4ABk73jGkBAhCAAAQgAAEIQAACEOiJAAZOT6BpBgIQgAAEIAABCEAAAhDongAGTveMaQECEIAABCAAAQhAAAIQ6IkABk5PoGkGAhCAAAQgAAEIQAACEOieAAZO94xpAQIQgAAEIAABCEAAAhDoiQAGTk+gaQYCEIAABCAAAQhAAAIQ6J4ABk73jGkBAhCAAAQgAAEIQAACEOiJAAZOT6BpBgIQgAAEIAABCEAAAhDongAGTveMaQECEIAABCAAAQhAAAIQ6IkABk5PoGkGAhCAAAQgAAEIQAACEOiewP8CwlS48Zcj/uAAAAAASUVORK5CYII=";
    GenerateImage(strImg, "E:\\oa");
    // 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;
    }
  }
}

4.案例展示

到这里我的分享就结束了,欢迎到评论区探讨交流!!

如果觉得有用的话还请点个赞吧 ♥  ♥

相关文章
|
5月前
|
JavaScript Java 测试技术
基于springboot+vue.js+uniapp小程序的企业oa管理系统附带文章源码部署视频讲解等
基于springboot+vue.js+uniapp小程序的企业oa管理系统附带文章源码部署视频讲解等
46 1
|
4月前
|
测试技术 Windows
基于SpringBoot+Vue企业oa管理系统(源码+部署说明+演示视频+源码介绍)(3)
基于SpringBoot+Vue企业oa管理系统(源码+部署说明+演示视频+源码介绍)
181 0
|
4月前
|
数据库 数据安全/隐私保护 数据库管理
基于SpringBoot+Vue企业oa管理系统(源码+部署说明+演示视频+源码介绍)(2)
基于SpringBoot+Vue企业oa管理系统(源码+部署说明+演示视频+源码介绍)
74 0
|
4月前
|
Java 关系型数据库 MySQL
基于SpringBoot+Vue企业oa管理系统(源码+部署说明+演示视频+源码介绍)(1)
基于SpringBoot+Vue企业oa管理系统(源码+部署说明+演示视频+源码介绍)
56 0
|
6月前
|
JavaScript Java 测试技术
基于springboot+vue.js的企业OA管理系统附带文章和源代码设计说明文档ppt
基于springboot+vue.js的企业OA管理系统附带文章和源代码设计说明文档ppt
92 8
|
6月前
|
JavaScript Java 测试技术
基于SpringBoot+Vue+uniapp的企业OA管理系统的详细设计和实现(源码+lw+部署文档+讲解等)
基于SpringBoot+Vue+uniapp的企业OA管理系统的详细设计和实现(源码+lw+部署文档+讲解等)
|
6月前
|
JavaScript Java 测试技术
基于SpringBoot+Vue的企业oa管理系统的设计与实现(源码+lw+部署文档+讲解等)
基于SpringBoot+Vue的企业oa管理系统的设计与实现(源码+lw+部署文档+讲解等)
|
6月前
|
JavaScript Java 测试技术
基于SpringBoot+Vue+uniapp的OA办公系统的详细设计和实现(源码+lw+部署文档+讲解等)
基于SpringBoot+Vue+uniapp的OA办公系统的详细设计和实现(源码+lw+部署文档+讲解等)
|
8天前
|
安全 搜索推荐 数据安全/隐私保护
点晴免费OA办公系统:高效协同,安全易用
信息技术发展推动企业信息化,即企业利用现代技术提升生产、经营、管理效率,增强竞争力。点晴免费OA系统作为信息化管理的基础,是实现企业信息化的关键手段。
21 2
|
1月前
|
数据安全/隐私保护
点晴OA办公系统让企业变得高效协同
随着企业信息化进程的加快,很多企业开始寻求使用企业管理免费OA办公系统来提高工作效率。然而,有些些企业可能缺乏信息化经验,对技术一无所知,甚至从未接触过OA办公系统。在这种情况下,企业需要寻求功能比较全面的OA办公系统,以满足企业的实际需求。
41 1