提交修改

pg_adapter
dshclm 8 months ago
parent 3bcb5936b5
commit 79fb9661d1

@ -61,82 +61,88 @@
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span style="font-size: 16px;font-weight: bold">修改前</span> <span style="font-size: 16px;font-weight: bold">修改前</span>
</div> </div>
<div v-for="(item, index) in userBeforeList" :key="item.userId" class="text item"> <div v-if="userBeforeList.length > 0">
<p class="leftCard"> <div v-for="(item, index) in userBeforeList" :key="item.userId" class="text item">
<span class="weight">人员姓名: </span> <p class="leftCard">
<span :class="getDiffClass(item.userName, 'userName', index)">{{ item.userName }}</span> <span class="weight">人员姓名: </span>
</p> <span :class="getDiffClass(item.userName, 'userName', index)">{{ item.userName }}</span>
<p class="leftCard"> </p>
<span class="weight">身份证号: </span> <p class="leftCard">
<span :class="getDiffClass(item.cerno, 'cerno', index)">{{ item.cerno }}</span> <span class="weight">身份证号: </span>
</p> <span :class="getDiffClass(item.cerno, 'cerno', index)">{{ item.cerno }}</span>
<p class="leftCard"> </p>
<span class="weight">手机: </span> <p class="leftCard">
<span :class="getDiffClass(item.phonenumber, 'phonenumber', index)">{{ item.phonenumber }}</span> <span class="weight">手机: </span>
</p> <span :class="getDiffClass(item.phonenumber, 'phonenumber', index)">{{ item.phonenumber }}</span>
<p class="leftCard"> </p>
<span class="weight">性别: </span> <p class="leftCard">
<span :class="getDiffClass(item.sex, 'sex', index)">{{ item.sex == '0' ? '男' : '女' }}</span> <span class="weight">性别: </span>
</p> <span :class="getDiffClass(item.sex, 'sex', index)">{{ item.sex == '0' ? '男' : '女' }}</span>
<p class="leftCard"> </p>
<span class="weight">籍贯: </span> <p class="leftCard">
<span :class="getDiffClass(item.userarea, 'userarea', index)">{{ item.userarea }}</span> <span class="weight">籍贯: </span>
</p> <span :class="getDiffClass(item.userarea, 'userarea', index)">{{ item.userarea }}</span>
<p class="leftCard"> </p>
<span class="weight">涉密程度: </span> <p class="leftCard">
<span :class="getDiffClass(item.shemichengdu, 'shemichengdu', index)">{{getDictLabel(item.shemichengdu) }}</span> <span class="weight">涉密程度: </span>
</p> <span :class="getDiffClass(item.shemichengdu, 'shemichengdu', index)">{{getDictLabel(item.shemichengdu) }}</span>
<p class="leftCard"> </p>
<span class="weight">是否具有出入境备案: </span> <p class="leftCard">
<span :class="getDiffClass(item.entryexitFiling, 'entryexitFiling', index)">{{ item.entryexitFiling == '1' ? '是' : '否' }}</span> <span class="weight">是否具有出入境备案: </span>
</p> <span :class="getDiffClass(item.entryexitFiling, 'entryexitFiling', index)">{{ item.entryexitFiling == '1' ? '是' : '否' }}</span>
<p class="leftCard"> </p>
<span class="weight">是否持有护照或港澳通行证: </span> <p class="leftCard">
<span :class="getDiffClass(item.havePassport, 'havePassport', index)">{{ item.havePassport == '1' ? '是' : '否' }}</span> <span class="weight">是否持有护照或港澳通行证: </span>
</p> <span :class="getDiffClass(item.havePassport, 'havePassport', index)">{{ item.havePassport == '1' ? '是' : '否' }}</span>
<hr> </p>
<hr>
</div>
</div> </div>
<el-empty v-else description="暂无数据"></el-empty>
</el-card> </el-card>
<el-card class="right-card"> <el-card class="right-card">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span style="font-size: 16px;font-weight: bold">修改后</span> <span style="font-size: 16px;font-weight: bold">修改后</span>
</div> </div>
<div v-for="(item, index) in userAfterList" :key="item.userId" class="text item"> <div v-if="userBeforeList.length > 0">
<p class="rightCard"> <div v-for="(item, index) in userAfterList" :key="item.userId" class="text item">
<span class="weight">人员姓名: </span> <p class="rightCard">
<span :class="getDiffClass(item.userName, 'userName', index)">{{ item.userName }}</span> <span class="weight">人员姓名: </span>
</p> <span :class="getDiffClass(item.userName, 'userName', index)">{{ item.userName }}</span>
<p class="rightCard"> </p>
<span class="weight">身份证号: </span> <p class="rightCard">
<span :class="getDiffClass(item.cerno, 'cerno', index)">{{ item.cerno }}</span> <span class="weight">身份证号: </span>
</p> <span :class="getDiffClass(item.cerno, 'cerno', index)">{{ item.cerno }}</span>
<p class="rightCard"> </p>
<span class="weight">手机: </span> <p class="rightCard">
<span :class="getDiffClass(item.phonenumber, 'phonenumber', index)">{{ item.phonenumber }}</span> <span class="weight">手机: </span>
</p> <span :class="getDiffClass(item.phonenumber, 'phonenumber', index)">{{ item.phonenumber }}</span>
<p class="rightCard"> </p>
<span class="weight">性别: </span> <p class="rightCard">
<span :class="getDiffClass(item.sex, 'sex', index)">{{ item.sex == '0' ? '男' : '女' }}</span> <span class="weight">性别: </span>
</p> <span :class="getDiffClass(item.sex, 'sex', index)">{{ item.sex == '0' ? '男' : '女' }}</span>
<p class="rightCard"> </p>
<span class="weight">籍贯: </span> <p class="rightCard">
<span :class="getDiffClass(item.userarea, 'userarea', index)">{{ item.userarea }}</span> <span class="weight">籍贯: </span>
</p> <span :class="getDiffClass(item.userarea, 'userarea', index)">{{ item.userarea }}</span>
<p class="rightCard"> </p>
<span class="weight">涉密程度: </span> <p class="rightCard">
<span :class="getDiffClass(item.shemichengdu, 'shemichengdu', index)">{{getDictLabel(item.shemichengdu) }}</span> <span class="weight">涉密程度: </span>
</p> <span :class="getDiffClass(item.shemichengdu, 'shemichengdu', index)">{{getDictLabel(item.shemichengdu) }}</span>
<p class="rightCard"> </p>
<span class="weight">是否具有出入境备案: </span> <p class="rightCard">
<span :class="getDiffClass(item.entryexitFiling, 'entryexitFiling', index)">{{ item.entryexitFiling == '1' ? '是' : '否' }}</span> <span class="weight">是否具有出入境备案: </span>
</p> <span :class="getDiffClass(item.entryexitFiling, 'entryexitFiling', index)">{{ item.entryexitFiling == '1' ? '是' : '否' }}</span>
<p class="rightCard"> </p>
<span class="weight">是否持有护照或港澳通行证: </span> <p class="rightCard">
<span :class="getDiffClass(item.havePassport, 'havePassport', index)">{{ item.havePassport == '1' ? '是' : '否' }}</span> <span class="weight">是否持有护照或港澳通行证: </span>
</p> <span :class="getDiffClass(item.havePassport, 'havePassport', index)">{{ item.havePassport == '1' ? '是' : '否' }}</span>
<hr> </p>
<hr>
</div>
</div> </div>
<el-empty v-else description="暂无数据"></el-empty>
</el-card> </el-card>
</div> </div>
</div> </div>

Loading…
Cancel
Save