| | |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="80px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="用户昵称" prop="nickName"> |
| | | <el-input v-model="form.nickName" placeholder="请输入用户昵称" maxlength="30" /> |
| | | <el-form-item label="用户姓名" prop="userName"> |
| | | <el-input v-model="form.userName" placeholder="请输入用户姓名" maxlength="30" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | |
| | | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | |
| | | }, |
| | | /** 提交按钮 */ |
| | | submitForm: function() { |
| | | console.log(this.form) |
| | | console.log("---------") |
| | | this.$refs["form"].validate(valid => { |
| | | if (valid) { |
| | | if (this.form.userId != undefined) { |