提交 068db53c authored 作者: lihuihui's avatar lihuihui

update

上级 cd2c8b54
......@@ -39,7 +39,7 @@ export default {
}
},
async fetch() {
const params = { project_id: process.env.projectId, type_tag: 'ad_banner' }
const params = { project_id: process.env.newProjectId, type_tag: 'ad_banner' }
this.list = await this.$axios.get('/api/cms/api/v1/advertisements', { params }).then(res => res.data.data)
},
......
......@@ -33,7 +33,7 @@ export default {
AppLink
},
async fetch() {
const params = { project_id: process.env.projectId, type_tag: 'article_news_hot', page: 1, limit: 4 }
const params = { project_id: process.env.newProjectId, type_tag: 'article_news_hot', page: 1, limit: 4 }
await this.$axios.get('/api/cms/api/v1/articles', { params }).then(res => {
this.data = res.data.data || []
})
......
......@@ -52,7 +52,7 @@ export default {
}
},
async fetch() {
const params = { project_id: process.env.projectId, type_tag: 'article_publish_class' }
const params = { project_id: process.env.newProjectId, type_tag: 'article_publish_class' }
this.listData = await this.$axios.get('/api/cms/api/v1/articles', { params }).then(res => res.data.data)
},
computed: {
......
......@@ -99,7 +99,7 @@ export default {
name: '',
phone: '',
// channel: 19960,
project_id: process.env.projectId
project_id: process.env.newProjectId
},
value: '',
titleParams: {
......@@ -125,7 +125,7 @@ export default {
}
},
async fetch() {
const params = { project_id: process.env.projectId, type_tag: 'kelley_alumni_share' }
const params = { project_id: process.env.newProjectId, type_tag: 'kelley_alumni_share' }
this.listData = await this.$axios.get('/api/cms/api/v1/articles', { params }).then(res => res.data.data)
},
computed: {
......
......@@ -31,7 +31,7 @@ export default {
},
async fetch() {
const params = {
project_id: process.env.projectId,
project_id: process.env.newProjectId,
type_tag: 'article_news_hot',
is_recommend: 1,
page: 1,
......
......@@ -29,11 +29,11 @@
<!-- <p><el-input v-model="projectName" size="small" :readonly="true"></el-input></p> -->
<p>
<el-input v-model="projectName" placeholder="请输入您的电话" size="small" disabled></el-input>
<!-- <select name="" id="" v-model="formInfo.projectId" disabled>
<!-- <select name="" id="" v-model="formInfo.newProjectId" disabled>
<option :value="item.value" v-for="(item, index) in projectList" :key="index">{{ item.label }}</option>
</select> -->
<!-- <span class="icon el-icon-arrow-down"></span> -->
<!-- <el-select v-model="formInfo.projectId" placeholder="请选择" size="small">
<!-- <el-select v-model="formInfo.newProjectId" placeholder="请选择" size="small">
<el-option
v-for="item in projectList"
:key="item.value"
......@@ -124,7 +124,7 @@ export default {
enrollQuery() {
const params = {
channel: 19960,
project_id: this.formInfo.projectId,
project_id: this.formInfo.newProjectId,
name: this.formInfo.name,
phone: this.formInfo.phone
}
......
......@@ -6,7 +6,8 @@ let config = {}
if (process.env.NODE_ENV === 'production') {
config = {
env: {
projectId: '6805762100502200320',
projectId: '1012',
newProjectId: '6805762100502200320',
baseURL: 'https://project-api.ezijing.com',
loginURL: 'https://login.ezijing.com/auth'
},
......@@ -15,7 +16,8 @@ if (process.env.NODE_ENV === 'production') {
} else {
config = {
env: {
projectId: '6805762100502200320',
projectId: '1012',
newProjectId: '6805762100502200320',
baseURL: 'https://project-api.ezijing.com',
loginURL: 'https://login.ezijing.com/auth'
},
......
......@@ -15,7 +15,7 @@ export default {
newsItem
},
async fetch() {
const params = { project_id: process.env.projectId, type_tag: 'kelley_alumni_share' }
const params = { project_id: process.env.newProjectId, type_tag: 'kelley_alumni_share' }
this.newsList = await this.$axios.get('/api/cms/api/v1/articles', { params }).then(res => res.data.data)
},
data() {
......
......@@ -15,7 +15,7 @@ export default {
newsItem
},
async fetch() {
const params = { project_id: process.env.projectId, type_tag: this.$route.query.type || 'article_news_hot' }
const params = { project_id: process.env.newProjectId, type_tag: this.$route.query.type || 'article_news_hot' }
this.newsList = await this.$axios.get('/api/cms/api/v1/articles', { params }).then(res => res.data.data)
},
data() {
......
......@@ -15,7 +15,7 @@ export default {
newsItem
},
async fetch() {
const params = { project_id: process.env.projectId, type_tag: 'kelley_interview' }
const params = { project_id: process.env.newProjectId, type_tag: 'kelley_interview' }
this.newsList = await this.$axios.get('/api/cms/api/v1/articles', { params }).then(res => res.data.data)
},
data() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论