工作台待办任务换行
parent
2ed3dd1376
commit
f413ca60f3
|
@ -9,6 +9,7 @@
|
||||||
</el-card>
|
</el-card>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import { params } from '@/utils/ruoyi'
|
||||||
import { resetPassword } from '@/api/admin'
|
import { resetPassword } from '@/api/admin'
|
||||||
export default {
|
export default {
|
||||||
name: 'Account',
|
name: 'Account',
|
||||||
|
@ -17,7 +18,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleReset() {
|
handleReset() {
|
||||||
this.$confirm(this.$t('system:userlist:message:ResetPassword'), {
|
this.$confirm(this.$t('system:userlist:message:ResetPassword').replace('xxx', params('userName')), {
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
distinguishCancelAndClose: true,
|
distinguishCancelAndClose: true,
|
||||||
})
|
})
|
||||||
|
@ -25,8 +26,8 @@ export default {
|
||||||
resetPassword(this.userId).then(res => {
|
resetPassword(this.userId).then(res => {
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
let msg = this.$t('system:userlist:message:ResetPassword2')
|
let msg = this.$t('system:userlist:message:ResetPassword2')
|
||||||
msg = msg.replace('xxx', this.$route.query.userName)
|
msg = msg.replace('xxx', params('userName'))
|
||||||
msg = msg.replace('yyy', this.$route.query.email)
|
msg = msg.replace('yyy', params('email'))
|
||||||
this.$alert(msg)
|
this.$alert(msg)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue