|
|
|
@ -82,6 +82,10 @@
|
|
|
|
|
<span class="weight">籍贯: </span>
|
|
|
|
|
<span :class="getDiffClass(item.userarea, 'userarea', index)">{{ item.userarea }}</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="leftCard">
|
|
|
|
|
<span class="weight">涉密程度: </span>
|
|
|
|
|
<span :class="getDiffClass(item.shemichengdu, 'shemichengdu', index)">{{getDictLabel(item.shemichengdu) }}</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="leftCard">
|
|
|
|
|
<span class="weight">是否具有出入境备案: </span>
|
|
|
|
|
<span :class="getDiffClass(item.entryexitFiling, 'entryexitFiling', index)">{{ item.entryexitFiling == '1' ? '是' : '否' }}</span>
|
|
|
|
@ -119,6 +123,10 @@
|
|
|
|
|
<span class="weight">籍贯: </span>
|
|
|
|
|
<span :class="getDiffClass(item.userarea, 'userarea', index)">{{ item.userarea }}</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="rightCard">
|
|
|
|
|
<span class="weight">涉密程度: </span>
|
|
|
|
|
<span :class="getDiffClass(item.shemichengdu, 'shemichengdu', index)">{{getDictLabel(item.shemichengdu) }}</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="rightCard">
|
|
|
|
|
<span class="weight">是否具有出入境备案: </span>
|
|
|
|
|
<span :class="getDiffClass(item.entryexitFiling, 'entryexitFiling', index)">{{ item.entryexitFiling == '1' ? '是' : '否' }}</span>
|
|
|
|
@ -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) => {
|
|
|
|
|