Browse Source

个人页公司名限制修改

laiguoran 3 years ago
parent
commit
44ae76d8f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/view/profile/info.ejs

+ 1 - 1
app/view/profile/info.ejs

@@ -14,7 +14,7 @@
                         <form action="/profile/save" method="post" id="base-form" onsubmit="return checkUserForm();">
                             <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.company %>" name="company" :readonly="true"></input-text>
                             <input-text label="角色/职称" value="<%= accountData.role %>" name="role"></input-text>
                             <input-text label="手机" value="<%= accountData.mobile %>" name="mobile" maxlength="11" :readonly="<%= accountData.bind === 1 %>" msg="已绑定第三方平台,无法修改"></input-text>
                             <input-text label="电话" value="<%= accountData.telephone %>" name="telephone"></input-text>