diff --git a/src/components/header.vue b/src/components/header.vue
index 8736ec8..e5ac0e5 100644
--- a/src/components/header.vue
+++ b/src/components/header.vue
@@ -11,7 +11,12 @@
返回
@@ -115,11 +120,11 @@ const to = (url) => {
data.nowTab = url;
data.menushow = false;
}
- }else{
+ } else {
data.nowTab = url;
data.menushow = false;
}
-
+
// data.nowTab = url;
// data.menushow = false;
};
@@ -200,19 +205,19 @@ const data = reactive({
],
nowTab: "/home/index",
});
-const timeT=ref(null);
+const timeT = ref(null);
onMounted(() => {
// 初始调用 updateClock 以立即显示时间
updateClock();
data.nowTab = router.currentRoute.value.fullPath;
// 每隔一秒钟调用一次 updateClock 以更新时钟显示
- timeT.value=setInterval(updateClock, 1000);
+ timeT.value = setInterval(updateClock, 1000);
});
onBeforeUnmount(() => {
if (timeT.value) {
clearInterval(timeT.value);
- console.log('定时器已清除');
- }
+ console.log("定时器已清除");
+ }
});
+
diff --git a/src/view/js_details.vue b/src/view/js_details.vue
new file mode 100644
index 0000000..cd89e0a
--- /dev/null
+++ b/src/view/js_details.vue
@@ -0,0 +1,719 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/view/sy_details.vue b/src/view/sy_details.vue
index 6ed50f9..984ed2c 100644
--- a/src/view/sy_details.vue
+++ b/src/view/sy_details.vue
@@ -322,7 +322,7 @@ const data = reactive({
{
label: "姓名",
property: "xm",
- width: "100",
+ width: "110",
align: "center",
},
{
@@ -370,7 +370,7 @@ const data = reactive({
{
label: "姓名",
property: "xm",
- width: "100",
+ width: "110",
type: "slot",
align: "center",
},
@@ -400,6 +400,7 @@ const data = reactive({
{
label: "完成途径",
property: "operatesDeng",
+ align: "center",
type: "slot",
},
// {
@@ -475,7 +476,7 @@ const lampScreen = (val) => {
{
label: "姓名",
property: "xm",
- width: "100",
+ width: "110",
align: "center",
type: "slot",
},
@@ -515,7 +516,7 @@ const lampScreen = (val) => {
{
label: "姓名",
property: "xm",
- width: "100",
+ width: "110",
align: "center",
type: "slot",
},
@@ -545,6 +546,7 @@ const lampScreen = (val) => {
{
label: "完成途径",
property: "operatesDeng",
+ align: "center",
type: "slot",
},
];
diff --git a/src/view/sy_table.vue b/src/view/sy_table.vue
index a93c96c..53be267 100644
--- a/src/view/sy_table.vue
+++ b/src/view/sy_table.vue
@@ -214,21 +214,30 @@ const goto = (val) => {
// } else {
if (val.name == "公共交通") {
router.push({
- path: "/home/index/table/jtDetails",
- query: { name: val.name},
- });
- }else{
+ path: "/home/index/table/jtDetails",
+ query: { name: val.name },
+ });
+ } else if (val.name == "全民健身服务") {
router.push({
- path: "/home/index/table/details",
- query: { name: val.name, id: val.id, xh: val.xh },
- });
+ path: "/home/index/table/fitnessServices",
+ query: { name: val.name },
+ });
+ } else if (val.name == "校外活动服务") {
+ router.push({
+ path: "/home/index/table/afterschoolActivities",
+ query: { name: val.name },
+ });
+ } else {
+ router.push({
+ path: "/home/index/table/details",
+ query: { name: val.name, id: val.id, xh: val.xh },
+ });
}
-
- // ElMessage.warning({
- // message: `${val.name}暂无数据!`,
- // offset: 100, // 距离窗口顶部的偏移量
- // });
+ // ElMessage.warning({
+ // message: `${val.name}暂无数据!`,
+ // offset: 100, // 距离窗口顶部的偏移量
+ // });
// }
};