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

.

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