This commit is contained in:
parent
d8770a92cb
commit
39f7d693b6
|
@ -85,7 +85,7 @@
|
||||||
<i></i>
|
<i></i>
|
||||||
<i></i>
|
<i></i>
|
||||||
</div>
|
</div>
|
||||||
<span class="text">
|
<span class="text" v-if="data.tabelshow">
|
||||||
<img
|
<img
|
||||||
v-if="data.first"
|
v-if="data.first"
|
||||||
src="@/assets/sy-table/sy_details4.png"
|
src="@/assets/sy-table/sy_details4.png"
|
||||||
|
@ -143,6 +143,8 @@ import tools from "@/utils/tools";
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const routers = useRoute();
|
const routers = useRoute();
|
||||||
const data = reactive({
|
const data = reactive({
|
||||||
|
name: "",
|
||||||
|
tabelshow: false,
|
||||||
pagedData: [],
|
pagedData: [],
|
||||||
first: true,
|
first: true,
|
||||||
tableData: [],
|
tableData: [],
|
||||||
|
@ -558,7 +560,7 @@ const tableHeaderColor = (arg) => {
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
border: "none",
|
border: "none",
|
||||||
textAlign: "center",
|
textAlign: "center",
|
||||||
fontFamily: "PingFangSC, PingFang SC",
|
fontFamily: "PingFangSC, PingFang SC",
|
||||||
// boxShadow: " inset 0px 0px 56px 0px rgba(173,221,255,0.5)",
|
// boxShadow: " inset 0px 0px 56px 0px rgba(173,221,255,0.5)",
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -601,13 +603,16 @@ const handleRowClick = (row, column, event) => {
|
||||||
console.log(row);
|
console.log(row);
|
||||||
router.push({
|
router.push({
|
||||||
path: `/home/index/person`,
|
path: `/home/index/person`,
|
||||||
query: { identNo: row.sfzhm,type: "detail" },
|
query: { identNo: row.sfzhm, type: "detail" },
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
|
// tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
|
||||||
getTable("/api/ggfwyth/pg/lyxsdbrymd", pagination.currentPage);
|
getTable("/api/ggfwyth/pg/lyxsdbrymd", pagination.currentPage);
|
||||||
handleCurrentChange(1);
|
handleCurrentChange(1);
|
||||||
|
if (routers.query.name) {
|
||||||
|
data.name = routers.query.name;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -169,8 +169,7 @@
|
||||||
<div v-else>未居住</div>
|
<div v-else>未居住</div>
|
||||||
</template>
|
</template>
|
||||||
<template #sxt="{ currentCol, currentData }">
|
<template #sxt="{ currentCol, currentData }">
|
||||||
<el-icon size="24" color="#fff"
|
<el-icon size="24" color="#fff" v-if="currentData.camera"
|
||||||
v-if="currentData.camera"
|
|
||||||
><VideoCamera
|
><VideoCamera
|
||||||
/></el-icon>
|
/></el-icon>
|
||||||
</template>
|
</template>
|
||||||
|
@ -1653,10 +1652,9 @@ const changeys = (name) => {
|
||||||
img = item.img;
|
img = item.img;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if(name=='摄像头'){
|
if (name == "摄像头") {
|
||||||
getZyys(url, name,img);
|
getZyys(url, name, img);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const getZyys = (url, name, img) => {
|
const getZyys = (url, name, img) => {
|
||||||
|
@ -3450,7 +3448,7 @@ onMounted(() => {
|
||||||
.title_name {
|
.title_name {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-family: YouSheBiaoTiHei;
|
font-family: titletheRightWay;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
// line-height: 44px;
|
// line-height: 44px;
|
||||||
|
@ -3462,12 +3460,13 @@ onMounted(() => {
|
||||||
/* 为了兼容性,添加渐变背景到IE */
|
/* 为了兼容性,添加渐变背景到IE */
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
-webkit-text-fill-color: transparent;
|
-webkit-text-fill-color: transparent;
|
||||||
padding-left: 23px;
|
padding-left: 32px;
|
||||||
span {
|
span {
|
||||||
display: block;
|
display: block;
|
||||||
font-family: YouSheBiaoTiHei;
|
font-family: titletheRightWay;
|
||||||
font-size: 30px;
|
font-size: 34px;
|
||||||
font-weight: 900;
|
font-weight: normal;
|
||||||
|
// font-weight: 900;
|
||||||
// line-height: 44px;
|
// line-height: 44px;
|
||||||
letter-spacing: 4px;
|
letter-spacing: 4px;
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
|
|
|
@ -122,12 +122,7 @@
|
||||||
<img src="@/assets/sy-table/sy-table3.png" />
|
<img src="@/assets/sy-table/sy-table3.png" />
|
||||||
<div class="tableli">{{ item.name }}</div>
|
<div class="tableli">{{ item.name }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="tableBoxCenter1" @click="goto(item)">详情</div>
|
||||||
class="tableBoxCenter1"
|
|
||||||
@click="goto('/home/index/table/details', item)"
|
|
||||||
>
|
|
||||||
详情
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="tableBoxTopa">{{ item.text }}</div>
|
<div class="tableBoxTopa">{{ item.text }}</div>
|
||||||
<div class="progress-container">
|
<div class="progress-container">
|
||||||
|
@ -183,11 +178,19 @@ import tools from "@/utils/tools";
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const routers = useRoute();
|
const routers = useRoute();
|
||||||
// 路由跳转
|
// 路由跳转
|
||||||
const goto = (url, val) => {
|
const goto = (val) => {
|
||||||
// console.log(val);
|
const availableRoutes = [
|
||||||
if (val.name == "最低生活保障") {
|
"最低生活保障",
|
||||||
|
"老年人福利补贴",
|
||||||
|
"慢性病患者健康管理",
|
||||||
|
"义务教育学生生活补助",
|
||||||
|
"义务教育学生营养改善计划",
|
||||||
|
];
|
||||||
|
// 检查数组val.name中是否存在availableRoutes。
|
||||||
|
if (availableRoutes.includes(val.name)) {
|
||||||
router.push({
|
router.push({
|
||||||
path: `${url}`,
|
path: "/home/index/table/details",
|
||||||
|
query: { name: val.name },
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
ElMessage.warning({
|
ElMessage.warning({
|
||||||
|
@ -563,8 +566,6 @@ const toggleVisibility = (val) => {
|
||||||
parent.visible = !parent.visible;
|
parent.visible = !parent.visible;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
console.log(val);
|
|
||||||
|
|
||||||
tapshow(val, 0);
|
tapshow(val, 0);
|
||||||
};
|
};
|
||||||
const gaikuang = (name) => {
|
const gaikuang = (name) => {
|
||||||
|
|
Loading…
Reference in New Issue