| | |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="备注" prop="userMemo"> |
| | | <el-input v-model="detailsRow.userMemo" placeholder="请输入备注" clearable |
| | | :style="{ width: '100%' }"> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-form> |
| | | </el-row> |
| | | <span slot="footer" class="dialog-footer"> |
| | |
| | | }, |
| | | update() { |
| | | this.$http.put('/api/user', this.detailsRow).then(res => { |
| | | console.log(res) |
| | | if (res.data.code == 200){ |
| | | this.$message({ |
| | | message: '编辑成功', |
| | | type: 'success' |
| | | } |
| | | ) |
| | | this.search(); |
| | | }else { |
| | | this.$message.error(res.data.msg) |
| | | this.search(); |
| | | } |
| | | |
| | | } |
| | | ); |
| | | this.detailsVisible = false; |