Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
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
office
haoban-3
Commits
ef5a97aa
Commit
ef5a97aa
authored
Oct 19, 2021
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 导入
parent
087742d0
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
47 additions
and
18 deletions
+47
-18
taskView.vue
src/components/app/taskView.vue
+1
-1
salesleads-task-info.vue
src/components/review/salesleads-task-info.vue
+24
-7
grStoreDetail.vue
src/views/salesleads/groupSend/grStoreDetail.vue
+11
-2
grStoreList.vue
src/views/salesleads/groupSend/grStoreList.vue
+3
-1
grTaskList.vue
src/views/salesleads/groupSend/grTaskList.vue
+2
-1
taskDetail.vue
src/views/salesleads/trafficTask/taskDetail.vue
+2
-2
taskRecord.vue
src/views/salesleads/trafficTask/taskRecord.vue
+1
-1
taskViewDetail.vue
src/views/salesleads/trafficTask/taskViewDetail.vue
+3
-3
No files found.
src/components/app/taskView.vue
View file @
ef5a97aa
...
...
@@ -304,7 +304,7 @@ export default {
const
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/vnd.ms-excel'
});
const
fileName
=
`话务任务门店任务报表.
csv
`
;
const
fileName
=
`话务任务门店任务报表.
xls
`
;
const
elink
=
document
.
createElement
(
'a'
);
elink
.
download
=
fileName
;
elink
.
style
.
display
=
'none'
;
...
...
src/components/review/salesleads-task-info.vue
View file @
ef5a97aa
...
...
@@ -16,6 +16,9 @@
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleTabClick"
>
<el-tab-pane
:label=
"`$
{tab.label}(${countList[tab.type]})`" :name="tab.name" v-for="tab in tabsList" :key="tab.name">
</el-tab-pane>
</el-tabs>
<el-tooltip
content=
"导出结果中会员姓名、手机号等敏感信息将进行加密,实现隐私保护"
placement=
"top"
>
<i
class=
"el-icon-warning-outline font-14 p-l-6 icon"
v-show=
"enableDownloadCompleteData == 0"
></i>
</el-tooltip>
<el-button
:loading=
"loadingBtn"
type=
"primary"
class=
"btn"
@
click=
"beforeExportExcel"
>
导出
</el-button>
<el-table
:data=
"tableData"
style=
"width: 100%"
height=
"200"
v-loading=
"loading"
>
<el-table-column
prop=
"memberName"
label=
"会员姓名"
show-overflow-tooltip
>
</el-table-column>
...
...
@@ -44,7 +47,13 @@ export default {
enableDownloadCompleteData
:
{
type
:
[
Number
,
String
],
default
()
{
return
1
;
return
0
;
}
},
date
:
{
type
:
[
Array
],
default
()
{
return
[];
}
},
storeId
:
''
,
...
...
@@ -107,7 +116,6 @@ export default {
},
methods
:
{
beforeExportExcel
()
{
console
.
log
(
this
.
enableDownloadCompleteData
);
if
(
this
.
enableDownloadCompleteData
==
1
)
{
this
.
exportDialog
=
true
;
}
else
{
...
...
@@ -123,7 +131,8 @@ export default {
*/
exportExcel
(
type
)
{
this
.
loadingBtn
=
true
;
console
.
log
(
this
.
ecmPlanName
);
let
url
=
'/haoban-task-manage-web/market/clue/export/store-view-task-detail-comp-detail'
;
console
.
log
(
this
.
date
);
let
para
=
{
enterpriseId
:
sessionStorage
.
getItem
(
'userInfoBrandId'
),
dataType
:
type
,
...
...
@@ -131,10 +140,15 @@ export default {
pageSize
:
this
.
pageParams
.
pageSize
,
taskId
:
this
.
pageParams
.
taskId
,
storeId
:
this
.
storeId
,
sendStatus
:
this
.
tabsList
[
this
.
activeName
].
params
,
ecmPlanName
:
this
.
ecmPlanName
sendStatus
:
this
.
tabsList
[
this
.
activeName
].
params
};
postExcel
(
'/haoban-task-manage-web/market/clue/export/store-view-task-detail-comp-detail'
,
para
)
let
fileName
=
this
.
date
.
length
?
`群发任务-门店视图-任务详情-完成详情_
${
this
.
date
[
0
]}
至
${
this
.
date
[
1
]}
.xls`
:
`群发任务-门店视图-任务详情-完成详情.xls`
;
if
(
this
.
ecmPlanName
)
{
para
.
ecmPlanName
=
this
.
ecmPlanName
;
url
=
'/haoban-task-manage-web/market/clue/export/plan-view-task-store-task-comp-detail'
;
fileName
=
this
.
date
.
length
?
`群发任务-计划视图-任务门店详情-任务详情-完成详情_
${
this
.
date
[
0
]}
至
${
this
.
date
[
1
]}
.xls`
:
`群发任务-计划视图-任务门店详情-任务详情-完成详情.xls`
;
}
postExcel
(
url
,
para
)
.
then
(
res
=>
{
this
.
loadingBtn
=
false
;
if
(
!
res
.
data
)
{
...
...
@@ -145,7 +159,6 @@ export default {
const
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/vnd.ms-excel'
});
const
fileName
=
`话务任务视图详情门店报表.csv`
;
const
elink
=
document
.
createElement
(
'a'
);
elink
.
download
=
fileName
;
elink
.
style
.
display
=
'none'
;
...
...
@@ -268,4 +281,8 @@ export default {
margin-bottom
:
20px
;
float
:
right
;
}
.icon
{
float
:
right
;
margin
:
10px
0
0
5px
;
}
</
style
>
src/views/salesleads/groupSend/grStoreDetail.vue
View file @
ef5a97aa
...
...
@@ -75,7 +75,7 @@
<el-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"pageParams.pageNum"
:page-sizes=
"[20, 40, 60, 80]"
:page-size=
"pageParams.pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
>
</el-pagination>
</div>
</div>
<salesleads-taskinfo
:item=
"finishDetail"
:storeId=
"$route.params.id"
:ecmPlanName=
"$route.query.ecmPlanName"
v-if=
"finishDetailShow"
@
close=
"close"
></salesleads-taskinfo>
<salesleads-taskinfo
:item=
"finishDetail"
:
enableDownloadCompleteData=
"enableDownloadCompleteData"
:date=
"pageParams.date"
:
storeId=
"$route.params.id"
:ecmPlanName=
"$route.query.ecmPlanName"
v-if=
"finishDetailShow"
@
close=
"close"
></salesleads-taskinfo>
<detail-preview
ref=
"detailPreview"
:previewData=
"previewData"
v-model=
"previewVisible"
@
closePreview=
"closePreview"
></detail-preview>
</div>
</div>
...
...
@@ -101,6 +101,12 @@ export default {
default
()
{
return
''
;
}
},
enableDownloadCompleteData
:
{
type
:
String
,
default
()
{
return
''
;
}
}
},
data
()
{
...
...
@@ -185,9 +191,11 @@ export default {
taskTitle
:
this
.
pageParams
.
taskTitle
,
finishOverStatus
:
this
.
pageParams
.
finishOverStatus
};
let
fileName
=
this
.
pageParams
.
date
.
length
?
`群发任务-门店视图-任务详情_
${
para
.
startTime
}
至
${
para
.
endTime
}
.xls`
:
`群发任务-门店视图-任务详情.xls`
;
if
(
this
.
$route
.
query
.
hasOwnProperty
(
'ecmPlanName'
))
{
para
.
ecmPlanName
=
this
.
$route
.
query
.
ecmPlanName
;
url
=
'/haoban-task-manage-web/market/clue/export/plan-view-task-store-task-detail'
;
fileName
=
this
.
pageParams
.
date
.
length
?
`群发任务-计划视图-任务门店详情-任务详情_
${
para
.
startTime
}
至
${
para
.
endTime
}
.xls`
:
`群发任务-计划视图-任务门店详情-任务详情.xls`
;
}
postExcel
(
url
,
para
)
.
then
(
res
=>
{
...
...
@@ -200,7 +208,6 @@ export default {
const
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/vnd.ms-excel'
});
const
fileName
=
`话务任务视图详情门店报表.csv`
;
const
elink
=
document
.
createElement
(
'a'
);
elink
.
download
=
fileName
;
elink
.
style
.
display
=
'none'
;
...
...
@@ -238,6 +245,7 @@ export default {
*/
changeDate
(
e
)
{
if
(
!
e
)
{
this
.
pageParams
.
date
=
[];
this
.
$store
.
dispatch
(
'changeSales'
,
[]);
}
else
{
this
.
$store
.
dispatch
(
'changeSales'
,
e
);
...
...
@@ -369,6 +377,7 @@ export default {
},
mounted
()
{
const
that
=
this
;
console
.
log
(
this
.
enableDownloadCompleteData
);
that
.
getFilterOpts
();
that
.
$nextTick
(()
=>
{
that
.
getTableList
();
...
...
src/views/salesleads/groupSend/grStoreList.vue
View file @
ef5a97aa
...
...
@@ -162,9 +162,11 @@ export default {
});
para
.
storeGroupIds
=
storeGroups
.
join
(
','
)
||
''
;
}
let
fileName
=
this
.
pageParams
.
date
.
length
?
`群发任务-门店视图_
${
para
.
startTime
}
至
${
para
.
endTime
}
.xls`
:
`群发任务-门店视图.xls`
;
if
(
this
.
$route
.
query
.
hasOwnProperty
(
'ecmPlanName'
))
{
para
=
{
...
para
,
...
this
.
$route
.
query
};
url
=
'/haoban-task-manage-web/market/clue/export/plan-view-task-store-detail'
;
fileName
=
this
.
pageParams
.
date
.
length
?
`群发任务-计划视图-任务门店详情_
${
para
.
startTime
}
至
${
para
.
endTime
}
.xls`
:
`群发任务-计划视图-任务门店详情.xls`
;
}
postExcel
(
url
,
para
)
.
then
(
res
=>
{
...
...
@@ -177,7 +179,6 @@ export default {
const
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/vnd.ms-excel'
});
const
fileName
=
`群发任务门店视图报表.csv`
;
const
elink
=
document
.
createElement
(
'a'
);
elink
.
download
=
fileName
;
elink
.
style
.
display
=
'none'
;
...
...
@@ -220,6 +221,7 @@ export default {
*/
changeDate
(
e
)
{
if
(
!
e
)
{
this
.
pageParams
.
date
=
[];
this
.
$store
.
dispatch
(
'changeSales'
,
[]);
}
else
{
this
.
$store
.
dispatch
(
'changeSales'
,
e
);
...
...
src/views/salesleads/groupSend/grTaskList.vue
View file @
ef5a97aa
...
...
@@ -161,7 +161,7 @@ export default {
const
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/vnd.ms-excel'
});
const
fileName
=
`话务任务视图详情门店报表.csv
`
;
const
fileName
=
this
.
pageParams
.
date
.
length
?
`群发任务-计划视图_
${
para
.
startTime
}
至
${
para
.
endTime
}
.xls`
:
`群发任务-计划视图.xls
`
;
const
elink
=
document
.
createElement
(
'a'
);
elink
.
download
=
fileName
;
elink
.
style
.
display
=
'none'
;
...
...
@@ -200,6 +200,7 @@ export default {
*/
changeDate
(
e
)
{
if
(
!
e
)
{
this
.
pageParams
.
date
=
[];
this
.
$store
.
dispatch
(
'changeSales'
,
[]);
}
else
{
this
.
$store
.
dispatch
(
'changeSales'
,
e
);
...
...
src/views/salesleads/trafficTask/taskDetail.vue
View file @
ef5a97aa
...
...
@@ -16,7 +16,7 @@
<el-button
type=
"danger"
@
click=
"multDel"
>
批量删除
</el-button>
<el-button
class=
"m-l-10"
type=
"primary"
:loading=
"loadingBtn"
@
click=
"beforeExportExcel"
plain
>
导出
</el-button>
<el-tooltip
content=
"导出结果中会员姓名、手机号等敏感信息将进行加密,实现隐私保护"
placement=
"top"
>
<i
class=
"el-icon-warning-outline font-14 p-l-6"
v-
if
=
"enableDownloadCompleteData == 0"
></i>
<i
class=
"el-icon-warning-outline font-14 p-l-6"
v-
show
=
"enableDownloadCompleteData == 0"
></i>
</el-tooltip>
</div>
</div>
...
...
@@ -384,7 +384,7 @@ export default {
const
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/vnd.ms-excel'
});
const
fileName
=
`门店任务导购报表.
csv
`
;
const
fileName
=
`门店任务导购报表.
xls
`
;
const
elink
=
document
.
createElement
(
'a'
);
elink
.
download
=
fileName
;
elink
.
style
.
display
=
'none'
;
...
...
src/views/salesleads/trafficTask/taskRecord.vue
View file @
ef5a97aa
...
...
@@ -306,7 +306,7 @@ export default {
const
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/vnd.ms-excel'
});
const
fileName
=
`
${
that
.
tableData
[
0
]
?
that
.
tableData
[
0
].
storeName
:
''
}
门店任务报表.
csv
`
;
const
fileName
=
`
${
that
.
tableData
[
0
]
?
that
.
tableData
[
0
].
storeName
:
''
}
门店任务报表.
xls
`
;
const
elink
=
document
.
createElement
(
'a'
);
elink
.
download
=
fileName
;
elink
.
style
.
display
=
'none'
;
...
...
src/views/salesleads/trafficTask/taskViewDetail.vue
View file @
ef5a97aa
...
...
@@ -23,7 +23,7 @@ import taskViewDetail from '@/components/app/taskViewDetail.vue';
<el-button
type=
"danger"
@
click=
"multDel"
>
批量删除
</el-button>
<el-button
:loading=
"loadingBtn"
type=
"primary"
@
click=
"beforeExportExcel"
>
导出
</el-button>
<el-tooltip
content=
"导出结果中会员姓名、手机号等敏感信息将进行加密,实现隐私保护"
placement=
"top"
>
<i
class=
"el-icon-warning-outline font-14 p-l-6"
v-
if
=
"enableDownloadCompleteData == 0"
></i>
<i
class=
"el-icon-warning-outline font-14 p-l-6"
v-
show
=
"enableDownloadCompleteData == 0"
></i>
</el-tooltip>
</div>
</div>
...
...
@@ -189,7 +189,7 @@ export default {
startDate
:
that
.
conditionObj
.
dateRange
[
0
]
||
''
,
endDate
:
that
.
conditionObj
.
dateRange
[
1
]
||
''
,
ecmId
:
that
.
$route
.
query
.
ecmId
,
ecmName
:
this
.
$route
.
query
.
ecmName
,
ecm
Plan
Name
:
this
.
$route
.
query
.
ecmName
,
storeIds
:
that
.
selectRadio
==
1
?
''
:
that
.
multipleSelection
.
map
(
ele
=>
ele
.
storeId
).
join
(
','
),
// 门店分组,数组
gicEnterpriseId
:
that
.
activeBrand
,
// 品牌 id
selectType
:
that
.
selectRadio
==
2
&&
that
.
multipleSelection
.
length
?
0
:
this
.
selectRadio
,
...
...
@@ -206,7 +206,7 @@ export default {
const
blob
=
new
Blob
([
res
.
data
],
{
type
:
'application/vnd.ms-excel'
});
const
fileName
=
`话务任务视图详情门店报表.
csv
`
;
const
fileName
=
`话务任务视图详情门店报表.
xls
`
;
const
elink
=
document
.
createElement
(
'a'
);
elink
.
download
=
fileName
;
elink
.
style
.
display
=
'none'
;
...
...
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