提交 e8fde7dc 编写于 作者: zhangzhiwei's avatar zhangzhiwei

.

......@@ -384,20 +384,20 @@ export default {
// index: "/marketing/report",
// title: "运营数据",
// },
// {
// index: "/marketing/activity",
// title: "活动管理",
// subs: [
// // {
// // index: "/marketing/activityMall",
// // title: "活动报名",
// // },
// {
// index: "/marketing/brandActivity",
// title: "品牌活动",
// },
// ],
// },
{
index: "/marketing/activity",
title: "活动管理",
subs: [
{
index: "/marketing/activityMall",
title: "活动报名",
},
// {
// index: "/marketing/brandActivity",
// title: "品牌活动",
// },
],
},
// {
// index: "/marketing/sales",
// title: "数据分析",
......
......@@ -22,12 +22,12 @@
<div v-if="zoneList.length!=0">
<div style="display: flex;justify-content: space-between;margin: 10px 15px">
<div style="display: flex">
<!--<div class="actHead" style="padding-right: 6px">-->
<!--活动报名时间:{{applyEndDate}}&nbsp&nbsp-->
<!--</div>-->
<div class="actHead" @click="dialogVisible=true" style="cursor: pointer">
查看活动规则
<div class="actHead" style="padding-right: 6px">
活动报名时间:{{applyEndDate}}&nbsp&nbsp
</div>
<!--<div class="actHead" @click="dialogVisible=true" style="cursor: pointer">-->
<!--查看活动规则-->
<!--</div>-->
<el-button type="primary" @click="goback" v-if="showUpdateBtn">
添加活动商品
</el-button>
......@@ -207,7 +207,7 @@
this.$router.push("/marketing/AddActivityProduct");
},
delActGoods() {
this.$axios.post("/actregist/delActGoods", {
this.$axios.post("/actLocalRegist/delActGoods", {
skuIds: this.selection,
"actId": this.activeStatus,
}).then(res => {
......@@ -246,7 +246,7 @@
});
},
getActSkuList() {
this.$axios.post("/actregist/actSkuList", {
this.$axios.post("/actLocalRegist/actSkuList", {
...this.params,
"actId": this.activeStatus,
}).then(res => {
......@@ -261,7 +261,7 @@
});
},
getZoneList() {
this.$axios.get("/actregist/zoneList").then(res => {
this.$axios.get("/actLocalRegist/zoneList").then(res => {
let { code, data } = res.data;
if (code === 200) {
this.showUpdateBtn=data.showUpdateBtn
......
......@@ -244,7 +244,7 @@
}
this.loading=true
this.otherLoading = true;
this.$axios.post("/actregist/addActGoods", {
this.$axios.post("/actLocalRegist/addActGoods", {
skuIds: this.selection,
"actId": this.activeStatus,
}).then(res => {
......@@ -264,7 +264,7 @@
// 未参加活动的商品
getNotRegistsList() {
this.loading = true;
this.$axios.post("/actregist/notRegistsList", {
this.$axios.post("/actLocalRegist/notRegistsList", {
...this.params2,
"actId":this.activeStatus,
}).then(res => {
......@@ -284,7 +284,7 @@
// 参加活动的商品
getRegisteredList() {
this.loading = true;
this.$axios.post("/actregist/registered", {
this.$axios.post("/actLocalRegist/registered", {
...this.params,
"actId":this.activeStatus,
}).then(res => {
......@@ -302,7 +302,7 @@
});
},
getZoneList() {
this.$axios.get("/actregist/zoneList").then(res => {
this.$axios.get("/actLocalRegist/zoneList").then(res => {
let { code, data } = res.data;
if (code === 200) {
this.zoneList = data.list.filter(item=>item.actId!='defaultActRegist');
......
......@@ -398,7 +398,7 @@
},
getActSkuList() {
this.loading=true
this.$axios.post(this.headTitle.type==2?"/actregist/autonom/actSkuList":"/actregist/actSkuList", {
this.$axios.post("/actLocalRegist/actSkuList", {
...this.params,
"actId":this.headTitle.type==2?this.headTitle.actId:this.activeStatus,
}).then(res => {
......
......@@ -171,7 +171,7 @@
// 未参加活动的商品
getNotRegistsList() {
this.loading = true;
this.$axios.post(this.temType==2?"/actregist/autonom/notRegistsList":"/actregist/notRegistsList", {
this.$axios.post("/actregist/notRegistsList", {
...this.params2,
"actId":this.temType==2?this.temActId:'f4f15eac-0699-11ed-9da2-7cd30aeb12-7z',
}).then(res => {
......@@ -191,7 +191,7 @@
// 参加活动的商品
getRegisteredList() {
this.loading = true;
this.$axios.post(this.temType==2?"/actregist/autonom/actSkuList":"/actregist/registered", {
this.$axios.post("/actregist/registered", {
...this.params,
"actId":this.temType==2?this.temActId:'f4f15eac-0699-11ed-9da2-7cd30aeb12-7z',
}).then(res => {
......@@ -224,7 +224,7 @@
// }
// }
this.otherLoading1 = true;
this.$axios.post(this.temType==2?"/actregist/autonom/delActGoods":"/actregist/delActGoods",params).then(res => {
this.$axios.post("/actregist/delActGoods",params).then(res => {
let { code, msg } = res.data;
if (code == 200) {
if(this.actSkuList.length-this.delSelection.length==0){
......@@ -247,7 +247,7 @@
return;
}
this.otherLoading = true;
this.$axios.post(this.temType==2?"/actregist/autonom/addActGoods":"/actregist/addActGoods", {
this.$axios.post("/actregist/addActGoods", {
skuIds: this.selection,
"actId":this.temType==2?this.temActId:'f4f15eac-0699-11ed-9da2-7cd30aeb12-7z',
}).then(res => {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册