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 9ec86729
authored
Dec 09, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
修改、合并
2 parents
74ff99e3
07e9dcbf
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
85 additions
and
50 deletions
package.json
src/components/search-form/index.vue
src/views/clientDataOverview/index.vue
src/views/clientManage/clientDetail.vue
src/views/guestGroup/add.vue
src/views/guestGroup/components/selectEmp.vue
src/views/guestGroup/components/selectMembers.vue
src/views/tagsManage/index.vue
package.json
View file @
9ec8672
...
...
@@ -14,7 +14,7 @@
"echarts"
:
"^5.2.0"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.2.
3
"
,
"glsx-components"
:
"^1.2.
4
"
,
"glsx-table"
:
"^1.1.0"
,
"jquery"
:
"^3.6.0"
,
"sha1"
:
"^1.1.1"
,
...
...
src/components/search-form/index.vue
View file @
9ec8672
...
...
@@ -41,7 +41,7 @@
</
template
>
</template>
</el-form-item>
<el-form-item
style=
"position:absolute;right:
0
;bottom:0;"
v-if=
"!needShowExpande || expande"
>
<el-form-item
style=
"position:absolute;right:
-12px
;bottom:0;"
v-if=
"!needShowExpande || expande"
>
<
template
>
<slot
name=
"form-slot"
></slot>
</
template
>
...
...
src/views/clientDataOverview/index.vue
View file @
9ec8672
...
...
@@ -81,7 +81,8 @@
<span
class=
"person-text"
>
人
</span>
</span>
<span>
未加企微的潜在(意向)客户
</span>
<button
class=
"btn"
@
click=
"toGuideCompanyWechat"
v-if=
"accountLevel==4"
>
引流企微
>>
</button>
<!-- >>-->
<button
class=
"btn"
@
click=
"toGuideCompanyWechat"
v-if=
"accountLevel==4"
>
引流企微
<i
class=
"el-icon-d-arrow-right"
></i></button>
</div>
</div>
</div>
...
...
@@ -123,7 +124,7 @@
<span
class=
"person-text"
>
人
</span>
</span>
<span>
未加企微的购买(存档)客户
</span>
<button
class=
"btn"
@
click=
"toGuideCompanyWechat"
v-if=
"accountLevel==4"
>
引流企微
>>
</button>
<button
class=
"btn"
@
click=
"toGuideCompanyWechat"
v-if=
"accountLevel==4"
>
引流企微
<i
class=
"el-icon-d-arrow-right"
></i>
</button>
</div>
</div>
</div>
...
...
src/views/clientManage/clientDetail.vue
View file @
9ec8672
...
...
@@ -440,7 +440,7 @@ export default {
console
.
log
(
param
,
'参数'
)
addSingleClientTag
(
param
)
.
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
data
.
code
==
0
)
{
if
(
index
==
this
.
submitTagsList
.
length
-
1
)
{
this
.
$message
.
success
(
'添加成功'
)
...
...
@@ -449,7 +449,7 @@ export default {
this
.
getPageDetail
()
//刷新当前页面
}
}
else
{
this
.
$message
.
error
(
res
.
message
)
this
.
$message
.
error
(
res
.
data
.
message
)
}
})
.
catch
(
err
=>
{
...
...
src/views/guestGroup/add.vue
View file @
9ec8672
...
...
@@ -10,7 +10,7 @@
<img
src=
"@/assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/>
<span>
企业主体信息需要认证,才可使用该功能。
</span>
</div>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"basicForm"
label-width=
"12
0
px"
>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"basicForm"
label-width=
"12
4
px"
>
<el-form-item
label=
"组名"
prop=
"orgName"
>
<el-input
v-model=
"basicForm.orgName"
placeholder=
"为群聊设置一个组名"
maxlength=
"10"
></el-input>
</el-form-item>
...
...
@@ -34,15 +34,18 @@
人
</span>
<div
class=
"sale-select"
v-show=
"basicForm.userList"
>
<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)"
>
{{
tag
.
staffName
}}
</el-tag>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
<div
class=
"el-input-tag input-tag-wrapper"
>
<el-scrollbar>
<div
style=
"max-height: 64px;"
>
<el-tag
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag, idx)"
>
{{
tag
.
staffName
}}
</el-tag>
</div>
</el-scrollbar>
</div>
</div>
<div
class=
"form-tips"
>
必须配置2个及以上成员
</div>
...
...
@@ -320,6 +323,7 @@ export default {
padding
:
20px
0
17px
20px
;
font-size
:
16px
;
color
:
#333
;
font-weight
:
600
;
border-bottom
:
1px
solid
#d8d8d8
;
&::after
{
content
:
''
;
...
...
@@ -339,7 +343,7 @@ export default {
}
.el-form
{
padding
:
32px
0
20px
66
px
;
padding
:
32px
0
20px
24
px
;
/deep/.el-input
{
width
:
320px
;
}
...
...
@@ -380,6 +384,7 @@ export default {
display
:
flex
;
align-items
:
center
;
}
.input-tag-wrapper
{
max-width
:
320px
;
position
:
relative
;
...
...
@@ -388,19 +393,20 @@ export default {
background-image
:
none
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
max-height
:
64px
;
//
box-sizing
:
border-box
;
color
:
#606266
;
display
:
inline-block
;
outline
:
none
;
padding
:
0
10px
0
5px
;
padding
:
0
0px
5px
5px
;
flex-wrap
:
wrap
;
line-height
:
32px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
100%
;
display
:
flex
;
align-items
:
center
;
max-height
:
64px
;
overflow
:
auto
;
//
overflow
:
auto
;
/deep/
input
{
/* input { */
/* background-color: red!important; 调试用的样式 */
...
...
src/views/guestGroup/components/selectEmp.vue
View file @
9ec8672
...
...
@@ -2,35 +2,45 @@
<div
class=
"select-emp-panel"
>
<div
class=
"scrm-p10 emp-tree-panel"
>
<div
class=
"popper-arrow"
></div>
<div
class=
"emp-scroll-panel"
:style=
"
{
height: treeHeight + 'px'
}">
<div
class=
"tree-title"
>
所在门店/部门
</div>
<el-tree
v-loading=
"loading"
:data=
"listTree"
:expand-on-click-node=
"false"
highlight-current
:props=
"defaultProps"
@
node-click=
"handleNodeClick"
></el-tree>
<el-scrollbar>
<div
style=
"max-height: 200px"
>
<div
class=
"tree-title"
>
所在门店/部门
</div>
<el-tree
v-loading=
"loading"
:data=
"listTree"
:expand-on-click-node=
"false"
highlight-current
:props=
"defaultProps"
@
node-click=
"handleNodeClick"
></el-tree>
</div>
</el-scrollbar>
</div>
</div>
<el-col
class=
"scrm-p10 emp-table-panel"
:style=
"
{
height: treeHeight + 20 + 'px'
}"
>
<GLTable
v-loading=
"loading"
ref=
"saleTable"
:tableData=
"tableEmpData"
:tableParams=
"tableParams"
:hasNum=
"false"
:hasPage=
"false"
@
selectionTable=
"selectionTable"
></GLTable>
<el-scrollbar>
<div
style=
"max-height: 200px"
>
<GLTable
v-loading=
"loading"
ref=
"saleTable"
:tableData=
"tableEmpData"
:tableParams=
"tableParams"
:hasNum=
"false"
:hasPage=
"false"
@
selectionTable=
"selectionTable"
></GLTable>
</div>
</el-scrollbar>
</el-col>
</div>
</
template
>
...
...
@@ -153,7 +163,7 @@ export default {
mounted
()
{
console
.
log
(
'islord'
,
this
.
islord
)
let
clientHeight
=
document
.
documentElement
.
clientHeight
this
.
treeHeight
=
clientHeight
-
65
0
this
.
treeHeight
=
clientHeight
-
70
0
this
.
listDepartmentTree
()
}
}
...
...
@@ -170,7 +180,7 @@ export default {
border
:
1px
solid
#e4e7ed
;
.emp-scroll-panel
{
min-height
:
200px
;
overflow
:
auto
;
//
overflow
:
auto
;
box-sizing
:
border-box
;
}
.popper-arrow
{
...
...
@@ -204,7 +214,7 @@ export default {
.emp-table-panel
{
flex
:
1
;
min-height
:
200px
;
overflow
:
auto
;
//
overflow
:
auto
;
margin-top
:
10px
;
background
:
#ffffff
;
box-shadow
:
0px
2px
12px
0px
rgba
(
0
,
0
,
0
,
0.06
);
...
...
src/views/guestGroup/components/selectMembers.vue
View file @
9ec8672
...
...
@@ -4,13 +4,15 @@
<el-form-item
label=
"请选择成员"
>
<div
class=
"sale-select"
>
<div
class=
"el-input-tag input-tag-wrapper"
@
click=
"foucusTagInput"
>
<el-tag
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
<div
class=
"tag-box"
>
<el-tag
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
</div>
<el-input
size=
"small"
v-model
.
trim=
"newTag"
...
...
@@ -158,6 +160,10 @@ export default {
}
}
}
.tag-box
{
max-height
:
66px
;
overflow
:
auto
;
}
.input-tag-wrapper
{
position
:
relative
;
font-size
:
14px
;
...
...
@@ -169,7 +175,7 @@ export default {
color
:
#606266
;
display
:
inline-block
;
outline
:
none
;
padding
:
0
10px
0
5px
;
padding
:
0
0
0
5px
;
flex-wrap
:
wrap
;
line-height
:
32px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
...
...
@@ -214,4 +220,15 @@ export default {
height
:
32px
;
line-height
:
32px
;
}
::-webkit-scrollbar
{
/*滚动条整体样式*/
width
:
6px
;
height
:
4px
;
}
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
border-radius
:
4px
;
background-color
:
rgba
(
144
,
147
,
153
,
0.3
);
}
</
style
>
src/views/tagsManage/index.vue
View file @
9ec8672
...
...
@@ -733,6 +733,7 @@ export default {
display
:
inline-block
;
margin-right
:
10px
;
//
margin-bottom
:
10px
;
//
margin-bottom
:
4px
;
padding
:
0
10px
;
box-sizing
:
border-box
;
min-width
:
76px
;
...
...
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