涉密文件销毁,统计

master
20918 11 months ago
parent 96e5152975
commit 4bb71abc43

@ -1,7 +1,9 @@
package com.ruoyi.web.controller.system.count;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.TdFileProvide;
import com.ruoyi.system.domain.TdFileReceive;
import com.ruoyi.system.domain.TdPropertyNetinfo;
@ -54,6 +56,7 @@ public class SysFilenumController extends BaseController {
*/
@RequiresPermissions("system:filenum:print")
@GetMapping("/print/{fileId}")
@Log(title = "文件统计", businessType = BusinessType.PRINT)
public String print(@PathVariable("fileId") String fileId, ModelMap mmap)
{
List<TdFileReceive> tdFileReceives = tdFileReceiveService.selectTdFileReceiveByFileId(fileId);

@ -1,7 +1,9 @@
package com.ruoyi.web.controller.system.count;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.TdPropertyInfo;
import com.ruoyi.system.domain.TdPropertyNet;
import com.ruoyi.system.domain.TdPropertyNetinfo;
@ -50,6 +52,7 @@ public class SysNetworknumController extends BaseController {
*/
@RequiresPermissions("system:propertynum:print")
@GetMapping("/print/{netId}")
@Log(title = "网络设备统计", businessType = BusinessType.PRINT)
public String print(@PathVariable("netId") String netId, ModelMap mmap)
{
List<TdPropertyNetinfo> tdPropertyNetinfos = tdPropertyNetinfoService.selectTdPropertyNetinfoByNetId(netId);

@ -1,7 +1,9 @@
package com.ruoyi.web.controller.system.count;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.TdPropertyInfo;
import com.ruoyi.system.domain.TdPropertyManager;
import com.ruoyi.system.service.ITdPropertyInfoService;
@ -48,6 +50,7 @@ public class SysPropertynumController extends BaseController {
*/
@RequiresPermissions("system:propertynum:print")
@GetMapping("/print/{useId}")
@Log(title = "资产设备统计", businessType = BusinessType.PRINT)
public String print(@PathVariable("useId") String useId, ModelMap mmap)
{
List<TdPropertyInfo> tdPropertyInfos = tdPropertyInfoService.selectTdPropertyInfoByUseId(useId);

@ -58,6 +58,23 @@
</div>
</div>
</div>
<div id="poem_sentence" style="position: absolute;bottom: 0;left: 50%;"></div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8"></script>
<script type="text/javascript">
jinrishici.load(function (result) {
var sentence = document.querySelector("#poem_sentence")
sentence.innerHTML = result.data.content
});
var poem_sentence = document.querySelector("#poem_sentence")
poem_sentence.addEventListener('contextmenu', function(event) {
event.preventDefault();
jinrishici.load(function (result) {
var sentence = document.querySelector("#poem_sentence")
sentence.innerHTML = result.data.content
});
});
</script>
<script th:inline="javascript"> var ctx = [[@{/}]];</script>
<!--[if lte IE 8]><script>window.location.href=ctx+'html/ie.html';</script><![endif]-->
<!-- 全局js -->

@ -39,6 +39,12 @@
<input name="receiveDepartid" readonly th:field="*{receiveDepartid}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">提取单位:</label>
<div class="col-sm-8">
<input name="extractDepartid" th:value="${user.dept.deptName}" readonly class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">提取人员:</label>
<div class="col-sm-8">

Loading…
Cancel
Save