| | |
| | | </el-form-item> |
| | | <!-- 用户密码 --> |
| | | <el-form-item class="optionItems" label="用户密码:" prop="password"> |
| | | <el-input v-model="user.password" type="password" placeholder="请输入用户密码" :disabled="true"></el-input> |
| | | <el-input v-model="user.password" type="password" placeholder="请输入用户密码" :disabled="true"> |
| | | </el-input> |
| | | </el-form-item> |
| | | <!-- 所属用户姓名 --> |
| | | <!-- <el-form-item class="optionItem" label="所属用户姓名:" prop="true_name"> |
| | |
| | | <!-- 所属部门 --> |
| | | <el-form-item class="optionItem" label="所属部门:" prop="departmentId"> |
| | | <el-select v-model="user.department" placeholder="请选择所属部门" :disabled="!updateFlag"> |
| | | <el-option v-for="item in typeList" :key="item.name" :label="item.departName" :value="item.id"> |
| | | <el-option v-for="item in typeList" :key="item.name" :label="item.departName" |
| | | :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | <el-input v-model="user.ip" placeholder="请填写所属ip地址"></el-input> |
| | | </el-form-item> --> |
| | | <el-form-item v-if="updateFlag"> |
| | | <div class="optionBtn"><el-button type="primary" class="btn submit" @click.native.prevent="handleUser">提交</el-button></div> |
| | | <div class="optionBtn"> |
| | | <el-button type="primary" class="btn submit" @click.native.prevent="handleUser">提交 |
| | | </el-button> |
| | | </div> |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | |
| | | props:['userInfo','updateFlag'] |
| | | } |
| | | </script> |
| | | <style lang="scss" scpoed> |
| | | <style lang="scss" scoped> |
| | | .updateUser { |
| | | border-radius: 1px; |
| | | // min-width: 1024px; |
| | | // min-height: 1450px; |
| | | background-color: #06122c; |
| | | background-color: #09152f; |
| | | |
| | | header { |
| | | display: flex; |
| | |
| | | height: 60px; |
| | | line-height: 60px; |
| | | padding: 0 20px; |
| | | border: 1px solid #fff; |
| | | .headerTitle { |
| | | color: #4b9bb7; |
| | | font-weight: 600; |
| | | color: #666; |
| | | } |
| | | |
| | | .headerTip span { |
| | |
| | | } |
| | | |
| | | .headerTip label { |
| | | color: #999999; |
| | | color: #4b9bb7; |
| | | } |
| | | } |
| | | |
| | | main { |
| | | border: 1px solid #fff; |
| | | text-align: left; |
| | | padding: 0 55px; |
| | | background-color: #09152f; |
| | | |
| | | .mainTitle { |
| | | // margin-left: 60px; |
| | | color: #666; |
| | | color: #4b9bb7; |
| | | font-weight: 600; |
| | | line-height: 100px; |
| | | font-size: 14px; |
| | |
| | | .mainContent { |
| | | display: flex; |
| | | justify-content: center; |
| | | |
| | | .el-form-item__content { |
| | | width: 400px; |
| | | |
| | |
| | | width: 100%; |
| | | } |
| | | } |
| | | |
| | | .optionHandleSp{ |
| | | display: flex; |
| | | .areaNumber,.moreNumber{ |
| | | |
| | | .areaNumber, |
| | | .moreNumber { |
| | | flex: 1; |
| | | } |
| | | |
| | | .telNumber{ |
| | | flex: 2; |
| | | } |
| | | } |
| | | |
| | | .optionBtn{ |
| | | display: flex; |
| | | justify-content: center; |
| | | margin-top: 80px; |
| | | |
| | | .btn{ |
| | | padding: 12px 50px; |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .updateUser::v-deep .el-form-item__label { |
| | | color: #4b9bb7; |
| | | } |
| | | |
| | | .updateUser::v-deep .el-input__inner { |
| | | background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | } |
| | | </style> |