Merge remote-tracking branch 'origin/new-exam' into new-exam

pg_adapter
wangxy 6 months ago
commit 929cb84c54

@ -10,111 +10,625 @@
<div class="wrapper wrapper-content animated fadeInRight ibox-content" id="app">
<form class="form-horizontal m" id="form-carrierlssued-add" th:object="${tdCarrierIssued}">
<input name="id" th:field="*{id}" type="hidden">
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">所属地市:</label>
<div class="col-sm-8">
<select id="City" disabled name="areaCity" required @change="getAreaList()" v-model="City" class="form-control">
<option value="">请选择</option>
<option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }}
</option>
</select>
<div th:if="${tdCarrierIssued.status != '3'}">
<h4 class="form-header h4">国家秘密载体登记</h4>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">所属地市:</label>
<div class="col-sm-8">
<select id="City" disabled name="areaCity" required @change="getAreaList()" v-model="City" class="form-control">
<option value="">请选择</option>
<option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }}
</option>
</select>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">所属区县:</label>
<div class="col-sm-8">
<select id="Area" disabled name="areaDistrict" required v-model="Area" class="form-control">
<option value="">请选择</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }}
</option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">载体名称:</label>
<div class="col-sm-8">
<input name="carrierName" disabled th:field="*{carrierName}" placeholder="请输入载体名称" required class="form-control" type="text">
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">载体类型:</label>
<div class="col-sm-8">
<select disabled name="carrierLevel" required class="form-control" th:with="type=${@dict.getType('sys_provide_level')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{carrierLevel}"></option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">载体数量:</label>
<div class="col-sm-8">
<input disabled name="carrierCount" th:field="*{carrierCount}" digits="true" placeholder="请输入载体数量" required class="form-control" type="text">
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">密级:</label>
<div class="col-sm-8">
<select disabled name="carrierSecret" required class="form-control" th:with="type=${@dict.getType('sys_file_miji')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{carrierSecret}"></option>
</select>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">所属区县:</label>
<div class="col-sm-8">
<select id="Area" disabled name="areaDistrict" required v-model="Area" class="form-control">
<option value="">请选择</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }}
</option>
</select>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">紧急程度:</label>
<div class="col-sm-8">
<select disabled name="carrierExtent" required class="form-control" th:with="type=${@dict.getType('sys_file_jinjichengdu')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{carrierExtent}"></option>
</select>
</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">
<input disabled name="carrierNumber" placeholder="请输入编号" th:field="*{carrierNumber}" class="form-control" type="text">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">保密期限:</label>
<div class="col-sm-8">
<input disabled name="carrierTerm" placeholder="请输入保密期限" th:field="*{carrierTerm}" required 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">
<input disabled name="carrierContent" placeholder="请输入发放范围" th:field="*{carrierContent}" required class="form-control" type="text">
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">载体名称:</label>
<div class="col-sm-8">
<input name="carrierName" disabled th:field="*{carrierName}" placeholder="请输入载体名称" required class="form-control" type="text">
<div th:if="${tdCarrierIssued.status == '2'}">
<h4 class="form-header h4">国家秘密载体使用</h4>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">使用人员:</label>
<div class="col-sm-8">
<input name="usageUser" disabled th:field="*{usageUser}" placeholder="请输入使用人员" required class="form-control" type="text">
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">使用期限:</label>
<div class="col-sm-8">
<select id="expirationTime" disabled name="expirationTime" required class="form-control" th:with="type=${@dict.getType('zaiti_use_time')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{expirationTime}"></option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">使用时间:</label>
<div class="col-sm-10">
<div id="mentsTime" class="input-daterange input-group ">
<input type="text" class="input-sm form-control" disabled th:value="${#dates.format(tdCarrierIssued.mentsTime, 'yyyy-MM-dd')}" required name="mentsTime" id="laydate-startTime" placeholder="开始时间"/>
<span class="input-group-addon"></span>
<input type="text" class="input-sm form-control" disabled th:value="${#dates.format(tdCarrierIssued.mentsendTime, 'yyyy-MM-dd')}" required name="mentsendTime" id="laydate-endTime" placeholder="结束时间"/>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">载体类型:</label>
<div class="col-sm-8">
<select disabled name="carrierLevel" required class="form-control" th:with="type=${@dict.getType('sys_provide_level')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{carrierLevel}"></option>
</select>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">使用要求:</label>
<div class="col-sm-10">
<textarea name="mentsUse" disabled th:field="*{mentsUse}" placeholder="请输入使用要求" required class="form-control" type="text"></textarea>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">载体数量:</label>
<div class="col-sm-8">
<input disabled name="carrierCount" th:field="*{carrierCount}" digits="true" placeholder="请输入载体数量" required class="form-control" type="text">
<div th:if="${tdCarrierIssued.status == '3'}">
<h4 class="form-header h4">已回收</h4>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">所属地市:</label>
<div class="col-sm-8">
<select id="City" disabled name="areaCity" required @change="getAreaList()" v-model="City" class="form-control">
<option value="">请选择</option>
<option v-for="option in CityList" :value="option.id" :key="option.id">
{{ option.name }}
</option>
</select>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">所属区县:</label>
<div class="col-sm-8">
<select id="Area" disabled name="areaDistrict" required v-model="Area" class="form-control">
<option value="">请选择</option>
<option v-for="option in AreaList" :value="option.id" :key="option.id">
{{ option.name }}
</option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">载体名称:</label>
<div class="col-sm-8">
<input name="carrierName" disabled th:field="*{carrierName}" placeholder="请输入载体名称" required class="form-control" type="text">
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">载体类型:</label>
<div class="col-sm-8">
<select disabled name="carrierLevel" required class="form-control" th:with="type=${@dict.getType('sys_provide_level')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{carrierLevel}"></option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">载体数量:</label>
<div class="col-sm-8">
<input disabled name="carrierCount" th:field="*{carrierCount}" digits="true" placeholder="请输入载体数量" required class="form-control" type="text">
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">密级:</label>
<div class="col-sm-8">
<select disabled name="carrierSecret" required class="form-control" th:with="type=${@dict.getType('sys_file_miji')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{carrierSecret}"></option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">紧急程度:</label>
<div class="col-sm-8">
<select disabled name="carrierExtent" required class="form-control" th:with="type=${@dict.getType('sys_file_jinjichengdu')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{carrierExtent}"></option>
</select>
</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">
<input disabled name="carrierNumber" placeholder="请输入编号" th:field="*{carrierNumber}" class="form-control" type="text">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">保密期限:</label>
<div class="col-sm-8">
<input disabled name="carrierTerm" placeholder="请输入保密期限" th:field="*{carrierTerm}" required 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">
<input disabled name="carrierContent" placeholder="请输入发放范围" th:field="*{carrierContent}" required class="form-control" type="text">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">回收时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="receivingTime" disabled th:value="${#dates.format(tdCarrierIssued.reclaimTime, 'yyyy-MM-dd')}" required 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>
<div th:if="${tdCarrierIssued.status == '4'}">
<h4 class="form-header h4">国家秘密载体使用</h4>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">使用人员:</label>
<div class="col-sm-8">
<input name="usageUser" disabled th:field="*{usageUser}" placeholder="请输入使用人员" required class="form-control" type="text">
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">使用期限:</label>
<div class="col-sm-8">
<select id="expirationTime" disabled name="expirationTime" required class="form-control" th:with="type=${@dict.getType('zaiti_use_time')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{expirationTime}"></option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">使用时间:</label>
<div class="col-sm-10">
<div id="mentsTime" class="input-daterange input-group ">
<input type="text" class="input-sm form-control" disabled th:value="${#dates.format(tdCarrierIssued.mentsTime, 'yyyy-MM-dd')}" required name="mentsTime" id="laydate-startTime" placeholder="开始时间"/>
<span class="input-group-addon"></span>
<input type="text" class="input-sm form-control" disabled th:value="${#dates.format(tdCarrierIssued.mentsendTime, 'yyyy-MM-dd')}" required name="mentsendTime" id="laydate-endTime" placeholder="结束时间"/>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">使用要求:</label>
<div class="col-sm-10">
<textarea name="mentsUse" disabled th:field="*{mentsUse}" placeholder="请输入使用要求" required class="form-control" type="text"></textarea>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">密级:</label>
<div class="col-sm-8">
<select disabled name="carrierSecret" required class="form-control" th:with="type=${@dict.getType('sys_file_miji')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{carrierSecret}"></option>
</select>
<h4 class="form-header h4">国家秘密载体保存</h4>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">保存地点:</label>
<div class="col-sm-10">
<input disabled name="saveLocation" th:field="*{saveLocation}" placeholder="请输入保存地点" required class="form-control" type="text">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">地点要求:</label>
<div class="col-sm-10">
<textarea disabled name="locationRequire" rows="4" th:field="*{locationRequire}" placeholder="请输入地点要求" required class="form-control" type="text"></textarea>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">紧急程度:</label>
<div class="col-sm-8">
<select disabled name="carrierExtent" required class="form-control" th:with="type=${@dict.getType('sys_file_jinjichengdu')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{carrierExtent}"></option>
</select>
<div th:if="${tdCarrierIssued.status == '5'}">
<h4 class="form-header h4">国家秘密载体使用</h4>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">使用人员:</label>
<div class="col-sm-8">
<input name="usageUser" disabled th:field="*{usageUser}" placeholder="请输入使用人员" required class="form-control" type="text">
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">使用期限:</label>
<div class="col-sm-8">
<select id="expirationTime" disabled name="expirationTime" required class="form-control" th:with="type=${@dict.getType('zaiti_use_time')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{expirationTime}"></option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">使用时间:</label>
<div class="col-sm-10">
<div id="mentsTime" class="input-daterange input-group ">
<input type="text" class="input-sm form-control" disabled th:value="${#dates.format(tdCarrierIssued.mentsTime, 'yyyy-MM-dd')}" required name="mentsTime" id="laydate-startTime" placeholder="开始时间"/>
<span class="input-group-addon"></span>
<input type="text" class="input-sm form-control" disabled th:value="${#dates.format(tdCarrierIssued.mentsendTime, 'yyyy-MM-dd')}" required name="mentsendTime" id="laydate-endTime" placeholder="结束时间"/>
</div>
</div>
</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">
<input disabled name="carrierNumber" placeholder="请输入编号" th:field="*{carrierNumber}" class="form-control" type="text">
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">使用要求:</label>
<div class="col-sm-10">
<textarea name="mentsUse" disabled th:field="*{mentsUse}" placeholder="请输入使用要求" required class="form-control" type="text"></textarea>
</div>
</div>
</div>
</div>
<h4 class="form-header h4">国家秘密载体保存</h4>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">保存地点:</label>
<div class="col-sm-10">
<input disabled name="saveLocation" th:field="*{saveLocation}" placeholder="请输入保存地点" required class="form-control" type="text">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">地点要求:</label>
<div class="col-sm-10">
<textarea disabled name="locationRequire" rows="4" th:field="*{locationRequire}" placeholder="请输入地点要求" required class="form-control" type="text"></textarea>
</div>
</div>
</div>
</div>
<h4 class="form-header h4">国家秘密载体维修</h4>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">维护部门:</label>
<div class="col-sm-8">
<input disabled name="maintainDepart" th:field="*{maintainDepart}" placeholder="请输入维护部门" required class="form-control" type="text">
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">维护人员:</label>
<div class="col-sm-8">
<input disabled name="maintainUser" th:field="*{maintainUser}" placeholder="请输入维护人员" required class="form-control" type="text">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">维护日期:</label>
<div class="col-sm-8">
<div class="input-group date">
<input disabled name="maintainDate" th:value="${#dates.format(tdCarrierIssued.maintainDate, 'yyyy-MM-dd')}" required class="form-control" placeholder="yyyy-MM-dd" type="text">
<span disabled class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">旁站人员:</label>
<div class="col-sm-8">
<input disabled name="maintainStand" th:field="*{maintainStand}" placeholder="请输入旁站人员" required class="form-control" type="text">
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">保密期限:</label>
<div class="col-sm-8">
<input disabled name="carrierTerm" placeholder="请输入保密期限" th:field="*{carrierTerm}" required class="form-control" type="text">
<div th:if="${tdCarrierIssued.status == '6'}">
<h4 class="form-header h4">国家秘密载体使用</h4>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">使用人员:</label>
<div class="col-sm-8">
<input name="usageUser" disabled th:field="*{usageUser}" placeholder="请输入使用人员" required class="form-control" type="text">
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">使用期限:</label>
<div class="col-sm-8">
<select id="expirationTime" disabled name="expirationTime" required class="form-control" th:with="type=${@dict.getType('zaiti_use_time')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{expirationTime}"></option>
</select>
</div>
</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">
<input disabled name="carrierContent" placeholder="请输入发放范围" th:field="*{carrierContent}" required class="form-control" type="text">
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">使用时间:</label>
<div class="col-sm-10">
<div id="mentsTime" class="input-daterange input-group ">
<input type="text" class="input-sm form-control" disabled th:value="${#dates.format(tdCarrierIssued.mentsTime, 'yyyy-MM-dd')}" required name="mentsTime" id="laydate-startTime" placeholder="开始时间"/>
<span class="input-group-addon"></span>
<input type="text" class="input-sm form-control" disabled th:value="${#dates.format(tdCarrierIssued.mentsendTime, 'yyyy-MM-dd')}" required name="mentsendTime" id="laydate-endTime" placeholder="结束时间"/>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">使用要求:</label>
<div class="col-sm-10">
<textarea name="mentsUse" disabled th:field="*{mentsUse}" placeholder="请输入使用要求" required class="form-control" type="text"></textarea>
</div>
</div>
</div>
</div>
<h4 class="form-header h4">国家秘密载体保存</h4>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">保存地点:</label>
<div class="col-sm-10">
<input disabled name="saveLocation" th:field="*{saveLocation}" placeholder="请输入保存地点" required class="form-control" type="text">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="col-sm-2 control-label is-required">地点要求:</label>
<div class="col-sm-10">
<textarea disabled name="locationRequire" rows="4" th:field="*{locationRequire}" placeholder="请输入地点要求" required class="form-control" type="text"></textarea>
</div>
</div>
</div>
</div>
<h4 class="form-header h4">国家秘密载体维修</h4>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">维护部门:</label>
<div class="col-sm-8">
<input disabled name="maintainDepart" th:field="*{maintainDepart}" placeholder="请输入维护部门" required class="form-control" type="text">
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">维护人员:</label>
<div class="col-sm-8">
<input disabled name="maintainUser" th:field="*{maintainUser}" placeholder="请输入维护人员" required class="form-control" type="text">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">维护日期:</label>
<div class="col-sm-8">
<div class="input-group date">
<input disabled name="maintainDate" th:value="${#dates.format(tdCarrierIssued.maintainDate, 'yyyy-MM-dd')}" required class="form-control" placeholder="yyyy-MM-dd" type="text">
<span disabled class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">旁站人员:</label>
<div class="col-sm-8">
<input disabled name="maintainStand" th:field="*{maintainStand}" placeholder="请输入旁站人员" required class="form-control" type="text">
</div>
</div>
</div>
</div>
<h4 class="form-header h4">国家秘密载体销毁</h4>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">销毁部门:</label>
<div class="col-sm-8">
<input disabled name="destoryDepart" th:field="*{destoryDepart}" placeholder="请输入销毁部门" required class="form-control" type="text">
</div>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">销毁人员:</label>
<div class="col-sm-8">
<input disabled name="destoryUser" th:field="*{destoryUser}" placeholder="请输入销毁人员" required class="form-control" type="text">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">销毁日期:</label>
<div class="col-sm-8">
<div class="input-group date">
<input disabled name="destoryDate" th:value="${#dates.format(tdCarrierIssued.destoryDate, 'yyyy-MM-dd')}" required 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 class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">销毁方式:</label>
<div class="col-sm-8">
<input disabled name="destoryManner" th:field="*{destoryManner}" placeholder="请输入销毁方式" required class="form-control" type="text">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="col-sm-4 control-label is-required">旁站人员:</label>
<div class="col-sm-8">
<input disabled name="destoryStand" th:field="*{destoryStand}" placeholder="请输入旁站人员" required class="form-control" type="text">
</div>
</div>
</div>
</div>
@ -172,6 +686,26 @@
}
}
})
$('#mentsTime').parents(".row").hide();
if ($("#expirationTime").val() !== '' && $("#expirationTime").val() == '2'){
$('#mentsTime').parents(".row").hide();
}
if ($("#expirationTime").val() == '1'){
$('#mentsTime').parents(".row").show();
}
$('#expirationTime').change(function() {
var selectedValue = $(this).val();
var mentsTimeDiv = $('#mentsTime').parents(".row");
if (selectedValue === '1') {
mentsTimeDiv.show();
}
if (selectedValue === '2'){
mentsTimeDiv.hide();
$('#laydate-startTime').val('');
$('#laydate-endTime').val('');
}
});
</script>
</body>
</html>

Loading…
Cancel
Save