|
@@ -2,8 +2,8 @@
|
|
|
* @Description: 首页
|
|
|
* @Author: 空白格
|
|
|
* @Date: 2022-08-10 11:26:40
|
|
|
- * @LastEditors: 空白格
|
|
|
- * @LastEditTime: 2022-08-22 15:19:59
|
|
|
+ * @LastEditors: gcz
|
|
|
+ * @LastEditTime: 2022-08-23 10:05:08
|
|
|
* @FilePath: \veterans_client_web\src\views\Home\HomeIndex.vue
|
|
|
* @Copyright: Copyright (c) 2016~2022 by 空白格, All Rights Reserved.
|
|
|
-->
|
|
@@ -64,6 +64,7 @@
|
|
|
<el-tab-pane label="新闻动态" name="first">
|
|
|
<ul class="news-infomation">
|
|
|
<li
|
|
|
+ @click="jumpPage('newsdetails',{ id: item.artId,type:'news' })"
|
|
|
class="news-infomation-item"
|
|
|
v-for="(item, index) in newsList"
|
|
|
:key="index"
|
|
@@ -78,6 +79,7 @@
|
|
|
<el-tab-pane label="通知公告" name="second">
|
|
|
<ul class="news-infomation">
|
|
|
<li
|
|
|
+ @click="jumpPage('noticedetails',{ id: item.id })"
|
|
|
class="news-infomation-item"
|
|
|
v-for="(item, index) in noticeList"
|
|
|
:key="index"
|
|
@@ -154,6 +156,7 @@
|
|
|
v-if="policyObj.policyList.length"
|
|
|
>
|
|
|
<div
|
|
|
+ @click="jumpPage('newsdetails',{ id: item.artId,type:'policy' })"
|
|
|
class="hmpc-left-list-item"
|
|
|
v-for="(item, index) in policyObj.policyList"
|
|
|
:key="index"
|
|
@@ -417,9 +420,9 @@ export default {
|
|
|
* @param {any} path
|
|
|
* @returns {any}
|
|
|
*/
|
|
|
- jumpPage(path) {
|
|
|
+ jumpPage(path,param) {
|
|
|
if (path) {
|
|
|
- this.$router.push(path);
|
|
|
+ this.$router.push({path:path,query:param});
|
|
|
}
|
|
|
},
|
|
|
/**
|