This commit is contained in:
duanxiaohai 2024-09-23 10:29:04 +08:00
parent 7e481c87c9
commit ef0ec678aa
1 changed files with 19 additions and 14 deletions

View File

@ -151,7 +151,10 @@
<template #default="scope">
<!-- 姓名 -->
<div v-if="item.property == 'xm'">
<div>
<div
style="cursor: pointer"
@click="handleRowClick(scope.row)"
>
{{ scope.row.xm }}
</div>
</div>
@ -166,19 +169,19 @@
/>
</div> -->
<img
style="width: 30px; height: 30px;cursor: pointer;"
style="width: 30px; height: 30px; cursor: pointer"
v-if="scope.row.deng == 0"
:src="lampImages[1]"
@click="statusDetails(scope.row)"
/>
<img
style="width: 30px; height: 30px;cursor: pointer;"
style="width: 30px; height: 30px; cursor: pointer"
v-if="scope.row.deng == 1"
:src="lampImages[3]"
@click="statusDetails(scope.row)"
/>
<img
style="width: 30px; height: 30px;cursor: pointer;"
style="width: 30px; height: 30px; cursor: pointer"
v-if="scope.row.deng == 2"
:src="lampImages[2]"
@click="statusDetails(scope.row)"
@ -514,7 +517,9 @@ const getTable = (pagination) => {
});
};
const getTable1 = (pagination) => {
http.get(`${pagination.url}?sfzhm=${data.identNo}&xh=${routers.query.xh}`).then((res) => {
http
.get(`${pagination.url}?sfzhm=${data.identNo}&xh=${routers.query.xh}`)
.then((res) => {
if (res.code == 200) {
tableType.data = res.data;
tableType.typeId = routers.query.id;