|
@@ -462,7 +462,7 @@
|
|
|
<script>
|
|
|
import Swiper from 'swiper'
|
|
|
import {
|
|
|
- parkNotice,
|
|
|
+ listNoticeToTop,
|
|
|
propertyNotice,
|
|
|
getInvestmentCase,
|
|
|
getRecruit,
|
|
@@ -590,7 +590,7 @@ export default {
|
|
|
this.getRecruit()
|
|
|
})
|
|
|
this.initParkNotice()
|
|
|
- this.initPropertyNotice()
|
|
|
+ // this.initPropertyNotice()
|
|
|
this.getInvestmentCase()
|
|
|
|
|
|
this.getPropaganda()
|
|
@@ -813,17 +813,18 @@ export default {
|
|
|
type: '1',
|
|
|
status: 'published'
|
|
|
}
|
|
|
- parkNotice(params).then((res) => {
|
|
|
+ listNoticeToTop(params).then((res) => {
|
|
|
console.log(res)
|
|
|
this.total = res.total
|
|
|
if (res.rows) {
|
|
|
+ console.log('_this.notices.park', _this.notices.park)
|
|
|
_this.noticeList = []
|
|
|
res.rows.forEach((item) => {
|
|
|
const i = {
|
|
|
- name: item.title,
|
|
|
- detail: item.content,
|
|
|
+ name: item.noticeTitle,
|
|
|
+ // detail: item.noticeContent,
|
|
|
source: item.source,
|
|
|
- content: this.$common.delHtmlTag(item.content)
|
|
|
+ content: this.$common.delHtmlTag(item.noticeContent)
|
|
|
}
|
|
|
_this.notices.park.push(i)
|
|
|
})
|
|
@@ -843,32 +844,32 @@ export default {
|
|
|
financeDetail(index) {
|
|
|
this.$router.push({ name: 'financeDetail', params: index })
|
|
|
},
|
|
|
- initPropertyNotice() {
|
|
|
- const _this = this
|
|
|
- // _this.params.parks = '' //绑定园区
|
|
|
- const params = {
|
|
|
- pageNum: 1,
|
|
|
- pageSize: 2,
|
|
|
- type: '2',
|
|
|
- status: 'published'
|
|
|
- }
|
|
|
- propertyNotice(params).then((res) => {
|
|
|
- console.log(res)
|
|
|
- this.total = res.total
|
|
|
- if (res.rows) {
|
|
|
- _this.noticeList = []
|
|
|
- res.rows.forEach((item) => {
|
|
|
- const i = {
|
|
|
- name: item.title,
|
|
|
- detail: item.content,
|
|
|
- source: item.source,
|
|
|
- content: this.$common.delHtmlTag(item.content)
|
|
|
- }
|
|
|
- _this.notices.parkManagement.push(i)
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
+ // initPropertyNotice() {
|
|
|
+ // const _this = this
|
|
|
+ // // _this.params.parks = '' //绑定园区
|
|
|
+ // const params = {
|
|
|
+ // pageNum: 1,
|
|
|
+ // pageSize: 2,
|
|
|
+ // type: '2',
|
|
|
+ // status: 'published'
|
|
|
+ // }
|
|
|
+ // propertyNotice(params).then((res) => {
|
|
|
+ // console.log(res)
|
|
|
+ // this.total = res.total
|
|
|
+ // if (res.rows) {
|
|
|
+ // _this.noticeList = []
|
|
|
+ // res.rows.forEach((item) => {
|
|
|
+ // const i = {
|
|
|
+ // name: item.title,
|
|
|
+ // detail: item.content,
|
|
|
+ // source: item.source,
|
|
|
+ // content: this.$common.delHtmlTag(item.content)
|
|
|
+ // }
|
|
|
+ // _this.notices.parkManagement.push(i)
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // },
|
|
|
// 大图预览招商四张图片
|
|
|
preview(img) {
|
|
|
this.showimg = true
|