Commit 854e99d7 by xuyl

ui走查以及删除console.log

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