|
|
|
@ -167,7 +167,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item :label="$t('page.system.user.department')+':'" prop="deptId"> |
|
|
|
<treeselect v-model="form.deptId" :options="enabledDeptOptions" :show-count="true" :placeholder="$t('form.placeholderSelect')" /> |
|
|
|
<treeselect v-model="form.deptId" :options="enabledDeptOptions" :show-count="true" :placeholder="$t('form.placeholderSelect')" @input="handleChangeDept" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="24"> |
|
|
|
@ -596,6 +596,9 @@ export default { |
|
|
|
this.form.password = "" |
|
|
|
}) |
|
|
|
}, |
|
|
|
handleChangeDept(){ |
|
|
|
this.$refs["form"].validate() |
|
|
|
}, |
|
|
|
/** 重置密码按钮操作 */ |
|
|
|
handleResetPwd(row) { |
|
|
|
this.$prompt('请输入"' + row.userName + '"的新密码', "提示", { |
|
|
|
@ -734,6 +737,10 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
handleExportHistory(){ |
|
|
|
if(this.changeDialog.total<1){ |
|
|
|
this.$message.error(`暂无数据导出!`) |
|
|
|
return |
|
|
|
} |
|
|
|
this.saveSimpleLog({name:'',nameEn:'',jcmc:'角色变更历史导出',jcmcEn:'Role History Export'}) |
|
|
|
this.download('/system/business/roleChange/export', this.changeDialog.searchForm, `roleHistory_${new Date().getTime()}.xlsx`) |
|
|
|
}, |
|
|
|
|