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 f0a9d9dd
authored
May 08, 2023
by
姜鹏凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
质检新增功能
1 parent
5561befd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
21 deletions
linkwe-pc/src/views/conversation/quality/add.vue
linkwe-pc/src/views/conversation/quality/add.vue
View file @
f0a9d9d
...
...
@@ -2,17 +2,17 @@
<div>
<div
class=
"g-card"
>
<el-form
ref=
"codeForm"
:rules=
"rules"
:model=
"form"
label-position=
"right"
label-width=
"140px"
>
<el-form-item
label=
"质检规则名称:"
prop=
""
>
<el-input
maxlength=
"20"
show-word-limit
clearable
></el-input>
<el-form-item
label=
"质检规则名称:"
prop=
"
name
"
>
<el-input
v-model=
"form.name"
maxlength=
"20"
show-word-limit
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"超时时间标准:"
>
<el-input
style=
"width: 120px;"
placeholder=
"请输入"
></el-input>
分钟
<el-form-item
label=
"超时时间标准:"
prop=
"timeOut"
>
<el-input
v-model=
"form.timeOut"
style=
"width: 120px;"
placeholder=
"请输入"
></el-input>
分钟
</el-form-item>
<el-form-item
label=
"质检时间范围:"
prop=
"
empleCodeRosterDto
"
>
<el-form-item
label=
"质检时间范围:"
prop=
"
qiRuleScope
"
>
<div
class=
"sub-des"
>
<span>
可根据不同成员的上班时间灵活调整配置
</span>
</div>
<template
v-for=
"(item, index) in form.
empleCodeRosterDto
"
>
<template
v-for=
"(item, index) in form.
qiRuleScope
"
>
<el-card
class=
"box-card roster-card"
:key=
"item.id"
>
<div
style=
"display: flex; justify-content: flex-end;"
>
<el-button
v-if=
"index !== 0"
type=
"text"
icon=
"el-icon-delete"
@
click=
"onRemoveRoster(index)"
>
...
...
@@ -20,8 +20,8 @@
</el-button>
</div>
<el-form-item
label-width=
"100px"
label=
"排班员工:"
>
<el-tag
size=
"medium"
v-for=
"(tag, key) in item.we
EmpleCodeUseScops
"
:key=
"key"
>
{{
tag
.
business
Name
}}
<el-tag
size=
"medium"
v-for=
"(tag, key) in item.we
QiRuleUserList
"
:key=
"key"
>
{{
tag
.
user
Name
}}
</el-tag>
<el-button
icon=
"el-icon-plus"
...
...
@@ -30,11 +30,11 @@
type=
"primary"
@
click=
"onSelectUser(index)"
>
{{
item
.
we
EmpleCodeUseScops
.
length
?
'修改'
:
'选择'
}}
员工
{{
item
.
we
QiRuleUserList
.
length
?
'修改'
:
'选择'
}}
员工
</el-button>
</el-form-item>
<el-form-item
label-width=
"100px"
label=
"工作周期:"
>
<el-checkbox-group
v-model=
"item.w
eekday
"
@
change=
"checkStartEnd($event, index)"
>
<el-checkbox-group
v-model=
"item.w
orkCycle
"
@
change=
"checkStartEnd($event, index)"
>
<el-checkbox
:label=
"1"
>
周一
</el-checkbox>
<el-checkbox
:label=
"2"
>
周二
</el-checkbox>
<el-checkbox
:label=
"3"
>
周三
</el-checkbox>
...
...
@@ -47,13 +47,13 @@
<el-form-item
label-width=
"100px"
label=
"在线时间:"
>
<el-time-select
style=
"width: 130px;"
v-model=
"item.start
Dat
e"
v-model=
"item.start
Tim
e"
:picker-options=
"
{
start: '00:00',
end: '23:59',
step: '00:30'
}"
:end="item.end
Dat
e"
:end="item.end
Tim
e"
@change="checkStartEnd($event, index)"
placeholder="任意时间点"
>
</el-time-select>
...
...
@@ -65,9 +65,9 @@
end: '23:59',
step: '00:30'
}"
:start="item.start
Dat
e"
:start="item.start
Tim
e"
@change="checkStartEnd($event, index)"
v-model="item.end
Dat
e"
v-model="item.end
Tim
e"
placeholder="任意时间点"
>
</el-time-select>
</el-form-item>
...
...
@@ -77,14 +77,21 @@
<el-button
size=
"mini"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"onAddRoster"
>
添加工作周期
</el-button>
</div>
</el-form-item>
<el-form-item
label=
"质检督导:"
prop=
"weEmpleCodeUseScops"
>
<div
v-if=
"form.weEmpleCodeUseScops.length > 0"
>
<el-tag
size=
"medium"
v-for=
"(item, index) in form.weEmpleCodeUseScops"
:key=
"index"
>
{{ item.businessName }}
<el-form-item
label=
"质检会话类型"
prop=
"chatType"
>
<el-radio-group
v-model=
"form.chatType"
>
<el-radio
:label=
"1"
>
全部
</el-radio>
<el-radio
:label=
"2"
>
客户会话
</el-radio>
<el-radio
:label=
"2"
>
客群会话
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
label=
"质检督导:"
prop=
"manageUserInfo"
>
<div
v-if=
"form.manageUserInfo.length > 0"
>
<el-tag
size=
"medium"
v-for=
"(item, index) in form.manageUserInfo"
:key=
"index"
>
{{ item.userName }}
</el-tag>
</div>
<el-button
icon=
"el-icon-plus"
type=
"primary"
size=
"mini"
@
click=
"onSelectUser"
>
{{ form.
weEmpleCodeUseScops
.length ? '修改' : '选择' }}成员
{{ form.
manageUserInfo
.length ? '修改' : '选择' }}成员
</el-button>
</el-form-item>
</el-form>
...
...
@@ -102,8 +109,11 @@
data
()
{
return
{
form
:
{
weEmpleCodeUseScops
:
[],
empleCodeRosterDto
:
[{
weEmpleCodeUseScops
:
[]
}]
name
:
''
,
chatType
:
1
,
timeOut
:
''
,
manageUserInfo
:
[],
qiRuleScope
:
[{
weQiRuleUserList
:
[]
}]
},
rules
:
[]
}
...
...
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