Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 57d61e59
authored
Jun 01, 2023
by
怪兽?别跑
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
离职继承日期格式化
1 parent
ec75008f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
linkwe-pc/src/views/customerManage/dimission/allocatedStaffList.vue
linkwe-pc/src/views/customerManage/dimission/index.vue
linkwe-pc/src/views/customerManage/dimission/allocatedStaffList.vue
View file @
57d61e5
<
script
>
<
script
>
import
{
getListTable
}
from
'@/api/customer/dimission'
import
{
getListTable
}
from
'@/api/customer/dimission'
import
{
dateFormat
}
from
'@/utils/index'
export
default
{
export
default
{
name
:
'AllocatedStaffList'
,
name
:
'AllocatedStaffList'
,
...
@@ -30,6 +31,9 @@
...
@@ -30,6 +31,9 @@
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
setDate
(
date
)
{
return
dateFormat
(
new
Date
(
date
))
},
/** 查询 */
/** 查询 */
getList
(
page
)
{
getList
(
page
)
{
if
(
this
.
dateRange
)
{
if
(
this
.
dateRange
)
{
...
@@ -94,7 +98,7 @@
...
@@ -94,7 +98,7 @@
<el-table-column
prop=
"allocateCustomerNum"
label=
"已分配客户数"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"allocateCustomerNum"
label=
"已分配客户数"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"allocateGroupNum"
label=
"已分配群聊数"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"allocateGroupNum"
label=
"已分配群聊数"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"dimissionTime"
label=
"离职时间"
show-overflow-tooltip
>
<el-table-column
prop=
"dimissionTime"
label=
"离职时间"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
{{
s
cope
.
row
.
dimissionTime
}}
</
template
>
<template
slot-scope=
"scope"
>
{{
s
etDate
(
scope
.
row
.
dimissionTime
)
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
width=
"100"
>
<el-table-column
label=
"操作"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
...
linkwe-pc/src/views/customerManage/dimission/index.vue
View file @
57d61e5
<
script
>
<
script
>
import
*
as
api
from
'@/api/customer/dimission'
import
*
as
api
from
'@/api/customer/dimission'
import
SelectWeUser
from
'@/components/SelectWeUser'
import
SelectWeUser
from
'@/components/SelectWeUser'
import
{
dateFormat
}
from
'@/utils/index'
export
default
{
export
default
{
name
:
'Dimission'
,
name
:
'Dimission'
,
components
:
{
SelectWeUser
},
components
:
{
SelectWeUser
},
...
@@ -44,6 +44,9 @@
...
@@ -44,6 +44,9 @@
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
setDate
(
date
)
{
return
dateFormat
(
new
Date
(
date
))
},
/** 查询 */
/** 查询 */
getList
(
page
)
{
getList
(
page
)
{
if
(
this
.
dateRange
)
{
if
(
this
.
dateRange
)
{
...
@@ -188,7 +191,7 @@
...
@@ -188,7 +191,7 @@
<el-table-column
prop=
"allocateCustomerNum"
label=
"待分配客户数"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"allocateCustomerNum"
label=
"待分配客户数"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"allocateGroupNum"
label=
"待分配群聊数"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"allocateGroupNum"
label=
"待分配群聊数"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"dimissionTime"
label=
"离职时间"
show-overflow-tooltip
>
<el-table-column
prop=
"dimissionTime"
label=
"离职时间"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
{{
s
cope
.
row
.
dimissionTime
}}
</
template
>
<template
slot-scope=
"scope"
>
{{
s
etDate
(
scope
.
row
.
dimissionTime
)
}}
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column label="操作" width="100">
<!-- <el-table-column label="操作" width="100">
<template slot-scope="scope">
<template slot-scope="scope">
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment