| | |
| | | <div class="ibox float-e-margins"> |
| | | <div class="ibox-content"> |
| | | <div class="form-horizontal" id="userInfoForm"> |
| | | <input hidden id="language" value="${language}"> |
| | | <input type="hidden" id="id" value=""> |
| | | @if(language==1){ |
| | | <div class="row"> |
| | | <div class="col-sm-6 b-r"> |
| | | <#input id="account" name="账户" underline="true"/> |
| | | |
| | | <#select id="sex" name="性别:" underline="true"> |
| | | <#select id="sex" name="性别" underline="true"> |
| | | <option value="1">男</option> |
| | | <option value="2">女</option> |
| | | </#select> |
| | | |
| | | <#input id="password" name="密码" underline="true" type="password"/> |
| | | <#input id="rePassword" name="确认密码" type="password"/> |
| | | |
| | | <#input id="email" name="邮箱" type="email"/> |
| | | <!--<#input id="roleid" name="角色" underline="true" type="hidden" disabled="disabled"/>--> |
| | | </div> |
| | | <div class="col-sm-6"> |
| | | <div id="driverInfoContent"> |
| | | <#input id="name" name="姓名" underline="true"/> |
| | | |
| | | <#input id="birthday" name="出生日期" underline="true" type="text"/> |
| | | |
| | | <#input id="citySel" name="部门" underline="true" readonly="readonly" hidden="deptid" |
| | | clickFun="UserInfoDlg.showDeptSelectTree(); return false;" |
| | | style="background-color: #ffffff !important;"/> |
| | | |
| | | <#input id="phone" name="电话"/> |
| | | |
| | | |
| | | <!-- <#input id="roleid" name="角色" underline="true" disabled="disabled"/>--> |
| | | <#input id="email" name="邮箱" type="email" underline="true"/> |
| | | <div class="form-group" ${companyId!=1? "hidden" :" "} > |
| | | <label class="col-sm-3 control-label">所属公司</label> |
| | | <div class="col-sm-9"> |
| | | <select class="form-control" id="companyId" name="companyId"> |
| | | @if(companyIds!=null){ |
| | | @for(item in companyIds){ |
| | | @if(companyId!=1&&item.id==companyId){ |
| | | <option value="${item.id}">${item.name}</option> |
| | | @}else if(companyId==1){ |
| | | <option value="${item.id}">${item.name}</option> |
| | | @} |
| | | @} |
| | | @} |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 这是部门选择的下拉框 --> |
| | | <div id="menuContent" class="menuContent" |
| | | style="display: none; position: absolute; z-index: 200;"> |
| | | <ul id="treeDemo" class="ztree tree-box" style="width: 249px !important;"></ul> |
| | | </div> |
| | | |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-10 col-sm-offset-4"> |
| | | <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="UserInfoDlg.addSubmit()"/> |
| | | <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="UserInfoDlg.close()"/> |
| | | </div> |
| | | </div> |
| | | @} |
| | | @if(language==2){ |
| | | <div class="row"> |
| | | <div class="col-sm-6 b-r"> |
| | | <#input id="account" name="Account" underline="true"/> |
| | | |
| | | <#select id="sex" name="Gender:" underline="true"> |
| | | <option value="1">Man</option> |
| | | <option value="2">Woman</option> |
| | | </#select> |
| | | |
| | | <#input id="password" name="Password" underline="true" type="password"/> |
| | | <#input id="rePassword" name="Confirm the password" type="password"/> |
| | | |
| | | <#input id="email" name="Email" type="email"/> |
| | | <!--<#input id="roleid" name="角色" underline="true" type="hidden" disabled="disabled"/>--> |
| | | </div> |
| | | <div class="col-sm-6"> |
| | | <div id="driverInfoContent"> |
| | | <#input id="name" name="Name" underline="true"/> |
| | | |
| | | <#input id="birthday" name="Date of birth" underline="true" type="text"/> |
| | | |
| | | <#input id="citySel" name="Department " underline="true" readonly="readonly" hidden="deptid" |
| | | clickFun="UserInfoDlg.showDeptSelectTree(); return false;" |
| | | style="background-color: #ffffff !important;"/> |
| | | |
| | | <#input id="phone" name="Telephone"/> |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 这是部门选择的下拉框 --> |
| | | <div id="menuContent" class="menuContent" |
| | | style="display: none; position: absolute; z-index: 200;"> |
| | | <ul id="treeDemo" class="ztree tree-box" style="width: 249px !important;"></ul> |
| | | </div> |
| | | |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-10 col-sm-offset-4"> |
| | | <#button btnCss="info" name="Submit" id="ensure" icon="fa-check" clickFun="UserInfoDlg.addSubmit()"/> |
| | | <#button btnCss="danger" name="Cancel" id="cancel" icon="fa-eraser" clickFun="UserInfoDlg.close()"/> |
| | | </div> |
| | | </div> |
| | | @} |
| | | @if(language==3){ |
| | | <div class="row"> |
| | | <div class="col-sm-6 b-r"> |
| | | <#input id="account" name="Akun" underline="true"/> |
| | | <#select id="sex" name="Jenis kelamin:" underline="true"> |
| | | <option value="1">laki-laki</option> |
| | | <option value="2">wanita</option> |
| | | </#select> |
| | | |
| | | <#input id="password" name="Kata sandi" underline="true" type="password"/> |
| | | <#input id="rePassword" name="Konfirmasikan kata sandi" type="password"/> |
| | | |
| | | <#input id="email" name="Email" type="email"/> |
| | | <!--<#input id="roleid" name="角色" underline="true" type="hidden" disabled="disabled"/>--> |
| | | <div class="hr-line-dashed" ${companyId!=1? "hidden" :" "} ></div> |
| | | </div> |
| | | <div class="col-sm-6"> |
| | | <div id="driverInfoContent"> |
| | | <#input id="name" name="Nama Lengkap" underline="true"/> |
| | | |
| | | <#input id="birthday" name="Tanggal lahir" underline="true" type="text"/> |
| | | |
| | | <#input id="citySel" name="Departemen" underline="true" readonly="readonly" hidden="deptid" |
| | | <#input id="name" name="姓名" underline="true"/> |
| | | <#input id="birthday" name="出生日期" underline="true" type="text"/> |
| | | <#input id="rePassword" name="确认密码" type="password" underline="true"/> |
| | | <#input id="citySel" name="部门" underline="true" readonly="readonly" hidden="deptid" |
| | | clickFun="UserInfoDlg.showDeptSelectTree(); return false;" |
| | | style="background-color: #ffffff !important;"/> |
| | | |
| | | <#input id="phone" name="Telepon"/> |
| | | |
| | | |
| | | <#input id="phone" name="电话" underline="true"/> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 这是部门选择的下拉框 --> |
| | | <div id="menuContent" class="menuContent" |
| | | style="display: none; position: absolute; z-index: 200;"> |
| | | <ul id="treeDemo" class="ztree tree-box" style="width: 249px !important;"></ul> |
| | | </div> |
| | | |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-10 col-sm-offset-4"> |
| | | <#button btnCss="info" name="Kirim" id="ensure" icon="fa-check" clickFun="UserInfoDlg.addSubmit()"/> |
| | | <#button btnCss="danger" name="Batal" id="cancel" icon="fa-eraser" clickFun="UserInfoDlg.close()"/> |
| | | <div class="col-sm-10"> |
| | | <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="UserInfoDlg.addSubmit()"/> |
| | | <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="UserInfoDlg.close()"/> |
| | | </div> |
| | | </div> |
| | | @} |
| | | |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | <script src="${ctxPath}/modular/system/user/user_info.js"></script> |
| | | </div> |
| | | </div> |
| | | <script src="${ctxPath}/static/modular/system/user/user_info.js"></script> |
| | | <script> |
| | | laydate.render({ |
| | | elem: '#birthday' |
| | | }); |
| | | laydate.render({ |
| | | elem: '#birthday' |
| | | }); |
| | | </script> |
| | | @} |