Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 0a5b02e8
authored
Dec 29, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.1' of
http://192.168.3.233:8090/saas/scrm-micro-marketing
into v1.0.1
2 parents
82695f25
b456a094
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
src/views/customerTransform/components/selectEmp.vue
src/views/customerTransform/components/tag-textarea.vue
src/views/customerTransform/components/selectEmp.vue
View file @
0a5b02e
...
@@ -86,8 +86,10 @@ export default {
...
@@ -86,8 +86,10 @@ export default {
this
.
$apis
.
customerTransform
.
listDepartmentTree
(
params
).
then
(
res
=>
{
this
.
$apis
.
customerTransform
.
listDepartmentTree
(
params
).
then
(
res
=>
{
this
.
listTree
=
res
this
.
listTree
=
res
this
.
loading
=
false
this
.
loading
=
false
if
(
this
.
listTree
.
length
)
{
this
.
listTree
[
0
].
entmicroStaffResponses
=
this
.
getEmployee
(
this
.
listTree
)
this
.
listTree
[
0
].
entmicroStaffResponses
=
this
.
getEmployee
(
this
.
listTree
)
this
.
currentArr
=
this
.
$common
.
utils
.
deepClone
(
this
.
listTree
[
0
].
entmicroStaffResponses
)
this
.
currentArr
=
this
.
$common
.
utils
.
deepClone
(
this
.
listTree
[
0
].
entmicroStaffResponses
)
}
this
.
selectData
.
forEach
(
i
=>
{
this
.
selectData
.
forEach
(
i
=>
{
const
row
=
this
.
getEmployee
(
this
.
listTree
).
find
(
j
=>
j
.
id
==
i
.
staffId
)
const
row
=
this
.
getEmployee
(
this
.
listTree
).
find
(
j
=>
j
.
id
==
i
.
staffId
)
this
.
clearSelect
(
row
)
this
.
clearSelect
(
row
)
...
@@ -114,7 +116,10 @@ export default {
...
@@ -114,7 +116,10 @@ export default {
d
.
forEach
(
i
=>
{
d
.
forEach
(
i
=>
{
if
(
i
.
entmicroStaffResponses
)
{
if
(
i
.
entmicroStaffResponses
)
{
i
.
entmicroStaffResponses
.
forEach
(
j
=>
{
i
.
entmicroStaffResponses
.
forEach
(
j
=>
{
const
flag
=
arr
.
find
(
m
=>
m
.
id
==
j
.
id
)
if
(
!
flag
)
{
arr
.
push
(
j
)
arr
.
push
(
j
)
}
})
})
}
}
if
(
i
.
children
)
{
if
(
i
.
children
)
{
...
...
src/views/customerTransform/components/tag-textarea.vue
View file @
0a5b02e
...
@@ -188,6 +188,7 @@ export default {
...
@@ -188,6 +188,7 @@ export default {
// 创建a标签
// 创建a标签
let
node
=
document
.
createElement
(
'img'
)
let
node
=
document
.
createElement
(
'img'
)
node
.
src
=
url
node
.
src
=
url
// node.setAttribute('ondragstart', 'return false;')
this
.
insertNode
(
node
)
this
.
insertNode
(
node
)
},
},
onFocus
()
{
onFocus
()
{
...
@@ -206,6 +207,7 @@ export default {
...
@@ -206,6 +207,7 @@ export default {
document
.
querySelector
(
'.w-textarea_input'
).
focus
()
document
.
querySelector
(
'.w-textarea_input'
).
focus
()
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
insertNodeFirst
(
node
)
this
.
insertNodeFirst
(
node
)
document
.
querySelector
(
'.w-textarea_input'
).
blur
()
},
100
)
},
100
)
}
}
},
},
...
@@ -557,6 +559,9 @@ export default {
...
@@ -557,6 +559,9 @@ export default {
img
{
img
{
width
:
24px
;
width
:
24px
;
height
:
24px
;
height
:
24px
;
-webkit-user-select
:
none
;
cursor
:
default
;
pointer-events
:
none
;
}
}
.active
{
.active
{
background
:
#dcdfe6
;
background
:
#dcdfe6
;
...
...
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