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
be93fca7
Commit
be93fca7
authored
Mar 24, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
9244db91
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
9 deletions
+26
-9
addbrand.vue
src/components/tradePavilion/addbrand.vue
+21
-3
brandManagement.vue
src/components/tradePavilion/brandManagement.vue
+5
-6
No files found.
src/components/tradePavilion/addbrand.vue
View file @
be93fca7
...
...
@@ -36,7 +36,7 @@
</el-form-item>
<el-form-item
label=
"品牌介绍图"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"第一张图片为封面图"
placement=
"top"
style=
"position: absolute;left: -
22
px;top:12px"
>
style=
"position: absolute;left: -
5
px;top:12px"
>
<i
class=
"el-tooltip el-icon-info"
></i>
</el-tooltip>
<p
style=
"color:#c9c9c9;margin-bottom: 12px;"
>
...
...
@@ -87,7 +87,7 @@
<el-input
v-model=
"addMsg.ProjectType"
placeholder=
"请输入商铺性质"
/>
</el-form-item>
<el-form-item
label=
"电量"
prop=
"DianLiang"
class=
"is-required"
size=
"small"
>
<el-input
v-model=
"addMsg.DianLiang"
placeholder=
"请输入电量"
/>
<el-input
v-model=
"addMsg.DianLiang"
type=
"number"
placeholder=
"请输入电量"
/>
</el-form-item>
<el-form-item
label=
"上下水"
class=
"is-required"
>
<el-radio
v-model=
"addMsg.Plumbing"
:label=
"1"
>
是
</el-radio>
...
...
@@ -240,6 +240,10 @@
}
},
methods
:
{
getProjectType
()
{
},
//选择图片
SelectId
(
msg
)
{
let
url
=
this
.
getIconLink
(
msg
.
url
)
...
...
@@ -277,6 +281,12 @@
},
//保存品牌
Save
(
formName
)
{
//广告
let
advertising
=
this
.
$refs
.
ue
.
getUEContent
();
this
.
addMsg
.
Advertising
=
advertising
;
//其他
let
other
=
this
.
$refs
.
ueother
.
getUEContent
();
this
.
addMsg
.
Other
=
other
;
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
apipost
(
"/api/Trade/GetSetBrand"
,
this
.
addMsg
,
res
=>
{
...
...
@@ -299,7 +309,15 @@
ID
:
ID
},
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
addMsg
=
res
.
data
.
data
;
if
(
this
.
addMsg
.
Advertising
&&
this
.
addMsg
.
Advertising
!=
""
)
{
this
.
Advertising
=
this
.
addMsg
.
Advertising
;
}
if
(
this
.
addMsg
.
Other
&&
this
.
addMsg
.
Other
!=
""
)
{
this
.
Other
=
this
.
addMsg
.
Other
;
}
}
})
},
},
...
...
src/components/tradePavilion/brandManagement.vue
View file @
be93fca7
...
...
@@ -125,11 +125,11 @@
<span>
{{
scope
.
row
.
BuiltUpArea
}}
至
{{
scope
.
row
.
EndBuiltUpArea
}}
平
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"BrandType"
label=
"品牌定位"
width=
"
8
0"
>
<el-table-column
prop=
"BrandType"
label=
"品牌定位"
width=
"
16
0"
>
</el-table-column>
<el-table-column
prop=
"CustomerType"
label=
"客群定位"
width=
"
8
0"
>
<el-table-column
prop=
"CustomerType"
label=
"客群定位"
width=
"
16
0"
>
</el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"1
8
0"
>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"1
2
0"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
placement=
"top"
>
<img
src=
"../../assets/img/setup/edit.png"
alt=
""
class=
"imgstyle"
@
click=
"Edit(scope.row)"
>
...
...
@@ -218,7 +218,7 @@
that
.
Confirm
(
"是否删除?"
,
function
()
{
that
.
apipost
(
"/api/Trade/RemoveBrand"
,
{
Id
:
row
.
I
d
Id
:
row
.
I
D
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -236,7 +236,7 @@
this
.
$router
.
push
({
name
:
'addbrand'
,
query
:
{
ID
:
row
.
I
d
,
ID
:
row
.
I
D
,
blank
:
"y"
}
});
...
...
@@ -256,7 +256,6 @@
}
},
}
</
script
>
<
style
>
...
...
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