sysEveMenuEdit.html 4.5 KB
Newer Older
doc_wei's avatar
doc_wei 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>
<body>
	<div style="margin:0 auto;padding:20px;">
	    <form class="layui-form" action="" id="showForm" autocomplete="off">
	        
	    </form>
	</div>
15 16 17

	<script type="text/x-handlebars-template" id="beanTemplate">
		{{#bean}}
doc_wei's avatar
doc_wei 已提交
18
		<div class="layui-form-item layui-col-xs6">
19 20 21 22 23
			<label class="layui-form-label">菜单名称<i class="red">*</i></label>
			<div class="layui-input-block">
				<input type="text" id="menuName" name="menuName" win-verify="required" placeholder="请输入菜单名称" class="layui-input" value="{{menuName}}" />
			</div>
		</div>
doc_wei's avatar
doc_wei 已提交
24
		<div class="layui-form-item layui-col-xs6">
25 26 27 28 29
			<label class="layui-form-label">英文名称<i class="red">*</i></label>
			<div class="layui-input-block">
				<input type="text" id="menuNameEn" name="menuNameEn" win-verify="required" placeholder="请输入英文名称" class="layui-input" value="{{menuNameEn}}" />
			</div>
		</div>
doc_wei's avatar
doc_wei 已提交
30
		<div class="layui-form-item layui-col-xs12" id="iconMation">
31 32

		</div>
doc_wei's avatar
doc_wei 已提交
33 34 35 36 37 38 39 40
		<div class="layui-form-item layui-col-xs12">
			<label class="layui-form-label">菜单地址<i class="red">*</i></label>
			<div class="layui-input-block">
				<input type="text" id="menuUrl" name="menuUrl" win-verify="required" placeholder="请输入菜单地址" class="layui-input" value="{{menuUrl}}" />
				<div class="layui-form-mid layui-word-aux">如果是一级菜单,格式为--<br>如果是子菜单,格式为../../tpl/model/modellist.html</div>
			</div>
		</div>
		<div class="layui-form-item layui-col-xs6">
41 42 43 44 45 46 47
			<label class="layui-form-label">所属桌面</label>
			<div class="layui-input-block">
				<select id="desktop" name="desktop" lay-filter="desktop" lay-search="" win-verify="required">

				</select>
			</div>
		</div>
doc_wei's avatar
doc_wei 已提交
48 49
		<div class="layui-form-item layui-col-xs6">
			<label class="layui-form-label">所属服务<i class="red">*</i></label>
50 51 52 53 54 55
			<div class="layui-input-block">
				<select id="menuSysWinId" name="menuSysWinId" class="menuSysWinId" win-verify="required" lay-filter="selectMenuSysWinId" lay-search="">

				</select>
			</div>
		</div>
doc_wei's avatar
doc_wei 已提交
56 57
		<div class="layui-form-item layui-col-xs6">
			<label class="layui-form-label">菜单类型<i class="red">*</i></label>
58
			<div class="layui-input-block winui-radio">
doc_wei's avatar
doc_wei 已提交
59 60
				<input type="radio" name="menuLevel" value="0" title="父菜单" lay-filter="menuLevel"/>
				<input type="radio" name="menuLevel" value="1" title="子菜单" lay-filter="menuLevel"/>
61 62
			</div>
		</div>
doc_wei's avatar
doc_wei 已提交
63 64
		<div class="layui-form-item layui-col-xs6" id="parentIdBox">
			<label class="layui-form-label">父菜单<i class="red">*</i></label>
65 66 67
			<div class="layui-input-block" id="lockParentSel">
			</div>
		</div>
doc_wei's avatar
doc_wei 已提交
68 69
		<div class="layui-form-item layui-col-xs12">
			<label class="layui-form-label">打开方式<i class="red">*</i></label>
70 71 72 73 74
			<div class="layui-input-block winui-radio">
				<input type="radio" name="menuType" value="html" title="当前页面打开" lay-filter="menuType"/>
				<input type="radio" name="menuType" value="win" title="新窗口打开" lay-filter="menuType"/>
			</div>
		</div>
doc_wei's avatar
doc_wei 已提交
75
		<div class="layui-form-item layui-col-xs6">
76
			<label class="layui-form-label">系统菜单<i class="red">*</i></label>
doc_wei's avatar
doc_wei 已提交
77 78 79
			<div class="layui-input-block winui-radio">
				<input type="radio" name="menuSysType" value="1" title="" lay-filter="menuSysType" checked/>
				<input type="radio" name="menuSysType" value="2" title="" lay-filter="menuSysType" />
80 81
			</div>
		</div>
doc_wei's avatar
doc_wei 已提交
82
		<div class="layui-form-item layui-col-xs6">
83
			<label class="layui-form-label">同步共享<i class="red">*</i></label>
doc_wei's avatar
doc_wei 已提交
84 85 86
			<div class="layui-input-block winui-radio">
				<input type="radio" name="isShare" value="1" title="" lay-filter="isShare" />
				<input type="radio" name="isShare" value="0" title="" lay-filter="isShare" checked/>
87 88
			</div>
		</div>
doc_wei's avatar
doc_wei 已提交
89
		<div class="layui-form-item layui-col-xs12">
90 91 92 93 94 95 96 97
			<div class="layui-input-block">
				<button class="winui-btn" id="cancle"><language showName="com.skyeye.cancel"></language></button>
				<button class="winui-btn" lay-submit lay-filter="formEditMenu"><language showName="com.skyeye.save"></language></button>
			</div>
		</div>
		{{/bean}}
	</script>

doc_wei's avatar
doc_wei 已提交
98 99 100
	<script src="../../assets/lib/layui/layui.js"></script>
   	<script src="../../assets/lib/layui/custom.js"></script>
   	<script type="text/javascript">
doc_wei's avatar
doc_wei 已提交
101
        layui.config({base: '../../js/sysEveMenu/'}).use('sysEveMenuEdit');
doc_wei's avatar
doc_wei 已提交
102 103 104
    </script>
</body>
</html>