|
|
|
@ -38,9 +38,14 @@
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label is-required">人员名称:</label>
|
|
|
|
|
<label class="col-sm-4 control-label is-required">涉密人员名称:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="USERNAME" required class="form-control" type="text">
|
|
|
|
|
<select id="User" name="USERNAME" required class="form-control m-b">
|
|
|
|
|
<option value="">---请选择---</option>
|
|
|
|
|
<option v-for="option in userList" :value="option.userId" :key="option.userId">
|
|
|
|
|
{{ option.userName }}
|
|
|
|
|
</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -48,7 +53,7 @@
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label is-required ">单位名称:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="deptName" required class="form-control" type="text">
|
|
|
|
|
<input name="deptName" placeholder="请输入单位名称" required class="form-control m-b" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -58,7 +63,7 @@
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label is-required">部门:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="PART" required class="form-control" type="text">
|
|
|
|
|
<input name="PART" required placeholder="请输入部门" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -89,9 +94,9 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-4 control-label">培训人员:</label>
|
|
|
|
|
<label class="col-sm-4 control-label is-required">培训地点:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="trainName" class="form-control" type="text">
|
|
|
|
|
<textarea name="trainAddress" placeholder="请输入培训地点" required class="form-control"></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -110,24 +115,45 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-2 control-label is-required">培训地点:</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<textarea name="trainAddress" required class="form-control"></textarea>
|
|
|
|
|
<label class="col-sm-4 control-label">填报人:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="createStaffid" placeholder="请输入填报人" 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="createDate" 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" placeholder="请输入培训人员" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<th:block th:include="include :: footer" />
|
|
|
|
|
<th:block th:include="include :: datetimepicker-js" />
|
|
|
|
|
<script th:inline="javascript">
|
|
|
|
|
var prefix = ctx + "system/train"
|
|
|
|
|
$("#form-train-add").validate({
|
|
|
|
|
$("#form-train-add").validate({
|
|
|
|
|
focusCleanup: true
|
|
|
|
|
});
|
|
|
|
|
var app = new Vue({
|
|
|
|
@ -135,11 +161,13 @@
|
|
|
|
|
data: {
|
|
|
|
|
CityList: [],
|
|
|
|
|
AreaList:[],
|
|
|
|
|
userList:[],
|
|
|
|
|
City:'',
|
|
|
|
|
Area:'',
|
|
|
|
|
params:{
|
|
|
|
|
parentId:'',
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
userPost:"system/user/list"
|
|
|
|
|
},
|
|
|
|
|
mounted(){
|
|
|
|
|
// 初始化地市列表
|
|
|
|
@ -147,8 +175,18 @@
|
|
|
|
|
if (this.City){
|
|
|
|
|
this.getAreaList()
|
|
|
|
|
}
|
|
|
|
|
this.getUserList()
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
getUserList(){
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: ctx + this.userPost,
|
|
|
|
|
type: 'POST',
|
|
|
|
|
success:((res)=>{
|
|
|
|
|
this.userList = res.rows
|
|
|
|
|
}) ,
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getCityList(){
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: ctx + "system/area/getSysAreaList",
|
|
|
|
|