| | |
| | | import edit from './edit'; |
| | | import editRole from './editRole'; |
| | | import * as finsystenant from '@/api/baseSetting/finsystenant'; |
| | | import * as DateFormatter from '@/utils/DateFormatter'; |
| | | import * as user from '@/api/user'; |
| | | |
| | | export default { |
| | |
| | | // 搜索条件 |
| | | filterFrom: { |
| | | tenantCode: 0, |
| | | trnantId: 0, |
| | | userName: null, |
| | | userPhone: null, |
| | | userCode: null, |
| | | }, |
| | | curOrgId: null, |
| | | // 添加&编辑设置 |
| | |
| | | { 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) { |
| | |
| | | reset() { |
| | | this.filterFrom.tenantCode = null; |
| | | this.filterFrom.userName = null; |
| | | this.filterFrom.userPhone = null; |
| | | this.filterFrom.userCode = null; |
| | | this.filterFrom.status = 1; |
| | | this.search(1); |
| | | }, |