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
72abe1c5
Commit
72abe1c5
authored
8 months ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载修改
parent
83747c65
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
304 additions
and
375 deletions
+304
-375
VehicleManagement.vue
src/components/tradePavilion/VehicleManagement.vue
+301
-358
brandManagement.vue
src/components/tradePavilion/brandManagement.vue
+3
-17
No files found.
src/components/tradePavilion/VehicleManagement.vue
View file @
72abe1c5
This diff is collapsed.
Click to expand it.
src/components/tradePavilion/brandManagement.vue
View file @
72abe1c5
...
...
@@ -196,10 +196,8 @@
<div
style=
"text-align: right; margin-top: 20px"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"downloadBrandFile"
>
导出
</el-button>
</div>
</div>
</el-dialog>
<a
id=
"downloadLink"
href=
""
download=
"品牌信息.xls"
style=
"display:none"
>
下载 Excel 文件
</a>
</div>
</template>
<
script
>
...
...
@@ -300,7 +298,7 @@
}
);
},
//
批量导出
//
下载品牌文件
downloadBrandFile
()
{
this
.
msg
.
ExcelEnumIds
=
this
.
checkedCities
;
let
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
));
...
...
@@ -337,16 +335,6 @@
fileUrl
:
fileUrl
,
filepath
:
filepath
,
};
// that.downLoadLoading = false;
// that.loadingText = "";
// that.dialogVisible = false;
// var newUrl = that.domainManager().DomainUrl + fileUrl;
// var linkObj = document.getElementById("downloadLink");
// linkObj.href = newUrl;
// linkObj.setAttribute("download", fileName);
// linkObj.click();
var
apiurl
=
that
.
domainManager
().
DomainUrl
+
"/api/Trade/GetFile"
;
var
postData
=
that
.
GetPostData
(
""
,
params
,
""
);
that
.
$http
.
post
(
apiurl
,
postData
,
{
...
...
@@ -383,10 +371,8 @@
var
tempData
=
[];
let
data
=
res
.
data
.
data
;
data
.
forEach
((
item
)
=>
{
this
.
cityOptions
.
push
(
item
.
Id
);
tempData
.
push
(
item
);
this
.
cityOptions
.
push
(
item
.
Id
);
tempData
.
push
(
item
);
});
this
.
cities
=
tempData
;
});
...
...
This diff is collapsed.
Click to expand it.
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