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
c7031e6b
Commit
c7031e6b
authored
May 13, 2026
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
7511ec35
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
13 deletions
+17
-13
VehicleManagement.vue
src/components/tradePavilion/VehicleManagement.vue
+4
-3
brandClassification.vue
src/components/tradePavilion/brandClassification.vue
+5
-4
brandManagement.vue
src/components/tradePavilion/brandManagement.vue
+8
-6
No files found.
src/components/tradePavilion/VehicleManagement.vue
View file @
c7031e6b
...
@@ -232,6 +232,7 @@
...
@@ -232,6 +232,7 @@
checkedCities
:
[],
checkedCities
:
[],
cities
:
[],
cities
:
[],
cityOptions
:
[],
cityOptions
:
[],
loading
:
false
,
isIndeterminate
:
false
,
isIndeterminate
:
false
,
downLoadLoading
:
false
,
//导出Loading
downLoadLoading
:
false
,
//导出Loading
download_timer
:
null
,
//下载文件timer
download_timer
:
null
,
//下载文件timer
...
@@ -267,7 +268,6 @@
...
@@ -267,7 +268,6 @@
this
.
msg
.
EndOpenTime
=
""
;
this
.
msg
.
EndOpenTime
=
""
;
}
}
this
.
apipost
(
"/api/Trade/GetCarrierPageList"
,
this
.
msg
,
(
res
)
=>
{
this
.
apipost
(
"/api/Trade/GetCarrierPageList"
,
this
.
msg
,
(
res
)
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
let
pageData
=
res
.
data
.
data
.
pageData
;
let
pageData
=
res
.
data
.
data
.
pageData
;
...
@@ -277,6 +277,7 @@
...
@@ -277,6 +277,7 @@
x
.
LogoList
.
push
(
x
.
Logo
);
x
.
LogoList
.
push
(
x
.
Logo
);
});
});
}
}
this
.
loading
=
false
;
});
});
},
},
handleCheckAllChange
(
val
)
{
handleCheckAllChange
(
val
)
{
...
@@ -368,11 +369,11 @@
...
@@ -368,11 +369,11 @@
});
});
});
});
},
},
//删除
//删除
delManage
(
obj
)
{
delManage
(
obj
)
{
let
that
=
this
;
let
that
=
this
;
that
.
Confirm
(
"是否删除?"
,
function
()
{
let
tipStr
=
"是否删除【"
+
obj
.
CarrierName
+
"】?"
that
.
Confirm
(
tipStr
,
function
()
{
that
.
apipost
(
that
.
apipost
(
"/api/Trade/RemoveCarrier"
,
{
"/api/Trade/RemoveCarrier"
,
{
CarrierId
:
obj
.
ID
,
CarrierId
:
obj
.
ID
,
...
...
src/components/tradePavilion/brandClassification.vue
View file @
c7031e6b
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<!--class="is-required" prop="Logo"-->
<!--class="is-required" prop="Logo"-->
<el-form-item
label=
"Logo"
>
<el-form-item
label=
"Logo"
>
<el-button
@
click=
"isShowImage = true"
size=
"small"
>
选择文件
</el-button>
<el-button
@
click=
"isShowImage = true"
size=
"small"
>
选择文件
</el-button>
<div
style=
"position: relative; width: 100px; margin-top: 10px; border: none"
>
<div
style=
"position: relative; width: 100px; margin-top: 10px; border: none"
>
<img
v-if=
"!addMsg.Logo || addMsg.Logo == ''"
src=
"../../assets/img/default.png"
<img
v-if=
"!addMsg.Logo || addMsg.Logo == ''"
src=
"../../assets/img/default.png"
...
@@ -240,7 +240,8 @@
...
@@ -240,7 +240,8 @@
},
},
delNews
(
item
)
{
delNews
(
item
)
{
let
that
=
this
;
let
that
=
this
;
that
.
Confirm
(
"删除一级分类会对应删除相应的二级分类,是否继续?"
,
function
()
{
let
tipStr
=
"删除【"
+
item
.
ClassName
+
"】分类,会删除相对应的二级分类,是否继续?"
;
that
.
Confirm
(
tipStr
,
function
()
{
that
.
apipost
(
that
.
apipost
(
"/api/Trade/RemoveBrandClass"
,
{
"/api/Trade/RemoveBrandClass"
,
{
Id
:
item
.
ID
,
Id
:
item
.
ID
,
...
@@ -280,7 +281,8 @@
...
@@ -280,7 +281,8 @@
},
},
delChildNews
(
item
)
{
delChildNews
(
item
)
{
let
that
=
this
;
let
that
=
this
;
that
.
Confirm
(
"是否删除?"
,
function
()
{
let
tipStr
=
"是否删除【"
+
item
.
ClassName
+
"】分类?"
;
that
.
Confirm
(
tipStr
,
function
()
{
that
.
apipost
(
that
.
apipost
(
"/api/Trade/RemoveBrandClass"
,
{
"/api/Trade/RemoveBrandClass"
,
{
Id
:
item
.
ID
,
Id
:
item
.
ID
,
...
@@ -341,7 +343,6 @@
...
@@ -341,7 +343,6 @@
</
script
>
</
script
>
<
style
>
<
style
>
.brandClassification
.cat-container
{
.brandClassification
.cat-container
{
display
:
flex
;
display
:
flex
;
gap
:
16px
;
gap
:
16px
;
...
...
src/components/tradePavilion/brandManagement.vue
View file @
c7031e6b
...
@@ -115,11 +115,11 @@
...
@@ -115,11 +115,11 @@
<!--
<el-option
label=
"否"
:value=
"0"
></el-option>
-->
<!--
<el-option
label=
"否"
:value=
"0"
></el-option>
-->
</el-select>
</el-select>
</div>
</div>
</div>
</div>
</div>
</div>
<div
style=
"padding: 20px; background: #fff"
>
<div
style=
"padding: 20px; background: #fff"
>
<el-table
:data=
"dataList"
header-cell-class-name=
"headClass"
style=
"width: 100%"
height=
"540"
border
>
<el-table
:data=
"dataList"
v-loading=
"loading"
header-cell-class-name=
"headClass"
style=
"width: 100%"
height=
"540"
border
>
<el-table-column
prop=
"Id"
label=
"ID"
width=
"70"
>
<el-table-column
prop=
"Id"
label=
"ID"
width=
"70"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span
@
click=
"goRecruit(scope.row.ID)"
>
{{
scope
.
row
.
ID
}}
</span>
<span
@
click=
"goRecruit(scope.row.ID)"
>
{{
scope
.
row
.
ID
}}
</span>
...
@@ -164,7 +164,7 @@
...
@@ -164,7 +164,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"UserName"
width=
"100"
label=
"认证用户"
></el-table-column>
<el-table-column
prop=
"UserName"
width=
"100"
label=
"认证用户"
></el-table-column>
<el-table-column
prop=
"IsRecommend"
width=
"110"
label=
"推荐"
>
<el-table-column
prop=
"IsRecommend"
width=
"110"
label=
"推荐"
>
<
template
slot-scope=
"scope"
>
<
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)"
>
@
change=
"changeRecommend(scope.row, $event)"
>
...
@@ -295,7 +295,6 @@
...
@@ -295,7 +295,6 @@
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
PrizeId
)
{
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
PrizeId
)
{
this
.
msg
.
PrizeId
=
this
.
$route
.
query
.
PrizeId
;
this
.
msg
.
PrizeId
=
this
.
$route
.
query
.
PrizeId
;
}
}
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
...
@@ -419,6 +418,7 @@
...
@@ -419,6 +418,7 @@
checkedCount
>
0
&&
checkedCount
<
this
.
cities
.
length
;
checkedCount
>
0
&&
checkedCount
<
this
.
cities
.
length
;
},
},
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
"/api/Trade/GetBrandPageList"
,
this
.
msg
,
(
res
)
=>
{
this
.
apipost
(
"/api/Trade/GetBrandPageList"
,
this
.
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
...
@@ -430,6 +430,7 @@
...
@@ -430,6 +430,7 @@
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
this
.
loading
=
false
;
});
});
},
},
getBrandClassTree
()
{
getBrandClassTree
()
{
...
@@ -454,7 +455,8 @@
...
@@ -454,7 +455,8 @@
//删除品牌
//删除品牌
delete_b
(
row
)
{
delete_b
(
row
)
{
let
that
=
this
;
let
that
=
this
;
that
.
Confirm
(
"是否删除?"
,
function
()
{
let
tipStr
=
"是否删除【"
+
row
.
BrandName
+
"】?"
;
that
.
Confirm
(
tipStr
,
function
()
{
that
.
apipost
(
that
.
apipost
(
"/api/Trade/RemoveBrand"
,
{
"/api/Trade/RemoveBrand"
,
{
Id
:
row
.
ID
,
Id
:
row
.
ID
,
...
...
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