Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
E
etao-sjht-sd
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张志伟
etao-sjht-sd
提交
e8fde7dc
提交
e8fde7dc
编写于
7月 09, 2024
作者:
zhangzhiwei
浏览文件
操作
浏览文件
下载
差异文件
.
上级
fe92de51
a2922d3c
变更
5
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
31 行增加
和
31 行删除
+31
-31
Aside.vue
src/components/Aside.vue
+14
-14
activityMall.vue
src/pages/marketing/activity/activityMall.vue
+8
-8
AddActivityProduct.vue
src/pages/marketing/activity/model/AddActivityProduct.vue
+4
-4
activityMall.vue
src/pages/marketing/activityCopy/activityMall.vue
+1
-1
AddActivityProduct.vue
...pages/marketing/activityCopy/model/AddActivityProduct.vue
+4
-4
未找到文件。
src/components/Aside.vue
浏览文件 @
e8fde7dc
...
...
@@ -384,20 +384,20 @@ export default {
// index: "/marketing/report",
// title: "运营数据",
// },
//
{
//
index: "/marketing/activity",
//
title: "活动管理",
//
subs: [
// //
{
// //
index: "/marketing/activityMall",
// //
title: "活动报名",
// //
},
{
index
:
"/marketing/activity"
,
title
:
"活动管理"
,
subs
:
[
{
index
:
"/marketing/activityMall"
,
title
:
"活动报名"
,
},
// {
// index: "/marketing/brandActivity",
// title: "品牌活动",
// },
//
],
//
},
],
},
// {
// index: "/marketing/sales",
// title: "数据分析",
...
...
src/pages/marketing/activity/activityMall.vue
浏览文件 @
e8fde7dc
...
...
@@ -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
(
"/act
r
egist/delActGoods"
,
{
this
.
$axios
.
post
(
"/act
LocalR
egist/delActGoods"
,
{
skuIds
:
this
.
selection
,
"actId"
:
this
.
activeStatus
,
}).
then
(
res
=>
{
...
...
@@ -246,7 +246,7 @@
});
},
getActSkuList
()
{
this
.
$axios
.
post
(
"/act
r
egist/actSkuList"
,
{
this
.
$axios
.
post
(
"/act
LocalR
egist/actSkuList"
,
{
...
this
.
params
,
"actId"
:
this
.
activeStatus
,
}).
then
(
res
=>
{
...
...
@@ -261,7 +261,7 @@
});
},
getZoneList
()
{
this
.
$axios
.
get
(
"/act
r
egist/zoneList"
).
then
(
res
=>
{
this
.
$axios
.
get
(
"/act
LocalR
egist/zoneList"
).
then
(
res
=>
{
let
{
code
,
data
}
=
res
.
data
;
if
(
code
===
200
)
{
this
.
showUpdateBtn
=
data
.
showUpdateBtn
...
...
src/pages/marketing/activity/model/AddActivityProduct.vue
浏览文件 @
e8fde7dc
...
...
@@ -244,7 +244,7 @@
}
this
.
loading
=
true
this
.
otherLoading
=
true
;
this
.
$axios
.
post
(
"/act
r
egist/addActGoods"
,
{
this
.
$axios
.
post
(
"/act
LocalR
egist/addActGoods"
,
{
skuIds
:
this
.
selection
,
"actId"
:
this
.
activeStatus
,
}).
then
(
res
=>
{
...
...
@@ -264,7 +264,7 @@
// 未参加活动的商品
getNotRegistsList
()
{
this
.
loading
=
true
;
this
.
$axios
.
post
(
"/act
r
egist/notRegistsList"
,
{
this
.
$axios
.
post
(
"/act
LocalR
egist/notRegistsList"
,
{
...
this
.
params2
,
"actId"
:
this
.
activeStatus
,
}).
then
(
res
=>
{
...
...
@@ -284,7 +284,7 @@
// 参加活动的商品
getRegisteredList
()
{
this
.
loading
=
true
;
this
.
$axios
.
post
(
"/act
r
egist/registered"
,
{
this
.
$axios
.
post
(
"/act
LocalR
egist/registered"
,
{
...
this
.
params
,
"actId"
:
this
.
activeStatus
,
}).
then
(
res
=>
{
...
...
@@ -302,7 +302,7 @@
});
},
getZoneList
()
{
this
.
$axios
.
get
(
"/act
r
egist/zoneList"
).
then
(
res
=>
{
this
.
$axios
.
get
(
"/act
LocalR
egist/zoneList"
).
then
(
res
=>
{
let
{
code
,
data
}
=
res
.
data
;
if
(
code
===
200
)
{
this
.
zoneList
=
data
.
list
.
filter
(
item
=>
item
.
actId
!=
'defaultActRegist'
);
...
...
src/pages/marketing/activityCopy/activityMall.vue
浏览文件 @
e8fde7dc
...
...
@@ -398,7 +398,7 @@
},
getActSkuList
()
{
this
.
loading
=
true
this
.
$axios
.
post
(
this
.
headTitle
.
type
==
2
?
"/actregist/autonom/actSkuList"
:
"/actr
egist/actSkuList"
,
{
this
.
$axios
.
post
(
"/actLocalR
egist/actSkuList"
,
{
...
this
.
params
,
"actId"
:
this
.
headTitle
.
type
==
2
?
this
.
headTitle
.
actId
:
this
.
activeStatus
,
}).
then
(
res
=>
{
...
...
src/pages/marketing/activityCopy/model/AddActivityProduct.vue
浏览文件 @
e8fde7dc
...
...
@@ -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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录