Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
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
memberTag
memberTag-web
Commits
374c790c
Commit
374c790c
authored
Oct 20, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 客户分组bug
parent
9b218f41
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
19 deletions
+33
-19
group-list.vue
src/view/memberGroup/group-list.vue
+1
-1
memberGroupEdit.vue
src/view/memberGroup/memberGroupEdit.vue
+5
-0
memberGroupList.vue
src/view/memberGroup/memberGroupList.vue
+27
-18
No files found.
src/view/memberGroup/group-list.vue
View file @
374c790c
...
...
@@ -82,7 +82,7 @@ export default {
this
.
getMemberGroupList
();
},
onScroll
(
e
)
{
if
((
e
.
target
.
scrollTop
+
e
.
target
.
clientHeight
)
>=
this
.
lists
.
length
*
4
0
)
{
if
((
e
.
target
.
scrollTop
+
e
.
target
.
clientHeight
)
>=
this
.
lists
.
length
*
2
0
)
{
this
.
onPageNumChange
();
}
},
...
...
src/view/memberGroup/memberGroupEdit.vue
View file @
374c790c
...
...
@@ -624,6 +624,11 @@ export default {
if
(
res
.
data
.
errorCode
==
0
)
{
showMsg
.
showmsg
(
this
.
ruleForm
.
memberTagGroupId
?
'编辑成功'
:
'新增成功'
,
'success'
);
this
.
changeRoute
(
'/memberGroupList'
);
}
else
if
(
res
.
data
.
errorCode
==
'200009'
){
this
.
$alert
(
res
.
data
.
message
,
'提示'
,
{
confirmButtonText
:
'知道了'
,
type
:
'warning'
})
}
else
{
this
.
$message
.
warning
(
res
.
data
.
message
);
}
...
...
src/view/memberGroup/memberGroupList.vue
View file @
374c790c
...
...
@@ -76,10 +76,11 @@
</el-popover>
</
template
>
</el-table-column>
<el-table-column
prop=
"latestUpdateTime"
min-
width=
"100"
label=
"更新时间"
>
<el-table-column
prop=
"latestUpdateTime"
width=
"100"
label=
"更新时间"
>
<
template
slot-scope=
"scope"
>
<p
class=
"h-18"
>
{{
scope
.
row
.
latestUpdateTime
|
formatTimeYMD
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
latestUpdateTime
|
formatTimeHMS
}}
</p>
<!--
<p
class=
"h-18"
>
{{
scope
.
row
.
latestUpdateTime
|
formatTimeYMD
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
latestUpdateTime
|
formatTimeHMS
}}
</p>
-->
{{
scope
.
row
.
latestUpdateTime
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"state"
label=
"状态"
min-width=
"80"
>
...
...
@@ -128,10 +129,11 @@
<el-table-column
label=
"创建人"
prop=
"createUserName"
min-width=
"110"
v-if=
"[2,3].includes($store.state.departAuth) || $store.state.isSuperAdmin"
>
<
template
slot-scope=
"{ row }"
>
{{
row
.
createUserName
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
min-
width=
"100"
label=
"创建时间"
>
<el-table-column
prop=
"createTime"
width=
"100"
label=
"创建时间"
>
<
template
slot-scope=
"scope"
>
<p
class=
"h-18"
>
{{
scope
.
row
.
createTime
|
formatTimeYMD
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
createTime
|
formatTimeHMS
}}
</p>
<!--
<p
class=
"h-18"
>
{{
scope
.
row
.
createTime
|
formatTimeYMD
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
createTime
|
formatTimeHMS
}}
</p>
-->
{{
scope
.
row
.
createTime
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"180"
fixed=
"right"
v-if=
"$getButtonLimit($buttonCode.memberTagDelGroup) || $getButtonLimit($buttonCode.memberTagFixedPile)"
>
...
...
@@ -246,8 +248,9 @@
</el-table-column>
<el-table-column
label=
"最近更新时间"
width=
"110"
>
<
template
slot-scope=
"scope"
>
<p
class=
"h-18"
>
{{
scope
.
row
.
latestUpdateTime
|
formatTimeYMD
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
latestUpdateTime
|
formatTimeHMS
}}
</p>
<!--
<p
class=
"h-18"
>
{{
scope
.
row
.
latestUpdateTime
|
formatTimeYMD
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
latestUpdateTime
|
formatTimeHMS
}}
</p>
-->
{{
scope
.
row
.
latestUpdateTime
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"state"
label=
"状态"
min-width=
"70"
>
...
...
@@ -295,11 +298,12 @@
<el-table-column
label=
"创建人"
min-width=
"110"
prop=
"createUserName"
v-if=
"[2,3].includes($store.state.departAuth) || $store.state.isSuperAdmin"
>
<
template
slot-scope=
"{ row }"
>
{{
row
.
createUserName
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"recentUpdateDate"
min-
width=
"100"
label=
"到期时间"
>
<el-table-column
prop=
"recentUpdateDate"
width=
"100"
label=
"到期时间"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"!scope.row.isRealTime"
>
<p
class=
"h-18"
>
{{
scope
.
row
.
effectiveDate
|
formatTimeYMD
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
effectiveDate
|
formatTimeHMS
}}
</p>
<!--
<p
class=
"h-18"
>
{{
scope
.
row
.
effectiveDate
|
formatTimeYMD
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
effectiveDate
|
formatTimeHMS
}}
</p>
-->
{{
scope
.
row
.
effectiveDate
}}
</
template
>
<
template
v-else
>
--
</
template
>
</template>
...
...
@@ -307,15 +311,19 @@
<el-table-column
prop=
"updateTime"
min-width=
"110"
label=
"最近编辑时间"
>
<
template
slot-scope=
"scope"
>
<p
class=
"h-18"
>
{{
scope
.
row
.
updateTime
?
dateformat
(
new
Date
(
scope
.
row
.
updateTime
),
'yyyy-MM-dd'
)
:
'--'
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
updateTime
?
dateformat
(
new
Date
(
scope
.
row
.
updateTime
),
'hh:mm:ss'
)
:
'--'
}}
</p>
<template
v-if=
"scope.row.updateTime"
>
<p
class=
"h-18"
>
{{
scope
.
row
.
updateTime
?
dateformat
(
new
Date
(
scope
.
row
.
updateTime
),
'yyyy-MM-dd'
)
:
'--'
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
updateTime
?
dateformat
(
new
Date
(
scope
.
row
.
updateTime
),
'hh:mm:ss'
)
:
'--'
}}
</p>
</
template
>
<
template
v-else
>
--
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
"createTime"
min-
width=
"100"
label=
"创建时间"
>
<el-table-column
prop=
"createTime"
width=
"100"
label=
"创建时间"
>
<
template
slot-scope=
"scope"
>
<p
class=
"h-18"
>
{{
scope
.
row
.
createTime
|
formatTimeYMD
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
createTime
|
formatTimeHMS
}}
</p>
<!--
<p
class=
"h-18"
>
{{
scope
.
row
.
createTime
|
formatTimeYMD
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
createTime
|
formatTimeHMS
}}
</p>
-->
{{
scope
.
row
.
createTime
}}
</
template
>
</el-table-column>
...
...
@@ -395,8 +403,9 @@
</el-table-column>
<el-table-column
label=
"最近更新时间"
prop=
"latestUpdateTime"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<p
class=
"h-18"
>
{{
scope
.
row
.
latestUpdateTime
|
formatTimeYMD
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
latestUpdateTime
|
formatTimeHMS
}}
</p>
<!--
<p
class=
"h-18"
>
{{
scope
.
row
.
latestUpdateTime
|
formatTimeYMD
}}
</p>
<p
class=
"h-18"
>
{{
scope
.
row
.
latestUpdateTime
|
formatTimeHMS
}}
</p>
-->
{{
scope
.
row
.
latestUpdateTime
}}
</
template
>
</el-table-column>
<el-table-column
label=
"分类名称"
prop=
"groupClassifyName"
min-width=
"100"
>
...
...
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