涉密资产统计

master
dshclm 11 months ago
parent 76ff904fba
commit a528a2d160

@ -54,7 +54,7 @@ public class SysPropertynumController extends BaseController {
TdPropertyManager tdPropertyManager = tdPropertyManagerService.selectTdPropertyManagerByUseId(useId);
mmap.put("tdPropertyInfos", tdPropertyInfos);
mmap.put("tdPropertyManager", tdPropertyManager);
mmap.put("sysuser", getSysUser().getDeptId());
mmap.put("sysuser", getSysUser());
return prefix + "/print";
}
}

@ -1,10 +1,817 @@
<!DOCTYPE html>
<html lang="en">
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta charset="UTF-8">
<title>Title</title>
<th:block th:include="include :: header('离职登记表')" />
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Aspose.Cell ">
<link rel=File-List href="at4e1-nctco_files/filelist.xml">
<link rel=Edit-Time-Data href="at4e1-nctco_files/editdata.mso">
<link rel=OLE-Object-Data href="at4e1-nctco_files/oledata.mso">
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>波强 赵</o:Author>
<o:LastPrinted>2024-05-16T01:00:20Z</o:LastPrinted>
<o:Created>2024-05-16T00:31:15Z</o:Created>
<o:LastSaved>2024-05-16T01:00:34Z</o:LastSaved>
</o:DocumentProperties>
</xml><![endif]-->
<style>
<!--table
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
@page
{
mso-header-data:"";
mso-footer-data:"";
margin:0.75in 0.7in 0.75in 0.7in;
mso-header-margin:0.3in;
mso-footer-margin:0.3in;
mso-page-orientation:Landscape;
}
tr
{mso-height-source:auto;
mso-ruby-visibility:none;}
col
{mso-width-source:auto;
mso-ruby-visibility:none;}
br
{mso-data-placement:same-cell;}
ruby
{ruby-align:left;}
.style0
{
mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border:none;
mso-protection:locked visible;
mso-style-name:Normal;
mso-style-id:0;}
.font0
{
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif"; }
.font1
{
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif"; }
.font2
{
color:#000000;
font-size:9pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif"; }
.font3
{
color:#000000;
font-size:16pt;
font-weight:400;
font-style:normal;
font-family:"等线","monospace"; }
.font4
{
color:#000000;
font-size:20pt;
font-weight:700;
font-style:normal;
font-family:"等线","monospace"; }
td
{mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border:none;
mso-protection:locked visible;
mso-ignore:padding;}
.style0
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
mso-protection:locked visible;
mso-style-name:"Normal";
}
.style1
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style2
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style3
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style4
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style5
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style6
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style7
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style8
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style9
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style10
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style11
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style12
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style13
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style14
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.x15
{
mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
mso-protection:locked visible;
}
.style16
{
mso-number-format:"0%";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Percent";
}
.style17
{
mso-number-format:"_\(\0022$\0022* \#\,\#\#0\.00_\)\;_\(\0022$\0022* \(\#\,\#\#0\.00\)\;_\(\0022$\0022* \0022-\0022??_\)\;_\(\@_\)";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Currency";
}
.style18
{
mso-number-format:"_\(\0022$\0022* \#\,\#\#0_\)\;_\(\0022$\0022* \(\#\,\#\#0\)\;_\(\0022$\0022* \0022-\0022_\)\;_\(\@_\)";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Currency [0]";
}
.style19
{
mso-number-format:"_\(* \#\,\#\#0\.00_\)\;_\(* \(\#\,\#\#0\.00\)\;_\(* \0022-\0022??_\)\;_\(\@_\)";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Comma";
}
.style20
{
mso-number-format:"_\(* \#\,\#\#0_\)\;_\(* \(\#\,\#\#0\)\;_\(* \0022-\0022_\)\;_\(\@_\)";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Comma [0]";
}
.x21
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border-top:1px solid windowtext;
border-right:1px solid windowtext;
border-bottom:1px solid windowtext;
border-left:1px solid windowtext;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x22
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border-top:1px solid windowtext;
border-right:none;
border-bottom:1px solid windowtext;
border-left:1px solid windowtext;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x23
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border-top:1px solid windowtext;
border-right:1px solid windowtext;
border-bottom:1px solid windowtext;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x24
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:20pt;
font-weight:700;
font-style:normal;
font-family:"等线","monospace";
border-top:1px solid windowtext;
border-right:none;
border-bottom:1px solid windowtext;
border-left:1px solid windowtext;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x25
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:20pt;
font-weight:700;
font-style:normal;
font-family:"等线","monospace";
border-top:1px solid windowtext;
border-right:none;
border-bottom:1px solid windowtext;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x26
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:20pt;
font-weight:700;
font-style:normal;
font-family:"等线","monospace";
border-top:1px solid windowtext;
border-right:1px solid windowtext;
border-bottom:1px solid windowtext;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x27
{
mso-style-parent:style0;
mso-number-format:General;
text-align:left;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:16pt;
font-weight:400;
font-style:normal;
font-family:"等线","monospace";
border-top:1px solid windowtext;
border-right:none;
border-bottom:1px solid windowtext;
border-left:1px solid windowtext;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x28
{
mso-style-parent:style0;
mso-number-format:General;
text-align:left;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:16pt;
font-weight:400;
font-style:normal;
font-family:"等线","monospace";
border-top:1px solid windowtext;
border-right:none;
border-bottom:1px solid windowtext;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x29
{
mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:16pt;
font-weight:400;
font-style:normal;
font-family:"等线","monospace";
border-top:1px solid windowtext;
border-right:none;
border-bottom:1px solid windowtext;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x30
{
mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border-top:1px solid windowtext;
border-right:none;
border-bottom:1px solid windowtext;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x31
{
mso-style-parent:style0;
mso-number-format:General;
text-align:right;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:16pt;
font-weight:400;
font-style:normal;
font-family:"等线","monospace";
border-top:1px solid windowtext;
border-right:none;
border-bottom:1px solid windowtext;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
.x32
{
mso-style-parent:style0;
mso-number-format:General;
text-align:left;
vertical-align:middle;
white-space:nowrap;
background:auto;
mso-pattern:auto;
color:#000000;
font-size:16pt;
font-weight:400;
font-style:normal;
font-family:"等线","monospace";
border-top:1px solid windowtext;
border-right:1px solid windowtext;
border-bottom:1px solid windowtext;
border-left:none;
mso-diagonal-down:none;
mso-diagonal-up:none;
mso-protection:locked visible;
}
-->
</style>
<!--[if gte mso 9]><xml>
<x:ExcelWorkbook>
<x:ExcelWorksheets>
<x:ExcelWorksheet>
<x:Name>Sheet1</x:Name>
<x:WorksheetOptions>
<x:StandardWidth>2304</x:StandardWidth>
<x:Print>
<x:ValidPrinterInfo/>
<x:PaperSizeIndex>9</x:PaperSizeIndex>
<x:HorizontalResolution>600</x:HorizontalResolution>
<x:VerticalResolution>600</x:VerticalResolution>
</x:Print>
<x:Selected/>
</x:WorksheetOptions>
</x:ExcelWorksheet>
</x:ExcelWorksheets>
<x:WindowHeight>15500</x:WindowHeight>
<x:WindowWidth>25820</x:WindowWidth>
<x:WindowTopX>-110</x:WindowTopX>
<x:WindowTopY>-110</x:WindowTopY>
<x:RefModeR1C1/>
<x:TabRatio>600</x:TabRatio>
<x:ActiveSheet>0</x:ActiveSheet>
</x:ExcelWorkbook>
</xml><![endif]-->
</head>
<body>
<body link=blue vlink=purple >
<table border=0 cellpadding=0 cellspacing=0 width=1024 style='border-collapse:
collapse;table-layout:fixed;width:768pt;margin: 0 auto;'>
<col width=118 style='mso-width-source:userset;width:171pt'>
<col width=151 style='mso-width-source:userset;width:113.25pt'>
<col width=113 style='mso-width-source:userset;width:84.75pt'>
<col width=151 style='mso-width-source:userset;width:113.25pt'>
<col width=141 style='mso-width-source:userset;width:105.75pt'>
<col width=131 style='mso-width-source:userset;width:157.25pt'>
<col width=219 style='mso-width-source:userset;width:164.25pt'>
<tr height=55 style='mso-height-source:userset;height:41.5pt' id='r0'>
<td colspan=7 height=53 class=x24 width=1024 style='border-right:1px solid windowtext;border-bottom:none;height:40pt;'>甘肃省国家保密局资产统计信息表</td>
</tr>
<tr height=55 style='mso-height-source:userset;height:41.5pt' id='r1'>
<td colspan=2 height=53 class=x27 style='border-bottom:1px solid windowtext;height:40pt;'>单位:[[${sysuser.dept.deptName}]]</td>
<td class=x29></td>
<td class=x30></td>
<td class=x30></td>
<td class=x31><span style='float:right' id="dqdate">日期:</span></td>
<td class=x32></td>
</tr>
<tr height=55 style='mso-height-source:userset;height:41.5pt' id='r2'>
<td height=53 class=x21 style='height:40pt;'>所属市州</td>
<td class=x21>[[${tdPropertyManager.part}]]</td>
<td class=x21>所属区县</td>
<td colspan=2 class=x22 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>[[${tdPropertyManager.areaId}]]</td>
<td class=x21>登记人员</td>
<td class=x21>[[${tdPropertyManager.recoverName}]]</td>
</tr>
<tr height=55 style='mso-height-source:userset;height:41.5pt' id='r3'>
<td height=53 class=x21 style='height:40pt;'>使用部门</td>
<td class=x21>[[${tdPropertyManager.useDepart}]]</td>
<td class=x21>使用人员</td>
<td colspan=2 class=x22 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'>[[${tdPropertyManager.userName}]]</td>
<td class=x21>登记时间</td>
<td class=x21 id="recoverDate">[[${tdPropertyManager.recoverDate}]]</td>
</tr>
<tr height=55 style='mso-height-source:userset;height:41.5pt' id='r4'>
<td height=53 class=x21 style='height:40pt;'>接收时间</td>
<td class=x21 id="useDate">[[${tdPropertyManager.useDate}]]</td>
<td class=x21>登记编号</td>
<td colspan=2 class=x22 style='border-right:1px solid windowtext;border-bottom:1px solid windowtext;'></td>
<td class=x21>资产总数</td>
<td class=x21>[[${tdPropertyManager.propertyNum}]]</td>
</tr>
<tr height=55 style='mso-height-source:userset;height:41.5pt;font-weight: bold' id='r5'>
<td height=53 class=x21 style='height:40pt;font-weight: bold'>资产编号</td>
<td class=x21 style="font-weight: bold">资产名称</td>
<td class=x21 style="font-weight: bold">品牌</td>
<td class=x21 style="font-weight: bold">型号</td>
<td class=x21 style="font-weight: bold">资产SN码</td>
<td class=x21 style="font-weight: bold">资产种类</td>
<td class=x21 style="font-weight: bold">备注信息</td>
</tr>
<tr height=55 style='mso-height-source:userset;height:41.5pt' id='r6' th:each="propertynum : ${tdPropertyInfos}">
<td height=53 class=x21 style='height:40pt;'>[[${propertynum.useId}]]</td>
<td class=x21>[[${propertynum.propertyName}]]</td>
<td class=x21>[[${propertynum.propertyBrand}]]</td>
<td class=x21>[[${propertynum.propertyNo}]]</td>
<td class=x21>[[${propertynum.propertySn}]]</td>
<td class='x21 propertyType'>[[${propertynum.propertyType}]]</td>
<td class=x21>[[${propertynum.remark}]]</td>
</tr>
<tr>
<!-- 打印网页时通过hidden-print隐藏元素 -->
<div class="text-right hidden-print" style="position: absolute;bottom: 20px;right: 50%;">
<button class="btn btn-primary" onclick="printPage()"><i class="fa fa-print"></i> 打印</button>
</div>
</tr>
<![endif]>
</table>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
function printPage() {
window.print();
}
function conversionDate(date){
var year = date.getFullYear();
var month = String(date.getMonth() + 1).padStart(2, '0'); // 月份从 0 开始,需要加 1
var day = String(date.getDate()).padStart(2, '0'); // 日可能是个位数,需要补零
return year + '-' + month + '-' + day
}
document.querySelector('#dqdate').innerHTML ='日期:' + conversionDate(new Date())
document.querySelector('#recoverDate').innerHTML =conversionDate(new Date(document.querySelector('#recoverDate').innerHTML))
document.querySelector('#useDate').innerHTML =conversionDate(new Date(document.querySelector('#useDate').innerHTML))
//资产种类
var examinestateDatas = [[${@dict.getType('sys_sm_property')}]];
var examinestateToFind = [];
document.querySelectorAll('.propertyType').forEach(function(element) {
examinestateToFind.push(element.innerHTML);
});
examinestateToFind.forEach(function(value) {
const foundObject = examinestateDatas.find(obj => obj.dictValue === value);
document.querySelectorAll('.propertyType').forEach(function(element) {
if (element.innerHTML === value) {
element.innerHTML = foundObject ? foundObject.dictLabel : "";
}
});
});
</script>
</body>
</html>
</html>

@ -1,10 +1,106 @@
<!DOCTYPE html>
<html lang="en">
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta charset="UTF-8">
<title>Title</title>
<th:block th:include="include :: header('涉密资产统计')" />
</head>
<body>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
<label>单位名称:</label>
<input type="text" name="frameworkId"/>
</li>
<li>
<label>资产编号:</label>
<input type="text" name="useId"/>
</li>
<li>
<label>所在市州:</label>
<input type="text" name="part"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:property:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table>
</div>
</div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:property:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:property:remove')}]];
var listFlag = [[${@permission.hasPermi('system:property:list')}]];
var prefix = ctx + "system/propertynum";
$(function() {
var options = {
url: prefix + "/list",
modalName: "资产登记",
columns: [{
checkbox: true
},
{
field: 'useId',
title: '资产编号'
},
{
field: 'part',
title: '所属市州'
},
{
field: 'areaId',
title: '所属区县'
},
{
field: 'useDepart',
title: '使用部门'
},
{
field: 'userName',
title: '使用人员'
},
{
field: 'recoverName',
title: '登记人员'
},
{
field: 'recoverDate',
title: '配发日期'
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-info btn-xs ' + listFlag + '" href="javascript:void(0)" onclick="print(\'' + row.useId + '\')"><i class="fa fa-download"></i>打印</a> ');
return actions.join('');
}
}]
};
$.table.init(options);
});
/*资产列表-详细*/
function print(useId) {
var url = prefix + '/print/' + useId;
$.modal.openTab("打印", url);
}
</script>
</body>
</html>
</html>

Loading…
Cancel
Save