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 767ac3bd
authored
Nov 03, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
离职继承分配员工刷新问题
1 parent
ff82694e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
41 deletions
linkwe-ui/src/views/customerManage/dimission/index.vue
linkwe-ui/src/views/customerManage/dimission/index.vue
View file @
767ac3b
...
@@ -88,6 +88,7 @@ export default {
...
@@ -88,6 +88,7 @@ export default {
})
})
.
then
(()
=>
{
.
then
(()
=>
{
this
.
msgSuccess
(
'操作成功'
)
this
.
msgSuccess
(
'操作成功'
)
this
.
getList
()
loading
.
close
()
loading
.
close
()
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
...
@@ -104,13 +105,7 @@ export default {
...
@@ -104,13 +105,7 @@ export default {
<
template
>
<
template
>
<div
class=
"page"
>
<div
class=
"page"
>
<el-form
<el-form
ref=
"queryForm"
:inline=
"true"
:model=
"query"
label-width=
"100px"
class=
"top-search"
>
ref=
"queryForm"
:inline=
"true"
:model=
"query"
label-width=
"100px"
class=
"top-search"
>
<el-form-item
label=
"已离职员工"
prop=
"userName"
>
<el-form-item
label=
"已离职员工"
prop=
"userName"
>
<el-input
v-model=
"query.userName"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"query.userName"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -128,16 +123,8 @@ export default {
...
@@ -128,16 +123,8 @@ export default {
</el-form-item>
</el-form-item>
<el-form-item
label
>
<el-form-item
label
>
<el-button
<el-button
v-hasPermi=
"['customerManage:dimission:query']"
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button>
v-hasPermi=
"['customerManage:dimission:query']"
<el-button
v-hasPermi=
"['customerManage:dimission:query']"
type=
"success"
@
click=
"resetForm('queryForm')"
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button
>
<el-button
v-hasPermi=
"['customerManage:dimission:query']"
type=
"success"
@
click=
"resetForm('queryForm')"
>
重置
</el-button
>
重置
</el-button
>
>
</el-form-item>
</el-form-item>
...
@@ -152,10 +139,7 @@ export default {
...
@@ -152,10 +139,7 @@ export default {
@
click=
"$router.push(
{ path: 'allocatedStaffList' })"
@
click=
"$router.push(
{ path: 'allocatedStaffList' })"
>已分配的离职员工
</el-button
>已分配的离职员工
</el-button
>
>
<el-button
<el-button
v-hasPermi=
"['customerManage:dimission:allocate']"
type=
"info"
@
click=
"showSelectDialog"
v-hasPermi=
"['customerManage:dimission:allocate']"
type=
"info"
@
click=
"showSelectDialog"
>
分配给其他员工
</el-button
>
分配给其他员工
</el-button
>
>
</div>
</div>
...
@@ -173,21 +157,9 @@ export default {
...
@@ -173,21 +157,9 @@ export default {
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
></el-table-column>
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
></el-table-column>
<el-table-column
prop=
"userName"
label=
"已离职员工"
></el-table-column>
<el-table-column
prop=
"userName"
label=
"已离职员工"
></el-table-column>
<el-table-column
prop=
"department"
label=
"所属部门"
></el-table-column>
<el-table-column
prop=
"department"
label=
"所属部门"
></el-table-column>
<el-table-column
<el-table-column
prop=
"allocateCustomerNum"
label=
"待分配客户数"
show-overflow-tooltip
></el-table-column>
prop=
"allocateCustomerNum"
<el-table-column
prop=
"allocateGroupNum"
label=
"待分配群聊数"
show-overflow-tooltip
></el-table-column>
label=
"待分配客户数"
<el-table-column
prop=
"dimissionTime"
label=
"离职时间"
show-overflow-tooltip
>
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
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
dimissionTime
}}
</
template
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
dimissionTime
}}
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column label="操作" width="100">
<!-- <el-table-column label="操作" width="100">
...
@@ -206,11 +178,7 @@ export default {
...
@@ -206,11 +178,7 @@ export default {
/>
/>
<!-- 选择添加人弹窗 -->
<!-- 选择添加人弹窗 -->
<SelectUser
<SelectUser
:visible
.
sync=
"dialogVisibleSelectUser"
title=
"选择分配人"
@
success=
"allocate"
></SelectUser>
:visible
.
sync=
"dialogVisibleSelectUser"
title=
"选择分配人"
@
success=
"allocate"
></SelectUser>
</div>
</div>
</template>
</template>
...
...
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