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
fc4126a2
Commit
fc4126a2
authored
Sep 13, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6765e5b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
welcome-from.vue
src/components/enterprise/welcome-from.vue
+7
-6
addWelcome.vue
src/pages/enterprise/addWelcome.vue
+7
-6
No files found.
src/components/enterprise/welcome-from.vue
View file @
fc4126a2
...
@@ -132,8 +132,8 @@
...
@@ -132,8 +132,8 @@
<q-input
v-model=
"addMsg.Content"
filled
clearable
type=
"textarea"
label=
"文本内容"
@
input=
"gettrigger"
/>
<q-input
v-model=
"addMsg.Content"
filled
clearable
type=
"textarea"
label=
"文本内容"
@
input=
"gettrigger"
/>
<div
style=
"margin-top: 10px;"
>
<div
style=
"margin-top: 10px;"
>
<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(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(2)'
/>
<q-btn
color=
"accent"
label=
"+插入员工别名"
size=
'sm'
class=
"q-mr-md"
@
click=
'insert(3)'
/>
<q-btn
color=
"accent"
label=
"+插入员工别名"
size=
'sm'
class=
"q-mr-md"
@
click=
'insert(3)'
/>
-->
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"添加内容:"
style=
"margin-bottom: 20px;"
>
<el-form-item
label=
"添加内容:"
style=
"margin-bottom: 20px;"
>
...
@@ -342,11 +342,12 @@
...
@@ -342,11 +342,12 @@
insert
(
type
)
{
insert
(
type
)
{
if
(
type
==
1
){
if
(
type
==
1
){
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##客户名称##'
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##客户名称##'
}
else
if
(
type
==
2
){
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##员工名称##'
}
else
{
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
()
this
.
gettrigger
()
},
},
selectimg
()
{
//素材选择 图片模式
selectimg
()
{
//素材选择 图片模式
...
...
src/pages/enterprise/addWelcome.vue
View file @
fc4126a2
...
@@ -149,8 +149,8 @@
...
@@ -149,8 +149,8 @@
style=
"width: 60%;"
/>
style=
"width: 60%;"
/>
<div
style=
"margin-top: 10px;"
>
<div
style=
"margin-top: 10px;"
>
<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(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(2)'
/>
<q-btn
color=
"accent"
label=
"+插入员工别名"
size=
'sm'
class=
"q-mr-md"
@
click=
'insert(3)'
/>
<q-btn
color=
"accent"
label=
"+插入员工别名"
size=
'sm'
class=
"q-mr-md"
@
click=
'insert(3)'
/>
-->
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"添加内容:"
>
<el-form-item
label=
"添加内容:"
>
...
@@ -400,11 +400,12 @@
...
@@ -400,11 +400,12 @@
insert
(
type
)
{
insert
(
type
)
{
if
(
type
==
1
){
if
(
type
==
1
){
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##客户名称##'
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##客户名称##'
}
else
if
(
type
==
2
){
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##员工名称##'
}
else
{
this
.
addMsg
.
Content
=
this
.
addMsg
.
Content
+
'##员工别名##'
}
}
// else if(type==2){
// this.addMsg.Content = this.addMsg.Content + '##员工名称##'
// }else{
// this.addMsg.Content = this.addMsg.Content + '##员工别名##'
// }
},
},
selectimg
()
{
//素材选择 图片模式
selectimg
()
{
//素材选择 图片模式
this
.
materialType
=
2
;
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