Commit 866ab9c0 by xuyl

修复bug

1 parent 854e99d7
...@@ -70,15 +70,14 @@ ...@@ -70,15 +70,14 @@
margin-bottom: 12px; margin-bottom: 12px;
} }
.el-message-box__status.el-icon-error { // .el-message-box__status.el-icon-error {
display: block !important; // display: block !important;
font-size: 33px !important; // font-size: 33px !important;
position: relative; // position: relative;
left: 50%; // left: 50%;
transform: translateX(-50%); // transform: translateX(-50%);
margin-bottom: 12px; // margin-bottom: 12px;
} // }
.el-tooltip__popper.is-dark { .el-tooltip__popper.is-dark {
background: #666666 !important; background: #666666 !important;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06) !important; box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06) !important;
......
...@@ -202,18 +202,20 @@ export default { ...@@ -202,18 +202,20 @@ export default {
.catch(() => {}) .catch(() => {})
}, },
againConfirm() { againConfirm() {
this.$alert('此分群已被招揽活动任务调用,不支持删除', '提示', { this.$confirm('此分群已被招揽活动任务调用,不支持删除', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
// cancelButtonText: '否',
showCancelButton: false,
customClass: 'gl-message-box',
type: 'error' type: 'error'
}) })
.then(() => {}) .then(async () => {})
.catch(() => {}) .catch(() => {})
}, },
setTableHeightEvent() { setTableHeightEvent() {
this.$refs.clientGroupManage.setTableHeightFun() this.$refs.clientGroupManage.setTableHeightFun()
}, },
setTableFinishFun(content) { setTableFinishFun(content) {
// if (!this.flushTime) { // if (!this.flushTime) {
// this.flushTime = true // this.flushTime = true
// this.searchTable() // this.searchTable()
...@@ -247,7 +249,7 @@ export default { ...@@ -247,7 +249,7 @@ export default {
keyword: this.searchForm.keyword keyword: this.searchForm.keyword
} }
} }
delete params.daterange delete params.daterange
return params return params
}, },
......
...@@ -253,13 +253,12 @@ export default { ...@@ -253,13 +253,12 @@ 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
if (!this.isFixed || this.addClick) { if (!this.isFixed || this.addClick) {
//判断是否可以触发 //判断是否可以触发
this.isClick = false this.isClick = false
this.expande = false this.expande = false
} }
if (!this.isClick || this.addClick || !this.isFixed) { if (!this.isClick || this.addClick || !this.isFixed) {
//获取当前元素的高 //获取当前元素的高
...@@ -443,7 +442,7 @@ export default { ...@@ -443,7 +442,7 @@ export default {
clearTimeout(timeOut) clearTimeout(timeOut)
} }
timeOut = setTimeout(() => { timeOut = setTimeout(() => {
var scrollTop = document.querySelector('#container').scrollTop var scrollTop = document.querySelector('.el-main-scroll>.el-scrollbar__wrap').scrollTop
this.isFixed = scrollTop > this.offsetTop ? true : false this.isFixed = scrollTop > this.offsetTop ? true : false
if (!this.isFixed) { if (!this.isFixed) {
document.getElementById('placeholder').style.height = document.getElementById('boxFixed').offsetHeight + 'px' document.getElementById('placeholder').style.height = document.getElementById('boxFixed').offsetHeight + 'px'
...@@ -489,6 +488,8 @@ export default { ...@@ -489,6 +488,8 @@ export default {
} }
} }
}, },
//选择标签 //选择标签
selectTag(data) { selectTag(data) {
this.tableData.forEach(item => { this.tableData.forEach(item => {
...@@ -500,6 +501,8 @@ export default { ...@@ -500,6 +501,8 @@ export default {
}) })
}) })
}, },
// 添加已选标签 // 添加已选标签
selectedLabelFn(groupData, data) { selectedLabelFn(groupData, data) {
this.addClick = true this.addClick = true
...@@ -569,7 +572,7 @@ export default { ...@@ -569,7 +572,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
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
...@@ -672,7 +675,7 @@ export default { ...@@ -672,7 +675,7 @@ export default {
@import '@/styles/variables.scss'; @import '@/styles/variables.scss';
.container { .container {
background: #ffffff; background: #ffffff;
margin-bottom: 16px; margin-bottom: 16px;
// padding: 20px; // padding: 20px;
......
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
{ {
label: '操作', label: '操作',
prop: 'optionBtns', prop: 'optionBtns',
width: '170px', width: '200px',
addHtml: 'optionBtns', addHtml: 'optionBtns',
fixed: 'right' fixed: 'right'
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!