Commit f4fadadcca0b2ae65e18c2a392d4c4eed2e2cef4
1 parent
77e1ac72
只有系统管理员账号可以修改运营主体的名称
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/baseComapnyInfo/Form.vue
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | <el-col :span="24"> |
| 14 | 14 | <el-form-item label="运营主体/个人名称" prop="companyName"> |
| 15 | 15 | <el-input v-model="dataForm.companyName" placeholder="请输入运营主体/个人名称" clearable required |
| 16 | - :style='{ "width": "100%" }'> | |
| 16 | + :style='{ "width": "100%" }' :disabled="!!dataForm.id && $store.state.user.userInfo.userId != 'admin'"> | |
| 17 | 17 | </el-input> |
| 18 | 18 | </el-form-item> |
| 19 | 19 | </el-col> | ... | ... |