Commit 91f7dd79 by 李长胜

修改样式

1 parent 6852d519
......@@ -25,16 +25,19 @@
</span>
<div slot="followStaff" class="entmicro" slot-scope="scope">
<div class="entmicro-tag" v-for="(tag, idx) in followList(scope.scope.followStaff)" :key="idx">
<el-tag type="info" v-if="idx < 3" :disable-transitions="false">
<i class="el-icon-user-solid"></i>
{{ tag }}
</el-tag>
<el-tooltip effect="dark" :content="tag" placement="top">
<el-tag type="info" class="ellipsis-1" v-if="idx < 3" :disable-transitions="false">
<i class="el-icon-user-solid"></i>
{{ tag }}
</el-tag>
</el-tooltip>
<el-tag type="info" v-if="followList(scope.scope.followStaff).length > 3 && idx == 3">
<el-popover placement="top" width="600" trigger="hover" content="这是一段内容,这是一段内容,这是一段内容,这是一段内容。">
<span slot="reference">...({{ followList(scope.scope.followStaff).length }})</span>
<div class="entmicro-hover" >
<el-tag type="info" style="margin-right:10px;margin-bottom:10px;" v-for="(i, index) in followList(scope.scope.followStaff)" :key="index" :disable-transitions="false">
<i class="el-icon-user-solid" style="color:#75acff"></i>
<div slot="reference">...({{ followList(scope.scope.followStaff).length }})</div>
<div class="entmicro-hover">
<el-tag type="info" style="margin-right: 10px; margin-bottom: 10px" v-for="(i, index) in followList(scope.scope.followStaff)" :key="index" :disable-transitions="false">
<i class="el-icon-user-solid" style="color: #75acff"></i>
<!-- {{ i.staffName }}{{ i.departmentName ? `(${i.departmentName})` : '' }} -->
{{ i }}
</el-tag>
......@@ -66,8 +69,8 @@
<span @click="goDetail(scope.scope.oneId)" class="blue-text">详情</span>
</template> -->
<div class="table-btns" slot="optionBtns" slot-scope="scope">
<!-- <el-button type="text" @click="goDetail(scope.scope.oneId)">详情</el-button> -->
<GLButton @click="goDetail(scope.scope.oneId)" fn="客户详情" type="text">详情</GLButton>
<!-- <el-button type="text" @click="goDetail(scope.scope.oneId)">详情</el-button> -->
<GLButton @click="goDetail(scope.scope.oneId)" fn="客户详情" type="text">详情</GLButton>
</div>
</GLTable>
</div>
......@@ -182,7 +185,7 @@ export default {
// btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: 'data',
// tableOption: true,
tableOption:false,
tableOption: false,
tableColumns: [
{
label: '客户ID',
......@@ -211,7 +214,7 @@ export default {
label: '跟进员工',
prop: 'followStaff',
addHtml: 'followStaff',
minWidth: 120
minWidth: 140
},
{
label: '来源',
......@@ -220,7 +223,7 @@ export default {
minWidth: 100
},
{
label: '渠道来源',
label: '渠道来源',
prop: 'sourceChannel',
width: 100
},
......@@ -242,13 +245,13 @@ export default {
width: 95
},
{
label:'操作',
prop:'optionBtns',
width:'80px',
addHtml:'optionBtns',
fixed:'right'
label: '操作',
prop: 'optionBtns',
width: '80px',
addHtml: 'optionBtns',
fixed: 'right'
}
],
]
// tableOption: {
// width: 80
// }
......@@ -291,7 +294,6 @@ export default {
// this.searchTable()
// }
//接收到的数据为空
// if (!this.$refs.clientManage.data.length) {
// this.$refs.clientManage.setTableHeightFun()
......@@ -447,13 +449,10 @@ export default {
font-size: 14px;
}
}
// span {
// line-height: 20px;
// }
}
.el-tag {
margin-right: 10px;
margin-bottom: 10px;
// margin-right: 10px;
max-width: 124px;
cursor: pointer;
background-color: #fff !important;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!