From e5eb3f29a079fc21609fb12c68cb7765d7b2b0aa Mon Sep 17 00:00:00 2001 From: littleeewolf <2285716495@qq.com> Date: Sat, 10 Aug 2024 19:35:03 +0800 Subject: [PATCH] gx --- src/view/person/index.vue | 2 +- src/view/sy_details.vue | 15 ++++++++++++++- src/view/sy_map.vue | 11 +---------- src/view/sy_table.vue | 2 +- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/view/person/index.vue b/src/view/person/index.vue index d21dc03..54918e6 100644 --- a/src/view/person/index.vue +++ b/src/view/person/index.vue @@ -635,7 +635,7 @@ watch( } ); onMounted(() => { - // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); + tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); if (routers.query.type) { baseInfo.value.nm = routers.query.nm; baseInfo.value.dz = routers.query.dz; diff --git a/src/view/sy_details.vue b/src/view/sy_details.vue index d02ddf1..77257f4 100644 --- a/src/view/sy_details.vue +++ b/src/view/sy_details.vue @@ -604,10 +604,23 @@ const handleRowClick = (row, column, event) => { query: { nm: row.xm, identNo: row.sfzhm, dz: row.dz,bq:row.bq, type: "detail" }, }); }; +const person_detail = () => { + http + .get( + `/api/ggfwyth/ysyzt/getRyJbxxList?page=1&size=10&town=溪口镇&tagId=1` + ) + .then((res) => { + if (res.code == 200) { + // tableType.data = res.data; + // pagination.total = res.count; + } + }); +}; onMounted(() => { - // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); + tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); getTable("/api/ggfwyth/pg/lyxsdbrymd", pagination.currentPage); handleCurrentChange(1); + person_detail(); }); diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue index c098640..5f74610 100644 --- a/src/view/sy_map.vue +++ b/src/view/sy_map.vue @@ -1335,15 +1335,6 @@ const getDatas2 = async (e, i, cs) => { //特殊标签 //获取特殊标签 -//特殊标签列表数据请求 -const changeTagId = (bq) => { - tsbq_id_total.value.forEach((item, index) => { - if (bq == item.id) { - console.log(item.tagId); - return item.tagId; - } - }); -}; const getDataBq = async (jd, cs) => { await http .get(`/api/ggfwyth/ysyzt/getBqRs?committee=${cs || ""}&town=${jd || ""}`) @@ -3051,7 +3042,7 @@ const reset_font2 = () => { "scale(" + width / 1920 + "," + height / 1080 + ")"; }; onMounted(() => { - // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); + tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); reset_font(); initMap(); getData(); diff --git a/src/view/sy_table.vue b/src/view/sy_table.vue index e98d969..2f4a9f5 100644 --- a/src/view/sy_table.vue +++ b/src/view/sy_table.vue @@ -662,7 +662,7 @@ const sevenYX = (name) => { }; onMounted(() => { - // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); + tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); getData("弱有所扶", "社会救助服务"); sevenYX("弱有众扶"); });