修改路径
This commit is contained in:
parent
6298cb905f
commit
74b17e7dba
@ -22,7 +22,7 @@
|
|||||||
<div class="right-content" v-if="tab == 0" v-html="introContent"></div>
|
<div class="right-content" v-if="tab == 0" v-html="introContent"></div>
|
||||||
<div class="right-content qualify-list" v-if="tab == 1">
|
<div class="right-content qualify-list" v-if="tab == 1">
|
||||||
<ul v-if="hasData">
|
<ul v-if="hasData">
|
||||||
<li v-for="(honor, idx) in honorList" :key="idx" @click="goDetail(honor.newsContentLink, honor.templateRecordUrl, honor.newsContentType, honor.newsContentContent)">
|
<li v-for="(honor, idx) in honorList" :key="idx" :title="honor.newsContentTitle" @click="goDetail(honor.newsContentLink, honor.templateRecordUrl, honor.newsContentType, honor.newsContentContent)">
|
||||||
<div class="img-box">
|
<div class="img-box">
|
||||||
<img :src="requestUrl + '/news/route/file/downloadfile/true/' + honor.newsContentCoverList" alt="">
|
<img :src="requestUrl + '/news/route/file/downloadfile/true/' + honor.newsContentCoverList" alt="">
|
||||||
</div>
|
</div>
|
||||||
@ -102,11 +102,7 @@ export default {
|
|||||||
if (type === '6') {
|
if (type === '6') {
|
||||||
window.open(outlink)
|
window.open(outlink)
|
||||||
} else {
|
} else {
|
||||||
if (link) {
|
window.location.href = this.requestUrl + '/' +url
|
||||||
window.open(link)
|
|
||||||
} else {
|
|
||||||
window.location.href = this.url + url
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getIntro: function () {
|
getIntro: function () {
|
||||||
|
@ -57,7 +57,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
// 获取图文公告
|
// 获取图文公告
|
||||||
getImgNews: function () {
|
getImgNews: function () {
|
||||||
var self = this
|
var self = this
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<div class="notice-list">
|
<div class="notice-list">
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="(news, idx) in biddingList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
<li v-for="(news, idx) in biddingList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
||||||
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
|
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
|
||||||
<span>{{news.newsContentPublishTime}}</span>
|
<span>{{news.newsContentPublishTime}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
<div class="notice-list">
|
<div class="notice-list">
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="(news, idx) in winBidList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
<li v-for="(news, idx) in winBidList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
||||||
<router-link to="/detail">{{news.newsContentTitle}}</router-link>
|
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
|
||||||
<span>{{news.newsContentPublishTime}}</span>
|
<span>{{news.newsContentPublishTime}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -44,6 +44,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import url from '@/assets/public/url'
|
||||||
export default {
|
export default {
|
||||||
name: 'NoticeCase',
|
name: 'NoticeCase',
|
||||||
components: {},
|
components: {},
|
||||||
@ -53,6 +54,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
url: url.url
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -60,7 +62,7 @@ export default {
|
|||||||
if (type === '6') {
|
if (type === '6') {
|
||||||
window.open(outlink)
|
window.open(outlink)
|
||||||
} else {
|
} else {
|
||||||
window.location.href = this.url + '/' +url
|
window.open(this.url + '/' +url)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
checkMore: function (tab) {
|
checkMore: function (tab) {
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<div class="notice-list">
|
<div class="notice-list">
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="(news, idx) in correctionList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
<li v-for="(news, idx) in correctionList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
||||||
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
|
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
|
||||||
<span>{{news.newsContentPublishTime}}</span>
|
<span>{{news.newsContentPublishTime}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
<div class="notice-list">
|
<div class="notice-list">
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="(news, idx) in abandonedList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
<li v-for="(news, idx) in abandonedList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
||||||
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
|
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
|
||||||
<span>{{news.newsContentPublishTime}}</span>
|
<span>{{news.newsContentPublishTime}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -62,7 +62,7 @@ export default {
|
|||||||
if (type === '6') {
|
if (type === '6') {
|
||||||
window.open(outlink)
|
window.open(outlink)
|
||||||
} else {
|
} else {
|
||||||
window.location.href = this.url + '/' +url
|
window.open(this.url + '/' +url)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
checkMore: function (tab) {
|
checkMore: function (tab) {
|
||||||
|
@ -34,8 +34,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="notice-list">
|
<div class="notice-list">
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="(news, idx) in noticeList" :key="idx">
|
<li v-for="(news, idx) in noticeList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
||||||
<router-link to="/detail">{{news.newsContentTitle}}</router-link>
|
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
|
||||||
<span>{{news.newsContentPublishTime}}</span>
|
<span>{{news.newsContentPublishTime}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -69,7 +69,7 @@ export default {
|
|||||||
if (type === '6') {
|
if (type === '6') {
|
||||||
window.open(outlink)
|
window.open(outlink)
|
||||||
} else {
|
} else {
|
||||||
window.location.href = this.url + '/' +url
|
window.open(this.url + '/' +url)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<div class="notice-list">
|
<div class="notice-list">
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="(news, idx) in sourceList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
<li v-for="(news, idx) in sourceList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
||||||
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
|
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
|
||||||
<span>{{news.newsContentPublishTime}}</span>
|
<span>{{news.newsContentPublishTime}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
<div class="notice-list">
|
<div class="notice-list">
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="(news, idx) in policiesList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
<li v-for="(news, idx) in policiesList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
||||||
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
|
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
|
||||||
<span>{{news.newsContentPublishTime}}</span>
|
<span>{{news.newsContentPublishTime}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -62,7 +62,7 @@ export default {
|
|||||||
if (type === '6') {
|
if (type === '6') {
|
||||||
window.open(outlink)
|
window.open(outlink)
|
||||||
} else {
|
} else {
|
||||||
window.location.href = this.url + '/' +url
|
window.open(this.url + '/' +url)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
checkSourceMore: function () {
|
checkSourceMore: function () {
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<div class="right-content news-list">
|
<div class="right-content news-list">
|
||||||
<ul v-if="hasData">
|
<ul v-if="hasData">
|
||||||
<li v-for="(news, idx) in lawList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
<li v-for="(news, idx) in lawList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
||||||
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
|
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
|
||||||
<span>{{news.newsContentPublishTime}}</span>
|
<span>{{news.newsContentPublishTime}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -107,7 +107,7 @@ export default {
|
|||||||
if (type === '6') {
|
if (type === '6') {
|
||||||
window.open(outlink)
|
window.open(outlink)
|
||||||
} else {
|
} else {
|
||||||
window.location.href = this.url + '/' +url
|
window.location.href = this.requestUrl + '/' +url
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getLawList: function () {
|
getLawList: function () {
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
<div class="right-content news-list">
|
<div class="right-content news-list">
|
||||||
<ul v-if="hasData">
|
<ul v-if="hasData">
|
||||||
<li v-for="(news, idx) in noticeList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
<li v-for="(news, idx) in noticeList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
||||||
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
|
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
|
||||||
<span>{{news.newsContentPublishTime}}</span>
|
<span>{{news.newsContentPublishTime}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -89,7 +89,7 @@ export default {
|
|||||||
tab: 0,
|
tab: 0,
|
||||||
page: {
|
page: {
|
||||||
page: 1,
|
page: 1,
|
||||||
rows: 1,
|
rows: 10,
|
||||||
totalPage: 10,
|
totalPage: 10,
|
||||||
newsDirectoriesId: '',
|
newsDirectoriesId: '',
|
||||||
keywords: '',
|
keywords: '',
|
||||||
@ -116,7 +116,7 @@ export default {
|
|||||||
if (type === '6') {
|
if (type === '6') {
|
||||||
window.open(outlink)
|
window.open(outlink)
|
||||||
} else {
|
} else {
|
||||||
window.location.href = this.url + '/' +url
|
window.location.href = this.requestUrl + '/' +url
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
changeTab: function (tab) {
|
changeTab: function (tab) {
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<div class="right-content news-list">
|
<div class="right-content news-list">
|
||||||
<ul v-if="hasData">
|
<ul v-if="hasData">
|
||||||
<li v-for="(news, idx) in recruitList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
<li v-for="(news, idx) in recruitList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
||||||
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
|
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
|
||||||
<span>{{news.newsContentPublishTime}}</span>
|
<span>{{news.newsContentPublishTime}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -107,7 +107,7 @@ export default {
|
|||||||
if (type === '6') {
|
if (type === '6') {
|
||||||
window.open(outlink)
|
window.open(outlink)
|
||||||
} else {
|
} else {
|
||||||
window.location.href = this.url + '/' +url
|
window.location.href = this.requestUrl + '/' +url
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getRecruitList: function () {
|
getRecruitList: function () {
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<div class="right-content news-list">
|
<div class="right-content news-list">
|
||||||
<ul v-if="hasData">
|
<ul v-if="hasData">
|
||||||
<li v-for="(news, idx) in sourceList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
<li v-for="(news, idx) in sourceList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
|
||||||
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
|
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
|
||||||
<span>{{news.newsContentPublishTime}}</span>
|
<span>{{news.newsContentPublishTime}}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -107,7 +107,7 @@ export default {
|
|||||||
if (type === '6') {
|
if (type === '6') {
|
||||||
window.open(outlink)
|
window.open(outlink)
|
||||||
} else {
|
} else {
|
||||||
window.location.href = this.url + '/' +url
|
window.location.href = this.requestUrl + '/' +url
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getSourceList: function () {
|
getSourceList: function () {
|
||||||
|
@ -18,7 +18,8 @@ export default new Router({
|
|||||||
name: 'Index',
|
name: 'Index',
|
||||||
component: Index,
|
component: Index,
|
||||||
meta: {
|
meta: {
|
||||||
title: '北京明世纪元'
|
title: '北京明世纪元',
|
||||||
|
keepAlive: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user