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
7a51a330
Commit
7a51a330
authored
Jun 24, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改设置模板
parent
caa30f4d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
8 deletions
+24
-8
taskView.vue
src/components/app/taskView.vue
+6
-2
taskDetail.vue
src/views/apps/trafficTask/taskDetail.vue
+6
-2
taskRecord.vue
src/views/apps/trafficTask/taskRecord.vue
+6
-2
taskViewDetail.vue
src/views/apps/trafficTask/taskViewDetail.vue
+6
-2
No files found.
src/components/app/taskView.vue
View file @
7a51a330
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-06-2
3 15:35:26
* @LastEditTime: 2020-06-2
4 09:54:59
-->
<!--
<taskView :brandId="brandId" activeGroupId></taskView>
...
...
@@ -248,6 +248,10 @@ export default {
*/
exportExcel
()
{
const
that
=
this
;
if
(
!
that
.
multipleSelection
.
length
)
{
showMsg
.
showmsg
(
'请选择任务'
,
'warning'
);
return
false
;
}
that
.
loadingBtn
=
true
;
let
para
=
{
...
...
@@ -255,7 +259,7 @@ export default {
selectType
:
that
.
selectRadio
,
ecmIds
:
that
.
selectRadio
==
1
?
''
:
that
.
multipleSelection
.
map
(
ele
=>
ele
.
ecmId
).
join
(
','
)
};
postExcel
(
'/haoban-app-tel-task-three-web/task/export-
store
-task-list'
,
para
)
postExcel
(
'/haoban-app-tel-task-three-web/task/export-
task-view
-task-list'
,
para
)
.
then
(
res
=>
{
that
.
loadingBtn
=
false
;
if
(
!
res
.
data
)
{
...
...
src/views/apps/trafficTask/taskDetail.vue
View file @
7a51a330
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-06-2
3 15:36:59
* @LastEditTime: 2020-06-2
4 09:54:28
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -278,6 +278,10 @@ export default {
*/
exportExcel
()
{
const
that
=
this
;
if
(
!
that
.
multipleSelection
.
length
)
{
showMsg
.
showmsg
(
'请选择导购'
,
'warning'
);
return
false
;
}
that
.
loadingBtn
=
true
;
let
para
=
{
...
...
@@ -285,7 +289,7 @@ export default {
selectType
:
that
.
selectRadio
,
taskIds
:
that
.
selectRadio
==
1
?
''
:
that
.
multipleSelection
.
map
(
ele
=>
ele
.
taskId
).
join
(
','
)
};
postExcel
(
'/haoban-app-tel-task-three-web/task/export-store-
tas
k-list'
,
para
)
postExcel
(
'/haoban-app-tel-task-three-web/task/export-store-
view-cler
k-list'
,
para
)
.
then
(
res
=>
{
that
.
loadingBtn
=
false
;
if
(
!
res
.
data
)
{
...
...
src/views/apps/trafficTask/taskRecord.vue
View file @
7a51a330
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-06-24 09:
41:19
* @LastEditTime: 2020-06-24 09:
53:42
-->
<
template
>
<div
class=
"daily-set-wrap "
>
...
...
@@ -253,6 +253,10 @@ export default {
*/
exportExcel
()
{
const
that
=
this
;
if
(
!
that
.
multipleSelection
.
length
)
{
showMsg
.
showmsg
(
'请选择门店'
,
'warning'
);
return
false
;
}
that
.
loadingBtn
=
true
;
let
storeGroups
=
[];
that
.
conditionObj
.
storeGroup
.
forEach
(
ele
=>
{
...
...
@@ -261,7 +265,7 @@ export default {
let
para
=
{
search
:
that
.
conditionObj
.
searchInput
||
''
,
// 搜索字段
storeGroupIds
:
storeGroups
.
join
(
','
)
||
''
,
// 门店分组,数组
// storeIds: that.multipleSelection.map(ele => ele.storeId).join(',
') || '', // 门店分组,数组
storeIds
:
that
.
selectRadio
==
1
?
''
:
that
.
multipleSelection
.
map
(
ele
=>
ele
.
storeId
).
join
(
'
'
)
||
''
,
// 门店分组,数组
storeType
:
that
.
conditionObj
.
storeType
||
''
,
//门店类型
startDate
:
!!
that
.
conditionObj
.
dateRange
?
that
.
conditionObj
.
dateRange
[
0
]
:
''
,
endDate
:
!!
that
.
conditionObj
.
dateRange
?
that
.
conditionObj
.
dateRange
[
1
]
:
''
,
...
...
src/views/apps/trafficTask/taskViewDetail.vue
View file @
7a51a330
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-06-2
3 15:36:03
* @LastEditTime: 2020-06-2
4 09:55:16
-->
<!--
<taskViewDetail :brandId="brandId" :activeGroupId="activeGroupId"></taskViewDetail>
...
...
@@ -285,6 +285,10 @@ export default {
*/
exportExcel
()
{
const
that
=
this
;
if
(
!
that
.
multipleSelection
.
length
)
{
showMsg
.
showmsg
(
'请选择门店'
,
'warning'
);
return
false
;
}
that
.
loadingBtn
=
true
;
let
para
=
{
...
...
@@ -293,7 +297,7 @@ export default {
gicEnterpriseId
:
that
.
activeBrand
,
// 品牌 id
selectType
:
String
(
that
.
selectRadio
)
};
postExcel
(
'/haoban-app-tel-task-three-web/task/export-
store-task
-list'
,
para
)
postExcel
(
'/haoban-app-tel-task-three-web/task/export-
task-view-store
-list'
,
para
)
.
then
(
res
=>
{
if
(
!
res
.
data
)
{
that
.
loadingBtn
=
false
;
...
...
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