修改页面和接口
This commit is contained in:
parent
c465a95fe6
commit
547e3f9065
|
@ -1,5 +1,7 @@
|
|||
package com.cyx.web.base.controller;
|
||||
|
||||
import java.io.*;
|
||||
import java.nio.file.Files;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
@ -16,6 +18,12 @@ import com.cyx.common.utils.poi.ExcelUtil;
|
|||
import com.cyx.system.service.ISysDeptService;
|
||||
import com.cyx.web.base.domain.*;
|
||||
import com.cyx.web.base.service.*;
|
||||
import com.itextpdf.text.Document;
|
||||
import com.itextpdf.text.Phrase;
|
||||
import com.itextpdf.text.pdf.PdfPCell;
|
||||
import com.itextpdf.text.pdf.PdfPTable;
|
||||
import com.itextpdf.text.pdf.PdfWriter;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
@ -26,6 +34,9 @@ import org.springframework.web.bind.annotation.PostMapping;
|
|||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
import javax.servlet.ServletOutputStream;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* 党务Controller
|
||||
*
|
||||
|
@ -116,7 +127,7 @@ public class TAmentPartyAffairsController extends BaseController
|
|||
}
|
||||
|
||||
@GetMapping("getFiles")
|
||||
public void getFiles(String path, HttpServletResponse response,String filename) {
|
||||
public void getFiles(String path, HttpServletResponse response, String filename) {
|
||||
File inputFile = new File("D:\\ruoyi\\uploadPath\\upload\\2023\\08\\31\\牛舍管理查询导出_20230831105444A002.xlsx");
|
||||
try {
|
||||
|
||||
|
|
|
@ -297,7 +297,7 @@
|
|||
var options = {
|
||||
url: url,
|
||||
data:{
|
||||
type:'日常考核指标'
|
||||
type:'党务及意识形态'
|
||||
},
|
||||
expandLevel: 2,
|
||||
onClick : zOnClick
|
||||
|
|
|
@ -284,7 +284,7 @@
|
|||
var options = {
|
||||
url: url,
|
||||
data:{
|
||||
type:'日常考核指标'
|
||||
type:'党风廉政建设'
|
||||
},
|
||||
expandLevel: 2,
|
||||
onClick : zOnClick
|
||||
|
|
Loading…
Reference in New Issue