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 efb6d170
authored
Apr 16, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'yangm_dev_v2.1.0' into 'v2.1.0'
Yangm dev v2.1.0 See merge request
!29
2 parents
8edccf20
3dc2599b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
8 deletions
src/config/index.js
src/mixins/tag.js
src/views/clientDataOverview/group.vue
src/views/tagsManage/index.vue
src/config/index.js
View file @
efb6d17
...
@@ -18,7 +18,7 @@ export const fetchConfig = function(isEnv = true) {
...
@@ -18,7 +18,7 @@ export const fetchConfig = function(isEnv = true) {
return
Promise
.
resolve
(
cfg
)
return
Promise
.
resolve
(
cfg
)
}
}
return
new
Http
({
request
:
{
timeout
:
3000
}
}).
get
(
'https://oss-config.
test
.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2'
)
return
new
Http
({
request
:
{
timeout
:
3000
}
}).
get
(
'https://oss-config.
dev
.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2'
)
//开发环境mock
//开发环境mock
// return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2')
// return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2')
}
}
...
...
src/mixins/tag.js
View file @
efb6d17
...
@@ -82,6 +82,9 @@ export default {
...
@@ -82,6 +82,9 @@ export default {
goDetail
(
scope
)
{
goDetail
(
scope
)
{
this
.
$router
.
push
(
'/clientManage/clientDetail?id='
+
scope
.
oneId
)
this
.
$router
.
push
(
'/clientManage/clientDetail?id='
+
scope
.
oneId
)
},
},
jumpGroup
()
{
this
.
$router
.
push
(
'/crowdManage/index'
)
},
//删除标签组
//删除标签组
removeItem
(
index
)
{
removeItem
(
index
)
{
this
.
tagCheckItem
.
splice
(
index
,
1
)
this
.
tagCheckItem
.
splice
(
index
,
1
)
...
@@ -195,11 +198,8 @@ export default {
...
@@ -195,11 +198,8 @@ export default {
.
addCrowd
(
params
)
.
addCrowd
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
this
.
$message
({
type
:
'success'
,
message
:
'操作成功!'
})
this
.
groupVisible
=
false
this
.
groupVisible
=
false
this
.
successVisible
=
true
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
...
...
src/views/clientDataOverview/group.vue
View file @
efb6d17
...
@@ -180,7 +180,7 @@ export default {
...
@@ -180,7 +180,7 @@ export default {
},
},
{
{
label
:
'购车时间'
,
label
:
'购车时间'
,
prop
:
'
addTim
e'
,
prop
:
'
buyDat
e'
,
width
:
110
width
:
110
},
},
{
{
...
...
src/views/tagsManage/index.vue
View file @
efb6d17
...
@@ -254,6 +254,15 @@
...
@@ -254,6 +254,15 @@
</div>
</div>
</div>
</div>
</basic-dialog>
</basic-dialog>
<el-dialog
title=
"提示"
:visible
.
sync=
"successVisible"
width=
"30%"
>
<div
class=
"success-panel"
>
<i
class=
"el-icon-circle-check"
></i>
</div>
<div
class=
"success-tips"
>
<div
class=
"success-tips-h1"
>
已保存为人群
</div>
<div
class=
"success-tips-h2"
@
click=
"jumpGroup"
>
立即前往“人群管理”>
</div>
</div>
</el-dialog>
<div
class=
"loading-containner"
v-if=
"userLoading"
>
<div
class=
"loading-containner"
v-if=
"userLoading"
>
<div
class=
"loading-box"
>
客户列表加载中
</div>
<div
class=
"loading-box"
>
客户列表加载中
</div>
</div>
</div>
...
@@ -299,6 +308,7 @@ export default {
...
@@ -299,6 +308,7 @@ export default {
}
}
}
}
return
{
return
{
successVisible
:
false
,
userLoading
:
false
,
userLoading
:
false
,
dialogRuleVisible
:
false
,
dialogRuleVisible
:
false
,
expand
:
false
,
expand
:
false
,
...
@@ -548,7 +558,7 @@ export default {
...
@@ -548,7 +558,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
let
clientHeight
=
document
.
documentElement
.
clientHeight
let
clientHeight
=
document
.
documentElement
.
clientHeight
this
.
heightBox
=
clientHeight
-
1
5
0
this
.
heightBox
=
clientHeight
-
1
4
0
//没数据的时候要算高度
//没数据的时候要算高度
// setTimeout(() => {
// setTimeout(() => {
// if (!this.$refs.tagsManage.data.length) {
// if (!this.$refs.tagsManage.data.length) {
...
@@ -640,8 +650,8 @@ export default {
...
@@ -640,8 +650,8 @@ export default {
},
},
//重置表格
//重置表格
handleReset
()
{
handleReset
()
{
this
.
getCustomersListData
()
this
.
searchForm
=
{}
this
.
searchForm
=
{}
this
.
getCustomersListData
()
},
},
btnClick
(
pType
,
rowData
)
{
btnClick
(
pType
,
rowData
)
{
console
.
log
(
pType
,
rowData
,
'btnClick'
)
console
.
log
(
pType
,
rowData
,
'btnClick'
)
...
@@ -932,6 +942,34 @@ export default {
...
@@ -932,6 +942,34 @@ export default {
content
:
'. . .'
;
content
:
'. . .'
;
}
}
}
}
.success-panel
{
display
:
flex
;
justify-content
:
center
;
margin-top
:
40px
;
.el-icon-circle-check
{
color
:
#2cca74
;
font-size
:
36px
;
}
}
.success-tips
{
color
:
#5850ff
;
text-align
:
center
;
margin
:
10px
0px
30px
;
line-height
:
20px
;
&-h1
{
font-size
:
16px
;
color
:
#333333
;
}
&
-h2
{
cursor
:
pointer
;
margin-top
:
30px
;
font-size
:
14px
;
color
:
#5850ff
;
}
}
.success-footer
{
text-align
:
center
;
}
.leftDistance
{
.leftDistance
{
margin-left
:
10px
;
margin-left
:
10px
;
}
}
...
...
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