涉密文件接收

master
20918 11 months ago
parent 31356e5321
commit 065c3107f4

@ -48,14 +48,14 @@ public class TdFileExtractController extends BaseController {
public TableDataInfo list(TdFileReceive tdFileReceive)
{
startPage();
List<TdFileReceive> tdFileReceives = tdFileReceiveService.selectTdFileReceiveByReceiveDepart(deptService.selectDeptById(getSysUser().getDeptId()).getDeptName());
List<TdFileReceive> tdFileReceiveList = new ArrayList<>();
for (TdFileReceive tdFileReceivelist : tdFileReceives){
if (tdFileReceivelist.getReceiveState().equals("1")){
tdFileReceiveList.add(tdFileReceivelist);
List<TdFileReceive> list = tdFileReceiveService.selectTdFileReceiveList(tdFileReceive);
List<TdFileReceive> tdFileReceives = new ArrayList<>();
for (TdFileReceive FileReceivelist : list){
if (FileReceivelist.getReceiveState().equals("1") && FileReceivelist.getReceiveDepartid().equals(deptService.selectDeptById(getSysUser().getDeptId()).getDeptName())){
tdFileReceives.add(FileReceivelist);
}
}
return getDataTable(tdFileReceiveList);
return getDataTable(tdFileReceives);
}
/**

@ -1,5 +1,6 @@
package com.ruoyi.web.controller.system.filemanager;
import java.util.ArrayList;
import java.util.List;
import com.ruoyi.system.service.ISysDeptService;
@ -55,7 +56,13 @@ public class TdFileReceiveController extends BaseController
public TableDataInfo list(TdFileReceive tdFileReceive)
{
startPage();
List<TdFileReceive> tdFileReceives = tdFileReceiveService.selectTdFileReceiveByReceiveDepart(deptService.selectDeptById(getSysUser().getDeptId()).getDeptName());
List<TdFileReceive> list = tdFileReceiveService.selectTdFileReceiveList(tdFileReceive);
List<TdFileReceive> tdFileReceives = new ArrayList<>();
for (TdFileReceive FileReceivelist : list){
if (FileReceivelist.getReceiveDepartid().equals(deptService.selectDeptById(getSysUser().getDeptId()).getDeptName())){
tdFileReceives.add(FileReceivelist);
}
}
return getDataTable(tdFileReceives);
}

@ -107,14 +107,6 @@
return $.table.selectDictLabel(instancyExtentDatas, value);
}
},
// {
// field: 'allianceFile',
// title: '定密依据'
// },
// {
// field: 'remark',
// title: '文件备注'
// },
{
field: 'frameworkId',
title: '所属地区'
@ -126,35 +118,6 @@
return $.table.selectDictLabel(fileSecretDatas, value);
}
},
// {
// field: 'fileSecretyj',
// title: '文件'
// },
// {
// field: 'filePurpose',
// title: ''
// },
// {
// field: 'fileCode',
// title: ''
// },
// {
// field: 'receiveUser',
// title: ''
// },
// {
// field: 'receiveCount',
// title: ''
// },
// {
// field: 'operateId',
// title: ''
// },
// {
// field: 'areaid',
// title: '所属区县'
// },
{
title: '操作',
align: 'center',

@ -39,10 +39,6 @@
</div>
<div class="btn-group-sm" id="toolbar" role="group">
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:filereceive:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:filereceive:export">
<i class="fa fa-download"></i> 导出
</a>
@ -118,7 +114,7 @@
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.receiveId + '\')"><i class="fa fa-edit"></i>接收</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.receiveId + '\')"><i class="fa fa-remove"></i>删除</a>');
//actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.receiveId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]

Loading…
Cancel
Save