commit
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<div class="solicitopinions">
|
||||
<ul>
|
||||
<li v-for="item in domesticDynamics" :key="item.id" class="time-title">
|
||||
<a class="title" :title="item.title">{{ item.title }}</a>
|
||||
<span class="time">{{ getDate(item.pubTime) }}</span>
|
||||
<a class="title" :title="item.title" @click="standForComments(item)">{{ item.cname }}</a>
|
||||
<span class="time">{{item.endTime}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -34,16 +34,23 @@ export default {
|
||||
},
|
||||
//获取数据
|
||||
getAdvice() {
|
||||
let obj = {}
|
||||
obj.msgType = 'RESOURCE'
|
||||
obj.rowLimit = 8
|
||||
this.$http.get('lawss/msgDynamicInfo/page', obj, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.domesticDynamics = res.data.list
|
||||
}, e => {
|
||||
})
|
||||
}
|
||||
this.$http.get('slrs/sar-public-idea/SelectAllPage', {}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
console.log('41',res)
|
||||
this.domesticDynamics = res.data.records
|
||||
}, e => {
|
||||
|
||||
} )
|
||||
},
|
||||
standForComments (item) {
|
||||
this.$router.push({
|
||||
name:'standardForComments',
|
||||
params: {
|
||||
id: item.id
|
||||
}
|
||||
},)
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user