Compare commits
111 Commits
Author | SHA1 | Date |
---|---|---|
|
f1c92fed2c | 9 months ago |
|
67900670d9 | 9 months ago |
|
b04c5d3c5a | 9 months ago |
|
1815c24122 | 9 months ago |
|
1016ac379b | 9 months ago |
|
96e1ec7a21 | 9 months ago |
|
edf5cb0ad0 | 9 months ago |
|
e251e40415 | 9 months ago |
|
677dc1dccb | 9 months ago |
|
cf3a842b69 | 9 months ago |
|
c1c875873d | 9 months ago |
|
a363bf09fc | 9 months ago |
|
2156881388 | 9 months ago |
|
962ab8194a | 9 months ago |
|
e7e275486f | 9 months ago |
|
dc6ef723af | 9 months ago |
|
f0faad3fd5 | 9 months ago |
|
ce4d70e260 | 9 months ago |
|
d8f1f1b49c | 9 months ago |
|
56efe97dfc | 9 months ago |
|
c988b20f4b | 9 months ago |
|
e3d6ee3672 | 9 months ago |
|
57bc7cec14 | 9 months ago |
|
015f521af7 | 9 months ago |
|
548bb40cfb | 9 months ago |
|
067dd41f3c | 9 months ago |
|
39a2942828 | 9 months ago |
|
02b5ef906b | 9 months ago |
|
a2ad24e3c3 | 9 months ago |
|
0a2219475d | 9 months ago |
|
630dc1cb24 | 9 months ago |
|
91d5b7be13 | 9 months ago |
|
fbb1189509 | 9 months ago |
|
7d8ac427de | 9 months ago |
|
fe93f7d555 | 9 months ago |
|
8153abe6b9 | 9 months ago |
|
1108ba1606 | 9 months ago |
|
f442f28a6c | 9 months ago |
|
fc78243ddb | 9 months ago |
|
6a2de62d27 | 10 months ago |
|
28b111d2f5 | 10 months ago |
|
0fa0417598 | 10 months ago |
|
05faa5c20e | 10 months ago |
|
933d12e69f | 10 months ago |
|
bb046e4c9e | 10 months ago |
|
f7b2720f41 | 10 months ago |
|
ebb6798512 | 10 months ago |
|
9765071f9a | 10 months ago |
|
6d88d5f2e2 | 10 months ago |
|
951cce818e | 10 months ago |
|
2099077837 | 10 months ago |
|
6d97965476 | 10 months ago |
|
28383bd6ae | 10 months ago |
|
1bc7697ea9 | 10 months ago |
|
280f3d6c5f | 10 months ago |
|
ecdf97582b | 10 months ago |
|
1c3af23c92 | 10 months ago |
|
45c2108c16 | 10 months ago |
|
5e7e29bfd2 | 10 months ago |
|
15a0eea5a4 | 10 months ago |
|
9118852662 | 10 months ago |
|
cfa02431d9 | 10 months ago |
|
0db2d9f706 | 10 months ago |
|
dddd99d102 | 10 months ago |
|
c12da9555b | 10 months ago |
|
474147ce22 | 10 months ago |
|
7e70e8aaa7 | 10 months ago |
|
2aa8b93934 | 10 months ago |
|
b82de922f1 | 10 months ago |
|
415b66370a | 10 months ago |
|
5bb2dfa53c | 10 months ago |
|
0c36b00798 | 10 months ago |
|
dad5200005 | 10 months ago |
|
c27e23f427 | 10 months ago |
|
ae38bb0bb8 | 10 months ago |
|
1295e88b5c | 10 months ago |
|
2ca945c225 | 10 months ago |
|
68af66d502 | 10 months ago |
|
ea1fc2631f | 10 months ago |
|
6188428c35 | 10 months ago |
|
1a3f442526 | 10 months ago |
|
c5b68eac57 | 10 months ago |
|
9ba58f39c9 | 10 months ago |
|
8ce78efe98 | 10 months ago |
|
9d46cd052b | 10 months ago |
|
08b25ec765 | 10 months ago |
|
5cc10fb32f | 10 months ago |
|
13bd3968f3 | 10 months ago |
|
be44fb9c1b | 10 months ago |
|
6bd3774e41 | 10 months ago |
|
2a2ab5e3fb | 10 months ago |
|
20b2f0847b | 10 months ago |
|
db6866aca5 | 10 months ago |
|
56618f73cc | 10 months ago |
|
92df044d0b | 10 months ago |
|
12e4cb0f43 | 10 months ago |
|
403ce51f7e | 10 months ago |
|
977cb8bb83 | 10 months ago |
|
36f77ee0e6 | 10 months ago |
|
d17cad9ab2 | 10 months ago |
|
e67d2fab39 | 10 months ago |
|
6f18aaf5fa | 10 months ago |
|
615c2ed431 | 10 months ago |
|
b3e9cb6208 | 10 months ago |
|
cc6d964722 | 10 months ago |
|
a9dcb6cf7c | 10 months ago |
|
7be4a0ec3d | 10 months ago |
|
1720b3914f | 10 months ago |
|
bcd9280ee6 | 10 months ago |
|
a03e1884a8 | 10 months ago |
|
e354204250 | 10 months ago |
@ -0,0 +1,3 @@
|
||||
1.系统工具——————代码生成
|
||||
2.涉密人员统计——————打印
|
||||
4.文件管理若干问题
|
@ -0,0 +1,65 @@
|
||||
package com.ruoyi.web.controller.system.property;
|
||||
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
import com.ruoyi.system.domain.TdPropertyManager;
|
||||
import com.ruoyi.system.service.ITdPropertyManagerService;
|
||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* packageName com.ruoyi.web.controller.system.property
|
||||
*
|
||||
* @author wangxy
|
||||
* @version JDK 8
|
||||
* @className TdPropertyChangeListController
|
||||
* @date 2024/6/24
|
||||
* @description 资产变更
|
||||
*/
|
||||
@Controller
|
||||
@RequestMapping("/system/change/list")
|
||||
public class TdPropertyChangeListController extends BaseController {
|
||||
|
||||
private String prefix = "system/property/propertychange/list";
|
||||
|
||||
@Autowired
|
||||
private ITdPropertyManagerService tdPropertyManagerService;
|
||||
|
||||
@RequiresPermissions("system:change:view")
|
||||
@GetMapping()
|
||||
public String property()
|
||||
{
|
||||
return prefix + "/property";
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询资产登记列表
|
||||
*/
|
||||
@RequiresPermissions("system:change:list")
|
||||
@PostMapping("/list")
|
||||
@ResponseBody
|
||||
public TableDataInfo list(TdPropertyManager tdPropertyManager)
|
||||
{
|
||||
startPage();
|
||||
List<TdPropertyManager> list = tdPropertyManagerService.selectTdPropertyManagerList(tdPropertyManager);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 添加资产条目
|
||||
*/
|
||||
@RequiresPermissions("system:change:detail")
|
||||
@GetMapping("/detail/{useId}")
|
||||
public String detail(@PathVariable("useId") String useId, ModelMap mmap)
|
||||
{
|
||||
mmap.put("useId",useId);
|
||||
return "system/property/propertychange/changeproperty";
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
html{height:100%}body.signin{height:auto;background:url(../img/login-background.jpg) no-repeat center fixed;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}.signinpanel{width:750px;margin:10% auto 0;color:rgba(255,255,255,.95)}.signinpanel .logopanel{float:none;width:auto;padding:0;background:0}.signinpanel .signin-info ul{list-style:none;padding:0;margin:20px 0}.signinpanel .form-control{display:block;margin-top:15px}.signinpanel .uname{background:#fff url(../img/user.png) no-repeat 95% center;color:#333}.signinpanel .pword{background:#fff url(../img/locked.png) no-repeat 95% center;color:#333}.signinpanel .code{background:#fff no-repeat 95% center;color:#333;margin:0 0 15px 0}.signinpanel .btn{margin-top:15px}.signinpanel form{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);-moz-box-shadow:0 3px 0 rgba(12,12,12,.03);-webkit-box-shadow:0 3px 0 rgba(12,12,12,.03);box-shadow:0 3px 0 rgba(12,12,12,.03);-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:30px}.signup-footer{border-top:solid 1px rgba(255,255,255,.3);margin:20px 0;padding-top:15px}@media screen and (max-width:768px){.signinpanel,.signuppanel{margin:0 auto;width:380px!important;padding:20px}.signinpanel form{margin-top:20px}.signup-footer,.signuppanel .form-control{margin-bottom:10px}.signup-footer .pull-left,.signup-footer .pull-right{float:none!important;text-align:center}.signinpanel .signin-info ul{display:none}}@media screen and (max-width:320px){.signinpanel,.signuppanel{margin:0 20px;width:auto}}.checkbox-custom{position:relative;padding:0 15px 0 25px;margin-bottom:7px;display:inline-block}.checkbox-custom input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer;z-index:2;margin:-6px 0 0 0;top:50%;left:3px}.checkbox-custom label:before{content:'';position:absolute;top:50%;left:0;margin-top:-9px;width:18px;height:17px;display:inline-block;border-radius:2px;border:1px solid #bbb;background:#fff}.checkbox-custom input[type="checkbox"]:checked+label:after{position:absolute;display:inline-block;font-family:'Glyphicons Halflings';content:"\e013";top:42%;left:3px;margin-top:-5px;font-size:11px;line-height:1;width:16px;height:16px;color:#333}.checkbox-custom label{cursor:pointer;line-height:1.2;font-weight:normal;margin-bottom:0;text-align:left}.form-control,.form-control:focus,.has-error .form-control:focus,.has-success .form-control:focus,.has-warning .form-control:focus,.navbar-collapse,.navbar-form,.navbar-form-custom .form-control:focus,.navbar-form-custom .form-control:hover,.open .btn.dropdown-toggle,.panel,.popover,.progress,.progress-bar{box-shadow:none}.form-control{border-radius:1px!important;padding:6px 12px!important;height:34px!important}.form-control:focus{border-color:#1ab394!important}
|
||||
html{height:100%}body.signin{height:auto;background:url(../img/login-background.jpg) no-repeat center fixed;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}.signinpanel{width:750px;margin:17% auto 0;color:rgba(255,255,255,.95)}.signinpanel .logopanel{float:none;width:auto;padding:0;background:0}.signinpanel .signin-info ul{list-style:none;padding:0;margin:20px 0}.signinpanel .form-control{display:block;margin-top:15px}.signinpanel .uname{background:#fff url(../img/user.png) no-repeat 95% center;color:#333}.signinpanel .pword{background:#fff url(../img/locked.png) no-repeat 95% center;color:#333}.signinpanel .code{background:#fff no-repeat 95% center;color:#333;margin:0 0 15px 0}.signinpanel .btn{margin-top:15px}.signinpanel form{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);-moz-box-shadow:0 3px 0 rgba(12,12,12,.03);-webkit-box-shadow:0 3px 0 rgba(12,12,12,.03);box-shadow:0 3px 0 rgba(12,12,12,.03);-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:30px}.signup-footer{margin:20px 0;padding-top:15px}@media screen and (max-width:768px){.signinpanel,.signuppanel{margin:0 auto;width:380px!important;padding:20px}.signinpanel form{margin-top:20px}.signup-footer,.signuppanel .form-control{margin-bottom:10px}.signup-footer .pull-left,.signup-footer .pull-right{float:none!important;text-align:center}.signinpanel .signin-info ul{display:none}}@media screen and (max-width:320px){.signinpanel,.signuppanel{margin:0 20px;width:auto}}.checkbox-custom{position:relative;padding:0 15px 0 25px;margin-bottom:7px;display:inline-block}.checkbox-custom input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer;z-index:2;margin:-6px 0 0 0;top:50%;left:3px}.checkbox-custom label:before{content:'';position:absolute;top:50%;left:0;margin-top:-9px;width:18px;height:17px;display:inline-block;border-radius:2px;border:1px solid #bbb;background:#fff}.checkbox-custom input[type="checkbox"]:checked+label:after{position:absolute;display:inline-block;font-family:'Glyphicons Halflings';content:"\e013";top:42%;left:3px;margin-top:-5px;font-size:11px;line-height:1;width:16px;height:16px;color:#333}.checkbox-custom label{cursor:pointer;line-height:1.2;font-weight:normal;margin-bottom:0;text-align:left}.form-control,.form-control:focus,.has-error .form-control:focus,.has-success .form-control:focus,.has-warning .form-control:focus,.navbar-collapse,.navbar-form,.navbar-form-custom .form-control:focus,.navbar-form-custom .form-control:hover,.open .btn.dropdown-toggle,.panel,.popover,.progress,.progress-bar{box-shadow:none}.form-control{border-radius:1px!important;padding:6px 12px!important;height:34px!important}.form-control:focus{border-color:#1ab394!important}
|
||||
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 3.4 KiB |
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1,10 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,166 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||
<head>
|
||||
<th:block th:include="include :: header('资产登记列表')" />
|
||||
</head>
|
||||
<body class="gray-bg">
|
||||
<div class="container-div" id="app">
|
||||
<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>
|
||||
<select id="City" name="part" @change="getAreaList()" v-model="City">
|
||||
<option value="">---请选择---</option>
|
||||
<option v-for="option in CityList" :value="option.id" :key="option.id">
|
||||
{{ option.name }}
|
||||
</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="btn-group-sm" id="toolbar" role="group">
|
||||
|
||||
</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 listFlag = [[${@permission.hasPermi('system:change:detail')}]];
|
||||
var prefix = ctx + "system/change/list";
|
||||
let datas = []
|
||||
$.ajax({
|
||||
url: ctx + "system/area/getAllList",
|
||||
type: 'GET',
|
||||
data:{parentId:''} ,
|
||||
success:((res)=>{
|
||||
datas = res.data
|
||||
}) ,
|
||||
});
|
||||
$(function() {
|
||||
var options = {
|
||||
url: prefix + "/list",
|
||||
createUrl: prefix + "/add",
|
||||
updateUrl: prefix + "/edit/{id}",
|
||||
removeUrl: prefix + "/remove",
|
||||
exportUrl: prefix + "/export",
|
||||
modalName: "资产登记",
|
||||
columns: [{
|
||||
checkbox: true
|
||||
},
|
||||
{
|
||||
field: 'useId',
|
||||
title: '资产编号'
|
||||
},
|
||||
{
|
||||
field: 'part',
|
||||
title: '所属市州',
|
||||
formatter: function(value, row, index) {
|
||||
return getCity(datas, value)
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'areaId',
|
||||
title: '所属区县',
|
||||
formatter: function(value, row, index) {
|
||||
return getCity(datas, value)
|
||||
}
|
||||
},
|
||||
{
|
||||
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="detail(\'' + row.useId + '\')"><i class="fa fa-list-ul"></i>变更</a> ');
|
||||
return actions.join('');
|
||||
}
|
||||
}]
|
||||
};
|
||||
$.table.init(options);
|
||||
});
|
||||
var app = new Vue({
|
||||
el: '#app',
|
||||
data: {
|
||||
CityList: [],
|
||||
AreaList:[],
|
||||
City:'',
|
||||
Area:'',
|
||||
params:{
|
||||
parentId:'',
|
||||
}
|
||||
},
|
||||
mounted(){
|
||||
// 初始化地市列表
|
||||
this.getCityList();
|
||||
if (this.City){
|
||||
this.getAreaList()
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
getCityList(){
|
||||
$.ajax({
|
||||
url: ctx + "system/area/getSysAreaList",
|
||||
type: 'GET',
|
||||
data:this.params ,
|
||||
success:((res)=>{
|
||||
this.CityList = res.data
|
||||
}) ,
|
||||
});
|
||||
},
|
||||
getAreaList(){
|
||||
this.params.parentId = this.City
|
||||
$.ajax({
|
||||
url: ctx + "system/area/getSysAreaList",
|
||||
type: 'GET',
|
||||
data:this.params,
|
||||
success:((res)=>{
|
||||
this.AreaList = res.data
|
||||
}) ,
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
/*资产列表-详细*/
|
||||
function detail(useId) {
|
||||
var url = prefix + '/detail/' + useId;
|
||||
$.modal.openTab("资产列表数据", url);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,234 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||
<head>
|
||||
<th:block th:include="include :: header('涉密人员培训详情')" />
|
||||
<th:block th:include="include :: jsonview-css" />
|
||||
<th:block th:include="include :: datetimepicker-css" />
|
||||
</head>
|
||||
<body class="white-bg">
|
||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content" id="app">
|
||||
<form class="form-horizontal m" id="form-train-edit" th:object="${tdTrain}">
|
||||
<input name="ID" th:field="*{ID}" type="hidden">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label is-required">所属地市:</label>
|
||||
<div class="col-sm-8">
|
||||
<select id="City" name="AREAID" disabled required @change="getAreaList()" v-model="City" class="form-control ">
|
||||
<option value="">请选择</option>
|
||||
<option v-for="option in CityList" :value="option.id" :key="option.id">
|
||||
{{ option.name }}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">所属区县:</label>
|
||||
<div class="col-sm-8">
|
||||
<select id="Area" name="FRAMEWORK" disabled v-model="Area" class="form-control ">
|
||||
<option value="">请选择</option>
|
||||
<option v-for="option in AreaList" :value="option.id" :key="option.id">
|
||||
{{ option.name }}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">人员名称:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="USERNAME" disabled th:field="*{USERNAME}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">所属单位:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="deptName" disabled th:field="*{deptName}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">培训类型:</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="trainType" disabled class="form-control " th:with="type=${@dict.getType('sys_usertrain_typer')}">
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{trainType}"></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">培训对象:</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="trainSubject" disabled class="form-control " th:with="type=${@dict.getType('sys_usertrain_obj')}">
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{trainSubject}"></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">培训地点:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="trainAddress" th:field="*{trainAddress}" disabled class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">培训开始日期:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="trainDate" disabled th:value="${#dates.format(tdTrain.trainDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">培训人员:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="trainName" disabled th:field="*{trainName}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">培训结束时间:</label>
|
||||
<div class="col-sm-8">
|
||||
<div class="input-group date">
|
||||
<input name="trainTimeend" disabled th:value="${#dates.format(tdTrain.trainTimeend, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">培训状态:</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="trainState" disabled required class="form-control " th:with="type=${@dict.getType('sys_examine_state')}">
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{trainState}"></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">审核人员:</label>
|
||||
<div class="col-sm-8">
|
||||
<input name="updateStaffid" disabled th:field="*{updateStaffid}" class="form-control" type="text">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">培训评价:</label>
|
||||
<div class="col-sm-10">
|
||||
<textarea name="TRAININFO" disabled class="form-control">[[*{TRAININFO}]]</textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<th:block th:include="include :: jsonview-js" />
|
||||
<th:block th:include="include :: datetimepicker-css" />
|
||||
<script th:inline="javascript">
|
||||
var trainStateDatas = [[${@dict.getType('sys_examine_state')}]];
|
||||
var trainStateText = $("input[name='trainState']").val()
|
||||
trainStateDatas.forEach((item)=>{
|
||||
if(trainStateText === item.dictValue){
|
||||
$("input[name='trainState']").val(item.dictLabel);
|
||||
}
|
||||
})
|
||||
var app = new Vue({
|
||||
el: '#app',
|
||||
data: {
|
||||
CityList: [],
|
||||
AreaList:[],
|
||||
City:[[${tdTrain.AREAID}]],
|
||||
Area:[[${tdTrain.FRAMEWORK}]],
|
||||
params:{
|
||||
parentId:'',
|
||||
}
|
||||
},
|
||||
mounted(){
|
||||
// 初始化地市列表
|
||||
this.getCityList();
|
||||
if (this.City){
|
||||
this.getAreaList()
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
|
||||
getCityList(){
|
||||
$.ajax({
|
||||
url: ctx + "system/area/getSysAreaList",
|
||||
type: 'GET',
|
||||
data:this.params ,
|
||||
success:((res)=>{
|
||||
this.CityList = res.data
|
||||
}) ,
|
||||
});
|
||||
},
|
||||
getAreaList(){
|
||||
this.params.parentId = this.City
|
||||
$.ajax({
|
||||
url: ctx + "system/area/getSysAreaList",
|
||||
type: 'GET',
|
||||
data:this.params,
|
||||
success:((res)=>{
|
||||
this.AreaList = res.data
|
||||
}) ,
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
$("input[name='trainDate']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
|
||||
$("input[name='createDate']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
|
||||
$("input[name='updateDate']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
|
||||
$("input[name='trainTimeend']").datetimepicker({
|
||||
format: "yyyy-mm-dd",
|
||||
minView: "month",
|
||||
autoclose: true
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue