Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
15a62820
Commit
15a62820
authored
May 12, 2026
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
445a6e1d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
151 additions
and
16 deletions
+151
-16
usersList.vue
src/components/UserMan/usersList.vue
+1
-0
usersListEdit.vue
src/components/UserMan/usersListEdit.vue
+1
-0
tradeActivity.vue
src/components/sallCenter/plugin/tradeActivity.vue
+2
-2
tradeIndex.vue
src/components/sallCenter/plugin/tradeIndex.vue
+118
-0
templateEdit.vue
src/components/sallCenter/templateEdit.vue
+14
-1
addbrand.vue
src/components/tradePavilion/addbrand.vue
+5
-7
brandManagement.vue
src/components/tradePavilion/brandManagement.vue
+10
-6
No files found.
src/components/UserMan/usersList.vue
View file @
15a62820
...
...
@@ -182,6 +182,7 @@
<div
v-show=
"scope.row.OpenIdState"
>
{{
scope
.
row
.
OpenId
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"Moblie"
label=
"手机号码"
>
</el-table-column>
<el-table-column
prop=
"PostName"
label=
"职位"
>
</el-table-column>
<el-table-column
label=
"会员类型"
>
<
template
slot-scope=
"scope"
>
...
...
src/components/UserMan/usersListEdit.vue
View file @
15a62820
...
...
@@ -126,6 +126,7 @@
PostId
:
userInfo
.
PostId
,
Blacklist
:
userInfo
.
Blacklist
,
IsAdmin
:
userInfo
.
IsAdmin
,
Moblie
:
userInfo
.
Moblie
,
}
this
.
apipost
(
"/api/user/SetMemberUserInfoForHT"
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
src/components/sallCenter/plugin/tradeActivity.vue
View file @
15a62820
...
...
@@ -28,10 +28,10 @@
<div
class=
"diy-link"
flex=
"cross:center;"
style=
"background:#fff;"
>
<div
flex=
"dir:left cross:center"
style=
"margin:20px;justify-content:space-between;"
>
<div
class=
"title"
style=
"text-align: left"
>
活动名称:
萨达
活动名称:
2026年首店活动
</div>
<div
class=
"title"
style=
"text-align: left;margin-left:20px;"
>
默认活动编号:
123
默认活动编号:
No.10001
</div>
</div>
</div>
...
...
src/components/sallCenter/plugin/tradeIndex.vue
0 → 100644
View file @
15a62820
<
style
>
.tradeAdd
{
width
:
40px
;
height
:
40px
;
border
:
1px
solid
#d1d1d1
;
border-radius
:
50%
;
text-align
:
center
;
line-height
:
35px
;
font-size
:
30px
;
color
:
#d1d1d1
;
background-color
:
#409EFF
;
cursor
:
pointer
;
color
:
#fff
;
}
</
style
>
<
template
>
<div
:class=
"
{'active':tradeIndexData.isCked}">
<div
class=
"diy-component-options"
v-if=
"tradeIndexData.isCked"
>
<el-button
type=
"primary"
icon=
"el-icon-delete"
style=
"left: -25px; top: 0px;"
@
click=
"delPlugin()"
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-document-copy"
style=
"left: -25px; top: 30px;"
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-arrow-up"
v-if=
"index>0"
@
click=
"resetSord(0)"
style=
"right: -25px; top: 0;"
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-arrow-down"
v-if=
"index!=dataLeng-1"
@
click=
"resetSord(1)"
style=
"right: -25px; top: 30px;"
></el-button>
</div>
<div
class=
"diy-component-preview"
>
<div
class=
"diy-link"
flex=
"cross:center;"
style=
"background:#fff;"
>
<div
flex=
"dir:left cross:center"
style=
"margin:20px;justify-content:space-between;"
>
<div
class=
"title"
style=
"text-align: left"
>
首页组件
</div>
<div
class=
"title"
style=
"text-align: left;margin-left:20px;"
>
组件编号: tradeIndex
</div>
</div>
</div>
</div>
<div
class=
"diy-component-edit tradeActiviTy"
v-if=
"tradeIndexData.isCked"
>
<div
v-for=
"(item,index) in tradeIndexData.data"
:key=
"index"
style=
"position:relative;border:1px solid #d1d1d1;width:345px;margin-bottom:20px;"
>
<el-form
label-width=
"100px"
@
submit
.
native
.
prevent
>
<el-form-item
label=
"活动名称"
>
<el-input
size=
"small"
style=
"width:200px;"
v-model=
"item.GroupName"
></el-input>
</el-form-item>
<el-form-item
label=
"日期"
>
<el-input
size=
"small"
style=
"width:200px;"
v-model=
"item.DateStr"
></el-input>
</el-form-item>
<el-form-item
label=
"活动编号"
>
<el-input
size=
"small"
style=
"width:200px;"
v-model=
"item.NewActivitys"
></el-input>
</el-form-item>
<el-form-item
label=
"是否默认活动"
>
<el-radio
v-model=
"item.IsDefaultActivity"
:label=
"0"
>
否
</el-radio>
<el-radio
v-model=
"item.IsDefaultActivity"
:label=
"1"
>
是
</el-radio>
</el-form-item>
</el-form>
<div
style=
"position:absolute;right:0;top:0;width:20px;height:20px;
border-radius:50%;background-color:red;color:#fff;text-align:center;cursor:pointer;"
@
click=
"removeTrade(index)"
>
<i
class=
"el-icon-close"
></i>
</div>
</div>
<div
class=
"tradeAdd"
@
click=
"addAtradeObj()"
>
+
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
props
:
[
"tradeIndexData"
,
"index"
,
"dataLeng"
],
components
:
{
},
data
()
{
return
{
choicImg
:
false
,
isShowLink
:
false
,
data
:
this
.
tradeIndexData
.
data
,
};
},
watch
:
{
tradeIndexData
(
newVal
,
oldVal
)
{
this
.
data
=
this
.
tradeIndexData
.
data
;
},
},
created
()
{
},
methods
:
{
//向父组件传值 并调用排序
resetSord
(
IsUp
)
{
this
.
$emit
(
'getSord'
,
this
.
index
,
IsUp
);
},
//点击触发父组件删除
delPlugin
()
{
this
.
$emit
(
'comDelPlugin'
,
this
.
index
);
},
//点击添加
addAtradeObj
(){
let
obj
=
{
GroupName
:
''
,
DateStr
:
''
,
NewActivity
:
''
,
IsDefaultActivity
:
0
//0不是 1是
}
this
.
tradeIndexData
.
data
.
push
(
obj
);
},
//删除
removeTrade
(
index
){
this
.
tradeIndexData
.
data
.
splice
(
index
,
1
);
}
},
computed
:
{
},
mounted
()
{
}
};
</
script
>
src/components/sallCenter/templateEdit.vue
View file @
15a62820
...
...
@@ -325,6 +325,8 @@
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></tradeCustom>
<tradeActivity
v-if=
"item.Id == 'tradeActivity'"
:tradeActivityData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></tradeActivity>
<tradeIndex
v-if=
"item.Id == 'tradeIndex'"
:tradeIndexData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"dataList.length"
></tradeIndex>
</div>
</div>
</div>
...
...
@@ -449,6 +451,7 @@
import
Posts
from
"./plugin/posts.vue"
;
//贴子插件
import
tradeCustom
from
"./plugin/tradeCustom.vue"
//自定义首店
import
tradeActivity
from
"./plugin/tradeActivity.vue"
//首店活动
import
tradeIndex
from
"./plugin/tradeIndex.vue"
//首店首页
export
default
{
data
()
{
return
{
...
...
@@ -527,7 +530,8 @@
miaiactivityCustom
,
Posts
,
//帖子
tradeCustom
,
tradeActivity
tradeActivity
,
tradeIndex
,
//首店首页数据组件
},
methods
:
{
//选择图片
...
...
@@ -1644,6 +1648,15 @@
};
this
.
dataList
.
push
(
tradeActivityObj
);
break
;
//首店首页
case
"tradeIndex"
:
let
tradeIndexObj
=
{
Id
:
"tradeIndex"
,
isCked
:
false
,
data
:
[]
};
this
.
dataList
.
push
(
tradeIndexObj
);
break
;
}
},
//给子组件调用 重新排序上移下移
...
...
src/components/tradePavilion/addbrand.vue
View file @
15a62820
...
...
@@ -6,12 +6,9 @@
</div>
<div
class=
"content"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"150px"
style=
"width: 70%"
>
<el-form-item
label=
"品牌分类"
class=
"is-required"
prop=
"BrandClassId"
>
<el-select
class=
"w300"
v-model=
"addMsg.BrandClassId"
size=
"small"
placeholder=
"请选择"
>
<el-option
:key=
"0"
label=
"请选择"
:value=
"0"
></el-option>
<el-option
v-for=
"item in BrandClassList"
:key=
"item.ID"
:label=
"item.ClassName"
:value=
"item.ID"
>
</el-option>
</el-select>
<el-form-item
label=
"品牌分类"
class=
"is-required"
>
<el-cascader
class=
"w300"
size=
"small"
placeholder=
"请选择"
v-model=
"addMsg.MoreBrandClassIdList"
:options=
"BrandClassList"
></el-cascader>
</el-form-item>
<el-form-item
label=
"品牌全名"
prop=
"FullBrandName"
class=
"is-required"
size=
"small"
>
<el-input
v-model=
"addMsg.FullBrandName"
class=
"w600"
placeholder=
"请输入品牌全名"
maxlength=
"100"
/>
...
...
@@ -286,6 +283,7 @@
IsInChengdu
:
0
,
//是否成都落地
ContactName
:
""
,
//联系人
ContactPhone
:
""
,
//联系电话
MoreBrandClassIdList
:[],
//分类层级Id
},
loadingPeople
:
false
,
dynamicTags
:
[],
...
...
@@ -378,7 +376,7 @@
this
.
changeState1
=
false
;
},
getBrandClassList
()
{
this
.
apipost
(
"/api/Trade/GetBrandClass
List
"
,
{
this
.
apipost
(
"/api/Trade/GetBrandClass
Tree
"
,
{
BrandCategory
:
3
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
src/components/tradePavilion/brandManagement.vue
View file @
15a62820
...
...
@@ -122,12 +122,19 @@
</div>
<div
style=
"padding: 20px; background: #fff"
>
<el-table
:data=
"dataList"
header-cell-class-name=
"headClass"
style=
"width: 100%"
border
>
<el-table-column
prop=
"Id"
label=
"ID"
width=
"
10
0"
>
<el-table-column
prop=
"Id"
label=
"ID"
width=
"
7
0"
>
<template
slot-scope=
"scope"
>
<span
@
click=
"goRecruit(scope.row.ID)"
>
{{
scope
.
row
.
ID
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"ClassName"
label=
"分类"
width=
"150"
>
<el-table-column
prop=
"BrandClassList"
label=
"分类"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.BrandClassList&&scope.row.BrandClassList.length>0"
>
<el-tag
v-for=
"(tagItem,tagIndex) in scope.row.BrandClassList"
:key=
"tagIndex"
>
{{
tagItem
.
Name
}}
</el-tag>
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
"BrandName"
label=
"品牌"
>
</el-table-column>
<el-table-column
prop=
"Logo"
label=
"Logo"
width=
"100"
>
...
...
@@ -161,10 +168,7 @@
<el-table-column
prop=
"UserName"
width=
"100"
label=
"认证用户"
></el-table-column>
<el-table-column
prop=
"IsRecommend"
label=
"是否推荐"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<el-switch
v-model=
"scope.row.IsRecommend"
:active-value=
"1"
:inactive-value=
"0"
<el-switch
v-model=
"scope.row.IsRecommend"
:active-value=
"1"
:inactive-value=
"0"
@
change=
"changeRecommend(scope.row, $event)"
>
</el-switch>
</
template
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment