
<div class="main-panel">
  <div class="panel-sidebar">
    
        {{ render "account/menu.html" }}
      
  </div>
  <div class="panel-content">
    <div class="panel-title">
      <div class="title-main">
        <h2>账号资料</h2>
      </div>
    </div>
    <div class="content-wrap">
      <div class="c-body">
        <div class="sjs-height-0">
          <div class="row m-0">
            <div class="col-5 my-3">
              <!--账号资料-->
              <form action="{{ .Action }}" method="post" >
                {{.csrfField}}
                <div class="form-group">
                  <label>账号</label>
                  <input class="form-control form-control-sm" value="{{.Account.Account}}" type="text" readonly>
                </div>
                <div class="form-group">
                  <label>姓名</label>
                  <input name="name" value="{{.Account.Name}}" class="form-control form-control-sm" placeholder="请输入姓名"  type="text">
                </div>
                <div class="form-group">
                  <label>单位</label>
                  <input name="company" value="{{.Account.Company}}" class="form-control form-control-sm" placeholder=""  type="text">
                </div>
                <div class="form-group">
                  <label>角色/职称</label>
                  <input name="role" value="{{.Account.Role}}" class="form-control form-control-sm" placeholder=""  type="text">
                </div>
                <div class="form-group">
                  <label>手机</label>
                  <input name="mobile" value="{{.Account.Mobile}}" class="form-control form-control-sm"  type="text">
                </div>
                <!--绑定了接口不能修改-->
                <!-- <div class="form-group">
                  <label>手机</label>
                  <input class="form-control form-control-sm" value="12345678901" type="text" disabled="">
                  <small class="form-text text-danger">已绑定云计量，无法修改</small>
                </div> -->
                <div class="form-group">
                  <label>电话</label>
                  <input name="Telephone" value="{{.Account.Telephone}}" class="form-control form-control-sm"  type="text">
                </div>
                <div class="form-group">
                  {{if ne .Success ""}}
                    {{.Success}}
                  {{else if ne .ErrMsg ""}}
                    {{.ErrMsg}}
                  {{end}}
                </div>
                <button type="submit" class="btn btn-sm btn-primary">确认修改</button>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>