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
418c0ca4
Commit
418c0ca4
authored
Dec 09, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
340656c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
BrandEnterpriseManager.vue
src/components/tradePavilion/BrandEnterpriseManager.vue
+5
-5
No files found.
src/components/tradePavilion/BrandEnterpriseManager.vue
View file @
418c0ca4
...
@@ -254,13 +254,13 @@
...
@@ -254,13 +254,13 @@
},
2000
);
},
2000
);
},
},
checkCarrierFile
(
msg
)
{
checkCarrierFile
(
msg
)
{
var
fileName
=
"服务信息.xls"
;
var
fileName
=
"
企业
服务信息.xls"
;
if
(
this
.
isBrand
)
{
if
(
this
.
isBrand
)
{
fileName
=
"消费品牌信息.xls"
;
fileName
=
"消费品牌信息.xls"
;
}
}
var
that
=
this
;
var
that
=
this
;
this
.
apipost
(
this
.
apipost
(
"/api/Trade/CheckB
uildingCarrier
File"
,
"/api/Trade/CheckB
randEnterprise
File"
,
msg
,
msg
,
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
@@ -269,7 +269,7 @@
...
@@ -269,7 +269,7 @@
if
(
this
.
isBrand
)
{
if
(
this
.
isBrand
)
{
this
.
loadingText
=
"正在下载消费品牌文件,请勿关闭或刷新页面..."
;
this
.
loadingText
=
"正在下载消费品牌文件,请勿关闭或刷新页面..."
;
}
else
{
}
else
{
this
.
loadingText
=
"正在下载服务文件,请勿关闭或刷新页面..."
;
this
.
loadingText
=
"正在下载
企业
服务文件,请勿关闭或刷新页面..."
;
}
}
var
fileUrl
=
res
.
data
.
data
.
fileUrl
;
var
fileUrl
=
res
.
data
.
data
.
fileUrl
;
var
filepath
=
res
.
data
.
data
.
filePath
;
var
filepath
=
res
.
data
.
data
.
filePath
;
...
@@ -289,7 +289,7 @@
...
@@ -289,7 +289,7 @@
responseType
:
'arraybuffer'
,
responseType
:
'arraybuffer'
,
onDownloadProgress
:
(
progressEvent
)
=>
{
onDownloadProgress
:
(
progressEvent
)
=>
{
const
progress
=
Math
.
round
((
progressEvent
.
loaded
/
progressEvent
.
total
)
*
100
);
const
progress
=
Math
.
round
((
progressEvent
.
loaded
/
progressEvent
.
total
)
*
100
);
that
.
loadingText
=
`正在下载【`
+
(
that
.
isBrand
?
'
品牌'
:
"
服务"
)
+
`】文件`
+
progress
+
that
.
loadingText
=
`正在下载【`
+
(
that
.
isBrand
?
'
消费品牌'
:
"企业
服务"
)
+
`】文件`
+
progress
+
`%,请勿关闭或刷新页面...`
;
`%,请勿关闭或刷新页面...`
;
// 在这里处理下载进度, 如更新界面上的进度条
// 在这里处理下载进度, 如更新界面上的进度条
}
}
...
@@ -317,7 +317,7 @@
...
@@ -317,7 +317,7 @@
getDown
()
{
getDown
()
{
this
.
cityOptions
=
[];
this
.
cityOptions
=
[];
this
.
apipost
(
"/api/Trade/GetB
uildingCarrier
ExportEnumList"
,
{},
(
res
)
=>
{
this
.
apipost
(
"/api/Trade/GetB
randEnterprise
ExportEnumList"
,
{},
(
res
)
=>
{
this
.
cities
=
res
.
data
.
data
;
this
.
cities
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
data
.
forEach
((
item
)
=>
{
data
.
forEach
((
item
)
=>
{
...
...
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