|
|
|
@ -5,22 +5,22 @@
|
|
|
|
|
<th:block th:include="include :: datetimepicker-css" />
|
|
|
|
|
</head>
|
|
|
|
|
<body class="white-bg">
|
|
|
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
|
|
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content" id="app">
|
|
|
|
|
<form class="form-horizontal m" id="form-check-edit" th:object="${tdCheck}">
|
|
|
|
|
<input name="checkId" th:field="*{checkId}" type="hidden">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">报告人:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="user" disabled th:field="*{user}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">报告人单位:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="depart" disabled th:field="*{depart}" class="form-control" type="text">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">检查开始时间:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<div class="input-group date">
|
|
|
|
@ -30,48 +30,58 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label is-required">所属市州:</label>
|
|
|
|
|
<label class="col-sm-3 control-label is-required">所属地市:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="framework" required th:field="*{framework}" class="form-control" type="text">
|
|
|
|
|
<select id="City" name="framework" required @change="getAreaList()" v-model="City" class="form-control m-b">
|
|
|
|
|
<option value="">请选择</option>
|
|
|
|
|
<option v-for="option in CityList" :value="option.id" :key="option.id">
|
|
|
|
|
{{ option.name }}
|
|
|
|
|
</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label is-required">所属区县:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="area" required th:field="*{area}" class="form-control" type="text">
|
|
|
|
|
<select id="Area" name="area" required v-model="Area" class="form-control m-b">
|
|
|
|
|
<option value="">请选择</option>
|
|
|
|
|
<option v-for="option in AreaList" :value="option.id" :key="option.id">
|
|
|
|
|
{{ option.name }}
|
|
|
|
|
</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label is-required">人员检查:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<textarea name="checkcontentry" required th:field="*{checkcontentry}" class="form-control" ></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label is-required">文件检查:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<textarea name="checkcontentrywj" required th:field="*{checkcontentrywj}" class="form-control" ></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label is-required">资产检查:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<textarea name="checkcontentrysb" required th:field="*{checkcontentrysb}" class="form-control" ></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label is-required">管理制度检查:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<textarea name="checkcontentryglzd" required th:field="*{checkcontentryglzd}" class="form-control" ></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label is-required">泄密事件检查:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<textarea name="checkcontentryxmsj" required th:field="*{checkcontentryxmsj}" class="form-control" ></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label is-required">其他项目检查:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<textarea name="checkcontentryother" required th:field="*{checkcontentryother}" class="form-control" ></textarea>
|
|
|
|
@ -86,7 +96,48 @@
|
|
|
|
|
$("#form-check-edit").validate({
|
|
|
|
|
focusCleanup: true
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var app = new Vue({
|
|
|
|
|
el: '#app',
|
|
|
|
|
data: {
|
|
|
|
|
CityList: [],
|
|
|
|
|
AreaList:[],
|
|
|
|
|
City:[[${tdCheck.framework}]],
|
|
|
|
|
Area:[[${tdCheck.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 submitHandler() {
|
|
|
|
|
if ($.validate.form()) {
|
|
|
|
|
$.operate.save(prefix + "/edit", $('#form-check-edit').serialize());
|
|
|
|
@ -112,4 +163,4 @@
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
</html>
|
|
|
|
|