Commit b5eab801 authored by 张俊's avatar 张俊

推荐位管理

parent 958d802a
......@@ -140,8 +140,31 @@ export default {
}
},
get_select_data() {
console.log(this.$route.query);
if(this.$route.query.ad_type == 'zhapp'){
var temp = 21
this.filter_name_arr = {
organizations: "服务来源组织",
serviceDomain: "服务领域",
serviceTypeInfo: "服务类型",
}
}else if(this.$route.query.ad_type == 'hotdata'){
var temp = 5
this.filter_name_arr = {
organizations: "数据来源机构",
serviceDomain: "数据领域",
serviceTypeInfo: "数据服务类型",
}
}else{
var temp = 6
this.filter_name_arr = {
organizations: "服务来源组织",
serviceDomain: "服务领域",
serviceTypeInfo: "时空服务类型",
}
}
this.$http
.get(`/apaas/serviceapp/v3/servicemarket/profileInfo?serviceType=5`)
.get(`/apaas/serviceapp/v3/servicemarket/profileInfo?serviceType=${temp}`)
.then((response) => {
this.filtdata = [];
for (const key in response.data.data) {
......@@ -168,7 +191,7 @@ export default {
get_select_list(word = "", data_type = "", sectors = "", org = "") {
this.$http
.get(
`/apaas/service/v3/recommend/manage/featured/service/fliter?ad_type=hotdata&keyword=${word}&data_type=${data_type}&sectors=${sectors}&org=${org}`
`/apaas/service/v3/recommend/manage/featured/service/fliter?ad_type=${this.$route.query.ad_type}&keyword=${word}&data_type=${data_type}&sectors=${sectors}&org=${org}`
)
.then((response) => {
if (response.data.success) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment