Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
6765e5b9
Commit
6765e5b9
authored
Sep 13, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改欢迎语
parent
9df1b847
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
6 deletions
+22
-6
welcome-from.vue
src/components/enterprise/welcome-from.vue
+11
-3
addWelcome.vue
src/pages/enterprise/addWelcome.vue
+11
-3
No files found.
src/components/enterprise/welcome-from.vue
View file @
6765e5b9
...
...
@@ -131,7 +131,9 @@
<el-form-item
label=
"文本内容:"
>
<q-input
v-model=
"addMsg.Content"
filled
clearable
type=
"textarea"
label=
"文本内容"
@
input=
"gettrigger"
/>
<div
style=
"margin-top: 10px;"
>
<q-btn
color=
"accent"
label=
"+插入客户名称"
size=
'sm'
class=
"q-mr-md"
@
click=
'insert'
/>
<q-btn
color=
"accent"
label=
"+插入客户名称"
size=
'sm'
class=
"q-mr-md"
@
click=
'insert(1)'
/>
<q-btn
color=
"accent"
label=
"+插入员工名称"
size=
'sm'
class=
"q-mr-md"
@
click=
'insert(2)'
/>
<q-btn
color=
"accent"
label=
"+插入员工别名"
size=
'sm'
class=
"q-mr-md"
@
click=
'insert(3)'
/>
</div>
</el-form-item>
<el-form-item
label=
"添加内容:"
style=
"margin-bottom: 20px;"
>
...
...
@@ -337,8 +339,14 @@
insert
()
{
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##客户名称##'
insert
(
type
)
{
if
(
type
==
1
){
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##客户名称##'
}
else
if
(
type
==
2
){
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##员工名称##'
}
else
{
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##员工别名##'
}
this
.
gettrigger
()
},
selectimg
()
{
//素材选择 图片模式
...
...
src/pages/enterprise/addWelcome.vue
View file @
6765e5b9
...
...
@@ -148,7 +148,9 @@
<q-input
v-model=
"addMsg.Content"
filled
clearable
type=
"textarea"
label=
"文本内容"
style=
"width: 60%;"
/>
<div
style=
"margin-top: 10px;"
>
<q-btn
color=
"accent"
label=
"+插入客户名称"
size=
'sm'
class=
"q-mr-md"
@
click=
'insert'
/>
<q-btn
color=
"accent"
label=
"+插入客户名称"
size=
'sm'
class=
"q-mr-md"
@
click=
'insert(1)'
/>
<q-btn
color=
"accent"
label=
"+插入员工名称"
size=
'sm'
class=
"q-mr-md"
@
click=
'insert(2)'
/>
<q-btn
color=
"accent"
label=
"+插入员工别名"
size=
'sm'
class=
"q-mr-md"
@
click=
'insert(3)'
/>
</div>
</el-form-item>
<el-form-item
label=
"添加内容:"
>
...
...
@@ -395,8 +397,14 @@
},
insert
()
{
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##客户名称##'
insert
(
type
)
{
if
(
type
==
1
){
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##客户名称##'
}
else
if
(
type
==
2
){
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##员工名称##'
}
else
{
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##员工别名##'
}
},
selectimg
()
{
//素材选择 图片模式
this
.
materialType
=
2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment