Commit 4476a063 authored by 杨梦雪's avatar 杨梦雪

bug

parent 2899052a
......@@ -114,7 +114,8 @@ export function request(config) {
config.url.indexOf(passwordEmailCode) != -1 ||
config.url.indexOf(changePassCode) != -1 ||
config.url.indexOf(passwordCode) != -1 ||
config.url.indexOf(setLog) != -1) {
config.url.indexOf(setLog) != -1)
{
return config
}
const token = localStorage.getItem('index-token-all');
......
import {setLog} from "../request/index/signUp";
import el from "element-ui/src/locale/lang/el";
//埋点
export function commonApi(number) {
console.log(number, "number");
setLog({type:number}).then((res) => {
export function commonApi(number, id) {
console.log(number, "number");
setLog({type: number, id: id}).then((res) => {
console.log(res, "signBack");
if (res.data.code != 200) {
return
}
}).catch(err=>{
}).catch(err => {
console.log(err, "err");
});
}
......@@ -112,7 +112,7 @@
</div>
<div class="active-list-item-cont-txt3">报名截止时间:{{formatYMDChina(item.bmEndTime)}}</div>
</div>
<div class="active-list-item-bottom" @click="$router.push('/active/'+item.id)">
<div class="active-list-item-bottom" @click="toActive(item.id)">
<div>查看详情</div>
<i class="el-icon-right"></i>
</div>
......@@ -408,6 +408,11 @@
this.queryForm.activityStatus = val.join(',');
}
},
//查看详情
toActive(id){
this.commonApi(36,id)
this.$router.push('/active/'+id);
},
}
}
</script>
......
......@@ -180,8 +180,8 @@
},
//查看详情
toActive(id){
this.commonApi(29)
this.$router.push('/active'+id);
this.commonApi(36,id)
this.$router.push('/active/'+id);
},
getHot() {
hot().then((res) => {
......
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