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
4a977f15
Commit
4a977f15
authored
Jul 19, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fenzu
parent
a3f607a3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
16 deletions
+26
-16
index.vue
src/views/salesleads/actCodeManage/staffActCode/index.vue
+3
-3
act-code-table.vue
...leads/actCodeManage/staffActCode/views/act-code-table.vue
+10
-11
group-list.vue
...alesleads/actCodeManage/staffActCode/views/group-list.vue
+2
-0
act-code-set.vue
src/views/salesleads/components/act-code-set.vue
+1
-1
dataDetail.vue
src/views/salesleads/components/dataDetail.vue
+1
-1
welcomesItem.vue
src/views/salesleads/components/welcomesItem.vue
+9
-0
No files found.
src/views/salesleads/actCodeManage/staffActCode/index.vue
View file @
4a977f15
...
@@ -41,9 +41,9 @@ export default {
...
@@ -41,9 +41,9 @@ export default {
currentGroupId
:
{
currentGroupId
:
{
handler
:
function
(
val
)
{
handler
:
function
(
val
)
{
console
.
log
(
val
,
111
);
console
.
log
(
val
,
111
);
if
(
val
!=
null
)
{
//
if (val != null) {
this
.
currentGroupId
=
val
;
this
.
currentGroupId
=
val
;
}
//
}
},
},
immediate
:
true
immediate
:
true
}
}
...
...
src/views/salesleads/actCodeManage/staffActCode/views/act-code-table.vue
View file @
4a977f15
...
@@ -46,12 +46,12 @@
...
@@ -46,12 +46,12 @@
<el-table-column
type=
"selection"
width=
"60"
fixed
>
</el-table-column>
<el-table-column
type=
"selection"
width=
"60"
fixed
>
</el-table-column>
<el-table-column
width=
"60"
class-name=
"table-select-cell"
fixed
>
<el-table-column
width=
"60"
class-name=
"table-select-cell"
fixed
>
<template
#
header
>
<template
#
header
>
<dm-table-select-page
class=
"table-select"
:type=
"selectPage.type"
:data-ready=
"selectPage.dataReady"
:table-vm=
"$refs.actCodeTableRef"
:table-data=
"
actCodeList
"
:total=
"totalCount"
@
change=
"t => (selectPage.type = t)"
@
selection-change=
"handleSelectionChange"
></dm-table-select-page>
<dm-table-select-page
class=
"table-select"
:type=
"selectPage.type"
:data-ready=
"selectPage.dataReady"
:table-vm=
"$refs.actCodeTableRef"
:table-data=
"
tableData
"
:total=
"totalCount"
@
change=
"t => (selectPage.type = t)"
@
selection-change=
"handleSelectionChange"
></dm-table-select-page>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"活码ID"
fixed
width=
"110"
>
<el-table-column
label=
"活码ID"
fixed
width=
"110"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
<p>
{{
row
.
hm
Id
}}
</p>
<p>
{{
row
.
hm
Code
}}
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"活码信息"
width=
"100"
>
<el-table-column
label=
"活码信息"
width=
"100"
>
...
@@ -454,9 +454,7 @@ export default {
...
@@ -454,9 +454,7 @@ export default {
this
.
inFields
.
startTime
=
this
.
dateTime
?
Date
.
parse
(
new
Date
(
this
.
dateTime
[
0
]).
toString
())
:
''
;
this
.
inFields
.
startTime
=
this
.
dateTime
?
Date
.
parse
(
new
Date
(
this
.
dateTime
[
0
]).
toString
())
:
''
;
this
.
inFields
.
endTime
=
this
.
dateTime
?
Date
.
parse
(
new
Date
(
this
.
dateTime
[
1
]).
toString
())
:
''
;
this
.
inFields
.
endTime
=
this
.
dateTime
?
Date
.
parse
(
new
Date
(
this
.
dateTime
[
1
]).
toString
())
:
''
;
}
}
if
(
this
.
currentGroupId
!=
null
)
{
this
.
inFields
.
hmGroupId
=
this
.
currentGroupId
;
this
.
inFields
.
hmGroupId
=
Number
(
this
.
currentGroupId
);
}
if
(
this
.
inFields
.
hmSelect
==
''
)
{
if
(
this
.
inFields
.
hmSelect
==
''
)
{
delete
this
.
inFields
.
hmSelect
;
delete
this
.
inFields
.
hmSelect
;
}
}
...
@@ -483,21 +481,22 @@ export default {
...
@@ -483,21 +481,22 @@ export default {
this
.
tableData
=
res
.
data
.
result
.
data
||
[];
this
.
tableData
=
res
.
data
.
result
.
data
||
[];
this
.
totalCount
=
res
.
data
.
result
.
page
.
totalCount
;
this
.
totalCount
=
res
.
data
.
result
.
page
.
totalCount
;
}
}
this
.
selectPage
.
dataReady
=
true
;
})
})
.
finally
(
_
=>
{
.
finally
(
_
=>
{
this
.
loadingStatus
=
false
;
this
.
loadingStatus
=
false
;
this
.
selectPage
.
dataReady
=
true
;
});
});
}
}
},
},
watch
:
{
watch
:
{
currentGroupId
:
{
currentGroupId
:
{
handler
:
function
(
val
)
{
handler
:
function
(
val
)
{
if
(
val
!=
null
)
{
console
.
log
(
'val'
,
val
,
'val'
);
this
.
currentGroupId
=
val
;
// if (val != null) {
this
.
pageParam
.
pageNum
=
1
;
this
.
currentGroupId
=
val
;
this
.
getTableList
();
this
.
pageParam
.
pageNum
=
1
;
}
this
.
getTableList
();
// }
},
},
immediate
:
true
immediate
:
true
}
}
...
...
src/views/salesleads/actCodeManage/staffActCode/views/group-list.vue
View file @
4a977f15
...
@@ -115,7 +115,9 @@ export default {
...
@@ -115,7 +115,9 @@ export default {
}
}
}
,
}
,
clickGroupListItem
(
listItem
)
{
clickGroupListItem
(
listItem
)
{
console
.
log
(
listItem
,
'uuuuu'
);
this
.
currentListItemUuid
=
listItem
.
groupId
;
this
.
currentListItemUuid
=
listItem
.
groupId
;
console
.
log
(
this
.
currentListItemUuid
,
'this.currentListItemUuid'
);
this
.
$emit
(
'updateList'
,
this
.
currentListItemUuid
);
this
.
$emit
(
'updateList'
,
this
.
currentListItemUuid
);
}
,
}
,
isShowGroupListItemMore
(
listItem
)
{
isShowGroupListItemMore
(
listItem
)
{
...
...
src/views/salesleads/components/act-code-set.vue
View file @
4a977f15
...
@@ -63,7 +63,7 @@ export default {
...
@@ -63,7 +63,7 @@ export default {
hmGroupId
:
''
,
//活码分组id
hmGroupId
:
''
,
//活码分组id
passFlag
:
true
,
// 1自动通过 0否
passFlag
:
true
,
// 1自动通过 0否
memberLabelId
:
'fd6b44967aa647bcadfad10706244c56'
,
//会员活动标签id
memberLabelId
:
'fd6b44967aa647bcadfad10706244c56'
,
//会员活动标签id
memberLabelName
:
''
,
memberLabelName
:
'
测试121212-木瑾0630测试标签值50
'
,
welcomeId
:
''
// 欢迎语id
welcomeId
:
''
// 欢迎语id
// clerkIdList: '', // 选择导购id
// clerkIdList: '', // 选择导购id
// storeId: '' //门店id
// storeId: '' //门店id
...
...
src/views/salesleads/components/dataDetail.vue
View file @
4a977f15
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<dm-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"pageParam.pageNo"
:page-sizes=
"[20, 40, 60, 80]"
:page-size=
"pageParam.pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"totalCount"
>
</dm-pagination>
<dm-pagination
v-if=
"tableData && tableData.length > 0"
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"pageParam.pageNo"
:page-sizes=
"[20, 40, 60, 80]"
:page-size=
"pageParam.pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"totalCount"
>
</dm-pagination>
</div>
</div>
</template>
</template>
...
...
src/views/salesleads/components/welcomesItem.vue
View file @
4a977f15
...
@@ -105,6 +105,15 @@ export default {
...
@@ -105,6 +105,15 @@ export default {
activated
()
{
activated
()
{
this
.
onSearch
();
this
.
onSearch
();
},
},
// mounted() {
// this.getWelcomeTable();
// document.addEventListener('visibilitychange', () => {
// console.log(document.visibilityState, 99999);
// if (document.visibilityState == 'visible') {
// this.getWelcomeTable();
// }
// });
// },
methods
:
{
methods
:
{
onSearch
()
{
onSearch
()
{
this
.
welcomePage
.
pageNum
=
1
;
this
.
welcomePage
.
pageNum
=
1
;
...
...
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