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 5c4deabc
authored
Nov 03, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复已知问题
1 parent
6e02219e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
192 additions
and
252 deletions
linkwe-mobile/src/views/communityOperating/keywords/panel.vue
linkwe-mobile/src/views/communityOperating/task/list.vue
linkwe-mobile/src/views/groupCode/index.vue
linkwe-ui/src/components/SelectTag.vue
linkwe-ui/src/views/customerManage/customer.vue
linkwe-ui/src/views/groupMessage/add.vue
linkwe-mobile/src/views/communityOperating/keywords/panel.vue
View file @
5c4deab
...
...
@@ -97,7 +97,7 @@ export default {
)
}
catch
(
err
)
{
_this
.
$toast
.
clear
()
_this
.
$dialog
({
message
:
'err
'
+
JSON
.
stringify
(
err
)
})
_this
.
$dialog
({
message
:
'err
:'
+
err
.
name
+
','
+
err
.
message
})
}
},
touchStart
()
{
...
...
linkwe-mobile/src/views/communityOperating/task/list.vue
View file @
5c4deab
...
...
@@ -7,19 +7,26 @@
<div
class=
"type-area"
>
<van-button
round
size=
"small"
@
click=
"taskType = 0"
:type=
"taskType === 0 ? 'info' : 'default'"
>
全部
</van-button>
<van-button
round
size=
"small"
@
click=
"taskType = 1"
:type=
"taskType === 1 ? 'info' : 'default'"
>
老客标签建群
</van-button>
<van-button
round
size=
"small"
@
click=
"taskType = 2"
:type=
"taskType === 2 ? 'info' : 'default'"
>
群SOP
</van-button>
<van-button
round
size=
"small"
@
click=
"taskType = 1"
:type=
"taskType === 1 ? 'info' : 'default'"
>
老客标签建群
</van-button
>
<van-button
round
size=
"small"
@
click=
"taskType = 2"
:type=
"taskType === 2 ? 'info' : 'default'"
>
群SOP
</van-button
>
</div>
<template
v-if=
"!tasks || tasks.length === 0"
>
<van-empty
description=
"暂无数据"
/>
</
template
>
<
template
v-else
>
<template
v-for=
"task in tasks"
>
<template
v-for=
"task in tasks"
>
<template
v-if=
"task.type === 1"
>
<OldCustomerPanel
:key=
"task.taskId"
:task=
"task"
:state=
"isDone ? true : false"
@
refresh=
"getTasks"
></OldCustomerPanel>
<OldCustomerPanel
:key=
"task.taskId"
:task=
"task"
:state=
"isDone ? true : false"
@
refresh=
"getTasks"
></OldCustomerPanel>
</
template
>
<
template
v-else
>
<SOPPanel
:key=
"task.ruleId"
:task=
"task"
:state=
"isDone ? true : false"
@
refresh=
"getTasks"
></SOPPanel>
...
...
@@ -41,79 +48,81 @@ import SOPPanel from '../SOP/panel'
export
default
{
components
:
{
OldCustomerPanel
,
SOPPanel
},
data
()
{
data
()
{
return
{
isDone
:
0
,
// 0: 待处理 1: 已处理
taskType
:
0
,
// 任务类型 0:全部 1:老客标签建群 2:群SOP
loading
:
false
,
// 加载状态
todo
:
[],
// 待处理数据
done
:
[]
,
// 已处理数据
isDone
:
0
,
// 0: 待处理 1: 已处理
taskType
:
0
,
// 任务类型 0:全部 1:老客标签建群 2:群SOP
loading
:
false
,
// 加载状态
todo
:
[],
// 待处理数据
done
:
[]
// 已处理数据
}
},
methods
:
{
// 获取老客标签建群和群SOP任务数据
getTasks
()
{
getTasks
()
{
this
.
loading
=
true
getTasks
(
this
.
$store
.
state
.
userId
,
this
.
taskType
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
todo
=
res
.
todo
||
[]
this
.
done
=
res
.
done
||
[]
}
else
{
}
this
.
loading
=
false
}).
catch
((
error
)
=>
{
this
.
loading
=
false
})
},
getTasks
(
this
.
$store
.
state
.
userId
,
this
.
taskType
)
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
todo
=
res
.
todo
||
[]
this
.
done
=
res
.
done
||
[]
}
else
{
}
this
.
loading
=
false
})
.
catch
((
error
)
=>
{
this
.
loading
=
false
})
}
},
computed
:
{
userId
()
{
userId
()
{
return
this
.
$store
.
state
.
userId
},
tasks
()
{
tasks
()
{
if
(
this
.
isDone
===
1
)
return
this
.
done
return
this
.
todo
}
,
}
},
watch
:
{
taskType
(
val
)
{
taskType
(
val
)
{
if
(
this
.
userId
)
this
.
getTasks
()
},
userId
(
val
)
{
userId
(
val
)
{
if
(
val
)
{
this
.
getTasks
()
}
}
},
created
()
{
created
()
{
document
.
title
=
'消息群发'
this
.
taskType
=
parseInt
(
this
.
$route
.
query
.
type
)
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.type-area
{
padding
:
8px
;
background-color
:
#f2f2f2
;
.type-area
{
padding
:
8px
;
background-color
:
#f2f2f2
;
.van-button
{
margin
:
0
3px
;
}
.van-button
{
margin
:
0
3px
;
}
}
.overlay
{
display
:
flex
;
align-items
:
center
;
.overlay
{
display
:
flex
;
align-items
:
center
;
.van-loading
{
margin
:
auto
;
}
.van-loading
{
margin
:
auto
;
}
}
</
style
>
linkwe-mobile/src/views/groupCode/index.vue
View file @
5c4deab
...
...
@@ -24,18 +24,9 @@
<van-button
type=
"danger"
@
click=
"dialog = true"
>
无法加群?
</van-button>
</div>
<van-dialog
v-model=
"dialog"
class=
"service-dialog"
:showConfirmButton=
"false"
:closeOnClickOverlay=
"true"
>
<van-dialog
v-model=
"dialog"
class=
"service-dialog"
:showConfirmButton=
"false"
:closeOnClickOverlay=
"true"
>
<div>
<van-image
:src=
"code.serviceQrCode"
width=
"200"
>
</van-image>
<van-image
:src=
"code.serviceQrCode"
width=
"200"
>
</van-image>
<div
class=
"service-message"
>
{{
code
.
tipMsg
}}
...
...
@@ -53,102 +44,105 @@
</
template
>
<
script
>
import
{
getDetail
}
from
'@/api/groupCode'
export
default
{
data
()
{
return
{
groupCodeUUID
:
''
,
// 群活码ID
code
:
{
activityName
:
''
,
// 活码名称
guide
:
''
,
// 加群引导语
actualQRCode
:
''
,
// 实际群码
isOpenTip
:
''
,
// 是否显示无法加群提示
tipMsg
:
''
,
// 无法加群提示语
serviceQrCode
:
''
,
// 客服二维码
groupName
:
''
,
// 实际群名称
},
dialog
:
false
,
message
:
'抱歉,暂无可用实际群码'
,
}
},
methods
:
{
// 获取群活码详情
getDetail
()
{
if
(
!
this
.
groupCodeUUID
)
return
getDetail
(
this
.
groupCodeUUID
).
then
(({
data
,
msg
})
=>
{
import
{
getDetail
}
from
'@/api/groupCode'
export
default
{
data
()
{
return
{
groupCodeUUID
:
''
,
// 群活码ID
code
:
{
activityName
:
''
,
// 活码名称
guide
:
''
,
// 加群引导语
actualQRCode
:
''
,
// 实际群码
isOpenTip
:
''
,
// 是否显示无法加群提示
tipMsg
:
''
,
// 无法加群提示语
serviceQrCode
:
''
,
// 客服二维码
groupName
:
''
// 实际群名称
},
dialog
:
false
,
message
:
'抱歉,暂无可用实际群码'
}
},
methods
:
{
// 获取群活码详情
getDetail
()
{
if
(
!
this
.
groupCodeUUID
)
return
getDetail
(
this
.
groupCodeUUID
)
.
then
(({
data
,
msg
})
=>
{
this
.
code
=
Object
.
assign
(
this
.
code
,
data
)
if
(
msg
)
this
.
message
=
msg
}).
catch
(()
=>
{})
},
},
})
.
catch
(()
=>
{})
}
},
created
()
{
this
.
groupCodeUUID
=
this
.
$route
.
query
.
id
created
()
{
document
.
title
=
'群活码'
this
.
groupCodeUUID
=
this
.
$route
.
query
.
id
this
.
getDetail
()
},
this
.
getDetail
()
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.code-wrapper
{
margin
:
20px
10px
;
.code-wrapper
{
margin
:
20px
10px
;
.header
{
font-size
:
18px
;
margin
:
20px
10px
;
text-align
:
center
;
}
.header
{
font-size
:
18px
;
margin
:
20px
10px
;
text-align
:
center
;
}
.welcome
{
font-size
:
16px
;
color
:
#AAAAAA
;
margin
:
20px
10px
60px
;
}
.welcome
{
font-size
:
16px
;
color
:
#aaaaaa
;
margin
:
20px
10px
60px
;
}
.code-name
{
font-size
:
20px
;
margin
:
20px
10px
2px
;
font-weight
:
bold
;
text-align
:
center
;
}
.code-name
{
font-size
:
20px
;
margin
:
20px
10px
2px
;
font-weight
:
bold
;
text-align
:
center
;
}
.code-image
{
text-align
:
center
;
margin-bottom
:
100px
;
}
.code-image
{
text-align
:
center
;
margin-bottom
:
100px
;
}
.service
{
text-align
:
center
;
.service
{
text-align
:
center
;
.van-button
{
border-radius
:
4px
;
height
:
36px
;
}
.van-button
{
border-radius
:
4px
;
height
:
36px
;
}
}
}
.service-dialog
{
text-align
:
center
;
border-radius
:
0
;
padding
:
20px
;
.service-dialog
{
text-align
:
center
;
border-radius
:
0
;
padding
:
20px
;
.service-message
{
margin-bottom
:
30px
;
}
.service-message
{
margin-bottom
:
30px
;
}
.tip
{
font-size
:
12px
;
color
:
#AAAAAA
;
}
.tip
{
font-size
:
12px
;
color
:
#aaaaaa
;
}
.close
{
position
:
absolute
;
top
:
10px
;
right
:
10px
;
}
.close
{
position
:
absolute
;
top
:
10px
;
right
:
10px
;
}
}
</
style
>
linkwe-ui/src/components/SelectTag.vue
View file @
5c4deab
...
...
@@ -8,20 +8,21 @@ export default {
// 添加标签显隐
visible
:
{
type
:
Boolean
,
default
:
false
,
default
:
false
},
title
:
{
type
:
String
,
default
:
'选择标签'
,
default
:
'选择标签'
},
selected
:
{
type
:
Array
,
default
:
()
=>
[]
,
default
:
()
=>
[]
},
// add: 打标签,remove: 移除标签
type
:
{
type
:
String
,
default
:
'add'
,
}
,
default
:
'add'
}
},
data
()
{
return
{
...
...
@@ -29,7 +30,7 @@ export default {
listOneArray
:
[],
selectedGroup
:
''
,
// 选择的标签分组
removeTag
:
[],
Pselected
:
[]
,
Pselected
:
[]
}
},
watch
:
{
...
...
@@ -51,7 +52,7 @@ export default {
}
// this.list = JSON.parse(JSON.stringify(this.list))
},
list
(
val
)
{
list
(
val
)
{
if
(
this
.
type
===
'add'
)
{
this
.
Pselected
=
[]
this
.
selected
.
forEach
((
element
)
=>
{
...
...
@@ -74,8 +75,8 @@ export default {
},
set
(
val
)
{
this
.
$emit
(
'update:visible'
,
val
)
}
,
}
,
}
}
},
created
()
{
this
.
getList
()
...
...
@@ -110,8 +111,8 @@ export default {
},
toJson
(
data
)
{
return
JSON
.
stringify
(
data
)
}
,
}
,
}
}
}
</
script
>
...
...
@@ -121,40 +122,25 @@ export default {
<span
class=
"mr20"
>
选择分组
</span>
<el-select
v-model=
"selectedGroup"
placeholder=
"请选择"
>
<el-option
label=
"所有标签"
value
></el-option>
<el-option
v-for=
"(item, index) in list"
:key=
"index"
:label=
"item.gourpName"
:value=
"item.groupId"
></el-option>
<el-option
v-for=
"(item, index) in list"
:key=
"index"
:label=
"item.gourpName"
:value=
"item.groupId"
></el-option>
</el-select>
<div
class=
"mt20"
v-if=
"Pvisible"
>
<el-checkbox-group
v-if=
"type !== 'remove'"
v-model=
"Pselected"
>
<template
v-for=
"(item, index) in list"
>
<div
class=
"bfc-d mr30"
v-if=
"item.groupId === selectedGroup || !selectedGroup"
:key=
"index"
>
<div
class=
"bfc-d mr30 mb10"
v-if=
"item.groupId === selectedGroup || !selectedGroup"
:key=
"index"
>
<template
v-for=
"(unit, unique) in item.weTags"
>
<el-checkbox
v-if=
"unit.name.trim()"
:label=
"unit"
:key=
"index + '' + unique"
>
{{
unit
.
name
}}
</el-checkbox
>
<el-checkbox
v-if=
"unit.name.trim()"
:label=
"unit"
:key=
"index + '' + unique"
>
{{
unit
.
name
}}
</el-checkbox>
</
template
>
</div>
</template>
</el-checkbox-group>
<el-checkbox-group
v-else
v-model=
"Pselected"
>
<
template
v-for=
"(item, index) in removeTag"
>
<el-checkbox
v-if=
"item.groupId === selectedGroup || !selectedGroup"
:label=
"item"
:key=
"index"
>
{{
item
.
name
.
trim
()
||
'(空的无效标签,请移除)'
}}
</el-checkbox
>
<el-checkbox
v-if=
"item.groupId === selectedGroup || !selectedGroup"
:label=
"item"
:key=
"index"
>
{{
item
.
name
.
trim
()
||
'(空的无效标签,请移除)'
}}
</el-checkbox>
</
template
>
</el-checkbox-group>
</div>
...
...
linkwe-ui/src/views/customerManage/customer.vue
View file @
5c4deab
...
...
@@ -81,11 +81,11 @@ export default {
if
(
element
.
tagIds
&&
element
.
tagNames
)
{
element
.
tagIds
=
element
.
tagIds
.
split
(
','
)
element
.
tagNames
=
element
.
tagNames
.
split
(
','
)
rows
.
tags
=
[]
element
.
tags
=
[]
element
.
tagIds
.
forEach
((
unit
,
index
)
=>
{
rows
.
tags
.
push
({
element
.
tags
.
push
({
tagId
:
unit
,
tag
Id
:
element
.
tagNames
[
index
]
tag
Names
:
element
.
tagNames
[
index
]
})
})
}
...
...
@@ -144,7 +144,7 @@ export default {
let
repeat
=
[]
this
.
multipleSelection
.
forEach
((
element
)
=>
{
element
.
tags
&&
element
.
tags
.
split
(
','
).
forEach
((
unit
)
=>
{
element
.
tags
.
forEach
((
unit
)
=>
{
// 判断是否有重复标签
let
isRepeat
=
this
.
selectedTag
.
some
((
d
)
=>
{
return
d
.
tagId
===
unit
.
tagId
...
...
@@ -154,14 +154,12 @@ export default {
repeat
.
push
(
unit
.
tagName
)
return
}
let
filter
=
this
.
listTagOneArray
.
find
((
d
)
=>
{
return
d
.
tagId
===
unit
.
tagId
})
// 如果没有匹配到,则说明该便签处于异常状态,可能已被删除或破坏
if
(
!
filter
)
{
hasErrorTag
.
push
(
unit
.
tagName
)
isError
=
true
return
}
...
...
@@ -178,7 +176,7 @@ export default {
}
this
.
tagDialogType
=
{
title
:
(
type
===
'add'
?
'增加标签'
:
'移出标签'
)
+
(
repeat
.
length
?
'(重复的标签已去重显示)'
:
''
),
title
:
'标签管理'
+
(
repeat
.
length
?
'(重复的标签已去重显示)'
:
''
),
type
:
type
}
this
.
dialogVisible
=
true
...
...
@@ -234,11 +232,11 @@ export default {
addTag
:
selected
,
userId
:
this
.
multipleSelection
[
0
].
firstUserId
}
let
apiType
=
{
add
:
'makeLabel'
,
remove
:
'removeLabel'
}
api
[
apiType
[
this
.
tagDialogType
.
type
]]
(
data
).
then
(()
=>
{
//
let apiType = {
//
add: 'makeLabel',
//
remove: 'removeLabel'
//
}
api
.
makeLabel
(
data
).
then
(()
=>
{
this
.
msgSuccess
(
'操作成功'
)
this
.
dialogVisible
=
false
this
.
getList
()
...
...
@@ -260,7 +258,7 @@ export default {
handleSelection
(
selection
,
row
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
table
.
clearSelection
()
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
)
this
.
$refs
.
table
.
toggleRowSelection
(
row
)
})
},
goRoute
(
row
)
{
...
...
@@ -333,17 +331,17 @@ export default {
<el-button
v-hasPermi=
"['customerManage/customer:makeTag']"
type=
"primary"
@
click=
"makeTag(
'add'
)"
@
click=
"makeTag()"
:disabled=
"multipleSelection.length !== 1"
>
打标签
</el-button
>
标签管理
</el-button
>
<el-button
<
!-- <
el-button
v-hasPermi="['customerManage:customer:removeTag']"
type="primary"
@click="makeTag('remove')"
:disabled="multipleSelection.length !== 1"
>移除标签</el-button
>
>
-->
</div>
</div>
...
...
@@ -355,7 +353,7 @@ export default {
@
select=
"handleSelection"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
align=
"center"
width=
"55"
></el-table-column>
<el-table-column
type=
"selection"
align=
"center"
width=
"55"
>
</el-table-column>
<el-table-column
label=
"客户"
prop=
"name"
align=
"center"
>
<
template
slot-scope=
"{ row }"
>
<div
class=
"cp"
@
click=
"goRoute(row)"
>
...
...
linkwe-ui/src/views/groupMessage/add.vue
View file @
5c4deab
...
...
@@ -58,19 +58,21 @@ export default {
computed
:
{
// 是否显示选择的客户标签
isOnlyTag
()
{
return
this
.
form
.
tag
[
0
]
&&
this
.
form
.
pushType
==
0
return
this
.
form
.
tag
[
0
]
&&
this
.
form
.
pushType
==
0
&&
this
.
form
.
pushRange
==
1
},
// 是否显示选择范围后的文字说明
isSelectedText
()
{
return
this
.
userParty
[
0
]
||
this
.
isOnlyTag
return
this
.
userParty
[
0
]
||
this
.
isOnlyTag
||
this
.
form
.
pushRange
==
0
},
// 选择范围后的文字说明
selectedText
()
{
return
`将发送消息给
${
this
.
userParty
[
0
]
?
this
.
userParty
[
0
].
name
+
'等部门或成员的'
:
''
}
$
{
this
.
userParty
[
0
]
&&
this
.
isOnlyTag
?
',且'
:
''
}${
this
.
isOnlyTag
?
'满足'
+
this
.
form
.
tag
[
0
].
name
+
'等标签的'
:
''
}
$
{
this
.
form
.
pushType
==
0
?
'客户'
:
'客户群'
}
`
return
this
.
form
.
pushType
==
0
&&
this
.
form
.
pushRange
==
0
?
'全部客户'
:
`将发送消息给
${
this
.
userParty
[
0
]
?
this
.
userParty
[
0
].
name
+
'等部门或成员的'
:
''
}${
this
.
userParty
[
0
]
&&
this
.
isOnlyTag
?
',且'
:
''
}
$
{
this
.
isOnlyTag
?
'满足'
+
this
.
form
.
tag
[
0
].
name
+
'等标签的'
:
''
}${
this
.
form
.
pushType
==
0
?
'客户'
:
'客户群'
}
`
}
},
created() {
...
...
@@ -108,11 +110,7 @@ export default {
methods: {
// 显示选择客户范围弹窗
showRangeDialog() {
this
[
this
.
form
.
pushType
==
0
?
'dialogVisibleSelectCustomer'
:
'dialogVisibleSelectUser'
]
=
true
this[this.form.pushType == 0 ? 'dialogVisibleSelectCustomer' : 'dialogVisibleSelectUser'] = true
},
// 选择添加人确认按钮
selectedUser(users) {
...
...
@@ -191,31 +189,16 @@ export default {
<
template
>
<div
v-loading=
"loading"
>
<div
class=
"flex content-wrap"
>
<el-form
style=
"margin-right: 170px;"
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form
style=
"margin-right: 170px;"
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"群发类型"
prop=
"pushType"
>
<el-radio-group
v-model=
"form.pushType"
>
<el-radio
v-for=
"dict in statusOptions"
:key=
"dict.value"
:label=
"dict.value"
>
{{
dict
.
label
}}
</el-radio
>
<el-radio
v-for=
"dict in statusOptions"
:key=
"dict.value"
:label=
"dict.value"
>
{{
dict
.
label
}}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
label=
"发送范围"
prop=
"pushRange"
>
<span
v-show=
"isSelectedText"
>
{{
selectedText
}}
</span>
<el-button
type=
"text"
size=
"medium"
@
click=
"showRangeDialog()"
>
{{
isSelectedText
?
'修改'
:
form
.
pushType
==
0
?
'选择发送客户'
:
'按群主选择客户群'
isSelectedText
?
'修改'
:
form
.
pushType
==
0
?
'选择发送客户'
:
'按群主选择客户群'
}}
</el-button>
</el-form-item>
<el-form-item
label=
"发送时间"
prop=
"settingTime"
>
...
...
@@ -255,10 +238,7 @@ export default {
<!--
<el-tab-pane
name=
"2"
>
<span
slot=
"label"
>
<i
class=
"el-icon-date"
></i>
文件
</span>
</el-tab-pane>
-->
<el-button
type=
"primary"
class=
"mt20"
@
click=
"dialogVisibleSelectMaterial = true"
<el-button
type=
"primary"
class=
"mt20"
@
click=
"dialogVisibleSelectMaterial = true"
>
从素材库选择
</el-button
>
<!--
<el-tab-pane
label=
"配置管理"
name=
"second"
>
...
...
@@ -275,16 +255,8 @@ export default {
</el-form-item>
</el-form>
<!-- 预览 -->
<PhoneDialog
:message=
"form.textMessage.content || '请输入欢迎语'"
:isOther=
"!!form.imageMessage.pic_url"
>
<el-image
style=
"border-radius: 6px;"
:src=
"form.imageMessage.pic_url"
fit=
"fit"
>
</el-image>
<PhoneDialog
:message=
"form.textMessage.content || '请输入欢迎语'"
:isOther=
"!!form.imageMessage.pic_url"
>
<el-image
style=
"border-radius: 6px;"
:src=
"form.imageMessage.pic_url"
fit=
"fit"
>
</el-image>
</PhoneDialog>
</div>
<div
class=
"mt15"
style=
"margin-left: 40px;"
>
...
...
@@ -308,12 +280,7 @@ export default {
<div
class=
"input-wrap"
@
click=
"dialogVisibleSelectUser = true"
>
<span
class=
"placeholder"
v-if=
"!userParty.length"
>
请选择
</span>
<template
v-else
>
<el-tag
type=
"info"
v-for=
"(unit, unique) in userParty"
:key=
"unique"
>
{{
unit
.
name
}}
</el-tag
>
<el-tag
type=
"info"
v-for=
"(unit, unique) in userParty"
:key=
"unique"
>
{{
unit
.
name
}}
</el-tag>
</
template
>
</div>
</el-form-item>
...
...
@@ -321,24 +288,15 @@ export default {
<div
class=
"input-wrap"
@
click=
"dialogVisibleSelectTag = true"
>
<span
class=
"placeholder"
v-if=
"!form.tag.length"
>
请选择
</span>
<
template
v-else
>
<el-tag
type=
"info"
v-for=
"(unit, unique) in form.tag"
:key=
"unique"
>
{{
unit
.
name
}}
</el-tag
>
<el-tag
type=
"info"
v-for=
"(unit, unique) in form.tag"
:key=
"unique"
>
{{
unit
.
name
}}
</el-tag>
</
template
>
</div>
</el-form-item>
</div>
</el-form>
<div
slot=
"footer"
>
<el-button
@
click=
"dialogVisibleSelectCustomer = false"
>
取 消
</el-button
>
<el-button
type=
"primary"
@
click=
"dialogVisibleSelectCustomer = false"
>
确 定
</el-button
>
<el-button
@
click=
"dialogVisibleSelectCustomer = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"dialogVisibleSelectCustomer = false"
>
确 定
</el-button>
</div>
</el-dialog>
...
...
@@ -351,12 +309,7 @@ export default {
></SelectUser>
<!-- 选择标签弹窗 -->
<SelectTag
:visible
.
sync=
"dialogVisibleSelectTag"
title=
"选择标签"
:selected=
"form.tag"
@
success=
"submitSelectTag"
>
<SelectTag
:visible
.
sync=
"dialogVisibleSelectTag"
title=
"选择标签"
:selected=
"form.tag"
@
success=
"submitSelectTag"
>
</SelectTag>
<SelectMaterial
...
...
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