功能修改

This commit is contained in:
ly19960718 2021-05-01 16:29:36 +08:00
parent 9ae0b4306a
commit 1d41114ea8
3 changed files with 27 additions and 28 deletions

View File

@ -111,7 +111,7 @@
#{institutionRegionArea}, #{institutionRegionArea},
#{institutionRegionVillage}, #{institutionRegionVillage},
#{institutionRegionStreet}, #{institutionRegionStreet},
#{institutionType} #{institutionType},
#{creator}, #{creator},
#{gmtCreate}, #{gmtCreate},
#{modifier}, #{modifier},

View File

@ -36,18 +36,6 @@
</div> </div>
<div class="layui-card-body" style="padding: 15px;"> <div class="layui-card-body" style="padding: 15px;">
<form class="layui-form layui-form-pane" lay-filter="dataForm"> <form class="layui-form layui-form-pane" lay-filter="dataForm">
<div class="layui-form-item">
<label class="layui-form-label">机构名称</label>
<div class="layui-input-block">
<input type="text" id="institutionName" name="institutionName" class="layui-input" value="" placeholder="请输入机构名称" maxlength="255" lay-verify="required">
</div>
</div>
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">机构描述</label>
<div class="layui-input-block">
<textarea id="institutionDesc" name="institutionDesc" class="layui-textarea" placeholder="请输入机构描述"></textarea>
</div>
</div>
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">机构图片</label> <label class="layui-form-label">机构图片</label>
<div class="layui-input-block"> <div class="layui-input-block">
@ -78,12 +66,24 @@
</script> </script>
</div> </div>
</div> </div>
<div class="layui-form-item">
<label class="layui-form-label">机构名称</label>
<div class="layui-input-block">
<input type="text" id="institutionName" name="institutionName" class="layui-input" value="" placeholder="请输入机构名称" maxlength="255" lay-verify="required">
</div>
</div>
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label">机构成立时间</label> <label class="layui-form-label">机构成立时间</label>
<div class="layui-input-block"> <div class="layui-input-block">
<input type="text" id="institutionFoundingTime" name="institutionFoundingTime" class="layui-input" value="" placeholder="请选择机构成立时间" readonly style="cursor: pointer;" lay-verify="required"> <input type="text" id="institutionFoundingTime" name="institutionFoundingTime" class="layui-input" value="" placeholder="请选择机构成立时间" readonly style="cursor: pointer;" lay-verify="required">
</div> </div>
</div> </div>
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">机构描述</label>
<div class="layui-input-block">
<textarea id="institutionDesc" name="institutionDesc" class="layui-textarea" placeholder="请输入机构描述"></textarea>
</div>
</div>
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label">机构负责人</label> <label class="layui-form-label">机构负责人</label>
<div class="layui-input-block"> <div class="layui-input-block">
@ -195,7 +195,6 @@
} }
return; return;
} }
top.restAjax.get(top.restAjax.path('api/file/list', []), { top.restAjax.get(top.restAjax.path('api/file/list', []), {
ids: ids ids: ids
}, null, function(code, data) { }, null, function(code, data) {
@ -279,7 +278,7 @@
function initInstitutionFoundingTimeDateTime() { function initInstitutionFoundingTimeDateTime() {
laydate.render({ laydate.render({
elem: '#institutionFoundingTime', elem: '#institutionFoundingTime',
type: 'datetime', type: 'date',
trigger: 'click' trigger: 'click'
}); });
} }

View File

@ -36,18 +36,6 @@
</div> </div>
<div class="layui-card-body" style="padding: 15px;"> <div class="layui-card-body" style="padding: 15px;">
<form class="layui-form layui-form-pane" lay-filter="dataForm"> <form class="layui-form layui-form-pane" lay-filter="dataForm">
<div class="layui-form-item">
<label class="layui-form-label">机构名称</label>
<div class="layui-input-block">
<input type="text" id="institutionName" name="institutionName" class="layui-input" value="" placeholder="请输入机构名称" maxlength="255" lay-verify="required">
</div>
</div>
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">机构描述</label>
<div class="layui-input-block">
<textarea id="institutionDesc" name="institutionDesc" class="layui-textarea" placeholder="请输入机构描述"></textarea>
</div>
</div>
<div class="layui-form-item layui-form-text"> <div class="layui-form-item layui-form-text">
<label class="layui-form-label">机构图片</label> <label class="layui-form-label">机构图片</label>
<div class="layui-input-block"> <div class="layui-input-block">
@ -78,12 +66,24 @@
</script> </script>
</div> </div>
</div> </div>
<div class="layui-form-item">
<label class="layui-form-label">机构名称</label>
<div class="layui-input-block">
<input type="text" id="institutionName" name="institutionName" class="layui-input" value="" placeholder="请输入机构名称" maxlength="255" lay-verify="required">
</div>
</div>
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label">机构成立时间</label> <label class="layui-form-label">机构成立时间</label>
<div class="layui-input-block"> <div class="layui-input-block">
<input type="text" id="institutionFoundingTime" name="institutionFoundingTime" class="layui-input" value="" placeholder="请选择机构成立时间" readonly style="cursor: pointer;" lay-verify="required"> <input type="text" id="institutionFoundingTime" name="institutionFoundingTime" class="layui-input" value="" placeholder="请选择机构成立时间" readonly style="cursor: pointer;" lay-verify="required">
</div> </div>
</div> </div>
<div class="layui-form-item layui-form-text">
<label class="layui-form-label">机构描述</label>
<div class="layui-input-block">
<textarea id="institutionDesc" name="institutionDesc" class="layui-textarea" placeholder="请输入机构描述"></textarea>
</div>
</div>
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label">机构负责人</label> <label class="layui-form-label">机构负责人</label>
<div class="layui-input-block"> <div class="layui-input-block">
@ -281,7 +281,7 @@
function initInstitutionFoundingTimeDateTime(v) { function initInstitutionFoundingTimeDateTime(v) {
laydate.render({ laydate.render({
elem: '#institutionFoundingTime', elem: '#institutionFoundingTime',
type: 'datetime', type: 'date',
value: v, value: v,
trigger: 'click' trigger: 'click'
}); });