| | |
| | | size="small" |
| | | @click="queryInfo()" |
| | | icon="el-icon-search" |
| | | style="background: #409eff; border: 1px solid #409eff; color: white" |
| | | type="primary" |
| | | >{{ $t('operatManage.ELM.search') }} |
| | | </el-button> |
| | | </el-form-item> |
| | |
| | | type="warning" |
| | | plain |
| | | @click="editInfo(scope.row)" |
| | | size="mini" |
| | | size="small" |
| | | >{{ $t('common.edit') }}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | class="dialog-footer" |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | size="small" |
| | | type="info" |
| | | @click="cancelEdit()" |
| | | >{{ |
| | | $t('common.reset') |
| | | }}</el-button> |
| | | <el-button |
| | | size="medium" |
| | | style="background: #409eff; border: 1px solid #409eff; color: white" |
| | | size="small" |
| | | type="primary" |
| | | @click="sendEdit('editForm')" |
| | | v-loading.fullscreen.lock="fullscreenLoading" |
| | | >{{ $t('common.submit') }}</el-button> |
| | |
| | | class="dialog-footer" |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | size="small" |
| | | type="info" |
| | | @click="cancelAdd('editForm')" |
| | | >{{ |
| | | $t('common.reset') |
| | | }}</el-button> |
| | | <el-button |
| | | size="medium" |
| | | style="background: #409eff; border: 1px solid #409eff; color: white" |
| | | size="small" |
| | | type="primary" |
| | | @click="sendAdd('editForm')" |
| | | v-loading.fullscreen.lock="fullscreenLoading" |
| | | >{{ $t('common.submit') }}</el-button> |
| | |
| | | class="dialog-footer" |
| | | > |
| | | <el-button |
| | | size="medium" |
| | | size="small" |
| | | type="info" |
| | | @click="cancelReset - 'pwdForm'" |
| | | >{{ |
| | | $t('common.reset') |
| | | }}</el-button> |
| | | <el-button |
| | | size="medium" |
| | | style="background: #409eff; border: 1px solid #409eff; color: white" |
| | | size="small" |
| | | type="primary" |
| | | @click="sendReset('pwdForm')" |
| | | v-loading.fullscreen.lock="fullscreenLoading" |
| | | >{{ $t('common.submit') }}</el-button> |
| | |
| | | setTimeout(() => { |
| | | this.fullscreenLoading = false; |
| | | if (res.code == 200) { |
| | | |
| | | |
| | | this.$message({ |
| | | message: '修改成功', |
| | | type: 'success', |
| | |
| | | }; |
| | | this.multipleSelection = []; |
| | | this.resetPwd = false; |
| | | this.getUserInfo(); |
| | | this.getUserInfo(); |
| | | } |
| | | }, 500); |
| | | }) |
| | |
| | | editInfo(row) { |
| | | delete row.updateTime; |
| | | delete row.updateUser; |
| | | |
| | | |
| | | this.initialForm = JSON.stringify(row); |
| | | this.behavior = '修改信息'; |
| | | this.editForm = JSON.parse(JSON.stringify(row)); |