1234567891011121314151617181920212223242526272829303132333435 |
- <% include ./sub_menu.ejs %>
- <div class="panel-content" id="app">
- <div class="panel-title">
- <div class="title-main">
- <h2>账号资料</h2>
- </div>
- </div>
- <div class="content-wrap">
- <div class="c-body">
- <div class="row m-0">
- <div class="col-5 my-3">
- <!--账号资料-->
- <form action="/profile/save" method="post" id="base-form">
- <input-text label="账号" value="<%= accountData.account %>" readonly="readonly"></input-text>
- <input-text label="姓名" value="<%= accountData.name %>" placeholder="请输入姓名" name="name"></input-text>
- <input-text label="单位" value="<%= accountData.company %>" name="company"></input-text>
- <input-text label="角色/职称" value="<%= accountData.role %>" name="role"></input-text>
- <input-text label="手机" value="<%= accountData.mobile %>" name="mobile" maxlength="11"></input-text>
- <input-text label="电话" value="<%= accountData.telephone %>" name="telephone"></input-text>
- <input type="hidden" name="_csrf" value="<%= ctx.csrf %>">
- <button type="submit" class="btn btn-primary" id="base-submit">确认修改</button>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- <%- baseJsValidator %>
- <script type="text/javascript">
- new Vue({
- el: '#app',
- });
- const csrf = '<%= ctx.csrf %>';
- </script>
- <script type="text/javascript" src="/public/js/profile.js"></script>
|