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 b64617a2
authored
Dec 27, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
a99357d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
14 deletions
linkwe-ui/src/components/SelectPoster.vue
linkwe-ui/src/views/customerManage/dimission/index.vue
linkwe-ui/src/views/material/poster.vue
linkwe-ui/src/components/SelectPoster.vue
View file @
b64617a
...
...
@@ -37,7 +37,8 @@ export default {
pageNum
:
1
,
pageSize
:
10
,
categoryId
:
''
,
search
:
''
search
:
''
,
status
:
0
// 0 启用 1 不启用
},
selectPoster
:
{}
}
...
...
linkwe-ui/src/views/customerManage/dimission/index.vue
View file @
b64617a
...
...
@@ -95,9 +95,20 @@ export default {
loading
.
close
()
})
},
// 选中数据
handleCurrentChange
(
val
)
{
this
.
currentRow
=
val
// // 选中数据
// handleCurrentChange(val) {
// this.currentRow = val
// },
// 多选框选中数据
handleSelectionChange
(
selection
)
{
this
.
currentRow
=
selection
[
0
]
},
// 用于多选变单选
handleSelection
(
selection
,
row
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
table
.
clearSelection
()
this
.
$refs
.
table
.
toggleRowSelection
(
row
)
})
}
}
}
...
...
@@ -123,8 +134,16 @@ export default {
</el-form-item>
<el-form-item
label
>
<el-button
v-hasPermi=
"['customerManage:dimission:query']"
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button>
<el-button
v-hasPermi=
"['customerManage:dimission:query']"
type=
"success"
@
click=
"resetForm('queryForm')"
<el-button
v-hasPermi=
"['customerManage:dimission:query']"
type=
"primary"
@
click=
"getList(1)"
>
查询
</el-button
>
<el-button
v-hasPermi=
"['customerManage:dimission:query']"
type=
"success"
@
click=
"resetForm('queryForm')"
>
重置
</el-button
>
</el-form-item>
...
...
@@ -139,7 +158,10 @@ export default {
@
click=
"$router.push(
{ path: 'allocatedStaffList' })"
>已分配的离职员工
</el-button
>
<el-button
v-hasPermi=
"['customerManage:dimission:allocate']"
type=
"info"
@
click=
"showSelectDialog"
<el-button
v-hasPermi=
"['customerManage:dimission:allocate']"
type=
"info"
@
click=
"showSelectDialog"
>
分配给其他员工
</el-button
>
</div>
...
...
@@ -152,13 +174,23 @@ export default {
tooltip-effect=
"dark"
style=
"width: 100%"
highlight-current-row
@
current-change=
"handleCurrentChange"
@
select=
"handleSelection"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
align=
"center"
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=
"department"
label=
"所属部门"
></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=
"allocateCustomerNum"
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
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
dimissionTime
}}
</
template
>
</el-table-column>
...
...
@@ -178,7 +210,11 @@ export default {
/>
<!-- 选择添加人弹窗 -->
<SelectUser
:visible
.
sync=
"dialogVisibleSelectUser"
title=
"选择分配人"
@
success=
"allocate"
></SelectUser>
<SelectUser
:visible
.
sync=
"dialogVisibleSelectUser"
title=
"选择分配人"
@
success=
"allocate"
></SelectUser>
</div>
</template>
...
...
linkwe-ui/src/views/material/poster.vue
View file @
b64617a
...
...
@@ -85,7 +85,7 @@ export default {
title
:
''
,
// 海报名称
categoryId
:
''
,
// 所属分类
type
:
'1'
,
// 海报类型
status
:
0
,
// 是否启用
status
:
0
,
// 是否启用
0 启用 1 不启用
backgroundImgPath
:
''
,
// 图片url
mediaId
:
''
// 图片id
}
...
...
@@ -520,8 +520,8 @@ export default {
</el-form-item>
-->
<el-form-item
label=
"是否启用"
prop=
"status"
>
<el-radio-group
v-model=
"form.status"
>
<el-radio
:label=
"
1
"
>
是
</el-radio>
<el-radio
:label=
"
0
"
>
否
</el-radio>
<el-radio
:label=
"
0
"
>
是
</el-radio>
<el-radio
:label=
"
1
"
>
否
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
label=
"背景图片"
:required=
"true"
:error=
"rangeErrorMsg"
>
...
...
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