Commit 91f7dd79 by 李长胜

修改样式

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