Commit ad9e702a by 王志慧

style:ui样式调整

1 parent a64e14a8
...@@ -24,103 +24,100 @@ import { http, http3 } from '@/main' ...@@ -24,103 +24,100 @@ import { http, http3 } from '@/main'
// params.method='datahub.api.label.querylabeltree' // params.method='datahub.api.label.querylabeltree'
export function getSingleClientTag(params) { export function getSingleClientTag(params) {
params.method = 'scrm.api.datahub.user.getuserlabel' params.method = 'scrm.api.datahub.user.getuserlabel'
return http({ return http({
url: '/rop-scrm-datahub/router', url: '/rop-scrm-datahub/router',
method: 'POST', method: 'POST',
data: params, data: params,
sign: true sign: true
}) })
} }
export function getAllTagTree(params) { export function getAllTagTree(params) {
// params.method='scrm.api.datahub.label.querylabeltree' // params.method='scrm.api.datahub.label.querylabeltree'
params.method = 'scrm.api.datahub.labelgroup.queryLabelTree' params.method = 'scrm.api.datahub.labelgroup.queryLabelTree'
return http({ return http({
url: '/rop-scrm-datahub/router', url: '/rop-scrm-datahub/router',
method: 'POST', method: 'POST',
data: params, data: params,
sign: true, sign: true,
returnAll: true returnAll: true
})
})
} }
// /router/datahub.api.user.addUserLabel/1.0.0 // /router/datahub.api.user.addUserLabel/1.0.0
//编辑用户标签(包含标签新增列表和删除列表) //编辑用户标签(包含标签新增列表和删除列表)
export function addSingleClientTag(params) { export function addSingleClientTag(params) {
params.method = 'scrm.api.datahub.user.editUserLabel' params.method = 'scrm.api.datahub.user.editUserLabel'
return http({ return http({
url: '/rop-scrm-datahub/router', url: '/rop-scrm-datahub/router',
method: 'POST', method: 'POST',
data: params, data: params,
sign: true, sign: true,
returnAll: true returnAll: true
})
})
} }
export function getTableList(params) { export function getTableList(params) {
params.method = 'entmicro.api.customer.page' params.method = 'entmicro.api.customer.page'
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop" // params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
// params.timestamp=new Date().getTime() // params.timestamp=new Date().getTime()
// +'?method=org.ore.api.customer.page' // +'?method=org.ore.api.customer.page'
return http3({ return http3({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
data: params, data: params,
sign: true sign: true
}) })
} }
export function syncCustomer(params) { export function syncCustomer(params) {
params.method = 'entmicro.api.synchro.syncCustomer' params.method = 'entmicro.api.synchro.syncCustomer'
return http3({ return http3({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
data: params, data: params,
sign: true sign: true
}) })
} }
export function getTableDetail(params) { export function getTableDetail(params) {
params.method = 'entmicro.api.customer.detail' params.method = 'entmicro.api.customer.detail'
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop" // params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
return http3({ return http3({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
data: params, data: params,
sign: true sign: true
}) })
} }
/*获取来源字典的 /*获取来源字典的
*/ */
export function getDictionaryFun(params) { export function getDictionaryFun(params) {
params.method = 'entmicro.api.common.dictdata.list' params.method = 'entmicro.api.common.dictdata.list'
return http3({ return http3({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'GET', method: 'GET',
data: params, data: params,
sign: true sign: true
}) })
} }
export function getStaffList(params) { export function getStaffList(params) {
params.method = 'entmicro.api.staff.findStaffByMerchantId' params.method = 'entmicro.api.staff.findStaffByMerchantId'
return http3({ return http3({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
data: params, data: params,
sign: true sign: true
}) })
} }
// entmicro.api.customer.list.export // entmicro.api.customer.list.export
//客户信息管理导出 //客户信息管理导出
export function clientManageExportApi(params) { export function clientManageExportApi(params) {
params.method = `entmicro.api.customer.customerListExport`
return http3({
url: '/rop-scrm-entmicro/router',
method: 'GET',
data: params,
sign: true
})
}
\ No newline at end of file \ No newline at end of file
params.method = `entmicro.api.customer.customerListExport`
return http3({
url: '/rop-scrm-entmicro/router',
method: 'GET',
data: params,
sign: true
})
}
...@@ -73,6 +73,9 @@ background: transparent !important; ...@@ -73,6 +73,9 @@ background: transparent !important;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.font-12{
font-size: 12px;
}
.font-20{ .font-20{
font-size: 20px; font-size: 20px;
} }
...@@ -84,4 +87,7 @@ background: transparent !important; ...@@ -84,4 +87,7 @@ background: transparent !important;
} }
.hand{ .hand{
cursor: pointer; cursor: pointer;
}
.mg2{
margin-left:20px;
} }
\ No newline at end of file \ No newline at end of file
...@@ -34,7 +34,7 @@ button { ...@@ -34,7 +34,7 @@ button {
// 子系统不设外边距 // 子系统不设外边距
.scrm-sub-client-container { .scrm-sub-client-container {
padding: 0 20px 20px 20px; padding: 0 20px 20px 40px;
box-sizing: border-box; box-sizing: border-box;
} }
......
...@@ -21,19 +21,20 @@ ...@@ -21,19 +21,20 @@
line-height: 28px; line-height: 28px;
} }
/deep/ .el-input__inner:focus{border-color:$btnBlue!important;} /deep/ .el-input__inner:focus {
border-color: $btnBlue !important;
}
/deep/.el-range-editor.is-active, /deep/.el-range-editor.is-active,
.el-range-editor.is-active:hover { .el-range-editor.is-active:hover {
border-color: $btnBlue; border-color: $btnBlue;
} }
.el-message-box { .el-message-box {
width: 547px; width: 547px;
height:310px; height: 310px;
box-sizing: border-box; box-sizing: border-box;
padding-bottom: 10px; padding-bottom: 10px;
} }
.el-message-box__title { .el-message-box__title {
padding-left: 0; padding-left: 0;
margin-bottom: 0; margin-bottom: 0;
font-size: 20px; font-size: 20px;
...@@ -41,28 +42,42 @@ ...@@ -41,28 +42,42 @@
color: #333; color: #333;
} }
.el-message-box__title { .el-message-box__title {
display: block!important; display: block !important;
} }
.el-message-box__headerbtn { .el-message-box__headerbtn {
display: block!important; display: block !important;
color:#666666; color: #666666;
} }
.el-message-box__header { .el-message-box__header {
position: relative; position: relative;
padding: 15px 20px ; padding: 15px 20px;
border-bottom:1px solid #E6E6E6; border-bottom: 1px solid #e6e6e6;
} }
.el-message-box__content { .el-message-box__content {
text-align: center; text-align: center;
padding: 60px 0; padding: 60px 0;
} }
.el-icon-warning { .el-icon-warning {
display: block!important;
font-size:33px!important;
color: #5850FF!important;
position:relative;
left:50%;
transform: translateX(-50%);
margin-bottom:12px;
}
\ No newline at end of file \ No newline at end of file
display: block !important;
font-size: 33px !important;
color: #5850ff !important;
position: relative;
left: 50%;
transform: translateX(-50%);
margin-bottom: 12px;
}
.el-tooltip__popper.is-dark {
background: #666666 !important;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06) !important;
font-size: 12px;
font-weight: 400;
color: #ffffff;
line-height: 18px;
}
.el-tooltip__popper[x-placement^="top"] .popper__arrow {
border-top-color: #666666 !important;
}
.el-tooltip__popper[x-placement^="top"] .popper__arrow:after {
border-top-color: #666666 !important;
}
...@@ -166,7 +166,7 @@ export default { ...@@ -166,7 +166,7 @@ export default {
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import '@/styles/variables.scss'; @import '@/styles/variables.scss';
...@@ -267,4 +267,4 @@ export default { ...@@ -267,4 +267,4 @@ export default {
color: #fb8f28; color: #fb8f28;
} }
} }
</style>
\ No newline at end of file \ No newline at end of file
</style>
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</div> </div>
<div class="itembox"> <div class="itembox">
<div class="no-buy"> <div class="no-buy">
<div class="no-buy-total item" @click="goto(1)" fn="人群客户列表" mode="div"> <div class="no-buy-total item" @click="goto(1)" fn="人群客户列表" mode="div">
<span>潜在意向客户数</span> <span>潜在意向客户数</span>
<span>无购车且无其他交易行为的所有客户</span> <span>无购车且无其他交易行为的所有客户</span>
<span v-if="!isEmptyObj"> <span v-if="!isEmptyObj">
...@@ -851,7 +851,7 @@ export default { ...@@ -851,7 +851,7 @@ export default {
.rightWrap { .rightWrap {
width: 48%; width: 48%;
margin-left: 20px; margin-left: 20px;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
.smallWrap { .smallWrap {
......
<template> <template>
<div class="scrm-sub-client-container"> <div class="scrm-sub-client-container">
<!-- <div class="header"> <div class="container">
<div class="userId">
<span>客户ID:{{ leftPanelInfo.oneId }}</span>
</div>
<button class="backBtn" @click="goBack">返回客户信息管理</button>
</div> -->
<div class="content">
<div class="leftWrap"> <div class="leftWrap">
<div class="avatorStyle"> <div class="avatorStyle">
<div class="avator"> <div class="avator">
...@@ -29,7 +23,7 @@ ...@@ -29,7 +23,7 @@
<span class="ellipsis-1"> <span class="ellipsis-1">
<!-- {{ leftPanelInfo.customerName }} --> <!-- {{ leftPanelInfo.customerName }} -->
{{ beautySub(leftPanelInfo.customerName) }} {{ beautySub(leftPanelInfo.customerName) }}
<label class="pure-blue-text">{{ leftPanelInfo.type == 1 ? '@微信' : leftPanelInfo.type == 2 ? '@企微' : '' }}</label> <label class="pure-blue-text font-12">{{ leftPanelInfo.type == 1 ? '@微信' : leftPanelInfo.type == 2 ? '@企微' : '' }}</label>
</span> </span>
</el-tooltip> </el-tooltip>
</p> </p>
...@@ -56,7 +50,7 @@ ...@@ -56,7 +50,7 @@
</p> </p>
<p> <p>
<span>证件号码:</span> <span>证件号码:</span>
<span>{{ leftPanelInfo.idCard }}</span> <span style="white-space:nowrap">{{ leftPanelInfo.idCard }}</span>
</p> </p>
<p> <p>
<span>性别:</span> <span>性别:</span>
...@@ -99,7 +93,7 @@ ...@@ -99,7 +93,7 @@
</p> </p>
<p> <p>
<span>添加时间:</span> <span>添加时间:</span>
<span>{{ leftPanelInfo.addTime }}</span> <span style="white-space:nowrap">{{ leftPanelInfo.addTime }}</span>
</p> </p>
</div> </div>
</div> </div>
...@@ -195,10 +189,10 @@ ...@@ -195,10 +189,10 @@
<div v-show="currentIndex == 2" class="clientTagsWrap"> <div v-show="currentIndex == 2" class="clientTagsWrap">
<div style="height: 20px"></div> <div style="height: 20px"></div>
<!-- //提示面板组件 --> <!-- //提示面板组件 -->
<tip-panel panelWidth="666px" panelMinHeight="45px" :panelContent="panelContent"></tip-panel> <tip-panel class="mg2" panelWidth="666px" panelMinHeight="45px" :panelContent="panelContent"></tip-panel>
<!-- v-if="userType == 2" --> <!-- v-if="userType == 2" -->
<el-button type="primary" class="addTagBtn" size="small" @click="btnClick('create')" v-if="userType == 2">设置标签</el-button> <el-button type="primary" class="addTagBtn" size="small" @click="btnClick('create')" v-if="userType == 2">设置标签</el-button>
<GLTable ref="clientTagsListRef" :hasNum="false" :noDataImg="url" noDataText="客户暂无已添加的标签" :tableData="clientTagsList" :hasPage="false" :tableParams="tagsParams" :headerStyle="{ height: '54px' }"> <GLTable class="table" ref="clientTagsListRef" :hasNum="false" :noDataImg="url" noDataText="客户暂无已添加的标签" :tableData="clientTagsList" :hasPage="false" :tableParams="tagsParams" :headerStyle="{ height: '54px' }">
<span slot="labelGroupInfo" slot-scope="scope"> <span slot="labelGroupInfo" slot-scope="scope">
<span>{{ scope.scope.labelGroupInfo.labelGroupName }}</span> <span>{{ scope.scope.labelGroupInfo.labelGroupName }}</span>
</span> </span>
...@@ -225,6 +219,11 @@ ...@@ -225,6 +219,11 @@
</div> </div>
</div> </div>
</div> </div>
<div class="footer-panel">
<div>
<el-button type="primary" @click="goBack">返回</el-button>
</div>
</div>
<basic-dialog class="tags" :title="tagsDialogTitle" :width="'712px'" :isDestroyClose="true" :btnLoading="sloading" :isShowThirdBtn="true" :isShowCloseBtn="true" @btnEvent="goNewTag" :isVisible="tagsVisible" @confirmDialog="handleConfirm" @closeDialog="handleClose"> <basic-dialog class="tags" :title="tagsDialogTitle" :width="'712px'" :isDestroyClose="true" :btnLoading="sloading" :isShowThirdBtn="true" :isShowCloseBtn="true" @btnEvent="goNewTag" :isVisible="tagsVisible" @confirmDialog="handleConfirm" @closeDialog="handleClose">
<slot> <slot>
<p class="hint-text color-6"> <p class="hint-text color-6">
...@@ -890,11 +889,20 @@ export default { ...@@ -890,11 +889,20 @@ export default {
} }
.WechatName { .WechatName {
display: inline-block;
// height: 20px;
font-size: 14px;
font-weight: 500; font-weight: 500;
color: #666666; color: #666666;
line-height: 20px; line-height: 20px;
margin-left: 20px; min-width: 98px;
height: 20px; text-align: right;
// font-weight: 500;
// color: #666666;
// line-height: 20px;
// margin-left: 20px;
// height: 20px;
// min-width: 98px;
} }
} }
.overHidden { .overHidden {
...@@ -903,44 +911,17 @@ export default { ...@@ -903,44 +911,17 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.scrm-sub-client-container { .scrm-sub-client-container {
.header { .container {
display: flex;
justify-content: space-between;
align-items: center;
// width: 1160px;
height: 72px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
.userId {
margin-left: 26px;
height: 20px;
font-size: 20px;
font-weight: 600;
color: #333333;
line-height: 20px;
letter-spacing: 1px;
}
.backBtn {
margin-right: 20px;
height: 32px;
font-size: 14px;
background: $btnBlue;
color: #fff;
border-radius: 4px;
padding: 0 20px;
border: none;
&:hover {
background-color: $lightBtnBlue;
}
}
}
.content {
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);
overflow-y: auto;
margin-bottom: 78px;
.leftWrap { .leftWrap {
width: 275px; width: 275px;
min-height: calc(100vh - 92px); min-height: calc(100vh - 170px);
background-color: #fff; background-color: #fff;
box-sizing: border-box; box-sizing: border-box;
// padding: 0 20px; // padding: 0 20px;
...@@ -996,7 +977,7 @@ export default { ...@@ -996,7 +977,7 @@ export default {
font-weight: 500; font-weight: 500;
color: #666666; color: #666666;
line-height: 20px; line-height: 20px;
min-width: 90px; min-width: 98px;
text-align: right; text-align: right;
} }
span:nth-child(2) { span:nth-child(2) {
...@@ -1011,7 +992,8 @@ export default { ...@@ -1011,7 +992,8 @@ export default {
} }
} }
.rightWrap { .rightWrap {
margin-left: 12px; height: auto;
margin-left: 10px;
width: calc(100% - 287px); width: calc(100% - 287px);
box-sizing: border-box; box-sizing: border-box;
background-color: #fff; background-color: #fff;
...@@ -1153,6 +1135,23 @@ export default { ...@@ -1153,6 +1135,23 @@ export default {
} }
} }
} }
.footer-panel {
position: fixed;
bottom: 0px;
height: 78px;
left: 220px;
width: 100%;
background: #ffffff;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
div {
display: inline-block;
position: relative;
transform: translate(-50%, -50%);
left: 50%;
top: 50%;
margin-left: -110px;
}
}
.tags { .tags {
/deep/.app-dialog { /deep/.app-dialog {
.el-dialog__body { .el-dialog__body {
...@@ -1252,11 +1251,16 @@ export default { ...@@ -1252,11 +1251,16 @@ export default {
} }
.table { .table {
margin-bottom: 10px; margin-bottom: 10px;
padding: 0 20px;
} }
} }
.table /deep/ .line-ellipsis { .table {
white-space: nowrap; padding: 0 20px;
overflow: visible;
/deep/ .line-ellipsis {
white-space: nowrap;
overflow: visible;
}
} }
} }
</style> </style>
...@@ -219,75 +219,75 @@ export default { ...@@ -219,75 +219,75 @@ export default {
{ {
label: '客户ID', label: '客户ID',
prop: 'oneId', prop: 'oneId',
minWidth: 150, minWidth: 150
//align: 'left' //align: 'left'
}, },
{ {
label: '客户名称', label: '客户名称',
prop: 'customerName', prop: 'customerName',
addHtml: 'customerName', addHtml: 'customerName',
minWidth: 130, minWidth: 130
//align: 'left' //align: 'left'
}, },
{ {
label: '企微名称', label: '企微名称',
prop: 'nickNameList', prop: 'nickNameList',
addHtml: 'nickNameList', addHtml: 'nickNameList',
minWidth: 170, minWidth: 170
//align: 'left' //align: 'left'
}, },
{ {
label: '联系电话', label: '联系电话',
prop: 'customerPhone', prop: 'customerPhone',
addHtml: 'customerPhone', addHtml: 'customerPhone',
minWidth: 110, minWidth: 110
//align: 'left' //align: 'left'
}, },
{ {
label: '性别', label: '性别',
prop: 'customerSex', prop: 'customerSex',
addHtml: 'customerSex', addHtml: 'customerSex',
minWidth: 80, minWidth: 80
//align: 'left' //align: 'left'
}, },
{ {
label: '跟进员工', label: '跟进员工',
prop: 'followStaff', prop: 'followStaff',
addHtml: 'followStaff', addHtml: 'followStaff',
minWidth: 120, minWidth: 120
//align: 'left' //align: 'left'
}, },
{ {
label: '是否加企微', //1. 加入,0.未加入 label: '是否加企微', //1. 加入,0.未加入
prop: 'isJoin', prop: 'isJoin',
addHtml: 'isJoin', addHtml: 'isJoin',
width: 100, width: 100
//align: 'left' //align: 'left'
}, },
{ {
label: '当前状态', label: '当前状态',
prop: 'status', prop: 'status',
addHtml: 'status', addHtml: 'status',
minWidth: 100, minWidth: 100
//align: 'left' //align: 'left'
}, },
{ {
label: '所属渠道', label: '所属渠道',
prop: 'sourceChannel', prop: 'sourceChannel',
width: 150, width: 150
//align: 'left' //align: 'left'
}, },
{ {
label: '添加来源', label: '添加来源',
prop: 'addWay', prop: 'addWay',
addHtml: 'addWay', addHtml: 'addWay',
minWidth: 100, minWidth: 100
//align: 'left' //align: 'left'
}, },
{ {
label: '添加时间', label: '添加时间',
prop: 'addTime', prop: 'addTime',
width: 150, width: 150
//align: 'left' //align: 'left'
}, },
{ {
......
...@@ -114,8 +114,8 @@ ...@@ -114,8 +114,8 @@
</div> </div>
<div class="footer-panel"> <div class="footer-panel">
<div> <div>
<el-button type="primary" @click="handleSubmit">确定</el-button>
<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>
</div> </div>
</div> </div>
<el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn"> <el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn">
...@@ -243,7 +243,7 @@ export default { ...@@ -243,7 +243,7 @@ export default {
this.getLabelData() this.getLabelData()
}, },
watch: { watch: {
selectedArray: function () { selectedArray: function() {
this.crowdCount = '' //初始化查看预估人数 this.crowdCount = '' //初始化查看预估人数
if (this.selectedArray.length > 0) { if (this.selectedArray.length > 0) {
this.$nextTick(() => { this.$nextTick(() => {
...@@ -615,7 +615,7 @@ export default { ...@@ -615,7 +615,7 @@ export default {
} }
return len return len
}, },
cutMaxCharStr: function (e, unit) { cutMaxCharStr: function(e, unit) {
//e为传入字符串 //e为传入字符串
let str = e let str = e
var len = 0 var len = 0
...@@ -666,7 +666,7 @@ export default { ...@@ -666,7 +666,7 @@ export default {
.container { .container {
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
height: calc(100vh - 150px); height: calc(100vh - 164px);
overflow-y: auto; overflow-y: auto;
// padding: 20px; // padding: 20px;
...@@ -755,6 +755,10 @@ export default { ...@@ -755,6 +755,10 @@ export default {
} }
.search-tag-form { .search-tag-form {
position: relative; position: relative;
display: flex;
/deep/ .el-form-item {
display: flex;
}
} }
.select-label-wrap { .select-label-wrap {
margin-bottom: 20px; margin-bottom: 20px;
...@@ -775,6 +779,7 @@ export default { ...@@ -775,6 +779,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
flex-wrap: nowrap; flex-wrap: nowrap;
.label-group-name { .label-group-name {
max-width: 533px; max-width: 533px;
padding-top: 3px; padding-top: 3px;
...@@ -808,6 +813,7 @@ export default { ...@@ -808,6 +813,7 @@ export default {
position: absolute; position: absolute;
right: 8px; right: 8px;
margin-left: 10px; margin-left: 10px;
top: 6px;
} }
} }
} }
...@@ -884,21 +890,21 @@ export default { ...@@ -884,21 +890,21 @@ export default {
// justify-content: center; // justify-content: center;
position: fixed; position: fixed;
bottom: 0px; bottom: 0px;
height: 64px; height: 78px;
left: 220px; left: 220px;
width: 100%; width: 100%;
background: #ffffff; background: #ffffff;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
.el-button:nth-child(2) {
margin-left: 20px;
}
div { div {
width: 170px; display: inline-block;
position: relative; position: relative;
transform: translateY(-50%); transform: translate(-50%, -50%);
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -220px; margin-left: -110px;
.cancel-button {
margin-left: 20px;
}
} }
} }
.label-text { .label-text {
...@@ -1020,4 +1026,8 @@ export default { ...@@ -1020,4 +1026,8 @@ export default {
margin-top: 0; margin-top: 0;
} }
} }
/deep/ .el-tooltip__popper.is-dark {
background: #666666;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
}
</style> </style>
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</div> </div>
<div class="footer-panel"> <div class="footer-panel">
<div> <div>
<el-button class="cancel-button" @click="$router.go(-1)">返回</el-button> <el-button type="primary" @click="$router.go(-1)">返回</el-button>
</div> </div>
</div> </div>
<el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn"> <el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn">
...@@ -195,7 +195,7 @@ export default { ...@@ -195,7 +195,7 @@ export default {
.container { .container {
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
height: calc(100vh - 150px); height: calc(100vh - 164px);
overflow-y: auto; overflow-y: auto;
// padding: 20px; // padding: 20px;
...@@ -260,27 +260,25 @@ export default { ...@@ -260,27 +260,25 @@ export default {
} }
} }
} }
} }
} }
.footer-panel { .footer-panel {
position: fixed; position: fixed;
bottom: 0px; bottom: 0px;
height: 64px; height: 78px;
left: 220px; left: 220px;
width: 100%; width: 100%;
background: #ffffff; background: #ffffff;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
div { div {
width: 80px; display: inline-block;
position: relative; position: relative;
transform: translateY(-50%); transform: translate(-50%, -50%);
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -220px; margin-left: -110px;
}
} }
}
.crowd-dialog { .crowd-dialog {
/deep/.el-dialog__header { /deep/.el-dialog__header {
padding: 15px 20px; padding: 15px 20px;
......
...@@ -103,18 +103,16 @@ export default { ...@@ -103,18 +103,16 @@ export default {
//没数据的时候要算高度 //没数据的时候要算高度
setTimeout(() => { setTimeout(() => {
if (!this.$refs.crowdManage.data.length) { // if (!this.$refs.crowdManage.data.length) {
this.loading = true this.loading = true
this.$refs.crowdManage.setTableHeightFun() this.$refs.crowdManage.setTableHeightFun()
this.loading = false this.loading = false
} // }
}, 200) }, 200)
}, },
methods: { methods: {
btnClick(type, data) { btnClick(type, data) {
console.log(data)
if (type == 'detail') { if (type == 'detail') {
console.log(`/crowdManage/crowdDetail/${data.crowdId}`)
this.$router.push(`/crowdManage/crowdDetail/${data.crowdId}`) this.$router.push(`/crowdManage/crowdDetail/${data.crowdId}`)
} }
if (type == 'view') { if (type == 'view') {
...@@ -131,12 +129,9 @@ export default { ...@@ -131,12 +129,9 @@ export default {
handleClick() { handleClick() {
this.searchForm = { 'req.keyword': '' } this.searchForm = { 'req.keyword': '' }
this.searchTable() this.searchTable()
// setTimeout(() =>{ setTimeout(() => {
// if(this.$refs.crowdManage.data.length == 0){ this.$refs.crowdManage.setTableHeightFun()
// this.$refs.crowdManage.setTableHeightFun() }, 200)
// }
// this.loading =false
// },200)
}, },
beforeSearchFn() { beforeSearchFn() {
return new Promise(resolve => { return new Promise(resolve => {
...@@ -206,7 +201,7 @@ export default { ...@@ -206,7 +201,7 @@ export default {
.pageContent { .pageContent {
/deep/.search-form { /deep/.search-form {
.itemWidth { .itemWidth {
display: flex; display: flex;
.el-form-item { .el-form-item {
display: flex; display: flex;
} }
...@@ -214,8 +209,8 @@ export default { ...@@ -214,8 +209,8 @@ export default {
.el-form-item__content { .el-form-item__content {
width: auto; width: auto;
display:inline-block; display: inline-block;
margin-left:0px!important; margin-left: 0px !important;
.el-input { .el-input {
width: 415px; width: 415px;
.el-input__inner { .el-input__inner {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!