Procházet zdrojové kódy

Merge branch 'master' of http://172.16.90.201:3000/veterans/veterans_client_web

yangzj před 2 roky
rodič
revize
2f3f98f78e

+ 15 - 4
src/views/EducationPromote/EducationPromoteIndex.vue

@@ -2,8 +2,8 @@
  * @Description: 学历提升
  * @Author: 空白格
  * @Date: 2022-08-12 13:47:26
- * @LastEditors: 空白格
- * @LastEditTime: 2022-08-12 15:22:31
+ * @LastEditors: gcz
+ * @LastEditTime: 2022-08-26 16:50:01
  * @FilePath: \veterans_client_web\src\views\EducationPromote\EducationPromoteIndex.vue
  * @Copyright: Copyright (c) 2016~2022 by 空白格, All Rights Reserved.
 -->
@@ -20,7 +20,7 @@
         ></el-image>
       </div>
       <!-- 特点 -->
-      <div class="education-promote-effect">
+      <div class="education-promote-effect" @click="jumpPage('/educationpromote/details')">
         <div class="education-promote-effect-item">
           <p>提升作用</p>
           <p>学历提升</p>
@@ -182,7 +182,18 @@ export default {
       this.queryParams.schoolId = val
       this.queryParams.pageNum = 1
       this.getACtivityList();
-    }
+    },
+    /**
+     * 跳转到指定页面
+     * @date 2022-08-11
+     * @param {any} path
+     * @returns {any}
+     */
+    jumpPage(path, param) {
+      if (path) {
+        this.$router.push({ path, param });
+      }
+    },
   },
 };
 </script>