diff --git a/ruoyi-admin/src/main/resources/templates/system/user/changeRecord.html b/ruoyi-admin/src/main/resources/templates/system/user/changeRecord.html index 43f8eed..734740a 100644 --- a/ruoyi-admin/src/main/resources/templates/system/user/changeRecord.html +++ b/ruoyi-admin/src/main/resources/templates/system/user/changeRecord.html @@ -82,6 +82,10 @@ 籍贯: {{ item.userarea }}

+

+ 涉密程度: + {{getDictLabel(item.shemichengdu) }} +

是否具有出入境备案: {{ item.entryexitFiling == '1' ? '是' : '否' }} @@ -119,6 +123,10 @@ 籍贯: {{ item.userarea }}

+

+ 涉密程度: + {{getDictLabel(item.shemichengdu) }} +

是否具有出入境备案: {{ item.entryexitFiling == '1' ? '是' : '否' }} @@ -141,7 +149,8 @@ data: { userAfterList:[], userBeforeList:[], - diffData: [] + diffData: [], + shemicehngdu:[[${@dict.getType('sys_user_shemi')}]] }, mounted(){ this.userAfterList = [[${userRecordDTO}]].userAfterList @@ -149,6 +158,10 @@ this.findDifferences() }, methods:{ + getDictLabel(value) { + const dictItem = this.shemicehngdu.find(item => item.dictValue === value); + return dictItem ? dictItem.dictLabel : '未知'; + }, findDifferences() { // 将差异数据初始化为空数组 this.diffData = this.userBeforeList.map((beforeItem, index) => { diff --git a/ruoyi-admin/src/main/resources/templates/system/user/user.html b/ruoyi-admin/src/main/resources/templates/system/user/user.html index 4abdc01..9db7eaa 100644 --- a/ruoyi-admin/src/main/resources/templates/system/user/user.html +++ b/ruoyi-admin/src/main/resources/templates/system/user/user.html @@ -187,7 +187,7 @@ var more = []; more.push("重置密码 "); more.push("分配角色"); - more.push("修改详情"); + more.push("修改记录"); actions.push('更多操作'); return actions.join(''); } else {