|
|
|
@ -49,7 +49,11 @@ |
|
|
|
|
background-color: #FFF; |
|
|
|
|
border-top: 1px solid #eee; |
|
|
|
|
} |
|
|
|
|
.star-mark{color: red; display: none} |
|
|
|
|
|
|
|
|
|
.star-mark { |
|
|
|
|
color: red; |
|
|
|
|
display: none |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
|
</head> |
|
|
|
@ -60,109 +64,50 @@ |
|
|
|
|
<div style="overflow: hidden; flex: 1"> |
|
|
|
|
<div class="layui-upload" id="uploader-table"></div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form" lay-filter="file-form" |
|
|
|
|
style="border: 1px solid #eee; padding-top:15px; margin-bottom: 50px;"> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label"><span style="color: red">*</span>文件密级</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<div dict-component="select" dict-type="secret_level" dict-name="secretLevel" |
|
|
|
|
dict-width="100%" id="dict-secret-level"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label">是否演训数据</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input class="layui-input" type="radio" name="exerciseData" value="0" title="否" checked lay-filter="exerciseData"/> |
|
|
|
|
<input class="layui-input" type="radio" name="exerciseData" value="1" title="是" lay-filter="exerciseData"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label"><span class="star-mark">*</span>任务时间</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input class="layui-input" id="input-data" name="inputDate" type="text"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label">录入人员</label> |
|
|
|
|
<div class="layui-input-inline" th:object="${@securityUtil.getLoginSysUser()}"> |
|
|
|
|
<input class="layui-input" name="entryStaff" type="text" readonly |
|
|
|
|
th:value="*{userName}"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label"><span class="star-mark">*</span>文件来源</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<div dict-component="select" dict-type="data_source" dict-name="source" |
|
|
|
|
dict-width="100%" id="dict-data-form"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label">目标/靶标类型</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<div dict-component="select" dict-type="target_type" dict-name="targetNumber" |
|
|
|
|
dict-width="100%" id="dict-target-type"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label"><span class="star-mark">*</span>任务代号</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<div dict-component="select" dict-type="task_code" dict-name="taskCode" |
|
|
|
|
dict-width="100%" id="dict-task-code"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label"><span class="star-mark">*</span>任务性质</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<div dict-component="select" dict-type="task_nature" dict-name="taskNature" |
|
|
|
|
dict-width="100%" id="dict-task-nature"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label"><span class="star-mark">*</span>部队代号</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<div dict-component="select" dict-type="troop_code" dict-name="troopCode" |
|
|
|
|
dict-width="100%" id="dict-troop-code"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label"><span class="star-mark">*</span>装备型号</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<div dict-component="select" dict-type="equipment_model" dict-name="equipmentModel" |
|
|
|
|
dict-width="100%" id="dict-equipment-model"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item"> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label">导弹编号</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<div dict-component="select" dict-type="missile_number" dict-name="missileNumber" |
|
|
|
|
dict-width="100%" id="dict-missile-number"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-inline"> |
|
|
|
|
<label class="layui-form-label">主题任务</label> |
|
|
|
|
<div class="layui-input-inline"> |
|
|
|
|
<input class="layui-input" name="themeTask" type="text"> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item layui-form-text"> |
|
|
|
|
<label class="layui-form-label" style="margin-left: -10px;">文件描述</label> |
|
|
|
|
<div class="layui-input-block" style="width:calc(100% - 130px);margin-left: 0"> |
|
|
|
|
<textarea class="layui-textarea" name="remark"></textarea> |
|
|
|
|
<div class="layui-form dynamic-form" lay-filter="file-form" |
|
|
|
|
style="border: 1px solid #eee; padding-top:15px; margin-bottom: 50px;" th:object="${@securityUtil.getLoginSysUser()}"> |
|
|
|
|
<div class="layui-form-item" |
|
|
|
|
th:each="field,iterStat : ${uploadFormConfig}" |
|
|
|
|
th:if="${field.isShow}" |
|
|
|
|
th:style="${field.fieldType == 'textarea' ? 'width: calc(100% - 30px);' : ''}" |
|
|
|
|
th:with="username=*{userName}"> |
|
|
|
|
<label class="layui-form-label" th:text="${field.showTitle}">字段名称</label> |
|
|
|
|
<div class="layui-input-block"> |
|
|
|
|
<!-- 文本框类型 --> |
|
|
|
|
<input class="layui-input" type="text" autocomplete="off" |
|
|
|
|
th:if="${field.fieldType == 'input' || field.fieldType == 'date'}" |
|
|
|
|
th:name="${field.fieldName}" |
|
|
|
|
th:value="${field.fieldName=='entryStaff'?username:''}" |
|
|
|
|
th:disabled="${field.isDisabled}" |
|
|
|
|
th:placeholder="${field.showTitle}" |
|
|
|
|
th:lay-verify="${field.isRequired ? 'required' : ''}"> |
|
|
|
|
<!-- 文本域类型 --> |
|
|
|
|
<textarea class="layui-textarea" type="text" autocomplete="off" |
|
|
|
|
th:if="${field.fieldType == 'textarea'}" |
|
|
|
|
th:name="${field.fieldName}" |
|
|
|
|
th:disabled="${field.isDisabled}" |
|
|
|
|
th:placeholder="${field.showTitle}" |
|
|
|
|
th:lay-verify="${field.isRequired ? 'required' : ''}"></textarea> |
|
|
|
|
<th:block th:if="${field.fieldType == 'radio' && field.isShow}"> |
|
|
|
|
<input class="layui-inline" type="radio" |
|
|
|
|
th:each="exp, stat : ${#strings.listSplit(field.dictType, ';')}" |
|
|
|
|
th:with="tmp=${#strings.arraySplit(exp, '-')}, value=${tmp[0]}, title=${tmp[1]}, checked=${#arrays.length(tmp)==3?tmp[2]:false}" |
|
|
|
|
th:name="${field.fieldName}" |
|
|
|
|
th:value="${value}" |
|
|
|
|
th:title="${title}" |
|
|
|
|
th:checked="${checked}" |
|
|
|
|
/> |
|
|
|
|
</th:block> |
|
|
|
|
<!-- 数据字典类型 --> |
|
|
|
|
<div dict-component="select" |
|
|
|
|
th:if="${field.fieldType == 'dict'}" |
|
|
|
|
th:disabled="${field.isDisabled}" |
|
|
|
|
th:dict-type="${field.dictType}" |
|
|
|
|
th:dict-name="${field.fieldName}" |
|
|
|
|
th:id="${'dict-'+field.fieldName}"></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="layui-form-item" th:each="labelSet, iterState:${LabelConfigSet}"> |
|
|
|
|
<div class="layui-form-item" th:each="labelSet, iterState:${LabelConfigSet}" style="width: 100%"> |
|
|
|
|
<label class="layui-form-label" th:text="${labelSet.fieldTitle}">标签类型</label> |
|
|
|
|
<div class="layui-input-block label-set-component" |
|
|
|
|
th:data-id="${labelSet.id}" |
|
|
|
|