Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 d13285c5
authored
Jun 30, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更改tooltip展示 修改提示
1 parent
b6c11d80
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
src/components/glsx-combi-form/index.vue
src/views/sop/editSop/baseInfo.vue
src/views/sop/editSop/editEvent.vue
src/components/glsx-combi-form/index.vue
View file @
d13285c
...
...
@@ -6,10 +6,17 @@
<el-form-item
v-if=
"!item.isHide"
:key=
"index"
:id=
"item.name"
:labelWidth=
"isEdit ? '154px' : labelWidth"
:class=
"[
{ 'no-label': !item.label, isBlock: isBlock },{'textBox':item.type=='textBox'}]" :style="{ 'margin-bottom': isEdit ? '24px' : '', 'margin-right': isEdit ? '0px' : '30px', ...item.style }" :label="item.label" :prop="item.name">
<span
v-if=
"!item.isHide && item.tips"
class=
"tips-block"
slot=
"label"
>
<span
class=
"tips-label"
>
{{
item
.
label
}}
</span>
<el-popover
placement=
"top"
width=
"200"
trigger=
"hover"
:content=
"item.tips"
>
<!-- :content="item.tips" -->
<!--
<el-popover
placement=
"top"
width=
"200"
trigger=
"hover"
:content=
"item.tips >
<img
slot=
"reference"
class=
"tips-icon"
src=
"./images/icon-tip.png"
/>
</el-popover>
:
: -->
<el-tooltip
lacement=
"top"
width=
"200"
trigger=
"hover"
effect=
"light"
>
<img
class=
"tips-icon"
src=
"@/assets/icon-tip.png"
alt=
""
/>
<div
slot=
"content"
class=
"tips-icon"
v-html=
"item.tips"
>
</div>
</el-tooltip>
:
</span>
<span
v-else-if=
"!item.isHide && item.label && !item.tips"
slot=
"label"
>
<span
class=
"combi-form-label"
:style=
"
{ width: item.labelWidth || labelWidth }">
{{
item
.
label
}}
:
</span>
...
...
src/views/sop/editSop/baseInfo.vue
View file @
d13285c
...
...
@@ -678,7 +678,7 @@ export default {
}
},
judgeDisable
()
{
var
list
=
[
'sopName'
,
'customerOptType'
,
'customerOptUpdate'
]
var
list
=
[
'sopName'
,
'customerOptType'
,
'customerOptUpdate'
,
'sopType'
]
list
.
forEach
(
item
=>
{
var
idx
=
this
.
editFormData
.
findIndex
(
k
=>
k
.
name
==
item
)
this
.
editFormData
[
idx
].
isDisabled
=
this
.
editDisabled
...
...
src/views/sop/editSop/editEvent.vue
View file @
d13285c
...
...
@@ -562,8 +562,9 @@ export default {
{
label
:
'标签更新'
,
name
:
'labelOptUpdate'
,
tips
:
`当前事件产生的用户行为会自动更新营销客户/群标签<br/>
潜在客户行为示例:<br/>1.朋友圈点赞1次<br/>2.朋友圈评论1次<br/>3.打开营销链接内容<br/>4.浏览营销链接内容超过10s`
,
tips
:
`<div>当前事件产生的用户行为会</div><div>会自动更新营销客户/群标签</div><div>潜在客户行为示例:</div><div>1.朋友圈点赞1次</div><div>2.朋友圈评论1次</div>
<div>3.打开营销链接内容</div><div>4.浏览营销链接内容超过10s</div>`
,
type
:
'radio'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
,
...
...
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