|
|
@ -49,7 +49,11 @@ |
|
|
|
background-color: #FFF; |
|
|
|
background-color: #FFF; |
|
|
|
border-top: 1px solid #eee; |
|
|
|
border-top: 1px solid #eee; |
|
|
|
} |
|
|
|
} |
|
|
|
.star-mark{color: red; display: none} |
|
|
|
|
|
|
|
|
|
|
|
.star-mark { |
|
|
|
|
|
|
|
color: red; |
|
|
|
|
|
|
|
display: none |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
</style> |
|
|
|
</head> |
|
|
|
</head> |
|
|
@ -60,109 +64,50 @@ |
|
|
|
<div style="overflow: hidden; flex: 1"> |
|
|
|
<div style="overflow: hidden; flex: 1"> |
|
|
|
<div class="layui-upload" id="uploader-table"></div> |
|
|
|
<div class="layui-upload" id="uploader-table"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="layui-form" lay-filter="file-form" |
|
|
|
<div class="layui-form dynamic-form" lay-filter="file-form" |
|
|
|
style="border: 1px solid #eee; padding-top:15px; margin-bottom: 50px;"> |
|
|
|
style="border: 1px solid #eee; padding-top:15px; margin-bottom: 50px;" th:object="${@securityUtil.getLoginSysUser()}"> |
|
|
|
<div class="layui-form-item"> |
|
|
|
<div class="layui-form-item" |
|
|
|
<div class="layui-inline"> |
|
|
|
th:each="field,iterStat : ${uploadFormConfig}" |
|
|
|
<label class="layui-form-label"><span style="color: red">*</span>文件密级</label> |
|
|
|
th:if="${field.isShow}" |
|
|
|
<div class="layui-input-inline"> |
|
|
|
th:style="${field.fieldType == 'textarea' ? 'width: calc(100% - 30px);' : ''}" |
|
|
|
<div dict-component="select" dict-type="secret_level" dict-name="secretLevel" |
|
|
|
th:with="username=*{userName}"> |
|
|
|
dict-width="100%" id="dict-secret-level"></div> |
|
|
|
<label class="layui-form-label" th:text="${field.showTitle}">字段名称</label> |
|
|
|
</div> |
|
|
|
<div class="layui-input-block"> |
|
|
|
</div> |
|
|
|
<!-- 文本框类型 --> |
|
|
|
<div class="layui-inline"> |
|
|
|
<input class="layui-input" type="text" autocomplete="off" |
|
|
|
<label class="layui-form-label">是否演训数据</label> |
|
|
|
th:if="${field.fieldType == 'input' || field.fieldType == 'date'}" |
|
|
|
<div class="layui-input-inline"> |
|
|
|
th:name="${field.fieldName}" |
|
|
|
<input class="layui-input" type="radio" name="exerciseData" value="0" title="否" checked lay-filter="exerciseData"/> |
|
|
|
th:value="${field.fieldName=='entryStaff'?username:''}" |
|
|
|
<input class="layui-input" type="radio" name="exerciseData" value="1" title="是" lay-filter="exerciseData"/> |
|
|
|
th:disabled="${field.isDisabled}" |
|
|
|
</div> |
|
|
|
th:placeholder="${field.showTitle}" |
|
|
|
</div> |
|
|
|
th:lay-verify="${field.isRequired ? 'required' : ''}"> |
|
|
|
</div> |
|
|
|
<!-- 文本域类型 --> |
|
|
|
<div class="layui-form-item"> |
|
|
|
<textarea class="layui-textarea" type="text" autocomplete="off" |
|
|
|
<div class="layui-inline"> |
|
|
|
th:if="${field.fieldType == 'textarea'}" |
|
|
|
<label class="layui-form-label"><span class="star-mark">*</span>任务时间</label> |
|
|
|
th:name="${field.fieldName}" |
|
|
|
<div class="layui-input-inline"> |
|
|
|
th:disabled="${field.isDisabled}" |
|
|
|
<input class="layui-input" id="input-data" name="inputDate" type="text"> |
|
|
|
th:placeholder="${field.showTitle}" |
|
|
|
</div> |
|
|
|
th:lay-verify="${field.isRequired ? 'required' : ''}"></textarea> |
|
|
|
</div> |
|
|
|
<th:block th:if="${field.fieldType == 'radio' && field.isShow}"> |
|
|
|
<div class="layui-inline"> |
|
|
|
<input class="layui-inline" type="radio" |
|
|
|
<label class="layui-form-label">录入人员</label> |
|
|
|
th:each="exp, stat : ${#strings.listSplit(field.dictType, ';')}" |
|
|
|
<div class="layui-input-inline" th:object="${@securityUtil.getLoginSysUser()}"> |
|
|
|
th:with="tmp=${#strings.arraySplit(exp, '-')}, value=${tmp[0]}, title=${tmp[1]}, checked=${#arrays.length(tmp)==3?tmp[2]:false}" |
|
|
|
<input class="layui-input" name="entryStaff" type="text" readonly |
|
|
|
th:name="${field.fieldName}" |
|
|
|
th:value="*{userName}"> |
|
|
|
th:value="${value}" |
|
|
|
</div> |
|
|
|
th:title="${title}" |
|
|
|
</div> |
|
|
|
th:checked="${checked}" |
|
|
|
</div> |
|
|
|
/> |
|
|
|
<div class="layui-form-item"> |
|
|
|
</th:block> |
|
|
|
<div class="layui-inline"> |
|
|
|
<!-- 数据字典类型 --> |
|
|
|
<label class="layui-form-label"><span class="star-mark">*</span>文件来源</label> |
|
|
|
<div dict-component="select" |
|
|
|
<div class="layui-input-inline"> |
|
|
|
th:if="${field.fieldType == 'dict'}" |
|
|
|
<div dict-component="select" dict-type="data_source" dict-name="source" |
|
|
|
th:disabled="${field.isDisabled}" |
|
|
|
dict-width="100%" id="dict-data-form"></div> |
|
|
|
th:dict-type="${field.dictType}" |
|
|
|
</div> |
|
|
|
th:dict-name="${field.fieldName}" |
|
|
|
</div> |
|
|
|
th:id="${'dict-'+field.fieldName}"></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> |
|
|
|
</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> |
|
|
|
<label class="layui-form-label" th:text="${labelSet.fieldTitle}">标签类型</label> |
|
|
|
<div class="layui-input-block label-set-component" |
|
|
|
<div class="layui-input-block label-set-component" |
|
|
|
th:data-id="${labelSet.id}" |
|
|
|
th:data-id="${labelSet.id}" |
|
|
|