diff --git a/src/router/index.js b/src/router/index.js
index 2442cde..2c6980e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -111,9 +111,9 @@ const router = createRouter({
component: () => import("../view/sy_details.vue"),
},
{
- name: "首页表格交通详情",
- path: "/home/index/table/trafficDetails",
- component: () => import("../view/sy_trafficDetails.vue"),
+ name: "首页表格交通便利详情",
+ path: "/home/index/table/jtDetails",
+ component: () => import("../view/jt_details.vue"),
},
{
name: "人物图",
diff --git a/src/utils/request.js b/src/utils/request.js
index da330fe..3b4f6e5 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -2,7 +2,7 @@ import axios from "axios";
import { ElMessage } from "element-plus";
import tools from "@/utils/tools";
import router from "../router";
-// axios.defaults.baseURL = 'https://jzzf.longyou.gov.cn:998/'
+axios.defaults.baseURL = 'https://jzzf.longyou.gov.cn:998/'
axios.defaults.timeout = 120000;
// HTTP request 拦截器
diff --git a/src/view/jt_details.vue b/src/view/jt_details.vue
new file mode 100644
index 0000000..10ba06c
--- /dev/null
+++ b/src/view/jt_details.vue
@@ -0,0 +1,420 @@
+
+
+
+
+
+
+
diff --git a/src/view/person/rwTable.vue b/src/view/person/rwTable.vue
index 60538e6..f8171d3 100644
--- a/src/view/person/rwTable.vue
+++ b/src/view/person/rwTable.vue
@@ -491,8 +491,8 @@ const data = reactive({
xh: "",
bm: "",
url: "",
- // msgId: "",
- msgId: "26286d1561e897cbf3ee47c949de85ae",
+ msgId: "",
+ // msgId: "26286d1561e897cbf3ee47c949de85ae",
pagination: {
current: 1,
pageSize: 20,
diff --git a/src/view/sy_table.vue b/src/view/sy_table.vue
index c891fe9..79775ec 100644
--- a/src/view/sy_table.vue
+++ b/src/view/sy_table.vue
@@ -207,17 +207,23 @@ const goto = (val) => {
// ];
// // 检查数组val.name中是否存在availableRoutes。
// if (availableRoutes.includes(val.name)) {
+ // router.push({
+ // path: "/home/index/table/details",
+ // query: { name: val.name, id: val.id },
+ // });
+ // } else {
if (val.name == "公共交通") {
router.push({
- path: "/home/index/table/trafficDetails",
- // query: { name: val.name, id: val.id },
- query: { name: val.name, id: val.id, xh: val.xh },
- });
- } else {
+ path: "/home/index/table/jtDetails",
+ query: { name: val.name},
+ });
+ }else{
router.push({
- path: "/home/index/table/details",
- query: { name: val.name, id: val.id, xh: val.xh },
- });
+ path: "/home/index/table/details",
+ query: { name: val.name, id: val.id, xh: val.xh },
+ });
+ }
+
// ElMessage.warning({
// message: `${val.name}暂无数据!`,