Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/065c3107f4e3bd46c843e17da7496be64b1efe29?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
15 additions and
49 deletions
@ -48,14 +48,14 @@ public class TdFileExtractController extends BaseController {
public TableDataInfo list ( TdFileReceive tdFileReceive )
public TableDataInfo list ( TdFileReceive tdFileReceive )
{
{
startPage ( ) ;
startPage ( ) ;
List < TdFileReceive > tdFi leRece ive s = tdFileReceiveService . selectTdFileReceive ByReceiveDepart( deptService . selectDeptById ( getSysUser ( ) . getDeptId ( ) ) . getDeptName ( ) ) ;
List < TdFileReceive > list = tdFileReceiveService . selectTdFileReceive List( tdFileReceive ) ;
List < TdFileReceive > tdFileReceive Li st = new ArrayList < > ( ) ;
List < TdFileReceive > tdFileReceive s = new ArrayList < > ( ) ;
for ( TdFileReceive td FileReceivelist : tdFi leRece ive s) {
for ( TdFileReceive FileReceivelist : list ) {
if ( td FileReceivelist. getReceiveState ( ) . equals ( "1" ) ) {
if ( FileReceivelist. getReceiveState ( ) . equals ( "1" ) & & FileReceivelist . getReceiveDepartid ( ) . equals ( deptService . selectDeptById ( getSysUser ( ) . getDeptId ( ) ) . getDeptName ( ) ) ) {
tdFileReceive Li st . add ( td FileReceivelist) ;
tdFileReceive s. add ( FileReceivelist) ;
}
}
}
}
return getDataTable ( tdFileReceive Li st ) ;
return getDataTable ( tdFileReceive s) ;
}
}
/ * *
/ * *
@ -1,5 +1,6 @@
package com.ruoyi.web.controller.system.filemanager ;
package com.ruoyi.web.controller.system.filemanager ;
import java.util.ArrayList ;
import java.util.List ;
import java.util.List ;
import com.ruoyi.system.service.ISysDeptService ;
import com.ruoyi.system.service.ISysDeptService ;
@ -55,7 +56,13 @@ public class TdFileReceiveController extends BaseController
public TableDataInfo list ( TdFileReceive tdFileReceive )
public TableDataInfo list ( TdFileReceive tdFileReceive )
{
{
startPage ( ) ;
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 ) ;
return getDataTable ( tdFileReceives ) ;
}
}
@ -107,14 +107,6 @@
return $.table.selectDictLabel(instancyExtentDatas, value);
return $.table.selectDictLabel(instancyExtentDatas, value);
}
}
},
},
// {
// field: 'allianceFile',
// title: '定密依据'
// },
// {
// field: 'remark',
// title: '文件备注'
// },
{
{
field: 'frameworkId',
field: 'frameworkId',
title: '所属地区'
title: '所属地区'
@ -126,35 +118,6 @@
return $.table.selectDictLabel(fileSecretDatas, value);
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: '操作',
title: '操作',
align: 'center',
align: 'center',
@ -39,10 +39,6 @@
< / div >
< / div >
< div class = "btn-group-sm" id = "toolbar" role = "group" >
< 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" >
< a class = "btn btn-warning" onclick = "$.table.exportExcel()" shiro:hasPermission = "system:filereceive:export" >
< i class = "fa fa-download" > < / i > 导出
< i class = "fa fa-download" > < / i > 导出
< / a >
< / a >
@ -118,7 +114,7 @@
formatter: function(value, row, index) {
formatter: function(value, row, index) {
var actions = [];
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-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('');
return actions.join('');
}
}
}]
}]