修改表单布局,

kingbase
dshclm 10 months ago
parent be44fb9c1b
commit 13bd3968f3

@ -9,104 +9,144 @@
<div class="wrapper wrapper-content animated fadeInRight ibox-content" id="app"> <div class="wrapper wrapper-content animated fadeInRight ibox-content" id="app">
<form class="form-horizontal m" id="form-train-edit" th:object="${tdTrain}"> <form class="form-horizontal m" id="form-train-edit" th:object="${tdTrain}">
<input name="ID" th:field="*{ID}" type="hidden"> <input name="ID" th:field="*{ID}" type="hidden">
<div class="form-group"> <div class="row">
<label class="col-sm-3 control-label is-required">所属地市:</label> <div class="col-sm-6">
<div class="col-sm-8"> <div class="form-group">
<select id="City" name="AREAID" disabled required @change="getAreaList()" v-model="City" class="form-control m-b"> <label class="col-sm-4 control-label is-required">所属地市:</label>
<option value="">请选择</option> <div class="col-sm-8">
<option v-for="option in CityList" :value="option.id" :key="option.id"> <select id="City" name="AREAID" disabled required @change="getAreaList()" v-model="City" class="form-control ">
{{ option.name }} <option value="">请选择</option>
</option> <option v-for="option in CityList" :value="option.id" :key="option.id">
</select> {{ option.name }}
</option>
</select>
</div>
</div>
</div> </div>
</div> <div class="col-sm-6">
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">所属区县:</label> <label class="col-sm-4 control-label">所属区县:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select id="Area" name="FRAMEWORK" disabled v-model="Area" class="form-control m-b"> <select id="Area" name="FRAMEWORK" disabled v-model="Area" class="form-control ">
<option value="">请选择</option> <option value="">请选择</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id"> <option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }} {{ option.name }}
</option> </option>
</select> </select>
</div>
</div>
</div> </div>
</div> </div>
<div class="form-group"> <div class="row">
<label class="col-sm-3 control-label">人员名称:</label> <div class="col-sm-6">
<div class="col-sm-8"> <div class="form-group">
<input name="USERNAME" disabled th:field="*{USERNAME}" class="form-control" type="text"> <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>
</div> <div class="col-sm-6">
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">单位名称:</label> <label class="col-sm-4 control-label">单位名称:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="deptName" disabled th:field="*{deptName}" class="form-control" type="text"> <input name="deptName" disabled th:field="*{deptName}" class="form-control" type="text">
</div>
</div>
</div> </div>
</div> </div>
<div class="form-group"> <div class="row">
<label class="col-sm-3 control-label">培训类型:</label> <div class="col-sm-6">
<div class="col-sm-8"> <div class="form-group">
<select name="trainType" disabled class="form-control m-b" th:with="type=${@dict.getType('sys_usertrain_typer')}"> <label class="col-sm-4 control-label">培训类型:</label>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{trainType}"></option> <div class="col-sm-8">
</select> <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>
</div> <div class="col-sm-6">
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">培训对象:</label> <label class="col-sm-4 control-label">培训对象:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="trainSubject" disabled class="form-control m-b" th:with="type=${@dict.getType('sys_usertrain_obj')}"> <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> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{trainSubject}"></option>
</select> </select>
</div>
</div>
</div> </div>
</div> </div>
<div class="form-group"> <div class="row">
<label class="col-sm-3 control-label">培训地点:</label> <div class="col-sm-6">
<div class="col-sm-8"> <div class="form-group">
<textarea name="trainAddress" disabled class="form-control">[[*{trainAddress}]]</textarea> <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>
</div> <div class="col-sm-6">
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">培训开始日期:</label> <label class="col-sm-4 control-label">培训开始日期:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<div class="input-group date"> <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"> <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> <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class="form-group"> <div class="row">
<label class="col-sm-3 control-label">培训人员:</label> <div class="col-sm-6">
<div class="col-sm-8"> <div class="form-group">
<input name="trainName" disabled th:field="*{trainName}" class="form-control" type="text"> <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>
</div> <div class="col-sm-6">
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">培训结束时间:</label> <label class="col-sm-4 control-label">培训结束时间:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<div class="input-group date"> <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"> <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> <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class="form-group"> <div class="row">
<label class="col-sm-3 control-label">培训状态:</label> <div class="col-sm-6">
<div class="col-sm-8"> <div class="form-group">
<select name="trainState" disabled required class="form-control m-b" th:with="type=${@dict.getType('sys_examine_state')}"> <label class="col-sm-4 control-label">培训状态:</label>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{trainState}"></option> <div class="col-sm-8">
</select> <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>
</div> <div class="col-sm-6">
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">审核人员:</label> <label class="col-sm-4 control-label">审核人员:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="updateStaffid" disabled th:field="*{updateStaffid}" class="form-control" type="text"> <input name="updateStaffid" disabled th:field="*{updateStaffid}" class="form-control" type="text">
</div>
</div>
</div> </div>
</div> </div>
<div class="form-group"> <div class="row">
<label class="col-sm-3 control-label">培训评价:</label> <div class="col-sm-12">
<div class="col-sm-8"> <div class="form-group">
<textarea name="TRAININFO" disabled class="form-control">[[*{TRAININFO}]]</textarea> <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>
</div> </div>
</form> </form>

Loading…
Cancel
Save