| | |
| | | { title: '编号', field: 'userCode', align: 'left' }, |
| | | { title: '用户姓名', field: 'userName', align: 'left' }, |
| | | { title: '登录名', field: 'userPhone', align: 'center' }, |
| | | { title: '所属机构', field: 'userPhone', align: 'center', width: 150 }, |
| | | { title: '所属机构', field: 'tenantName', align: 'center', width: 150 }, |
| | | { title: '部门', field: 'sysDeptName', align: 'center' }, |
| | | { |
| | | field: 'status', |
| | |
| | | this.$modal |
| | | .confirm('是否确认初始化名称为"' + row.userName + '"的密码?') |
| | | .then(function () { |
| | | user.updPassWord(row).then((res) => {}); |
| | | user.updPassWord(row).then((res) => { |
| | | }); |
| | | }) |
| | | .then((res) => { |
| | | this.$message.success('初始化密码成功!'); |
| | | this.$modal |
| | | .confirm('初始化密码成功,新密码为:123456') |
| | | .then((res) => { |
| | | |
| | | }) |
| | | .catch(() => { |
| | | }); |
| | | this.search(); |
| | | }) |
| | | .catch(() => {}); |
| | | .catch(() => { |
| | | }); |
| | | }, |
| | | // 查询table列表 |
| | | search(pageNum) { |