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 143de5b5
authored
May 12, 2023
by
姜鹏凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
质检业务开发
1 parent
82dcfab9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
8 deletions
linkwe-pc/src/views/conversation/quality/add.vue
linkwe-pc/src/views/conversation/quality/add.vue
View file @
143de5b
...
@@ -8,14 +8,19 @@
...
@@ -8,14 +8,19 @@
<el-form-item
label=
"超时时间标准:"
prop=
"timeOut"
>
<el-form-item
label=
"超时时间标准:"
prop=
"timeOut"
>
<el-input
v-model=
"form.timeOut"
style=
"width: 120px;"
placeholder=
"请输入"
></el-input>
分钟
<el-input
v-model=
"form.timeOut"
style=
"width: 120px;"
placeholder=
"请输入"
></el-input>
分钟
</el-form-item>
</el-form-item>
<el-form-item
label=
"质检时间范围:"
prop=
"qiRuleScope"
>
<el-form-item
label=
"质检时间范围:"
prop=
"qiRuleScope"
style=
"width: 60%;"
>
<div
class=
"sub-des"
>
<div
class=
"sub-des"
>
<span>
可根据不同成员的上班时间灵活调整配置
</span>
<span>
可根据不同成员的上班时间灵活调整配置
</span>
</div>
</div>
<template
v-for=
"(item, index) in form.qiRuleScope"
>
<template
v-for=
"(item, index) in form.qiRuleScope"
>
<el-card
class=
"box-card roster-card"
:key=
"item.id"
>
<el-card
class=
"box-card roster-card"
:key=
"item.id"
>
<div
style=
"display: flex; justify-content: flex-end;"
>
<div
style=
"display: flex; justify-content: flex-end;"
>
<el-button
v-if=
"index !== 0"
type=
"text"
icon=
"el-icon-delete"
@
click=
"onRemoveRoster(index)"
>
<el-button
v-if=
"form.qiRuleScope.length !== 1"
type=
"text"
icon=
"el-icon-delete"
@
click=
"onRemoveRoster(index)"
>
删除
删除
</el-button>
</el-button>
</div>
</div>
...
@@ -74,14 +79,14 @@
...
@@ -74,14 +79,14 @@
</el-card>
</el-card>
</
template
>
</
template
>
<div
class=
"mt20"
>
<div
class=
"mt20"
>
<el-button
size=
"mini"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"onAdd
Roster
"
>
添加工作周期
</el-button>
<el-button
size=
"mini"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"onAdd
Circle
"
>
添加工作周期
</el-button>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"质检会话类型"
prop=
"chatType"
>
<el-form-item
label=
"质检会话类型"
prop=
"chatType"
>
<el-radio-group
v-model=
"form.chatType"
>
<el-radio-group
v-model=
"form.chatType"
>
<el-radio
:label=
"1"
>
全部
</el-radio>
<el-radio
:label=
"1"
>
全部
</el-radio>
<el-radio
:label=
"2"
>
客户会话
</el-radio>
<el-radio
:label=
"2"
>
客户会话
</el-radio>
<el-radio
:label=
"
2
"
>
客群会话
</el-radio>
<el-radio
:label=
"
3
"
>
客群会话
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"质检督导:"
prop=
"manageUserInfo"
>
<el-form-item
label=
"质检督导:"
prop=
"manageUserInfo"
>
...
@@ -90,7 +95,7 @@
...
@@ -90,7 +95,7 @@
{{ item.userName }}
{{ item.userName }}
</el-tag>
</el-tag>
</div>
</div>
<el-button
icon=
"el-icon-plus"
type=
"primary"
size=
"mini"
@
click=
"
onSelectUser
"
>
<el-button
icon=
"el-icon-plus"
type=
"primary"
size=
"mini"
@
click=
"
dialogVisible = true
"
>
{{ form.manageUserInfo.length ? '修改' : '选择' }}成员
{{ form.manageUserInfo.length ? '修改' : '选择' }}成员
</el-button>
</el-button>
</el-form-item>
</el-form-item>
...
@@ -103,7 +108,7 @@
...
@@ -103,7 +108,7 @@
<SelectWeUser
<SelectWeUser
:visible
.
sync=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
title=
"组织架构"
title=
"组织架构"
:defaultValues=
"
userArray
"
:defaultValues=
"
form.manageUserInfo
"
@
success=
"getSelectUser"
@
success=
"getSelectUser"
></SelectWeUser>
></SelectWeUser>
</div>
</div>
...
@@ -114,6 +119,7 @@
...
@@ -114,6 +119,7 @@
name
:
'quality-add'
,
name
:
'quality-add'
,
data
()
{
data
()
{
return
{
return
{
dialogVisible
:
false
,
form
:
{
form
:
{
name
:
''
,
name
:
''
,
chatType
:
1
,
chatType
:
1
,
...
@@ -124,14 +130,25 @@
...
@@ -124,14 +130,25 @@
beginTime
:
''
,
beginTime
:
''
,
endTime
:
''
,
endTime
:
''
,
weQiRuleUserList
:
[],
weQiRuleUserList
:
[],
workCycle
:
''
workCycle
:
[]
}
}
]
]
},
},
rules
:
[]
rules
:
[]
}
}
},
},
methods
:
{}
methods
:
{
checkStartEnd
()
{},
getSelectUser
(
data
)
{
this
.
form
.
manageUserInfo
=
data
},
onAddCircle
()
{
this
.
form
.
qiRuleScope
.
push
({
beginTime
:
''
,
endTime
:
''
,
weQiRuleUserList
:
[],
workCycle
:
[]
})
},
onRemoveRoster
(
index
)
{
this
.
form
.
qiRuleScope
.
splice
(
index
,
1
)
}
}
}
}
</
script
>
</
script
>
...
@@ -141,4 +158,11 @@
...
@@ -141,4 +158,11 @@
font-weight
:
400
;
font-weight
:
400
;
color
:
#999999
;
color
:
#999999
;
}
}
.roster-btn-delete
{
margin-top
:
-16%
;
margin-right
:
-8%
;
}
.roster-card
:not
(
:first-child
)
{
margin-top
:
20px
;
}
</
style
>
</
style
>
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