|
@@ -4,10 +4,32 @@
|
|
|
<head>
|
|
|
<title>项目登记</title>
|
|
|
<meta name="decorator" content="default"/>
|
|
|
+ <script type="text/javascript" src="${ctxStatic}/layui/layuidown.js"></script>
|
|
|
+ <link rel='stylesheet' type="text/css" href="${ctxStatic}/layui/layuidown.css"/>
|
|
|
<%--<script src="${ctxStatic}/layer-v2.3/laydate/laydate.js"></script>--%>
|
|
|
<script type="text/javascript">
|
|
|
$(document).ready(function() {
|
|
|
-
|
|
|
+ layui.use(['dropdown', 'util', 'layer'], function () {
|
|
|
+ var form = layui.form;
|
|
|
+ $.ajax({
|
|
|
+ type : "POST",
|
|
|
+ url : "${ctx}/ruralProject/ruralProjectRecords/engineeringTreeMenu",
|
|
|
+ //请求成功
|
|
|
+ success : function(result) {
|
|
|
+ var str=jQuery.parseJSON(result);
|
|
|
+ //工程类型树形菜单
|
|
|
+ layui.dropdown.render({
|
|
|
+ elem: '#demo100'
|
|
|
+ ,style: 'width: 320px;'
|
|
|
+ ,data:str
|
|
|
+ ,click: function(item){
|
|
|
+ $("#demo100").val(item.title)
|
|
|
+ $("#demo101").val(item.id)
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ })
|
|
|
//搜索框收放
|
|
|
$('#moresee').click(function(){
|
|
|
if($('#moresees').is(':visible'))
|
|
@@ -364,6 +386,31 @@
|
|
|
</form:select>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <label class="layui-form-label">工程类型:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input id="demo100" value="${engineeringInfo.engineeringName}" readonly="true" style="background-color: #fff" htmlEscape="false" maxlength="255" class=" form-control layui-input"/>
|
|
|
+ <form:input id="demo101" path="engineeringType" readonly="true" cssStyle="background-color: #fff;display: none" htmlEscape="false" maxlength="255" class=" form-control layui-input"/>
|
|
|
+ <%-- <button type="button" class="layui-btn layui-btn-primary" style="width: 100%;text-align: left" id="demo100">--%>
|
|
|
+ <%-- <span>${engineeringInfo.engineeringName}</span>--%>
|
|
|
+ <%-- <input type="hidden" name="engineeringType" id="engineeringType" value="${engineeringInfo.engineeringName}"/>--%>
|
|
|
+ <%-- <i class="layui-icon layui-icon-down layui-font-12" style="float: right"></i>--%>
|
|
|
+ <%-- </button>--%>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item query athird ">
|
|
|
+ <label class="layui-form-label">报告号:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="reportData.number" htmlEscape="false" maxlength="255" class=" form-control layui-input"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <label class="layui-form-label">部门:</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <sys:treeselect id="officeId" name="office.id" value="${ruralProjectRecords.office.id}" labelName="office.name" labelValue="${ruralProjectRecords.office.name}"
|
|
|
+ title="部门" url="/sys/office/treeDataAll?type=2" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div style="clear:both;"></div>
|
|
|
</div>
|
|
|
</form:form>
|
|
@@ -408,7 +455,7 @@
|
|
|
<div id="changewidth"></div>
|
|
|
</div>
|
|
|
|
|
|
-<script src="${ctxStatic}/layer-v2.3/layui/layui.all.js" charset="utf-8"></script>
|
|
|
+<%--<script src="${ctxStatic}/layer-v2.3/layui/layui.all.js" charset="utf-8"></script>--%>
|
|
|
<script>
|
|
|
|
|
|
layui.use('table', function(){
|