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
88815aba
Commit
88815aba
authored
Jul 19, 2022
by
crushh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/act-code' of
http://git.gicdev.com/office/haoban-3
into feature/act-code
parents
7449bc58
ed487920
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
act-code-table.vue
...leads/actCodeManage/staffActCode/views/act-code-table.vue
+7
-8
setActCode.vue
...alesleads/actCodeManage/staffActCode/views/setActCode.vue
+1
-0
act-code-set.vue
src/views/salesleads/components/act-code-set.vue
+1
-0
No files found.
src/views/salesleads/actCodeManage/staffActCode/views/act-code-table.vue
View file @
88815aba
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
<el-table-column
label=
"活码状态"
width=
"130"
>
<el-table-column
label=
"活码状态"
width=
"130"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
<p><span
class=
"dot normal"
v-if=
"row.statusFlag == 1"
>
正常
</span><span
class=
"dot voided"
v-if=
"row.statusFlag == 2"
>
作废
</span><span
class=
"dot needSure"
v-if=
"row.statusFlag == 3"
>
待生效
</span></p>
<p><span
class=
"dot normal"
v-if=
"row.statusFlag == 1"
>
正常
</span><span
class=
"dot voided"
v-if=
"row.statusFlag == 2"
>
作废
</span><span
class=
"dot needSure"
v-if=
"row.statusFlag == 3"
>
待生效
</span></p>
<p
class=
"toTopTip"
v-if=
"row.
status
Flag == 1"
>
(今日已达上限)
</p>
<p
class=
"toTopTip"
v-if=
"row.
over
Flag == 1"
>
(今日已达上限)
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"添加好友人数"
prop=
"addNum"
sortable=
"custom"
width=
"150"
>
<el-table-column
label=
"添加好友人数"
prop=
"addNum"
sortable=
"custom"
width=
"150"
>
...
@@ -132,7 +132,7 @@
...
@@ -132,7 +132,7 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"block common-wrap__page text-right m-t-24"
v-if=
"tableData.length"
>
<div
class=
"block common-wrap__page text-right m-t-24"
v-if=
"tableData.length"
>
<el-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:page-size
.
sync=
"pageParam.pageSize"
:current-page
.
sync=
"pageParam.pageN
um
"
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[20, 40, 60, 80]"
:total=
"totalCount"
>
</el-pagination>
<el-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:page-size
.
sync=
"pageParam.pageSize"
:current-page
.
sync=
"pageParam.pageN
o
"
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[20, 40, 60, 80]"
:total=
"totalCount"
>
</el-pagination>
</div>
</div>
<el-dialog
title=
"选择分组"
:visible
.
sync=
"dialogGroupFormVisible"
width=
"25%"
>
<el-dialog
title=
"选择分组"
:visible
.
sync=
"dialogGroupFormVisible"
width=
"25%"
>
<el-form
:model=
"formGroup"
>
<el-form
:model=
"formGroup"
>
...
@@ -284,7 +284,7 @@ export default {
...
@@ -284,7 +284,7 @@ export default {
// 分页参数
// 分页参数
pageParam
:
{
pageParam
:
{
pageSize
:
20
,
pageSize
:
20
,
pageN
um
:
1
pageN
o
:
1
},
},
sortColumn
:
''
,
sortColumn
:
''
,
sortType
:
''
,
sortType
:
''
,
...
@@ -428,12 +428,12 @@ export default {
...
@@ -428,12 +428,12 @@ export default {
},
},
// 当前页变化
// 当前页变化
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
pageParam
.
pageN
um
=
val
;
this
.
pageParam
.
pageN
o
=
val
;
this
.
getTableList
();
this
.
getTableList
();
},
},
// 页码
// 页码
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
this
.
pageParam
.
pageN
um
=
1
;
this
.
pageParam
.
pageN
o
=
1
;
this
.
pageParam
.
pageSize
=
val
;
this
.
pageParam
.
pageSize
=
val
;
this
.
getTableList
();
this
.
getTableList
();
},
},
...
@@ -445,7 +445,7 @@ export default {
...
@@ -445,7 +445,7 @@ export default {
this
.
getTableList
();
this
.
getTableList
();
},
},
searchList
()
{
searchList
()
{
this
.
page
Num
=
1
;
this
.
page
Param
.
pageNo
=
1
;
this
.
getTableList
();
this
.
getTableList
();
},
},
getTableList
()
{
getTableList
()
{
...
@@ -491,10 +491,9 @@ export default {
...
@@ -491,10 +491,9 @@ export default {
watch
:
{
watch
:
{
currentGroupId
:
{
currentGroupId
:
{
handler
:
function
(
val
)
{
handler
:
function
(
val
)
{
console
.
log
(
'val'
,
val
,
'val'
);
// if (val != null) {
// if (val != null) {
this
.
currentGroupId
=
val
;
this
.
currentGroupId
=
val
;
this
.
pageParam
.
pageN
um
=
1
;
this
.
pageParam
.
pageN
o
=
1
;
this
.
getTableList
();
this
.
getTableList
();
// }
// }
},
},
...
...
src/views/salesleads/actCodeManage/staffActCode/views/setActCode.vue
View file @
88815aba
...
@@ -47,6 +47,7 @@ export default {
...
@@ -47,6 +47,7 @@ export default {
};
};
},
},
created
()
{
created
()
{
console
.
log
(
this
.
$route
.
query
.
hmId
,
'this.$route.query.hmId'
);
if
(
this
.
$route
.
query
.
hmId
)
{
if
(
this
.
$route
.
query
.
hmId
)
{
this
.
getActCodeInfo
();
this
.
getActCodeInfo
();
}
}
...
...
src/views/salesleads/components/act-code-set.vue
View file @
88815aba
...
@@ -140,6 +140,7 @@ export default {
...
@@ -140,6 +140,7 @@ export default {
},
},
// 保存按钮
// 保存按钮
save
()
{
save
()
{
console
.
log
(
this
.
form
,
'this.form'
);
if
(
!
this
.
$refs
.
welcomeItem
.
submit
())
{
if
(
!
this
.
$refs
.
welcomeItem
.
submit
())
{
return
;
return
;
}
}
...
...
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