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 854e99d7
authored
Jul 25, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ui走查以及删除console.log
1 parent
36115a53
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
131 additions
and
141 deletions
src/App.vue
src/common/util.js
src/components/echarts/pieEchart.vue
src/components/echarts/pieEchartCopy.vue
src/components/search-form/index.vue
src/mixins/tag.js
src/utils/index.js
src/views/about/index.vue
src/views/clientDataOverview/addOrEdit.vue
src/views/clientDataOverview/components/marketingPlan.vue
src/views/clientDataOverview/group.vue
src/views/clientDataOverview/grouping.vue
src/views/clientDataOverview/index.vue
src/views/clientDataOverview/marketingPeople.vue
src/views/clientGroupManage/clientGroupDetail.vue
src/views/clientGroupManage/clientGroupDetailNext.vue
src/views/clientGroupManage/clientGroupDetailold.vue
src/views/clientGroupManage/components/client.vue
src/views/clientGroupManage/components/followEmployee.vue
src/views/clientGroupManage/components/leaveGroupClient.vue
src/views/clientGroupManage/components/potentialClient.vue
src/views/clientGroupManage/index.vue
src/views/clientManage/clientDetail.vue
src/views/clientManage/demo.vue
src/views/clientManage/index.vue
src/views/crowdManage/crowdAdd.vue
src/views/crowdManage/crowdDetail.vue
src/views/crowdManage/index.vue
src/views/employee/index.vue
src/views/expand/index.vue
src/views/guestGroup/add.vue
src/views/guestGroup/components/welcomeWords.vue
src/views/guestGroup/detail.vue
src/views/guestGroup/index.vue
src/views/home/index.vue
src/views/index.vue
src/views/leadManage/index.vue
src/views/leadManage/leadAllocation.vue
src/views/leadManage/leadBasicInfo.vue
src/views/tagsManage/index.vue
src/views/tagsManage/viewCustomers.vue
src/App.vue
View file @
854e99d
...
...
@@ -58,8 +58,6 @@ export default {
line-height
:
36px
;
}
#app
{
background
:
#f4f5fa
;
padding
:
0px
20px
20px
20px
;
position
:
absolute
;
box-sizing
:
border-box
;
width
:
100%
;
...
...
src/common/util.js
View file @
854e99d
...
...
@@ -189,8 +189,8 @@ export const Util = {
}
if
(
singleNum
+
doubleNum
>=
30
)
{
subLen
=
subLen1
+
subLen2
console
.
log
(
subLen1
,
subLen2
,
subLen
)
console
.
log
(
singleNum
,
singleNum
,
'单双数'
)
break
}
}
...
...
src/components/echarts/pieEchart.vue
View file @
854e99d
...
...
@@ -34,7 +34,7 @@ export default {
},
mounted
()
{
this
.
$nextTick
(()
=>
{
console
.
log
(
this
.
topDataObj
,
'饼图'
)
this
.
pieData
[
0
].
value
=
this
.
topDataObj
.
entmicroNotAddCustomerCount
this
.
pieData
[
1
].
value
=
this
.
topDataObj
.
entmicroAddCustomerCount
this
.
initChart
()
...
...
src/components/echarts/pieEchartCopy.vue
View file @
854e99d
...
...
@@ -34,7 +34,7 @@ export default {
},
mounted
()
{
this
.
$nextTick
(()
=>
{
console
.
log
(
this
.
topDataObj
,
'饼图'
)
this
.
pieData
[
0
].
value
=
this
.
topDataObj
.
entmicroNotAddCustomerCount
this
.
pieData
[
1
].
value
=
this
.
topDataObj
.
entmicroAddCustomerCount
this
.
initChart
()
...
...
src/components/search-form/index.vue
View file @
854e99d
...
...
@@ -120,9 +120,9 @@ export default {
}
this
.
$nextTick
(()
=>
{
var
sf
=
document
.
getElementById
(
'searchForm'
)
console
.
log
(
sf
.
clientWidth
,
'555'
)
if
(
sf
.
clientWidth
<
1280
&&
this
.
isHasSyncBtn
)
{
console
.
log
(
sf
.
clientWidth
,
'sf'
)
document
.
querySelector
(
'.itemWidth'
).
style
.
maxWidth
=
700
+
'px'
}
if
(
sf
.
clientWidth
<
952
&&
this
.
isHasSyncBtn
)
{
...
...
@@ -131,7 +131,7 @@ export default {
let
lineHeight
=
75
//75
if
(
document
.
getElementById
(
'searchForm'
).
offsetHeight
>
lineHeight
*
2
)
{
console
.
log
(
'第一次searchForm高度'
,
document
.
getElementById
(
'searchForm'
).
offsetHeight
)
this
.
expande
=
false
this
.
needShowExpande
=
true
}
else
{
...
...
@@ -160,7 +160,7 @@ export default {
// $(window).bind('resize', function() {
// if (resizeTimer) clearTimeout(resizeTimer)
// resizeTimer = setTimeout(function() {
//
console.log('窗口发生改变了!')
//
// }, 100)
// })
// window.onresize = () => {
...
...
src/mixins/tag.js
View file @
854e99d
This diff is collapsed.
Click to expand it.
src/utils/index.js
View file @
854e99d
export
function
debounce
(
fn
,
delay
,
triggerNow
)
{
var
t
=
null
console
.
log
(
'ceshi'
)
var
debounced
=
function
()
{
var
_self
=
this
,
args
=
arguments
...
...
src/views/about/index.vue
View file @
854e99d
...
...
@@ -153,7 +153,7 @@ export default {
},
// 自定义筛选函数
filterNode
(
value
,
data
,
where
)
{
console
.
log
(
value
,
data
,
where
)
if
(
!
value
)
return
true
return
data
[
this
.
defaultProps
.
label
].
indexOf
(
value
)
!==
-
1
},
...
...
@@ -189,29 +189,29 @@ export default {
add
(
fromData
,
toData
,
obj
)
{
// 树形穿梭框模式transfer时,返回参数为左侧树移动后数据、右侧树移动后数据、移动的{keys,nodes,halfKeys,halfNodes}对象
// 通讯录模式addressList时,返回参数为右侧收件人列表、右侧抄送人列表、右侧密送人列表
console
.
log
(
'fromData:'
,
fromData
)
console
.
log
(
'toData:'
,
toData
)
console
.
log
(
'obj:'
,
obj
)
},
// 移除按钮
remove
(
fromData
,
toData
,
obj
)
{
// 树形穿梭框模式transfer时,返回参数为左侧树移动后数据、右侧树移动后数据、移动的{keys,nodes,halfKeys,halfNodes}对象
// 通讯录模式addressList时,返回参数为右侧收件人列表、右侧抄送人列表、右侧密送人列表
console
.
log
(
'fromData:'
,
fromData
)
console
.
log
(
'toData:'
,
toData
)
console
.
log
(
'obj:'
,
obj
)
},
// 左侧源数据选中事件
leftCheckChange
(
nodeObj
,
treeObj
,
checkAll
)
{
console
.
log
(
nodeObj
)
console
.
log
(
treeObj
)
console
.
log
(
checkAll
)
},
// 右侧目标数据选中事件
rightCheckChange
(
nodeObj
,
treeObj
,
checkAll
)
{
console
.
log
(
nodeObj
)
console
.
log
(
treeObj
)
console
.
log
(
checkAll
)
},
// 自定义节点 仅树形结构支持
renderContent
(
h
,
{
node
,
data
})
{
...
...
src/views/clientDataOverview/addOrEdit.vue
View file @
854e99d
...
...
@@ -205,7 +205,7 @@ export default {
crowdGroup
=
'addCrowdGroup'
}
this
.
$apis
.
crowdManage
[
crowdGroup
](
params
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
data
.
code
==
0
)
{
this
.
groupVisible
=
false
this
.
$message
.
success
(
'操作成功'
)
...
...
@@ -262,7 +262,7 @@ export default {
arr2
.
push
(
item
.
crowdId
)
}
})
console
.
log
(
arr1
,
arr2
)
this
.
setTreeChecked
(
arr1
,
arr2
)
},
setTreeChecked
(
arr1
,
arr2
)
{
...
...
src/views/clientDataOverview/components/marketingPlan.vue
View file @
854e99d
...
...
@@ -158,7 +158,7 @@ export default {
// 跳转SOP分析
handleJump
(
id
)
{
const
{
crowdGroupName
,
crowdGroupDesc
}
=
this
.
$route
.
query
console
.
log
(
crowdGroupName
)
let
query
=
JSON
.
stringify
({
crowdId
:
this
.
crowdGroupId
,
crowdGroupDesc
,
...
...
@@ -195,7 +195,7 @@ export default {
},
// 搜索表格
searchTable
()
{
console
.
log
(
this
.
searchForm
)
this
.
$refs
.
marketingPlan
.
refreshTable
()
},
//重置表格
...
...
@@ -218,7 +218,7 @@ export default {
}
.pageContent
{
padding
:
20px
20px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
background-color
:
#fff
;
}
</
style
>
src/views/clientDataOverview/group.vue
View file @
854e99d
...
...
@@ -275,7 +275,7 @@ export default {
}
}
params
.
info
.
crowdList
.
push
(
marketQuery
)
console
.
log
(
params
)
this
.
$common
.
utils
.
storage
.
set
(
'sopInfo'
,
params
)
this
.
$history
.
push
({
path
:
'marketing/sop/editSop'
...
...
@@ -300,7 +300,7 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
tagsPartFormList
[
id
].
optionList
=
staff
})
console
.
log
(
this
.
tagsPartFormList
[
id
])
})
},
handleSearch
()
{
...
...
src/views/clientDataOverview/grouping.vue
View file @
854e99d
...
...
@@ -213,7 +213,7 @@ export default {
this
.
$refs
.
clientGroupManage
.
setTableHeightFun
()
},
setTableFinishFun
(
content
)
{
console
.
log
(
content
,
this
.
$refs
.
clientGroupManage
.
data
.
length
,
'获取数据'
)
// if (!this.flushTime) {
// this.flushTime = true
// this.searchTable()
...
...
@@ -247,7 +247,7 @@ export default {
keyword
:
this
.
searchForm
.
keyword
}
}
console
.
log
(
'params'
,
params
)
delete
params
.
daterange
return
params
},
...
...
@@ -386,7 +386,6 @@ export default {
}
}
padding
:
20px
20px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.1
);
//
min-width
:
1300px
;
background-color
:
#fff
;
.el-button
+
.el-button
{
...
...
src/views/clientDataOverview/index.vue
View file @
854e99d
...
...
@@ -672,7 +672,7 @@ export default {
// this.$set(this.titles[3], 'num', res.silenceCustomerCount)
})
// .catch(err => {
//
console.log('错误信息:', err)
//
// })
},
//首次进来获取下方柱状图数据(一进来默认传7天)
...
...
src/views/clientDataOverview/marketingPeople.vue
View file @
854e99d
...
...
@@ -574,8 +574,7 @@ export default {
}
}
.pageContent
{
padding
:
0
0
20px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
0
0
20px
;
background-color
:
#fff
;
.markPeople
{
padding
:
20px
20px
0
;
...
...
@@ -739,8 +738,7 @@ export default {
}
.otherPageContent
{
padding
:
20px
20px
30px
;
margin-top
:
16px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
margin-top
:
16px
;
background-color
:
#fff
;
.leadList
{
display
:
flex
;
...
...
@@ -765,8 +763,7 @@ export default {
}
}
.PageContent2
{
padding
:
20px
20px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
20px
20px
30px
;
background-color
:
#fff
;
}
</
style
>
src/views/clientGroupManage/clientGroupDetail.vue
View file @
854e99d
...
...
@@ -136,9 +136,9 @@ export default {
// deep: true,
// // immediate:true,
// handler(val) {
//
console.log('val值:',val)
//
// if(val){
//
console.log('7777777777777')
//
// this.searchTable()
// }
// }
...
...
@@ -167,7 +167,7 @@ export default {
},
async
getTableDetail
(
id
=
this
.
$route
.
query
.
id
)
{
const
res
=
await
getTableDetail
({
id
:
id
,
pageNum
:
1
,
pageSize
:
10
})
console
.
log
(
'获取客户群数据'
,
res
)
if
(
!
res
)
{
return
false
}
...
...
src/views/clientGroupManage/clientGroupDetailNext.vue
View file @
854e99d
...
...
@@ -128,9 +128,9 @@ export default {
// deep: true,
// // immediate:true,
// handler(val) {
//
console.log('val值:',val)
//
// if(val){
//
console.log('7777777777777')
//
// this.searchTable()
// }
// }
...
...
@@ -148,7 +148,7 @@ export default {
},
async
getTableDetail
(
id
=
this
.
$route
.
query
.
id
)
{
const
res
=
await
getTableDetail
({
id
:
id
})
console
.
log
(
'获取客户群数据'
,
res
)
if
(
!
res
)
{
return
false
}
...
...
src/views/clientGroupManage/clientGroupDetailold.vue
View file @
854e99d
...
...
@@ -218,9 +218,9 @@ export default {
// deep: true,
// // immediate:true,
// handler(val) {
//
console.log('val值:',val)
//
// if(val){
//
console.log('7777777777777')
//
// this.searchTable()
// }
// }
...
...
@@ -230,7 +230,7 @@ export default {
methods
:
{
async
getTableDetail
(
id
=
this
.
$route
.
query
.
id
)
{
const
res
=
await
getTableDetail
({
id
:
id
})
console
.
log
(
'获取客户群数据'
,
res
)
if
(
!
res
)
{
return
false
}
...
...
@@ -239,9 +239,9 @@ export default {
beforeSearchFn
()
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
searchFormTable
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
//
console.log(this.searchForm,'数据')
//
console.log(this.searchForm.daterange,this.searchForm.id,this.searchFormTable,'时间选择器')
//
console.log(this.searchForm)
//
//
//
if
(
this
.
searchFormTable
.
daterange
)
{
this
.
searchFormTable
.
beginTime
=
this
.
searchForm
.
daterange
[
0
]
this
.
searchFormTable
.
endTime
=
this
.
searchForm
.
daterange
[
1
]
...
...
@@ -257,7 +257,7 @@ export default {
},
setTableFinishFun
(
content
)
{
//content是第一页的数据
console
.
log
(
content
)
this
.
clientTableDataNum
=
this
.
$refs
.
clientGroupDetail
.
total
//接收到的数据为空
// if (!this.$refs.clientGroupDetail.data.length) {
...
...
src/views/clientGroupManage/components/client.vue
View file @
854e99d
...
...
@@ -194,7 +194,7 @@ export default {
},
setTableFinishFun
(
content
)
{
//content是第一页的数据
console
.
log
(
content
)
this
.
clientTableDataNum
=
this
.
$refs
.
clientGroupDetail
.
total
// this.$emit('getTotal',this.clientTableDataNum)
//接收到的数据为空
...
...
src/views/clientGroupManage/components/followEmployee.vue
View file @
854e99d
...
...
@@ -174,7 +174,7 @@ export default {
},
setTableFinishFun
(
content
)
{
//content是第一页的数据
console
.
log
(
content
)
this
.
clientTableDataNum
=
this
.
$refs
.
clientGroupDetail
.
total
// this.$emit('getTotal',this.clientTableDataNum)
//接收到的数据为空
...
...
src/views/clientGroupManage/components/leaveGroupClient.vue
View file @
854e99d
...
...
@@ -187,7 +187,7 @@ export default {
},
setTableFinishFun
(
content
)
{
//content是第一页的数据
console
.
log
(
content
)
this
.
clientTableDataNum
=
this
.
$refs
.
clientGroupDetail
.
total
//接收到的数据为空
// if (!this.$refs.clientGroupDetail.data.length) {
...
...
src/views/clientGroupManage/components/potentialClient.vue
View file @
854e99d
...
...
@@ -170,7 +170,7 @@ export default {
},
setTableFinishFun
(
content
)
{
//content是第一页的数据
console
.
log
(
content
)
this
.
clientTableDataNum
=
this
.
$refs
.
clientGroupDetail
.
total
//接收到的数据为空
// if (!this.$refs.clientGroupDetail.data.length) {
...
...
src/views/clientGroupManage/index.vue
View file @
854e99d
...
...
@@ -223,7 +223,7 @@ export default {
// 'searchForm.daterange':{
// deep: true,
// handler(val) {
//
console.log('val值:',val)
//
// if(val){
// this.searchTable()
// }
...
...
@@ -285,7 +285,7 @@ export default {
this
.
$refs
.
clientGroupManage
.
setTableHeightFun
()
},
setTableFinishFun
(
content
)
{
console
.
log
(
content
,
this
.
$refs
.
clientGroupManage
.
data
.
length
,
'获取数据'
)
// if (!this.flushTime) {
// this.flushTime = true
// this.searchTable()
...
...
@@ -315,7 +315,7 @@ export default {
}
else
{
if
(
params
.
beginTime
)
delete
params
.
beginTime
&&
delete
params
.
endTime
}
console
.
log
(
'params'
,
params
)
delete
params
.
daterange
return
params
},
...
...
@@ -395,7 +395,6 @@ export default {
}
}
padding
:
20px
20px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.1
);
//
min-width
:
1300px
;
background-color
:
#fff
;
.el-button
+
.el-button
{
...
...
src/views/clientManage/clientDetail.vue
View file @
854e99d
...
...
@@ -645,7 +645,7 @@ export default {
this
.
$nextTick
(()
=>
{
if
(
this
.
currentIndex
==
2
&&
this
.
clientTagsList
.
length
<=
0
)
{
this
.
$refs
.
clientTagsListRef
.
setTableHeightFun
()
console
.
log
(
this
.
$refs
.
clientTagsListRef
.
tableHeightValues
,
'----------------'
)
// this.$refs.clientTagsListRef.tableHeightValues =
}
})
...
...
@@ -710,7 +710,7 @@ export default {
this
.
tagsList
=
filterArr
this
.
labelIdList
=
filterArr
.
map
(
item
=>
item
.
labelId
)
//
console.log(this.tagsList, '当前被选中的标签')
//
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
...
...
@@ -758,7 +758,7 @@ export default {
//点击添加按钮
btnClick
(
pType
,
scope
)
{
console
.
log
(
pType
,
scope
)
switch
(
pType
)
{
case
'create'
:
this
.
tagsDialogTitle
=
'设置标签'
...
...
@@ -805,7 +805,7 @@ export default {
})
this
.
allTagsList
=
allTagsList
//
console.log(this.allTagsList, ' this.allTagsList')
//
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
...
...
@@ -893,7 +893,7 @@ export default {
// this.companyTagsList = []
// this.ownShopTagsList = []
// }
//
console.log('进来')
//
this
.
tagsVisible
=
!
this
.
tagsVisible
this
.
allTagsList
=
[]
},
...
...
@@ -1017,7 +1017,7 @@ export default {
display
:
flex
;
width
:
100%
;
margin-top
:
20px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
min-height
:
calc
(
100vh
-
194px
);
overflow-y
:
auto
;
margin-bottom
:
78px
;
...
...
src/views/clientManage/demo.vue
View file @
854e99d
...
...
@@ -69,7 +69,7 @@ export default {
let
height
=
this
.
$refs
.
tableList
.
$el
.
parentElement
.
clientHeight
this
.
tableHeight
=
`
${
height
}
px`
console
.
log
(
this
.
tableHeight
,
'tableHeight'
)
})
this
.
dataList
=
[]
//demo.data.rows.concat([])
...
...
src/views/clientManage/index.vue
View file @
854e99d
...
...
@@ -675,7 +675,7 @@ export default {
}
}
padding
:
20px
20px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.1
);
//
min-width
:
1300px
;
background-color
:
#fff
;
.el-button
+
.el-button
{
...
...
src/views/crowdManage/crowdAdd.vue
View file @
854e99d
...
...
@@ -112,12 +112,10 @@
</div>
</div>
</div>
<div
class=
"footer-panel"
>
<div>
<el-button
class=
"cancel-button"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
保存
</el-button>
</div>
</div>
<GLFooter>
<el-button
class=
"cancel-button"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
保存
</el-button>
</GLFooter>
<GLDialog
title=
"人群规则说明"
:visible
.
sync=
"dialogRuleVisible"
:hasFooter=
"false"
>
<div
class=
"crowd-dialog-wrap color-3"
>
<div
class=
"condition font-14"
>
...
...
@@ -141,7 +139,7 @@
</div>
</div>
</GLDialog>
<GLDialog
title=
"人群规则逻辑"
:visible
.
sync=
"dialogLogicVisible"
:hasFooter=
"false"
>
<GLDialog
title=
"人群规则逻辑"
:visible
.
sync=
"dialogLogicVisible"
:hasFooter=
"false"
>
<div
class=
"crowd-logic-dialog-wrap"
>
<div
:class=
"{ 'crowd-flex': true }"
v-if=
"this.selectedArray.length > 1"
>
<div
class=
"crowd-line"
id=
"lineHeight"
></div>
...
...
@@ -255,13 +253,13 @@ export default {
document
.
getElementById
(
'tagBox'
).
style
.
height
=
'auto'
let
height
=
document
.
getElementById
(
'selectTagBox'
).
offsetHeight
console
.
log
(
height
,
'数据监听'
)
if
(
!
this
.
isFixed
||
this
.
addClick
)
{
//判断是否可以触发
this
.
isClick
=
false
this
.
expande
=
false
}
console
.
log
(
this
.
isClick
)
if
(
!
this
.
isClick
||
this
.
addClick
||
!
this
.
isFixed
)
{
//获取当前元素的高
...
...
@@ -571,7 +569,7 @@ export default {
this
.
$nextTick
(()
=>
{
document
.
getElementById
(
'tagBox'
).
style
.
height
=
'auto'
let
height
=
document
.
getElementById
(
'selectTagBox'
).
offsetHeight
console
.
log
(
height
,
'删除'
)
if
(
height
>
96
)
{
document
.
getElementById
(
'tagBox'
).
style
.
height
=
96
+
'px'
this
.
isDom
=
true
...
...
@@ -674,8 +672,8 @@ export default {
@import
'@/styles/variables.scss'
;
.container
{
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
margin-bottom
:
80
px
;
margin-bottom
:
16
px
;
//
padding
:
20px
;
.title
{
...
...
@@ -937,7 +935,6 @@ export default {
line-height
:
18px
;
}
.crowd-dialog-wrap
{
.condition
{
margin-bottom
:
16px
;
...
...
src/views/crowdManage/crowdDetail.vue
View file @
854e99d
...
...
@@ -147,7 +147,7 @@ export default {
this
.
getCrowdDetails
()
},
mounted
()
{
console
.
log
(
this
.
$route
.
query
.
crowdPage
)
},
methods
:
{
goBack
()
{
...
...
@@ -164,11 +164,11 @@ export default {
'req.crowdId'
:
this
.
crowdId
}
this
.
$apis
.
crowdManage
.
getCrowdDetails
(
params
).
then
(
res
=>
{
console
.
log
(
res
.
code
,
res
)
if
(
res
.
code
==
0
)
{
this
.
crowdForm
.
crowdName
=
res
.
data
.
crowdName
this
.
crowdForm
.
crowdDesc
=
res
.
data
.
crowdDesc
console
.
log
(
JSON
.
parse
(
res
.
data
.
tagCombine
))
this
.
selectedArray
=
res
.
data
.
tagCombine
?
JSON
.
parse
(
res
.
data
.
tagCombine
)
:
[]
}
})
...
...
@@ -202,7 +202,7 @@ export default {
@import
'@/styles/variables.scss'
;
.container
{
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
height
:
calc
(
100vh
-
164px
);
overflow-y
:
auto
;
//
padding
:
20px
;
...
...
src/views/crowdManage/index.vue
View file @
854e99d
...
...
@@ -108,7 +108,7 @@ export default {
// this.activeName = 'second'
// // window.history.pushState(null, null, location.origin + location.pathname)
// }
//
console.log(this.$route.query)
//
if
(
this
.
$route
.
query
.
selectTab
)
{
this
.
$route
.
query
.
selectTab
==
1
||
this
.
$route
.
query
.
selectTab
==
'first'
?
(
this
.
activeName
=
'first'
)
:
(
this
.
activeName
=
'second'
)
}
...
...
@@ -249,7 +249,7 @@ export default {
.pageContent
{
padding
:
6px
20px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
background-color
:
#fff
;
.el-button
+
.el-button
{
margin-left
:
10px
;
...
...
src/views/employee/index.vue
View file @
854e99d
...
...
@@ -137,7 +137,7 @@ export default {
},
methods
:
{
setTableFinishFun
(
content
)
{
console
.
log
(
'表格完成'
,
this
.
$refs
.
employeeManage
.
data
)
},
setTableHeightEvent
()
{
this
.
$refs
.
employeeManage
.
setTableHeightFun
()
...
...
src/views/expand/index.vue
View file @
854e99d
...
...
@@ -36,7 +36,7 @@ export default {
},
methods
:
{
expandeClick
()
{
console
.
log
(
'expandeClick'
)
this
.
expande
=
!
this
.
expande
},
...
...
src/views/guestGroup/add.vue
View file @
854e99d
...
...
@@ -126,7 +126,7 @@ export default {
},
data
()
{
const
validatorUser
=
(
rule
,
value
,
callback
)
=>
{
console
.
log
(
this
.
basicForm
.
userList
)
const
followList
=
this
.
basicForm
.
followList
let
userList
=
[]
if
(
this
.
basicForm
.
userList
&&
this
.
basicForm
.
userList
.
length
)
{
...
...
@@ -134,11 +134,11 @@ export default {
}
else
{
userList
=
this
.
basicForm
.
followList
}
console
.
log
(
userList
)
if
(
!
this
.
basicForm
.
followList
.
length
)
{
callback
(
new
Error
(
'请选择跟进专员'
))
}
else
{
console
.
log
(
this
.
basicForm
.
followList
)
if
(
userList
.
length
<
2
)
{
this
.
$message
({
type
:
'error'
,
...
...
@@ -151,7 +151,7 @@ export default {
}
}
// const nameVaild = (rule, value, callback) => {
//
console.log(this.$route.params.id)
//
// if (value) {
// const params = {
// templateName: value
...
...
@@ -223,7 +223,7 @@ export default {
deep
:
true
}
// membersVisible(val) {
//
console.log(val)
//
// if (!val) {
// this.$refs.membersForm.resetSearch()
// }
...
...
@@ -277,7 +277,7 @@ export default {
apiName
=
'update'
params
.
id
=
this
.
basicForm
.
id
}
console
.
log
(
params
)
this
.
$apis
.
groupGuest
[
apiName
](
params
)
.
then
(
res
=>
{
if
(
res
)
{
...
...
@@ -316,7 +316,7 @@ export default {
this
.
basicForm
.
userList
=
this
.
selectData
this
.
basicForm
.
followList
=
res
.
userList
.
filter
(
item
=>
item
.
follow
==
1
)
}
console
.
log
(
this
.
basicForm
)
// this.selectData = res.userList
this
.
$nextTick
(()
=>
{
this
.
editStatus
=
false
...
...
@@ -341,7 +341,7 @@ export default {
}
},
remove
(
val
,
idx
)
{
console
.
log
(
val
,
idx
)
if
(
this
.
$refs
.
membersForm
)
{
this
.
$refs
.
membersForm
.
remove
(
val
)
this
.
$set
(
this
.
basicForm
,
'userList'
,
this
.
$refs
.
membersForm
.
innerTags
)
...
...
@@ -386,7 +386,7 @@ export default {
.container
{
margin-bottom
:
84px
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
//
padding
:
20px
;
.title
{
padding
:
20px
0
17px
20px
;
...
...
src/views/guestGroup/components/welcomeWords.vue
View file @
854e99d
...
...
@@ -147,17 +147,17 @@ export default {
}
},
mounted
()
{
console
.
log
(
this
.
previewList
)
this
.
eventBus
.
$emit
(
'update'
,
this
.
previewList
)
// this.updateList(this.previewList)
// obj.init('video')
},
methods
:
{
handleImgChange
(
e
,
targetItem
)
{
console
.
log
(
e
,
targetItem
)
var
reader
=
new
FileReader
()
var
file
=
e
.
srcElement
.
files
[
0
]
console
.
log
(
file
)
// 默认1MB
const
limitSize
=
targetItem
.
limitSize
||
1
const
isLt
=
file
.
size
/
1024
/
1024
<
limitSize
...
...
@@ -170,12 +170,12 @@ export default {
var
image
=
new
Image
()
image
.
src
=
e
.
target
.
result
image
.
onload
=
()
=>
{
console
.
log
(
file
,
targetItem
)
const
imgFile
=
e
.
target
.
result
const
base64
=
file
.
name
.
split
(
'.'
)[
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
this
.
$apis
.
common
.
pictureUpload
({
file
:
base64
}).
then
(
res
=>
{
if
(
res
)
{
console
.
log
(
res
)
this
.
previewList
.
push
({
attType
:
ATT_TYPE
.
IMAGE
,
attContent
:
res
...
...
@@ -201,7 +201,7 @@ export default {
const
base64
=
file
.
name
.
split
(
'.'
)[
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
this
.
$apis
.
common
.
pictureUpload
({
file
:
base64
}).
then
(
res
=>
{
if
(
res
)
{
console
.
log
(
res
)
this
.
previewList
.
push
({
attType
:
ATT_TYPE
.
VEDIO
,
attContent
:
res
...
...
@@ -213,7 +213,7 @@ export default {
handleImg
(
e
)
{
var
reader
=
new
FileReader
()
var
file
=
e
.
srcElement
.
files
[
0
]
console
.
log
(
file
)
// 默认1MB
const
limitSize
=
10
const
isLt
=
file
.
size
/
1024
/
1024
<
limitSize
...
...
@@ -231,7 +231,7 @@ export default {
this
.
$set
(
this
.
appletForm
,
'picUrl'
,
'dfasdfasfa'
)
this
.
$apis
.
common
.
pictureUpload
({
file
:
base64
}).
then
(
res
=>
{
if
(
res
)
{
console
.
log
(
res
)
this
.
$set
(
this
.
appletForm
,
'picUrl'
,
res
)
}
})
...
...
@@ -239,7 +239,7 @@ export default {
}
},
switchDailog
(
funName
)
{
console
.
log
(
funName
)
if
(
funName
==
'link'
)
{
this
.
dialogTitle
=
'添加网页消息'
}
else
if
(
funName
==
'applet'
)
{
...
...
@@ -253,7 +253,7 @@ export default {
case
'添加网页消息'
:
this
.
$refs
.
linkForm
.
validate
(
valid
=>
{
if
(
valid
)
{
console
.
log
(
this
.
linkForm
)
this
.
previewList
.
push
({
attType
:
ATT_TYPE
.
URL
,
attContent
:
this
.
linkForm
...
...
@@ -264,16 +264,16 @@ export default {
// this.linkForm = {}
// this.$refs.linkForm.clearValidate()
}
else
{
console
.
log
(
'error submit!!'
)
return
false
}
})
break
case
'添加小程序'
:
console
.
log
(
this
.
appletForm
)
this
.
$refs
.
appletForm
.
validate
(
valid
=>
{
if
(
valid
)
{
console
.
log
(
this
.
appletForm
)
this
.
previewList
.
push
({
attType
:
ATT_TYPE
.
MINIPROGRAM
,
attContent
:
this
.
appletForm
...
...
@@ -283,25 +283,25 @@ export default {
// this.appletForm = {}
// this.$refs.appletForm.clearValidate()
}
else
{
console
.
log
(
'error submit!!'
)
return
false
}
})
break
default
:
console
.
log
(
dialogTitle
)
}
},
close
(
index
)
{
console
.
log
(
index
)
// this.previewList
this
.
previewList
.
splice
(
index
,
1
)
this
.
eventBus
.
$emit
(
'update'
,
this
.
previewList
)
},
textInput
(
val
)
{
console
.
log
(
val
)
const
hasText
=
this
.
previewList
.
some
(
item
=>
item
.
attType
==
1
)
console
.
log
(
hasText
)
if
(
hasText
)
{
this
.
$set
(
this
.
previewList
,
0
,
{
attContent
:
val
,
...
...
@@ -313,7 +313,7 @@ export default {
attType
:
ATT_TYPE
.
TEXT
})
}
console
.
log
(
this
.
previewList
)
},
closeDialog
()
{
if
(
this
.
dialogVisible
)
{
...
...
src/views/guestGroup/detail.vue
View file @
854e99d
...
...
@@ -393,7 +393,7 @@ export default {
}
}
,
created
()
{
console
.
log
(
this
.
$route
.
params
.
id
)
this
.
userId
=
this
.
$route
.
params
.
id
this
.
getGroupList
(
this
.
$route
.
params
.
id
)
}
,
...
...
src/views/guestGroup/index.vue
View file @
854e99d
...
...
@@ -300,7 +300,7 @@ export default {
}
)
break
default
:
console
.
log
(
'gaocuole'
)
}
}
,
setTableFinishFun
()
{
...
...
@@ -350,7 +350,7 @@ export default {
.
container
{
margin
-
bottom
:
20
px
;
background
:
#
ffffff
;
box
-
shadow
:
0
10
px
20
px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
20
px
;
}
.
addBtn
{
...
...
src/views/home/index.vue
View file @
854e99d
...
...
@@ -12,7 +12,7 @@ export default {
name
:
'home'
,
methods
:
{
test
()
{
console
.
log
(
'点击了按钮'
)
this
.
$messenger
.
send
({
message
:
{
from
:
11
,
message
:
'11111'
}
})
}
}
...
...
src/views/index.vue
View file @
854e99d
...
...
@@ -46,7 +46,7 @@ export default {
*/
routerChange
(
url
)
{
this
.
$router
.
push
(
url
).
catch
(
err
=>
{
console
.
log
(
err
)
})
},
/**
...
...
src/views/leadManage/index.vue
View file @
854e99d
...
...
@@ -267,7 +267,7 @@ export default {
},
// 搜索表格
searchTable
()
{
console
.
log
(
this
.
searchForm
)
this
.
$refs
.
leadManage
.
refreshTable
()
},
//重置表格
...
...
@@ -308,7 +308,7 @@ export default {
}
.pageContent
{
padding
:
20px
20px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
//
min-width
:
1300px
;
background-color
:
#fff
;
/deep/
.el-icon-user-solid
{
...
...
src/views/leadManage/leadAllocation.vue
View file @
854e99d
...
...
@@ -148,7 +148,7 @@ export default {
if
(
this
.
type
==
2
)
{
;(
this
.
choicedStaff
.
afterUserId
=
item
.
userId
),
(
this
.
choicedStaff
.
afterUserName
=
item
.
userName
),
(
this
.
choicedStaff
.
afterUserUuid
=
item
.
userUuid
)
}
console
.
log
(
this
.
choicedStaff
)
}
}
}
...
...
@@ -160,7 +160,7 @@ export default {
}
.scrm-sub-client-container
{
.pageContent
{
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
background-color
:
#fff
;
.baseTitle
{
.title
{
...
...
src/views/leadManage/leadBasicInfo.vue
View file @
854e99d
...
...
@@ -210,7 +210,7 @@ export default {
.scrm-sub-client-container
{
.pageContent
{
//
padding
:
6px
0px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
//
min-width
:
1300px
;
background-color
:
#fff
;
.leadAllocation
{
...
...
src/views/tagsManage/index.vue
View file @
854e99d
...
...
@@ -1217,7 +1217,7 @@ export default {
.client-tag
{
width
:
260px
;
margin-right
:
10px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
margin-top
:
10px
;
background-color
:
#fff
;
}
...
...
@@ -1231,7 +1231,7 @@ export default {
padding
:
16px
;
margin-top
:
10px
;
background-color
:
#fff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
}
&
-title
{
font-size
:
16px
;
...
...
@@ -1290,7 +1290,7 @@ export default {
.pageContent
{
overflow-y
:
auto
;
padding
:
20px
20px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
margin-top
:
10px
;
background-color
:
#fff
;
.el-button
+
.el-button
{
...
...
src/views/tagsManage/viewCustomers.vue
View file @
854e99d
...
...
@@ -372,7 +372,7 @@ export default {
'labelByGroupIdReq.labelGroupType'
:
this
.
groupType
}
getLabelList
(
params
).
then
(
res
=>
{
console
.
log
(
this
.
$common
)
this
.
labelGroupName
=
res
.
groupName
this
.
labelList
=
res
.
labelNameIds
this
.
labelType
=
res
.
groupType
...
...
@@ -412,7 +412,7 @@ export default {
this
.
searchForm
=
{
...
allListParams
}
console
.
log
(
this
.
searchForm
)
// this.exportParams = {...allListParams}
this
.
getCustomersListData
()
this
.
tagLists
=
[]
...
...
@@ -459,7 +459,7 @@ export default {
},
// 输入框匹配label数据
searchIuputLabel
()
{
console
.
log
(
'111'
)
},
handleDialogClose
()
{
this
.
dialogVisible
=
false
...
...
@@ -468,7 +468,7 @@ export default {
this
.
dialogVisible
=
true
},
handleNodeClick
(
data
)
{
console
.
log
(
data
)
},
goBack
()
{
this
.
$router
.
go
(
-
1
)
...
...
@@ -478,8 +478,8 @@ export default {
this
.
$refs
.
viewCustomers
.
setTableHeightFun
()
},
setTableFinishFun
(
content
)
{
console
.
log
(
content
,
this
.
$refs
.
viewCustomers
.
data
.
length
,
'获取数据'
)
console
.
log
(
this
.
$refs
.
viewCustomers
.
total
)
this
.
customerListsNum
=
this
.
$refs
.
viewCustomers
.
total
this
.
$refs
.
viewCustomers
.
data
.
length
?
(
this
.
$refs
.
viewCustomers
.
tableHeightValues
=
''
)
:
this
.
$refs
.
viewCustomers
.
setTableHeightFun
()
},
...
...
@@ -488,7 +488,7 @@ export default {
const
params
=
{
...
JSON
.
parse
(
JSON
.
stringify
(
this
.
exportParams
))
}
console
.
log
(
params
)
exportLabelList
(
params
).
then
(
res
=>
{
this
.
$Utils
.
exportFn
(
res
)
})
...
...
@@ -498,7 +498,7 @@ export default {
},
getParams
()
{
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
console
.
log
(
params
)
return
params
},
beforeSearchFn
()
{
...
...
@@ -691,7 +691,7 @@ export default {
}
}
padding
:
6px
20px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.1
);
//
min-width
:
1300px
;
background-color
:
#fff
;
.el-button
+
.el-button
{
...
...
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