Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 74ff99e3
authored
Dec 09, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
一客一群新增添加提示
1 parent
46ea7f67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
8 deletions
src/views/guestGroup/add.vue
src/views/guestGroup/add.vue
View file @
74ff99e
...
@@ -6,12 +6,20 @@
...
@@ -6,12 +6,20 @@
<div
class=
"title"
>
基础信息
</div>
<div
class=
"title"
>
基础信息
</div>
<div
class=
"info-box"
>
<div
class=
"info-box"
>
<div
class=
"info-content"
>
<div
class=
"info-content"
>
<div
class=
"tips-text"
>
<img
src=
"@/assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/>
<span>
企业主体信息需要认证,才可使用该功能。
</span>
</div>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"basicForm"
label-width=
"120px"
>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"basicForm"
label-width=
"120px"
>
<el-form-item
label=
"组名"
prop=
"orgName"
>
<el-form-item
label=
"组名"
prop=
"orgName"
>
<el-input
v-model=
"basicForm.orgName"
placeholder=
"为群聊设置一个组名"
maxlength=
"10"
></el-input>
<el-input
v-model=
"basicForm.orgName"
placeholder=
"为群聊设置一个组名"
maxlength=
"10"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"群聊名称"
prop=
"groupName"
>
<el-form-item
label=
"群聊名称"
prop=
"groupName"
>
<el-input
v-model=
"basicForm.groupName"
placeholder=
"设置群聊名称前缀,如新车售后一组"
maxlength=
"10"
></el-input>
<el-input
v-model=
"basicForm.groupName"
placeholder=
"设置群聊名称前缀,如新车售后一组"
maxlength=
"10"
></el-input>
<div
class=
"form-tips"
>
群聊名称后缀将以日期及序号进行累加,如“新车售后一组211011-1群”
</div>
<div
class=
"form-tips"
>
群聊名称后缀将以日期及序号进行累加,如“新车售后一组211011-1群”
</div>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"userList"
>
<el-form-item
prop=
"userList"
>
...
@@ -27,9 +35,13 @@
...
@@ -27,9 +35,13 @@
</span>
</span>
<div
class=
"sale-select"
v-show=
"basicForm.userList"
>
<div
class=
"sale-select"
v-show=
"basicForm.userList"
>
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<el-tag
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag, idx)"
>
<el-tag
{{
tag
.
staffName
}}
v-for=
"(tag, idx) in basicForm.userList"
</el-tag>
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag, idx)"
>
{{
tag
.
staffName
}}
</el-tag>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
</div>
</div>
</div>
</div>
...
@@ -44,11 +56,11 @@
...
@@ -44,11 +56,11 @@
<WelcomeWords
ref=
"welcome"
:eventBus=
"eventBus"
></WelcomeWords>
<WelcomeWords
ref=
"welcome"
:eventBus=
"eventBus"
></WelcomeWords>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
-->
</div>
-->
</div>
</div>
<!--
<div
class=
"preview"
>
<!--
<div
class=
"preview"
>
<Preview
:eventBus=
"eventBus"
></Preview>
<Preview
:eventBus=
"eventBus"
></Preview>
</div>
-->
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -62,8 +74,19 @@
...
@@ -62,8 +74,19 @@
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
<basic-dialog
:title=
"'选择成员'"
:width=
"'712px'"
:isVisible=
"membersVisible"
@
confirmDialog=
"handleConfirm"
@
closeDialog=
"handleClose"
>
<basic-dialog
<SelectMembers
v-if=
"membersVisible"
:key=
"key"
:selectData
.
sync=
"selectData"
ref=
"membersForm"
></SelectMembers>
:title=
"'选择成员'"
:width=
"'712px'"
:isVisible=
"membersVisible"
@
confirmDialog=
"handleConfirm"
@
closeDialog=
"handleClose"
>
<SelectMembers
v-if=
"membersVisible"
:key=
"key"
:selectData
.
sync=
"selectData"
ref=
"membersForm"
></SelectMembers>
</basic-dialog>
</basic-dialog>
</div>
</div>
</
template
>
</
template
>
...
@@ -418,4 +441,23 @@ export default {
...
@@ -418,4 +441,23 @@ export default {
margin-right
:
4
px
;
margin-right
:
4
px
;
}
}
}
}
.tips-text
{
display
:
flex
;
width
:
616px
;
align-items
:
center
;
justify-self
:
center
;
color
:
#000
;
font-size
:
14px
;
padding
:
13px
16px
;
margin-top
:
20px
;
margin-left
:
20px
;
background-color
:
rgba
(
230
,
233
,
255
,
0.49
);
border
:
1px
solid
rgba
(
88
,
80
,
255
,
0.49
);
border-radius
:
4px
;
.tips-icon
{
width
:
14px
;
height
:
14px
;
margin-right
:
8px
;
}
}
</
style
>
</
style
>
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