升级版本
This commit is contained in:
parent
4500458826
commit
19a89efb8e
@ -26,8 +26,8 @@ module.exports = {
|
||||
},
|
||||
|
||||
// Various Dev Server settings
|
||||
host: '192.168.1.150', // can be overwritten by process.env.HOST
|
||||
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
||||
host: '192.168.2.103', // can be overwritten by process.env.HOST
|
||||
port: 8989, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
||||
autoOpenBrowser: false,
|
||||
errorOverlay: true,
|
||||
notifyOnErrors: true,
|
||||
|
24443
package-lock.json
generated
24443
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -21,6 +21,7 @@
|
||||
"js-base64": "^2.5.2",
|
||||
"layui-laydate": "^5.0.9",
|
||||
"layui-layer": "^1.0.9",
|
||||
"md5": "^2.3.0",
|
||||
"stylus": "^0.54.7",
|
||||
"stylus-loader": "^3.0.2",
|
||||
"viewerjs": "^1.5.0",
|
||||
|
@ -5,15 +5,15 @@
|
||||
<span>您好,欢迎访问日喀则市公共文化云!</span>
|
||||
<div class="login-register-btn" v-if="isLogin">
|
||||
<router-link to="/personCenter">
|
||||
<img :src="'https://www.wgink.ink/usercenter/route/file/downloadfile/false/' + userInfo.avatar" alt="" v-if="hasAvatar" class="user-avatar">
|
||||
<img :src="url + '/route/file/downloadfile/false/' + userInfo.avatar" alt="" v-if="hasAvatar" class="user-avatar">
|
||||
<img src="@/assets/images/avatar.png" alt="" class="user-avatar" v-else>
|
||||
{{userInfo.name}}
|
||||
{{ userInfo.name }}
|
||||
</router-link>
|
||||
<button @click="doLogout">退出登录</button>
|
||||
</div>
|
||||
<div class="login-register-btn" v-else>
|
||||
<router-link to="/login" class="login" >登录</router-link>
|
||||
<router-link to="/register" >注册</router-link>
|
||||
<router-link to="/login" class="login">登录</router-link>
|
||||
<router-link to="/register">注册</router-link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -31,62 +31,62 @@
|
||||
<div class="nav">
|
||||
<ul class="nav-container">
|
||||
<li :class="{active: this.$route.path == '/'}">
|
||||
<router-link to="/" >
|
||||
<router-link to="/">
|
||||
首页
|
||||
</router-link>
|
||||
</li>
|
||||
<li :class="{active: this.$route.path == '/dynamics' || this.$route.path == '/dynamicsDetail/' + this.$route.params.id}">
|
||||
<router-link to="/dynamics" >
|
||||
<router-link to="/dynamics">
|
||||
文化动态
|
||||
</router-link>
|
||||
</li>
|
||||
<li :class="{active: this.$route.path == '/cultureActivity' || this.$route.path == '/cultureActivityDetail/' + this.$route.params.id}">
|
||||
<router-link to="/cultureActivity" >
|
||||
<router-link to="/cultureActivity">
|
||||
文化活动
|
||||
</router-link>
|
||||
</li>
|
||||
<li :class="{active: this.$route.path == '/cultureVenue' || this.$route.path == '/cultureVenueDetail/' + this.$route.params.id}">
|
||||
<router-link to="/cultureVenue" >
|
||||
<router-link to="/cultureVenue">
|
||||
文化场馆
|
||||
</router-link>
|
||||
</li>
|
||||
<li :class="{active: this.$route.path == '/artTrain' || this.$route.path == '/artTrainDetail/' + this.$route.params.id}">
|
||||
<router-link to="/artTrain" >
|
||||
<router-link to="/artTrain">
|
||||
在线培训
|
||||
</router-link>
|
||||
</li>
|
||||
<li :class="{active: this.$route.path == '/broadcast' || this.$route.path == '/broadcastDetail/' + this.$route.params.id}">
|
||||
<router-link to="/broadcast" >
|
||||
<router-link to="/broadcast">
|
||||
共享直播
|
||||
</router-link>
|
||||
</li>
|
||||
<li :class="{active: this.$route.path == '/resource' || this.$route.path == '/bookPdf'}">
|
||||
<router-link to="/resource" >
|
||||
<router-link to="/resource">
|
||||
数图资源
|
||||
</router-link>
|
||||
</li>
|
||||
<li :class="{active: this.$route.path == '/volunteer' || this.$route.path == '/volunteerDetail/' + this.$route.params.id}">
|
||||
<router-link to="/volunteer" >
|
||||
<router-link to="/volunteer">
|
||||
志愿服务
|
||||
</router-link>
|
||||
</li>
|
||||
<li :class="{active: this.$route.path == '/exhibition' || this.$route.path == '/exhibitionDetail/' + this.$route.params.id}">
|
||||
<router-link to="/exhibition" >
|
||||
<router-link to="/exhibition">
|
||||
展览展示
|
||||
</router-link>
|
||||
</li>
|
||||
<li :class="{active: this.$route.path == '/travel' || this.$route.path == '/travelDetail/' + this.$route.params.id}">
|
||||
<router-link to="/travel" >
|
||||
<router-link to="/travel">
|
||||
文化旅游
|
||||
</router-link>
|
||||
</li>
|
||||
<li :class="{active: this.$route.path == '/intangibleHeritage' || this.$route.path == '/intangibleHeritageDetail/' + this.$route.params.id}">
|
||||
<router-link to="/intangibleHeritage" >
|
||||
<router-link to="/intangibleHeritage">
|
||||
非遗清单
|
||||
</router-link>
|
||||
</li>
|
||||
<li :class="{active: this.$route.path == '/cultureMap'}">
|
||||
<router-link to="/cultureMap" >
|
||||
<router-link to="/cultureMap">
|
||||
文化地图
|
||||
</router-link>
|
||||
</li>
|
||||
@ -97,11 +97,14 @@
|
||||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import common from '@/common/components/common.js'
|
||||
|
||||
export default {
|
||||
name: 'Header',
|
||||
data () {
|
||||
return {
|
||||
keywords: '',
|
||||
url: common.url,
|
||||
isLogin: false,
|
||||
userInfo: {}
|
||||
}
|
||||
@ -113,7 +116,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
doSearch: function () {
|
||||
const { href } = this.$router.resolve({
|
||||
const {href} = this.$router.resolve({
|
||||
path: '/searchResult',
|
||||
query: {
|
||||
keywords: this.keywords
|
||||
@ -126,7 +129,7 @@ export default {
|
||||
var self = this
|
||||
var token = window.sessionStorage.getItem('token')
|
||||
if (token) {
|
||||
axios.get('https://www.wgink.ink/usercenter/app/user/getappuser', {
|
||||
axios.get(self.url + 'app/user/get-app-user', {
|
||||
headers: {
|
||||
token: token
|
||||
}
|
||||
@ -169,25 +172,32 @@ export default {
|
||||
background $main-color
|
||||
height 40px
|
||||
line-height 40px
|
||||
|
||||
.top-line-content
|
||||
width 1200px
|
||||
margin 0 auto
|
||||
|
||||
span
|
||||
font-size 14px
|
||||
color #fff
|
||||
|
||||
.login-register-btn
|
||||
float right
|
||||
|
||||
a
|
||||
font-size 14px
|
||||
color #fff
|
||||
|
||||
img
|
||||
width 30px
|
||||
height 30px
|
||||
margin-top 5px
|
||||
margin-right 5px
|
||||
border-radius 50%
|
||||
|
||||
&.login
|
||||
margin-right 20px
|
||||
|
||||
button
|
||||
background none
|
||||
border none
|
||||
@ -195,25 +205,31 @@ export default {
|
||||
font-size 14px
|
||||
color #fff
|
||||
cursor pointer
|
||||
|
||||
.header
|
||||
width 1200px
|
||||
margin 0 auto
|
||||
|
||||
.logo-search
|
||||
overflow hidden
|
||||
padding 10px 0
|
||||
width 100%
|
||||
|
||||
.logo
|
||||
display block
|
||||
float left
|
||||
|
||||
.logo-img
|
||||
width 485px
|
||||
height 77px
|
||||
|
||||
.search
|
||||
float right
|
||||
font-size 0
|
||||
border-radius 5px
|
||||
overflow hidden
|
||||
margin-top 7px
|
||||
|
||||
.search-input
|
||||
width 200px
|
||||
height 30px
|
||||
@ -227,6 +243,7 @@ export default {
|
||||
font-size 14px
|
||||
vertical-align top
|
||||
font-family 'zangwen'
|
||||
|
||||
.search-btn
|
||||
font-family 'zangwen'
|
||||
border none
|
||||
@ -236,13 +253,16 @@ export default {
|
||||
height 30px
|
||||
color #fff
|
||||
cursor pointer
|
||||
|
||||
.nav
|
||||
margin 10px 0 0
|
||||
background #FAFAFA
|
||||
|
||||
.nav-container
|
||||
width 1200px
|
||||
margin 0 auto
|
||||
overflow hidden
|
||||
|
||||
li
|
||||
float left
|
||||
width 100px
|
||||
@ -251,10 +271,13 @@ export default {
|
||||
text-align center
|
||||
font-family 'zangwen'
|
||||
border-bottom 2px solid transparent
|
||||
|
||||
&:hover
|
||||
border-bottom 2px solid $main-color
|
||||
|
||||
&.active
|
||||
border-bottom 2px solid $main-color
|
||||
|
||||
a
|
||||
display block
|
||||
</style>
|
||||
|
@ -1,4 +1,6 @@
|
||||
const url = 'https://www.wgink.ink/'
|
||||
const url = 'http://127.0.0.1:8081/xzszwhy/'
|
||||
const liveUrl = 'https://www.xzszwhy.cn/'
|
||||
export default {
|
||||
url
|
||||
url,
|
||||
liveUrl
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
<ul v-if="list.innerList.length > 0">
|
||||
<li v-for="(inner,idx) in list.innerList" :key="idx" @click="goDetail(inner.newsContentLink, inner.templateRecordUrl)" :title="inner.newsContentTitle">
|
||||
<div class="recommend-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + inner.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + inner.newsContentCoverList" alt="">
|
||||
<img src="@/assets/images/play.png" alt="" class="play-btn">
|
||||
</div>
|
||||
<div class="recommend-info">
|
||||
@ -75,7 +75,7 @@ export default {
|
||||
methods: {
|
||||
getType: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newsdirectories/listnewsdirectoriesrelease', {
|
||||
axios.get(self.url + 'app/newsdirectories/listnewsdirectoriesrelease', {
|
||||
params: {
|
||||
directoriesParentId: 'd9d8c7ea-32e0-43ed-ad17-7c99a3c389b9'
|
||||
}
|
||||
@ -90,7 +90,7 @@ export default {
|
||||
getNewsList: function (item) {
|
||||
var self = this
|
||||
self.isLoading = true
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: {
|
||||
page: 1,
|
||||
rows: 8,
|
||||
|
@ -20,7 +20,7 @@
|
||||
<ul v-if="hasData">
|
||||
<li v-for="(list,idx) in classList" :key="idx" @click="goDetail(list.templateRecordUrl)">
|
||||
<div class="volunteer-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
</div>
|
||||
<div class="volunteer-info">
|
||||
<h3>{{list.newsContentTitle}}</h3>
|
||||
@ -127,7 +127,7 @@ export default {
|
||||
getType: function () {
|
||||
var self = this
|
||||
this.isLoading = true
|
||||
axios.get(self.url + 'news/app/newsdirectories/listnewsdirectoriesrelease', {
|
||||
axios.get(self.url + 'app/newsdirectories/listnewsdirectoriesrelease', {
|
||||
params: {
|
||||
directoriesParentId: 'd9d8c7ea-32e0-43ed-ad17-7c99a3c389b9'
|
||||
}
|
||||
@ -138,7 +138,7 @@ export default {
|
||||
},
|
||||
getList: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
for (var i = 0; i < res.data.rows.length; i++) {
|
||||
|
@ -69,6 +69,7 @@ export default {
|
||||
totalPage: 1
|
||||
},
|
||||
url: common.url,
|
||||
liveUrl: common.liveUrl,
|
||||
isLoading: false
|
||||
}
|
||||
},
|
||||
@ -101,7 +102,7 @@ export default {
|
||||
getBoradcastList: function () {
|
||||
var self = this
|
||||
self.isLoading = true
|
||||
axios.get(self.url + 'live/app/liveplan/listliveplanrelease').then(function (res) {
|
||||
axios.get(self.liveUrl + 'live/app/liveplan/listliveplanrelease').then(function (res) {
|
||||
self.isLoading = false
|
||||
self.broadcast = res.data
|
||||
self.selectedList = res.data
|
||||
|
@ -79,7 +79,7 @@ export default {
|
||||
},
|
||||
getBroadcastDetail: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'live/app/liveplan/getliveplanbyidrelease/' + self.$route.params.id).then(function (res) {
|
||||
axios.get(self.url + 'app/liveplan/getliveplanbyidrelease/' + self.$route.params.id).then(function (res) {
|
||||
self.broadcastData = res.data
|
||||
if (res.data.liveStatus !== '2') {
|
||||
self.getVideo()
|
||||
@ -90,7 +90,7 @@ export default {
|
||||
},
|
||||
getVideo: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'live/app/liverecord/listliverecordrelease/' + self.$route.params.id).then(function (res) {
|
||||
axios.get(self.url + 'app/liverecord/listliverecordrelease/' + self.$route.params.id).then(function (res) {
|
||||
self.videoList = res.data
|
||||
self.selectedVideo = res.data[0]
|
||||
self.selectedVideo.videoSrc = self.selectedVideo.recordFilePath
|
||||
|
@ -11,7 +11,7 @@
|
||||
<div class="select-line">
|
||||
<span>活动类别> </span>
|
||||
<button :class="{active: page.activityType == ''}" @click="loadAll">全部</button>
|
||||
<button v-for="(btn,idx) in typeList" :key="idx" :class="{active: page.activityType == btn.dictionaryId}" @click="changeTab(btn.dictionaryId)">{{btn.dictionaryName}}</button>
|
||||
<button v-for="(btn,idx) in typeList" :key="idx" :class="{active: page.activityType == btn.dataId}" @click="changeTab(btn.dataId)">{{btn.dataName}}</button>
|
||||
</div>
|
||||
<div class="select-line">
|
||||
<span>选择区域></span>
|
||||
@ -27,7 +27,7 @@
|
||||
<ul class="service-container" v-if="hasData">
|
||||
<router-link :to="{path: '/cultureActivityDetail/' + list.activityLibraryId}" tag="li" class="service-list" v-for="(list,idx) in activityList" :key="idx" :title="list.activityTitle">
|
||||
<div class="service-img-box">
|
||||
<img :src="url + 'culturalactivity/route/file/downloadfile/false/' + list.activityImage" alt="" class="service-img">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.activityImage" alt="" class="service-img">
|
||||
</div>
|
||||
<div class="service-info">
|
||||
<h3 class="service-name">{{list.activityTitle}}</h3>
|
||||
@ -140,14 +140,14 @@ export default {
|
||||
},
|
||||
getType: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'culturalactivity/app/dictionaryself/listdictionarybyparentidrelease/e36ad682-c6b4-44fe-a05c-889a5ff7c284').then(function (res) {
|
||||
axios.get(self.url + 'app/data/listbyparentidrelease/e36ad682-c6b4-44fe-a05c-889a5ff7c284').then(function (res) {
|
||||
self.typeList = res.data
|
||||
})
|
||||
},
|
||||
getActivityList: function () {
|
||||
var self = this
|
||||
self.isLoading = true
|
||||
axios.get(self.url + 'culturalactivity/app/activitylibrary/listpageactivitylibraryfornetrelease', {
|
||||
axios.get(self.url + 'app/activitylibrary/listpageactivitylibraryfornetrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
var result = res.data.rows
|
||||
@ -170,7 +170,7 @@ export default {
|
||||
},
|
||||
getAreaList: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'usercenter/app/dataarea/listareabyparentidrelease/640675').then(function (res) {
|
||||
axios.get(self.url + 'app/area/listbyparentidrelease/640675').then(function (res) {
|
||||
self.areaList = res.data
|
||||
})
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
<div class="activity-img">
|
||||
<swiper ref="mySwiper" :options="swiperOptions">
|
||||
<swiper-slide v-for="banner in activityDetail.activityImage" :key="banner.id" class="swiper-box">
|
||||
<img :src="url + 'culturalactivity/route/file/downloadfile/false/' + banner" alt="" class="banner-img">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + banner" alt="" class="banner-img">
|
||||
</swiper-slide>
|
||||
<!--<div class="swiper-pagination" slot="pagination"></div>-->
|
||||
</swiper>
|
||||
@ -108,14 +108,14 @@ export default {
|
||||
methods: {
|
||||
getActivityDetail: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'culturalactivity/app/activitylibrary/getactivitylibrarybyidrelease/' + self.$route.params.id).then(function (res) {
|
||||
axios.get(self.url + 'app/activitylibrary/getactivitylibrarybyidrelease/' + self.$route.params.id).then(function (res) {
|
||||
res.data.activityImage = res.data.activityImage.split(',')
|
||||
self.activityDetail = res.data
|
||||
})
|
||||
},
|
||||
getActivityDetailToken: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'culturalactivity/app/activitylibrary/getactivitylibrarybyid/' + self.$route.params.id, {
|
||||
axios.get(self.url + 'app/activitylibrary/getactivitylibrarybyid/' + self.$route.params.id, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -151,7 +151,7 @@ export default {
|
||||
self.$layer.msg('此身份证号已报名')
|
||||
}
|
||||
self.signInfo.activityId = self.activityDetail.activityLibraryId
|
||||
axios.post(self.url + 'culturalactivity/app/activityuserapply/saveactivityuserapplyrelease', self.signInfo, {
|
||||
axios.post(self.url + 'app/activityuserapply/saveactivityuserapplyrelease', self.signInfo, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -179,7 +179,7 @@ export default {
|
||||
self.$layer.msg('手机号不能为空')
|
||||
return false
|
||||
}
|
||||
axios.get(self.url + 'culturalactivity/app/activityuserapply/saveSmsCoderelease/' + self.signInfo.userPhone).then(function (res) {
|
||||
axios.get(self.url + 'app/activityuserapply/saveSmsCoderelease/' + self.signInfo.userPhone).then(function (res) {
|
||||
if (res.status === 200) {
|
||||
self.gotCode = true
|
||||
self.restTime = 120
|
||||
|
@ -28,7 +28,7 @@
|
||||
<ul v-if="hasData">
|
||||
<li v-for="(list,idx) in requestList" :key="idx" @click="goDetail(list.newsContentLink, list.templateRecordUrl)" :title="list.newsContentTitle">
|
||||
<div class="dynamics-list-left">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
</div>
|
||||
<div class="dynamics-list-right">
|
||||
<h3>{{list.newsContentTitle}}</h3>
|
||||
@ -141,7 +141,7 @@ export default {
|
||||
getNews: function () {
|
||||
var self = this
|
||||
self.isLoading = true
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
for (var i = 0; i < res.data.rows.length; i++) {
|
||||
@ -167,7 +167,7 @@ export default {
|
||||
},
|
||||
getTypeList: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newsdirectories/listnewsdirectoriesrelease', {
|
||||
axios.get(self.url + 'app/newsdirectories/listnewsdirectoriesrelease', {
|
||||
params: {
|
||||
directoriesParentId: 'f497904b-7727-4832-891c-604c36ae4167'
|
||||
}
|
||||
@ -187,7 +187,7 @@ export default {
|
||||
},
|
||||
getAreaList: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'usercenter/app/dataarea/listareabyparentidrelease/640675').then(function (res) {
|
||||
axios.get(self.url + 'app/area/listbyparentidrelease/640675').then(function (res) {
|
||||
self.areaList = res.data
|
||||
})
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ export default {
|
||||
methods: {
|
||||
getNewsDetail: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/getnewscontentbyidrelease/' + this.$route.params.id).then(function (res) {
|
||||
axios.get(self.url + 'app/newscontent/getnewscontentbyidrelease/' + this.$route.params.id).then(function (res) {
|
||||
})
|
||||
}
|
||||
},
|
||||
|
@ -123,7 +123,7 @@ export default {
|
||||
},
|
||||
getPointe: function () {
|
||||
var self = this
|
||||
axios.get(self.url + '/venuebooking/app/venuesmap/listrangevenuesinforelease').then(function (res) {
|
||||
axios.get(self.url + 'app/venuesmap/listrangevenuesinforelease').then(function (res) {
|
||||
for (var i = 0; i < res.data.data.length; i++) {
|
||||
var p = new BMap.Point(res.data.data[i].longitude, res.data.data[i].latitude)
|
||||
self.arrayList.push(p)
|
||||
|
@ -139,20 +139,20 @@ export default {
|
||||
},
|
||||
getTypeList: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'venuebooking/app/venuedictionary/listvenuedictionarybyparentidrelease/df8b758c-f6d8-465a-9aa8-c451fde47076').then(function (res) {
|
||||
axios.get(self.url + 'app/venuedictionary/listvenuedictionarybyparentidrelease/df8b758c-f6d8-465a-9aa8-c451fde47076').then(function (res) {
|
||||
self.typeList = res.data.data
|
||||
})
|
||||
},
|
||||
getAreaList: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'usercenter/app/dataarea/listareabyparentidrelease/640675').then(function (res) {
|
||||
axios.get(self.url + 'app/area/listbyparentidrelease/640675').then(function (res) {
|
||||
self.areaList = res.data
|
||||
})
|
||||
},
|
||||
getVenueList: function () {
|
||||
var self = this
|
||||
self.isLoading = true
|
||||
axios.get(self.url + 'venuebooking/app/venuesinfo/listpagevenuesinforelease', {
|
||||
axios.get(self.url + 'app/venuesinfo/listpagevenuesinforelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
for (var i = 0; i < res.data.rows.length; i++) {
|
||||
|
@ -171,7 +171,7 @@ export default {
|
||||
// 获取场馆信息
|
||||
getVenueDetail: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'venuebooking/app/venuesinfo/getvenuesinfobyidrelease/' + self.$route.params.id).then(function (res) {
|
||||
axios.get(self.url + 'app/venuesinfo/getvenuesinfobyidrelease/' + self.$route.params.id).then(function (res) {
|
||||
if (res.data.venueDescription.indexOf('src="') !== -1) {
|
||||
res.data.venueDescription = res.data.venueDescription.replace(/src="/g, self.url + 'venuebooking/')
|
||||
}
|
||||
@ -184,7 +184,7 @@ export default {
|
||||
// 获取项目列表
|
||||
getProject: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'venuebooking/app/venuesproject/listprojectinforelease/' + self.$route.params.id).then(function (res) {
|
||||
axios.get(self.url + 'app/venuesproject/listprojectinforelease/' + self.$route.params.id).then(function (res) {
|
||||
self.project = res.data
|
||||
self.changeProject(self.project[0].projectName, self.project[0].venuesProjectId)
|
||||
})
|
||||
@ -196,7 +196,7 @@ export default {
|
||||
self.selectedProject.venuesProjectId = id
|
||||
self.selectedList = []
|
||||
self.resetDate()
|
||||
axios.get(self.url + 'venuebooking/app/booking/listgrouninfoanditemrelease/' + id).then(function (res) {
|
||||
axios.get(self.url + 'app/booking/listgrouninfoanditemrelease/' + id).then(function (res) {
|
||||
self.ground = res.data.data
|
||||
self.selectedGround.groundInfoId = res.data.data[0].groundInfoId
|
||||
self.selectedGround.groundName = res.data.data[0].groundName
|
||||
@ -362,7 +362,7 @@ export default {
|
||||
smsCode: this.verificationCodeInfo.verificationCode
|
||||
}
|
||||
var token = window.sessionStorage.getItem('token')
|
||||
axios.post(self.url + 'venuebooking/app/booking/savebookinginfo', orderInfo, {
|
||||
axios.post(self.url + 'app/booking/savebookinginfo', orderInfo, {
|
||||
headers: {
|
||||
'token': token
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
<ul v-if="hasData">
|
||||
<li v-for="(list,idx) in exhibition" :key="idx" @click="goDetail(list.newsContentLink, list.templateRecordUrl)" :title="list.newsContentTitle">
|
||||
<div class="exhibition-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
</div>
|
||||
<div class="exhibition-info">
|
||||
<h1>{{list.newsContentTitle}}</h1>
|
||||
@ -113,7 +113,7 @@ export default {
|
||||
},
|
||||
getTypeList: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newsdirectories/listnewsdirectoriesrelease', {
|
||||
axios.get(self.url + 'app/newsdirectories/listnewsdirectoriesrelease', {
|
||||
params: {
|
||||
directoriesParentId: 'f1d5d313-f728-4dda-9843-1116d97e17b0'
|
||||
}
|
||||
@ -139,7 +139,7 @@ export default {
|
||||
getList: function () {
|
||||
var self = this
|
||||
self.isLoading = true
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
for (var i = 0; i < res.data.rows.length; i++) {
|
||||
|
@ -20,6 +20,7 @@ import IndexVideo from './components/IndexVideo'
|
||||
import Footer from '@/common/components/Footer'
|
||||
import axios from 'axios'
|
||||
import common from '@/common/components/common.js'
|
||||
|
||||
export default {
|
||||
name: 'Index',
|
||||
components: {
|
||||
@ -72,7 +73,7 @@ export default {
|
||||
methods: {
|
||||
getDynamicsList: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: self.dynamicsPage
|
||||
}).then(function (res) {
|
||||
var picNews = res.data.rows.splice(0, 1)[0]
|
||||
@ -91,7 +92,7 @@ export default {
|
||||
},
|
||||
getActivityList: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'culturalactivity/app/activitylibrary/listpageactivitylibraryfornetrelease', {
|
||||
axios.get(self.url + 'app/activitylibrary/listpageactivitylibraryfornetrelease', {
|
||||
params: self.activityPage
|
||||
}).then(function (res) {
|
||||
self.activityList = res.data.rows
|
||||
@ -99,7 +100,7 @@ export default {
|
||||
},
|
||||
getLiterature: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: self.literaturePage
|
||||
}).then(function (res) {
|
||||
for (var i = 0; i < res.data.rows.length; i++) {
|
||||
@ -110,7 +111,7 @@ export default {
|
||||
},
|
||||
getExhibition: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: self.exhibitionPage
|
||||
}).then(function (res) {
|
||||
for (var i = 0; i < res.data.rows.length; i++) {
|
||||
@ -121,7 +122,7 @@ export default {
|
||||
},
|
||||
getSwiper: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: {
|
||||
page: 1,
|
||||
rows: 3,
|
||||
|
@ -9,7 +9,7 @@
|
||||
<swiper :options="swiperOption" v-if="literature && literature.length > 0">
|
||||
<swiper-slide class="slide-box" v-for="(list,idx) in literature" :key="idx">
|
||||
<div class="digital-slide-box" @click="goDetail(list.newsContentLink, list.templateRecordUrl)" :title="list.newsContentTitle">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="" class="digital-slide-img">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="" class="digital-slide-img">
|
||||
<p class="digital-slide-desc">{{list.newsContentTitle}}</p>
|
||||
</div>
|
||||
</swiper-slide>
|
||||
@ -49,7 +49,7 @@ export default {
|
||||
totalPage: 1,
|
||||
newsDirectoriesId: '',
|
||||
newsDirectoriesParentId: '98c74389-2088-499b-a046-8611bdc57ea4'
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@ -62,7 +62,7 @@ export default {
|
||||
},
|
||||
getLiterature: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: self.literaturePage
|
||||
}).then(function (res) {
|
||||
for (var i = 0; i < res.data.rows.length; i++) {
|
||||
|
@ -8,7 +8,7 @@
|
||||
<div class="dynamic-content">
|
||||
<div class="dynamic-content-left">
|
||||
<div class="dynamic-left-box" @click="goDetail(dynamic.picNews.newsContentLink, dynamic.picNews.templateRecordUrl)">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + dynamic.picNews.newsContentCoverList" alt="" class="dynamic-img">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + dynamic.picNews.newsContentCoverList" alt="" class="dynamic-img">
|
||||
</div>
|
||||
<p class="dynamic-desc">{{dynamic.picNews.newsContentTitle}} </p>
|
||||
</div>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<ul class="service-container">
|
||||
<router-link :to="{path: '/cultureActivityDetail/' + list.activityLibraryId}" tag="li" :title="list.activityTitle" class="service-list" v-for="(list,idx) in activityList" :key="idx">
|
||||
<div class="service-img-box">
|
||||
<img :src="url + 'culturalactivity/route/file/downloadfile/false/' + list.activityImage" alt="" class="service-img">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.activityImage" alt="" class="service-img">
|
||||
</div>
|
||||
<div class="service-info">
|
||||
<h3 class="service-name">{{list.activityTitle}}</h3>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<ul>
|
||||
<li v-for="(list,idx) in exhibition" :key="idx" @click="goDetail(list.newsContentLink, list.templateRecordUrl)" :title="list.newsContentTitle">
|
||||
<div class="exhibition-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
</div>
|
||||
<div class="exhibition-info">
|
||||
<h1>{{list.newsContentTitle}}</h1>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div class="index-swiper">
|
||||
<swiper ref="mySwiper" :options="swiperOptions" class="swiper-outer" v-if="swiperList && swiperList.length > 0">
|
||||
<swiper-slide class="swiper-box" v-for="(swiper,idx) in swiperList" :key="idx">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + swiper.newsContentCoverList" alt="" class="banner-img" @click="goDetail(swiper.templateRecordUrl)">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + swiper.newsContentCoverList" alt="" class="banner-img" @click="goDetail(swiper.templateRecordUrl)">
|
||||
</swiper-slide>
|
||||
<div class="swiper-pagination" slot="pagination"></div>
|
||||
</swiper>
|
||||
|
@ -127,7 +127,7 @@ export default {
|
||||
getHeritageInfo () {
|
||||
var self = this
|
||||
self.isLoading = true
|
||||
axios.get(self.url + 'library/app/intangiblelibrary/listpageintangiblelibraryrelease', {
|
||||
axios.get(self.url + 'app/intangiblelibrary/listpageintangiblelibraryrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
if (res.status === 200) {
|
||||
@ -144,7 +144,7 @@ export default {
|
||||
},
|
||||
getAreaList: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'usercenter/app/dataarea/listareabyparentidrelease/640675').then(function (res) {
|
||||
axios.get(self.url + 'app/area/listbyparentidrelease/640675').then(function (res) {
|
||||
self.areaList = res.data
|
||||
})
|
||||
},
|
||||
|
@ -90,7 +90,7 @@ export default {
|
||||
methods: {
|
||||
getHeritageDetail () {
|
||||
var self = this
|
||||
axios.get(self.url + 'library/app/intangiblelibrary/getintangiblelibrarybyidrelease/' + this.$route.params.id).then(function (res) {
|
||||
axios.get(self.url + 'app/intangiblelibrary/getintangiblelibrarybyidrelease/' + this.$route.params.id).then(function (res) {
|
||||
res.data.libraryCover = res.data.libraryCover.split(',')
|
||||
self.heritageDetail = res.data
|
||||
self.getPeopleList()
|
||||
@ -98,7 +98,7 @@ export default {
|
||||
},
|
||||
getPeopleList () {
|
||||
var self = this
|
||||
axios.get(self.url + 'library/app/intangiblelibraryperson/listintangiblelibrarypersonrelease', {
|
||||
axios.get(self.url + 'app/intangiblelibraryperson/listintangiblelibrarypersonrelease', {
|
||||
params: {
|
||||
intangibleLibraryId: this.$route.params.id
|
||||
}
|
||||
|
@ -26,6 +26,7 @@
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import common from '@/common/components/common.js'
|
||||
import md5 from 'md5'
|
||||
import layer from 'vue-layer'
|
||||
export default {
|
||||
name: 'Login',
|
||||
@ -45,7 +46,10 @@ export default {
|
||||
submitLogin: function () {
|
||||
var self = this
|
||||
self.isLoading = true
|
||||
axios.post(self.url + 'usercenter/app/sign/login', self.loginInfo, {
|
||||
axios.post(self.url + 'app/sign/default', {
|
||||
username: self.loginInfo.username,
|
||||
password: md5(md5(md5(self.loginInfo.password)))
|
||||
}, {
|
||||
headers: {
|
||||
'Access-Control-Allow-Origin': '*'
|
||||
}
|
||||
@ -56,7 +60,7 @@ export default {
|
||||
self.$layer.msg('登录成功')
|
||||
setTimeout(function () {
|
||||
self.$router.go(-1)
|
||||
}, 1500)
|
||||
}, 1000)
|
||||
}
|
||||
}).catch(function (error) {
|
||||
self.$layer.msg(error.response.data.msg)
|
||||
|
@ -45,24 +45,95 @@
|
||||
<td width="20%">邮箱:</td>
|
||||
<td width="80%"><input type="text" v-model="appUser.email"></td>
|
||||
</tr>
|
||||
<tr v-for="(list,idx) in tableList" :key="idx" v-if="list.fieldType != 'join'">
|
||||
<td>{{list.fieldExplain}}:</td>
|
||||
<td>
|
||||
<input type="text" v-if="list.fieldType == 'string'" v-model="tableList[idx].value">
|
||||
<input type="text" v-if="list.fieldType == 'date'" :id="'dateInput' + idx" v-model="tableList[idx].value">
|
||||
<textarea v-if="list.fieldType == 'textarea'" v-model="tableList[idx].value"></textarea>
|
||||
<select v-if="list.fieldType == 'select'" v-model="tableList[idx].value">
|
||||
<option :value="select.dictionaryId" v-for="(select,index) in list.inner" :key="'select' + index">{{select.dictionaryName}}</option>
|
||||
<tr>
|
||||
<td width="20%">姓名:</td>
|
||||
<td width="80%"><input type="text" v-model="appUser.userRealName"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">性别:</td>
|
||||
<td width="80%">
|
||||
<select v-model="appUser.userSex" @change="onUserSexChange($event)">
|
||||
<option value="">请选择</option>
|
||||
<option :value="data.dataId" v-for="(data,idx) in userSexArray" :key="idx">{{data.dataName}}</option>
|
||||
</select>
|
||||
<div v-for="(radio, count) in list.inner" :key="count" v-if="list.fieldType == 'radio'" class="radio-box">
|
||||
<input type="radio" :id="'radio' + count" :name="list.fieldType" v-model="tableList[idx].value" :value="radio.dictionaryName">
|
||||
<label :for="'radio' + count">
|
||||
<i class="iconfont icon-xuanzhong" :class="{active: radio.dictionaryName == tableList[idx].value}"></i>
|
||||
{{radio.dictionaryName}}
|
||||
</label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">身份证:</td>
|
||||
<td width="80%"><input type="text" v-model="appUser.userIdCard"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">生日:</td>
|
||||
<td width="80%"><input type="text" v-model="appUser.userBirth"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">民族:</td>
|
||||
<td width="80%">
|
||||
<select v-model="appUser.userNation" @change="onUserNationChange($event)">
|
||||
<option value="">请选择</option>
|
||||
<option :value="data.dataId" v-for="(data,idx) in userNationArray" :key="idx">{{data.dataName}}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">籍贯:</td>
|
||||
<td width="80%"><input type="text" v-model="appUser.userNative"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">学历:</td>
|
||||
<td width="80%">
|
||||
<select v-model="appUser.userEducation" @change="onUserEducationChange($event)">
|
||||
<option value="">请选择</option>
|
||||
<option :value="data.dataId" v-for="(data,idx) in userEducationArray" :key="idx">{{data.dataName}}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">政治面貌:</td>
|
||||
<td width="80%">
|
||||
<select v-model="appUser.userPoliticsStatus" @change="onUserPoliticsStatusChange($event)">
|
||||
<option value="">请选择</option>
|
||||
<option :value="data.dataId" v-for="(data,idx) in userPoliticsStatusArray" :key="idx">{{data.dataName}}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">就业状况:</td>
|
||||
<td width="80%">
|
||||
<select v-model="appUser.userEmploymentSituation" @change="onUserEmploymentSituationChange($event)">
|
||||
<option value="">请选择</option>
|
||||
<option :value="data.dataId" v-for="(data,idx) in userEmploymentSituationArray" :key="idx">{{data.dataName}}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">qq号:</td>
|
||||
<td width="80%"><input type="text" v-model="appUser.userQq"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">微信号:</td>
|
||||
<td width="80%"><input type="text" v-model="appUser.userWechat"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">微博号:</td>
|
||||
<td width="80%"><input type="text" v-model="appUser.userWeibo"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">现住址:</td>
|
||||
<td width="80%"><input type="text" v-model="appUser.userLiveAddress"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">详细地址:</td>
|
||||
<td width="80%"><input type="text" v-model="appUser.userAddress"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">邮编:</td>
|
||||
<td width="80%"><input type="text" v-model="appUser.userZipCode"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%">人员简介:</td>
|
||||
<td width="80%"><input type="text" v-model="appUser.userIntroduction"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><button @click="saveChange">保存</button></td>
|
||||
@ -635,7 +706,12 @@ export default {
|
||||
username: '',
|
||||
phone: '',
|
||||
name: '',
|
||||
avatar: ''
|
||||
avatar: '',
|
||||
userSex: '',
|
||||
userNation: '',
|
||||
userEducation: '',
|
||||
userPoliticsStatus: '',
|
||||
userEmploymentSituation: ''
|
||||
},
|
||||
tableList: [],
|
||||
teamAvatar: '',
|
||||
@ -686,6 +762,12 @@ export default {
|
||||
teamCity: [],
|
||||
teamCounty: [],
|
||||
teamArea: [],
|
||||
userSexArray: [],
|
||||
userNationArray: [],
|
||||
userEducationArray: [],
|
||||
userPoliticsStatusArray: [],
|
||||
userEmploymentSituationArray: [],
|
||||
|
||||
url: common.url
|
||||
}
|
||||
},
|
||||
@ -744,7 +826,7 @@ export default {
|
||||
// 获取场馆,按门票
|
||||
getVenueTicket: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'venuebooking/app/booking/listpagemyticket', {
|
||||
axios.get(self.url + 'app/booking/listpagemyticket', {
|
||||
headers: {
|
||||
token: self.token
|
||||
},
|
||||
@ -767,7 +849,7 @@ export default {
|
||||
self.$layer.open({
|
||||
content: '确认要取消该订单吗?',
|
||||
yes: function () {
|
||||
axios.delete(self.url + 'venuebooking/app/booking/removemyticket/' + id, {
|
||||
axios.delete(self.url + 'app/booking/removemyticket/' + id, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -801,7 +883,7 @@ export default {
|
||||
phone: self.appUser.phone,
|
||||
userInfos: arr
|
||||
}
|
||||
axios.put(self.url + 'usercenter/app/user/updateuserinfo', submitInfo, {
|
||||
axios.put(self.url + 'app/user/updateuserinfo', submitInfo, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -832,7 +914,7 @@ export default {
|
||||
var formdata = new FormData()
|
||||
formdata.append('image', file)
|
||||
if (type === 'person') {
|
||||
axios.post(self.url + 'usercenter/app/file/uploadimage', formdata, {
|
||||
axios.post(self.url + 'app/file/uploadimage', formdata, {
|
||||
headers: {
|
||||
'token': self.token
|
||||
}
|
||||
@ -840,7 +922,7 @@ export default {
|
||||
self.avatarId = res.data.data
|
||||
})
|
||||
} else {
|
||||
axios.post(self.url + 'volunteer/app/file/uploadimage', formdata, {
|
||||
axios.post(self.url + 'app/file/uploadimage', formdata, {
|
||||
headers: {
|
||||
'token': self.token
|
||||
}
|
||||
@ -852,23 +934,39 @@ export default {
|
||||
// 获取用户基本信息
|
||||
getAppUser: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'usercenter/app/user/getappuser', {
|
||||
axios.get(self.url + 'app/user/get-app-user', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
}).then(function (res) {
|
||||
self.appUser.userId = res.data.userId
|
||||
self.appUser.avatar = res.data.avatar
|
||||
self.appUser.username = res.data.username
|
||||
self.appUser.name = res.data.name
|
||||
self.appUser.email = res.data.email
|
||||
self.appUser.phone = res.data.phone
|
||||
self.getUserFormField()
|
||||
// self.getUserFormField()
|
||||
self.getUserExpandInfo(self.appUser.userId)
|
||||
})
|
||||
},
|
||||
getUserExpandInfo: function (userId) {
|
||||
let self = this
|
||||
axios.get(self.url + 'app/base/userexpand/get-byuserid/' + userId, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
}).then(function (res) {
|
||||
self.appUser.userSex = res.data.userSex
|
||||
self.appUser.userNation = res.data.userNation
|
||||
self.appUser.userEducation = res.data.userEducation
|
||||
self.appUser.userPoliticsStatus = res.data.userPoliticsStatus
|
||||
self.appUser.userEmploymentSituation = res.data.userEmploymentSituation
|
||||
})
|
||||
},
|
||||
// 获取可填写资料列表
|
||||
getUserFormField: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'usercenter/app/user/listdynamicuserformfield', {
|
||||
axios.get(self.url + 'app/user/listdynamicuserformfield', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -902,7 +1000,7 @@ export default {
|
||||
// 获取用户已存信息
|
||||
getUserInfo: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'usercenter/app/user/getuserinfo', {
|
||||
axios.get(self.url + 'app/user/getuserinfo', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -920,7 +1018,7 @@ export default {
|
||||
handleInfo: function (item) {
|
||||
var self = this
|
||||
if (item.dictionaryId) {
|
||||
axios.get(self.url + 'usercenter/app/datadictionary/listdictionarybyparentid/' + item.dictionaryId, {
|
||||
axios.get(self.url + 'app/datadictionary/listdictionarybyparentid/' + item.dictionaryId, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -932,7 +1030,7 @@ export default {
|
||||
// 获取志愿者注册区域
|
||||
getVolunteerCity: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'volunteer/app/datadictionary/listdictionarybyparentid/4a03e904-81e2-48e9-9006-e15ea4a6bc69', {
|
||||
axios.get(self.url + 'app/datadictionary/listdictionarybyparentid/4a03e904-81e2-48e9-9006-e15ea4a6bc69', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -953,7 +1051,7 @@ export default {
|
||||
} else if (self.tab === 4) {
|
||||
county = self.volunteerTeamRegister.teamCity
|
||||
}
|
||||
axios.get(self.url + 'volunteer/app/datadictionary/listdictionarybyparentid/' + county, {
|
||||
axios.get(self.url + 'app/datadictionary/listdictionarybyparentid/' + county, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -974,7 +1072,7 @@ export default {
|
||||
} else if (self.tab === 4) {
|
||||
area = self.volunteerTeamRegister.teamCounty
|
||||
}
|
||||
axios.get(self.url + 'volunteer/app/datadictionary/listdictionarybyparentid/' + area, {
|
||||
axios.get(self.url + 'app/datadictionary/listdictionarybyparentid/' + area, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -989,7 +1087,7 @@ export default {
|
||||
// 获取志愿者注册类别
|
||||
getVolunteerType: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'volunteer/app/datadictionary/listdictionarybyparentid/a223b308-014a-4e89-93fa-035a564e7fda', {
|
||||
axios.get(self.url + 'app/datadictionary/listdictionarybyparentid/a223b308-014a-4e89-93fa-035a564e7fda', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -1000,7 +1098,7 @@ export default {
|
||||
// 获取志愿者注册领域或行业
|
||||
getVolunteerIndustry: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'volunteer/app/datadictionary/listdictionarybyparentid/7b213c37-8575-4db3-bda1-86c4e38589f7', {
|
||||
axios.get(self.url + 'app/datadictionary/listdictionarybyparentid/7b213c37-8575-4db3-bda1-86c4e38589f7', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -1011,7 +1109,7 @@ export default {
|
||||
// 判断用户是否是志愿者
|
||||
userIsVolunteer: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'volunteer/app/volunteer/isvolunteer', {
|
||||
axios.get(self.url + 'app/volunteer/isvolunteer', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -1028,7 +1126,7 @@ export default {
|
||||
// 志愿者注册
|
||||
volunteerRegister: function () {
|
||||
var self = this
|
||||
axios.post(self.url + 'volunteer/app/volunteer/savevolunteer', self.volunteerRegisterInfo, {
|
||||
axios.post(self.url + 'app/volunteer/savevolunteer', self.volunteerRegisterInfo, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -1042,7 +1140,7 @@ export default {
|
||||
// 已注册的志愿者信息
|
||||
getVolunteerInfo: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'volunteer/app/volunteer/getvolunteerbyuserid', {
|
||||
axios.get(self.url + 'app/volunteer/getvolunteerbyuserid', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -1064,7 +1162,7 @@ export default {
|
||||
self.$layer.open({
|
||||
content: '确认修改?',
|
||||
yes: function () {
|
||||
axios.put(self.url + 'volunteer/app/volunteer/updatevolunteer/' + self.volunteerId, self.volunteerRegisterInfo, {
|
||||
axios.put(self.url + 'app/volunteer/updatevolunteer/' + self.volunteerId, self.volunteerRegisterInfo, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -1085,7 +1183,7 @@ export default {
|
||||
self.$layer.msg('团队名称不能为空!')
|
||||
return
|
||||
}
|
||||
axios.post(self.url + 'volunteer/app/team/saveteam', self.volunteerTeamRegister, {
|
||||
axios.post(self.url + 'app/team/saveteam', self.volunteerTeamRegister, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -1110,7 +1208,7 @@ export default {
|
||||
rows: self.page.rows,
|
||||
myTeam: true
|
||||
}
|
||||
axios.get(self.url + 'volunteer/app/team/myjointeam', {
|
||||
axios.get(self.url + 'app/team/myjointeam', {
|
||||
params: info,
|
||||
headers: {
|
||||
token: self.token
|
||||
@ -1127,7 +1225,7 @@ export default {
|
||||
self.$layer.open({
|
||||
content: '确认要解散该团队?',
|
||||
yes: function () {
|
||||
axios.put(self.url + 'volunteer/app/team/updateteam/' + id, {
|
||||
axios.put(self.url + 'app/team/updateteam/' + id, {
|
||||
status: 0
|
||||
}, {
|
||||
headers: {
|
||||
@ -1151,7 +1249,7 @@ export default {
|
||||
} else if (self.tab === 6) {
|
||||
self.checkOtherTeam = true
|
||||
}
|
||||
axios.get(self.url + 'volunteer/app/team/getteambyid/' + id, {
|
||||
axios.get(self.url + 'app/team/getteambyid/' + id, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -1168,7 +1266,7 @@ export default {
|
||||
page: self.page.page,
|
||||
rows: self.page.rows
|
||||
}
|
||||
axios.get(self.url + 'volunteer/app/teammember/listpageteammember', {
|
||||
axios.get(self.url + 'app/teammember/listpageteammember', {
|
||||
headers: {
|
||||
token: self.token
|
||||
},
|
||||
@ -1194,7 +1292,7 @@ export default {
|
||||
rows: self.page.rows,
|
||||
otherTeam: true
|
||||
}
|
||||
axios.get(self.url + 'volunteer/app/team/otherteamm', {
|
||||
axios.get(self.url + 'app/team/otherteamm', {
|
||||
params: info,
|
||||
headers: {
|
||||
token: self.token
|
||||
@ -1210,7 +1308,7 @@ export default {
|
||||
self.$layer.open({
|
||||
content: '确认加入该团队?',
|
||||
yes: function () {
|
||||
axios.post(self.url + 'volunteer/app/teammember/saveteammember', {
|
||||
axios.post(self.url + 'app/teammember/saveteammember', {
|
||||
teamId: id
|
||||
}, {
|
||||
headers: {
|
||||
@ -1245,7 +1343,7 @@ export default {
|
||||
self.$layer.open({
|
||||
content: msg,
|
||||
yes: function () {
|
||||
axios.put(self.url + 'volunteer/app/teammember/updateteammember/' + id, {
|
||||
axios.put(self.url + 'app/teammember/updateteammember/' + id, {
|
||||
status: type
|
||||
}, {
|
||||
headers: {
|
||||
@ -1265,7 +1363,7 @@ export default {
|
||||
// 获取已报名的活动列表
|
||||
initSignedActivity: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'culturalactivity/app/activityuserapply/myjoinactivity', {
|
||||
axios.get(self.url + 'app/activityuserapply/myjoinactivity', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -1280,7 +1378,7 @@ export default {
|
||||
self.$layer.open({
|
||||
content: '确认要取消此活动的报名吗?',
|
||||
yes: function () {
|
||||
axios.get(self.url + 'culturalactivity/app/activityuserapply/cancelapply/' + id + '/' + applyId, {
|
||||
axios.get(self.url + 'app/activityuserapply/cancelapply/' + id + '/' + applyId, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -1296,7 +1394,7 @@ export default {
|
||||
// 获取我的志愿服务
|
||||
getMyVolunteer: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'volunteer/app/volunteerservice/listpagemyjoinservice', {
|
||||
axios.get(self.url + 'app/volunteerservice/listpagemyjoinservice', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -1316,7 +1414,7 @@ export default {
|
||||
self.$layer.open({
|
||||
content: '确认退出此志愿服务?',
|
||||
yes: function () {
|
||||
axios.get(self.url + 'volunteer/app/servicemember/cancelapply/' + type + '/' + id + team, {
|
||||
axios.get(self.url + 'app/servicemember/cancelapply/' + type + '/' + id + team, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -1330,9 +1428,76 @@ export default {
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
// 性别修改
|
||||
onUserSexChange: function (e) {
|
||||
console.log(e)
|
||||
},
|
||||
initUserSexArray: function () {
|
||||
let self = this
|
||||
axios.get(self.url + 'app/data/listbyparentidrelease/90f09612-9deb-4229-8d73-d6a865056cde', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
}).then(function (res) {
|
||||
self.userSexArray = res.data
|
||||
})
|
||||
},
|
||||
// 民族修改
|
||||
onUserNationChange: function (e) {},
|
||||
initUserNationArray: function () {
|
||||
let self = this
|
||||
axios.get(self.url + 'app/data/listbyparentidrelease/039dca8f-7639-41fa-993b-34f8bbc3a3d5', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
}).then(function (res) {
|
||||
self.userNationArray = res.data
|
||||
})
|
||||
},
|
||||
// 学历修改
|
||||
onUserEducationChange: function (e) {},
|
||||
initUserEducationArray: function () {
|
||||
let self = this
|
||||
axios.get(self.url + 'app/data/listbyparentidrelease/7cf06b2e-418e-4be8-b4f8-be49cef7d1f0', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
}).then(function (res) {
|
||||
self.userEducationArray = res.data
|
||||
})
|
||||
},
|
||||
// 政治面貌修改
|
||||
onUserPoliticsStatusChange: function (e) {},
|
||||
initUserPoliticsStatusArray: function () {
|
||||
let self = this
|
||||
axios.get(self.url + 'app/data/listbyparentidrelease/1c249f67-d257-458d-8aac-c1e0561823d8', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
}).then(function (res) {
|
||||
self.userPoliticsStatusArray = res.data
|
||||
})
|
||||
},
|
||||
// 就业状况修改
|
||||
onUserEmploymentSituationChange: function (e) {},
|
||||
initUserEmploymentSituationArray: function () {
|
||||
let self = this
|
||||
axios.get(self.url + 'app/data/listbyparentidrelease/7ccc9586-f326-4c63-9f8c-4185795dd8c3', {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
}).then(function (res) {
|
||||
self.userEmploymentSituationArray = res.data
|
||||
})
|
||||
}
|
||||
},
|
||||
mounted: function () {
|
||||
this.initUserSexArray()
|
||||
this.initUserNationArray()
|
||||
this.initUserEducationArray()
|
||||
this.initUserPoliticsStatusArray()
|
||||
this.initUserEmploymentSituationArray()
|
||||
this.getAppUser()
|
||||
}
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ export default {
|
||||
submitRegister: function () {
|
||||
var self = this
|
||||
self.isLoading = true
|
||||
axios.post(self.url + 'usercenter/app/register/saveregisteruser', self.registerInfo).then(function (res) {
|
||||
axios.post(self.url + 'app/register/saveregisteruser', self.registerInfo).then(function (res) {
|
||||
if (res.status === 200) {
|
||||
self.isLoading = false
|
||||
self.$layer.msg('注册成功')
|
||||
|
@ -20,7 +20,7 @@
|
||||
<ul v-if="hasData">
|
||||
<li v-for="(list,idx) in resource" :key="idx" @click="goDetail(list.newsContentLink, list.templateRecordUrl)" :title="list.newsContentTitle">
|
||||
<div class="resource-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
</div>
|
||||
<div class="resource-info">
|
||||
<h3>{{list.newsContentTitle}}</h3>
|
||||
@ -133,7 +133,7 @@ export default {
|
||||
getTypeList: function () {
|
||||
var self = this
|
||||
self.isLoading = true
|
||||
axios.get(self.url + 'news/app/newsdirectories/listnewsdirectoriesrelease', {
|
||||
axios.get(self.url + 'app/newsdirectories/listnewsdirectoriesrelease', {
|
||||
params: {
|
||||
directoriesParentId: '98c74389-2088-499b-a046-8611bdc57ea4'
|
||||
}
|
||||
@ -144,7 +144,7 @@ export default {
|
||||
},
|
||||
getList: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
for (var i = 0; i < res.data.rows.length; i++) {
|
||||
|
@ -100,7 +100,7 @@ export default {
|
||||
},
|
||||
getDetailInfo: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'library/app/intangiblelibrarydata/getintangiblelibrarydatabyidrelease/' + self.$route.params.id).then(function (res) {
|
||||
axios.get(self.url + 'app/intangiblelibrarydata/getintangiblelibrarydatabyidrelease/' + self.$route.params.id).then(function (res) {
|
||||
self.resource = res.data
|
||||
if (res.data.libraryDataType === '4') {
|
||||
self.selectedVideo = res.data.fileList[0]
|
||||
|
@ -16,7 +16,7 @@
|
||||
<ul>
|
||||
<li v-for="(list,idx) in pageList" :key="idx" @click="goDetail(list.templateRecordUrl)">
|
||||
<div class="dynamics-list-left">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
</div>
|
||||
<div class="dynamics-list-right">
|
||||
<h3>{{list.newsContentTitle}}</h3>
|
||||
@ -31,7 +31,7 @@
|
||||
<ul class="service-container">
|
||||
<router-link :to="{path: '/cultureActivityDetail/' + list.activityLibraryId}" tag="li" class="service-list" v-for="(list,idx) in pageList" :key="idx">
|
||||
<div class="service-img-box">
|
||||
<img :src="url + 'culturalactivity/route/file/downloadfile/false/' + list.activityImage" alt="" class="service-img">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.activityImage" alt="" class="service-img">
|
||||
</div>
|
||||
<div class="service-info">
|
||||
<h3 class="service-name">{{list.activityTitle}}</h3>
|
||||
@ -63,7 +63,7 @@
|
||||
<ul>
|
||||
<li v-for="(list,idx) in pageList" :key="idx" @click="goDetail(list.templateRecordUrl)">
|
||||
<div class="recommend-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<!--<img src="@/assets/images/play.png" alt="" class="play-btn">-->
|
||||
</div>
|
||||
<div class="recommend-info">
|
||||
@ -128,7 +128,7 @@
|
||||
<ul>
|
||||
<li v-for="(list,idx) in pageList" :key="idx" @click="goDetail(list.templateRecordUrl)">
|
||||
<div class="exhibition-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
</div>
|
||||
<div class="exhibition-info">
|
||||
<h1>{{list.newsContentTitle}}</h1>
|
||||
@ -142,7 +142,7 @@
|
||||
<ul>
|
||||
<li v-for="list in pageList" :key="list.id" @click="goDetail(list.templateRecordUrl)">
|
||||
<div class="travel-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<div class="travel-name">
|
||||
{{list.newsContentTitle}}
|
||||
</div>
|
||||
@ -230,7 +230,8 @@ export default {
|
||||
totalPage: 1
|
||||
},
|
||||
pageList: [],
|
||||
url: common.url
|
||||
url: common.url,
|
||||
liveUrl: common.liveUrl
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@ -289,7 +290,7 @@ export default {
|
||||
// 查询场馆
|
||||
searchVenue: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'venuebooking/app/venuesinfo/listpagevenuesinforelease', {
|
||||
axios.get(self.url + 'app/venuesinfo/listpagevenuesinforelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
self.pageList = res.data.rows
|
||||
@ -300,7 +301,7 @@ export default {
|
||||
// 查询活动
|
||||
searchActivity: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'culturalactivity/app/activitylibrary/listpageactivitylibraryfornetrelease', {
|
||||
axios.get(self.url + 'app/activitylibrary/listpageactivitylibraryfornetrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
self.pageList = res.data.rows
|
||||
@ -311,7 +312,7 @@ export default {
|
||||
// 查询志愿活动
|
||||
searchVolunteer: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'volunteer/app/volunteerservice/listpagevolunteerservicerelease', {
|
||||
axios.get(self.url + 'app/volunteerservice/listpagevolunteerservicerelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
for (var i = 0; i < res.data.rows.length; i++) {
|
||||
@ -325,7 +326,7 @@ export default {
|
||||
// 查询文化动态
|
||||
searchDynamic: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: {
|
||||
page: self.page.page,
|
||||
rows: self.page.rows,
|
||||
@ -348,7 +349,7 @@ export default {
|
||||
// 查询艺术培训
|
||||
searchArt: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: {
|
||||
page: self.page.page,
|
||||
rows: self.page.rows,
|
||||
@ -367,7 +368,7 @@ export default {
|
||||
// 查询民间文学
|
||||
searchLiterature: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'library/app/intangiblelibrarydata/listpageintangiblelibrarydatarelease/f3dc594c-7d08-4629-b69b-ada262b3bf58', {
|
||||
axios.get(self.url + 'app/intangiblelibrarydata/listpageintangiblelibrarydatarelease/f3dc594c-7d08-4629-b69b-ada262b3bf58', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
self.pageList = res.data.rows
|
||||
@ -378,7 +379,7 @@ export default {
|
||||
// 查询展览展示
|
||||
searchExhibition: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: {
|
||||
page: self.page.page,
|
||||
rows: self.page.rows,
|
||||
@ -397,7 +398,7 @@ export default {
|
||||
// 查询文化旅游
|
||||
searchTravel: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: {
|
||||
page: self.page.page,
|
||||
rows: self.page.rows,
|
||||
@ -416,7 +417,7 @@ export default {
|
||||
// 查询非遗清单
|
||||
searchHeritage: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'library/app/intangiblelibrary/listpageintangiblelibraryrelease', {
|
||||
axios.get(self.url + 'app/intangiblelibrary/listpageintangiblelibraryrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
self.pageList = res.data.rows
|
||||
@ -427,7 +428,7 @@ export default {
|
||||
// 查询直播
|
||||
searchBoradcast: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'live/app/liveplan/listliveplanrelease', {
|
||||
axios.get(self.liveUrl + 'live/app/liveplan/listliveplanrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
self.pageList = res.data.rows
|
||||
|
@ -16,7 +16,7 @@
|
||||
<ul>
|
||||
<li v-for="(list,idx) in dynamicList" :key="idx" @click="goDetail(list.newsContentLink, list.templateRecordUrl)">
|
||||
<div class="dynamics-list-left">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
</div>
|
||||
<div class="dynamics-list-right">
|
||||
<h3>{{list.newsContentTitle}}</h3>
|
||||
@ -36,7 +36,7 @@
|
||||
<ul class="service-container">
|
||||
<router-link :to="{path: '/cultureActivityDetail/' + list.activityLibraryId}" tag="li" class="service-list" v-for="(list,idx) in activityList" :key="idx">
|
||||
<div class="service-img-box">
|
||||
<img :src="url + 'culturalactivity/route/file/downloadfile/false/' + list.activityImage" alt="" class="service-img">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.activityImage" alt="" class="service-img">
|
||||
</div>
|
||||
<div class="service-info">
|
||||
<h3 class="service-name">{{list.activityTitle}}</h3>
|
||||
@ -78,7 +78,7 @@
|
||||
<ul>
|
||||
<li v-for="(list,idx) in artList" :key="idx" @click="goDetail(list.newsContentLink, list.templateRecordUrl)">
|
||||
<div class="recommend-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<!--<img src="@/assets/images/play.png" alt="" class="play-btn">-->
|
||||
</div>
|
||||
<div class="recommend-info">
|
||||
@ -123,7 +123,7 @@
|
||||
<ul>
|
||||
<li v-for="(list,idx) in literatureList" :key="idx" @click="goDetail(list.newsContentLink, list.templateRecordUrl)">
|
||||
<div class="resource-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
</div>
|
||||
<div class="resource-info">
|
||||
<h3>{{list.newsContentTitle}}</h3>
|
||||
@ -163,7 +163,7 @@
|
||||
<ul>
|
||||
<li v-for="(list,idx) in exhibitionList" :key="idx" @click="goDetail(list.newsContentLink, list.templateRecordUrl)">
|
||||
<div class="exhibition-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
</div>
|
||||
<div class="exhibition-info">
|
||||
<h1>{{list.newsContentTitle}}</h1>
|
||||
@ -182,7 +182,7 @@
|
||||
<ul>
|
||||
<li v-for="(list,idx) in travelList" :key="idx" @click="goDetail(list.newsContentLink, list.templateRecordUrl)">
|
||||
<div class="travel-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<div class="travel-name">
|
||||
{{list.newsContentTitle}}
|
||||
</div>
|
||||
@ -285,7 +285,7 @@ export default {
|
||||
// 查询场馆
|
||||
searchVenue: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'venuebooking/app/venuesinfo/listpagevenuesinforelease', {
|
||||
axios.get(self.url + 'app/venuesinfo/listpagevenuesinforelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
self.venueList = res.data.rows
|
||||
@ -295,7 +295,7 @@ export default {
|
||||
// 查询活动
|
||||
searchActivity: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'culturalactivity/app/activitylibrary/listpageactivitylibraryfornetrelease', {
|
||||
axios.get(self.url + 'app/activitylibrary/listpageactivitylibraryfornetrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
self.activityList = res.data.rows
|
||||
@ -305,7 +305,7 @@ export default {
|
||||
// 查询志愿活动
|
||||
searchVolunteer: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'volunteer/app/volunteerservice/listpagevolunteerservicerelease', {
|
||||
axios.get(self.url + 'app/volunteerservice/listpagevolunteerservicerelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
for (var i = 0; i < res.data.rows.length; i++) {
|
||||
@ -318,7 +318,7 @@ export default {
|
||||
// 查询文化动态
|
||||
searchDynamic: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: {
|
||||
page: 1,
|
||||
rows: 4,
|
||||
@ -345,7 +345,7 @@ export default {
|
||||
// 查询艺术培训
|
||||
searchArt: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: {
|
||||
page: 1,
|
||||
rows: 4,
|
||||
@ -363,7 +363,7 @@ export default {
|
||||
// 查询数图资源
|
||||
searchLiterature: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: {
|
||||
page: 1,
|
||||
rows: 4,
|
||||
@ -383,7 +383,7 @@ export default {
|
||||
// 查询展览展示
|
||||
searchExhibition: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: {
|
||||
page: 1,
|
||||
rows: 8,
|
||||
@ -402,7 +402,7 @@ export default {
|
||||
// 查询文化旅游
|
||||
searchTravel: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: {
|
||||
page: 1,
|
||||
rows: 4,
|
||||
@ -420,7 +420,7 @@ export default {
|
||||
// 查询非遗清单
|
||||
searchHeritage: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'library/app/intangiblelibrary/listpageintangiblelibraryrelease', {
|
||||
axios.get(self.url + 'app/intangiblelibrary/listpageintangiblelibraryrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
self.heritageList = res.data.rows
|
||||
@ -430,7 +430,7 @@ export default {
|
||||
// 查询直播
|
||||
searchBoradcast: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'live/app/liveplan/listpageliveplanrelease', {
|
||||
axios.get(self.url + 'app/liveplan/listpageliveplanrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
self.broadcastList = res.data.rows
|
||||
|
@ -11,7 +11,7 @@
|
||||
<ul v-if="hasData">
|
||||
<li v-for="list in travel" :key="list.id" @click="goDetail(list.newsContentLink, list.templateRecordUrl)" :title="list.newsContentTitle">
|
||||
<div class="travel-img">
|
||||
<img :src="url + 'news/route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<img :src="url + 'route/file/downloadfile/false/' + list.newsContentCoverList" alt="">
|
||||
<div class="travel-name">
|
||||
{{list.newsContentTitle}}
|
||||
</div>
|
||||
@ -100,7 +100,7 @@ export default {
|
||||
getTravelList: function () {
|
||||
var self = this
|
||||
self.isLoading = true
|
||||
axios.get(self.url + 'news/app/newscontent/listpagenewscontentrelease', {
|
||||
axios.get(self.url + 'app/newscontent/listpagenewscontentrelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
for (var i = 0; i < res.data.rows.length; i++) {
|
||||
|
@ -105,7 +105,7 @@ export default {
|
||||
getVolunteerList: function () {
|
||||
var self = this
|
||||
self.isLoading = true
|
||||
axios.get(self.url + 'volunteer/app/volunteerservice/listpagevolunteerservicerelease', {
|
||||
axios.get(self.url + 'app/volunteerservice/listpagevolunteerservicerelease', {
|
||||
params: self.page
|
||||
}).then(function (res) {
|
||||
for (var i = 0; i < res.data.rows.length; i++) {
|
||||
|
@ -165,7 +165,7 @@ export default {
|
||||
methods: {
|
||||
getVolunteerDetail: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'volunteer/app/volunteerservice/getvolunteerservicebyidrelease/' + self.$route.params.id).then(function (res) {
|
||||
axios.get(self.url + 'app/volunteerservice/getvolunteerservicebyidrelease/' + self.$route.params.id).then(function (res) {
|
||||
res.data.photo = res.data.photo.split(',')
|
||||
if (res.data.introduce.indexOf('src="') !== -1) {
|
||||
res.data.introduce = res.data.introduce.replace(/src="/g, 'src="' + self.url + 'volunteer/')
|
||||
@ -176,7 +176,7 @@ export default {
|
||||
},
|
||||
getVolunteerDetailToken: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'volunteer/app/volunteerservice/getvolunteerservicebyid/' + self.$route.params.id, {
|
||||
axios.get(self.url + 'app/volunteerservice/getvolunteerservicebyid/' + self.$route.params.id, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -203,7 +203,7 @@ export default {
|
||||
self.$layer.open({
|
||||
content: '确认报名该活动?',
|
||||
yes: function () {
|
||||
axios.post(self.url + 'volunteer/app/servicemember/saveservicemember', info, {
|
||||
axios.post(self.url + 'app/servicemember/saveservicemember', info, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -228,7 +228,7 @@ export default {
|
||||
},
|
||||
getMyTeam: function () {
|
||||
var self = this
|
||||
axios.get(self.url + 'volunteer/app/team/myteamm', {
|
||||
axios.get(self.url + 'app/team/myteamm', {
|
||||
params: self.page,
|
||||
headers: {
|
||||
token: self.token
|
||||
@ -258,7 +258,7 @@ export default {
|
||||
serviceId: self.volunteerDetail.volunteerServiceId,
|
||||
voluntaryType: self.volunteerDetail.voluntaryType
|
||||
}
|
||||
axios.post(self.url + 'volunteer/app/servicemember/saveservicemember', info, {
|
||||
axios.post(self.url + 'app/servicemember/saveservicemember', info, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
@ -279,7 +279,7 @@ export default {
|
||||
rows: self.page.rows,
|
||||
serviceId: self.volunteerDetail.serviceId
|
||||
}
|
||||
axios.get(self.url + 'volunteer/app/teamactivityhis/listpageteamactivityhisrelease', {
|
||||
axios.get(self.url + 'app/teamactivityhis/listpageteamactivityhisrelease', {
|
||||
params: info
|
||||
}).then(function (res) {
|
||||
self.comment = res.data.rows
|
||||
@ -293,7 +293,7 @@ export default {
|
||||
var info = {
|
||||
content: self.commentText
|
||||
}
|
||||
axios.post(self.url + 'volunteer/app/teamactivityhis/saveteamactivityhis', info, {
|
||||
axios.post(self.url + 'app/teamactivityhis/saveteamactivityhis', info, {
|
||||
headers: {
|
||||
token: self.token
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user