Commit b939c996 by 米嘉伟

人员库 案件库提示框

parent 58452f8d
...@@ -92,28 +92,27 @@ ...@@ -92,28 +92,27 @@
</div> </div>
</div> </div>
<!--四 --> <!--四 -->
<div class="tag"> <el-tag
<el-tag style="width: 100%; color: #666666;margin-bottom:1rem "
style="width: 100%; color: #666666; " v-show="isShowTip"
v-show="isShowTip" >
> <span v-html="'&nbsp;&nbsp;'"></span>
<span v-html="'&nbsp;&nbsp;'"></span> <i
<i class="el-icon-info"
class="el-icon-info" style="color: #055fe7; font-size: 15px"
style="color: #055fe7; font-size: 15px" ></i>
></i> 已选择
已选择 <span style="color: #055fe7">{{ multipleSelection.length }}</span> 项​
<span style="color: #055fe7">{{ multipleSelection.length }}</span> 项​ <!-- <span v-html="'&nbsp;&nbsp;'"></span> -->
<!-- <span v-html="'&nbsp;&nbsp;'"></span> --> <!-- ​服务调用总计:<span v-html="'&nbsp;&nbsp;'"></span>36.4万 -->
<!-- ​服务调用总计:<span v-html="'&nbsp;&nbsp;'"></span>36.4万 --> <el-link
<el-link type="primary"
type="primary" :underline="false"
:underline="false" style="margin-left: 1.25rem"
style="margin-left: 1.25rem" @click="toggleSelection()"
@click="toggleSelection()" >清除</el-link>
>清除</el-link> </el-tag>
</el-tag>
</div>
<!-- 五 --> <!-- 五 -->
<el-table <el-table
:max-height="height" :max-height="height"
...@@ -855,6 +854,7 @@ export default { ...@@ -855,6 +854,7 @@ export default {
batch () { batch () {
this.disabled = !this.disabled; this.disabled = !this.disabled;
this.selectBoo = !this.selectBoo; this.selectBoo = !this.selectBoo;
this.isShowTip = !this.isShowTip;
this.toggleSelection(); this.toggleSelection();
// this.$set(this.multipleSelection, []) // this.$set(this.multipleSelection, [])
}, },
...@@ -879,11 +879,11 @@ export default { ...@@ -879,11 +879,11 @@ export default {
handleSelectionChange (val) { handleSelectionChange (val) {
this.multipleSelection = val; this.multipleSelection = val;
console.log(this.multipleSelection); console.log(this.multipleSelection);
if (this.multipleSelection.length) { // if (this.multipleSelection.length) {
this.isShowTip = true; // this.isShowTip = true;
} else { // } else {
this.isShowTip = false; // this.isShowTip = false;
} // }
}, },
/** /**
* @description: pageSize 改变时会触发 * @description: pageSize 改变时会触发
...@@ -1020,9 +1020,6 @@ export default { ...@@ -1020,9 +1020,6 @@ export default {
.delSelection /deep/ .el-table-column--selection .cell { .delSelection /deep/ .el-table-column--selection .cell {
display: none; display: none;
} }
.tag {
height: 40px;
}
// 滚动条的宽度 // 滚动条的宽度
/deep/ .el-table__body-wrapper::-webkit-scrollbar { /deep/ .el-table__body-wrapper::-webkit-scrollbar {
width: 6px; // 横向滚动条 width: 6px; // 横向滚动条
......
...@@ -751,6 +751,7 @@ export default { ...@@ -751,6 +751,7 @@ export default {
batch () { batch () {
this.disabled = !this.disabled this.disabled = !this.disabled
this.selectBoo = !this.selectBoo; this.selectBoo = !this.selectBoo;
this.isShowTip = !this.isShowTip;
this.toggleSelection() this.toggleSelection()
}, },
/** /**
...@@ -770,11 +771,11 @@ export default { ...@@ -770,11 +771,11 @@ export default {
handleSelectionChange (val) { handleSelectionChange (val) {
this.multipleSelection = val; this.multipleSelection = val;
console.log(this.multipleSelection); console.log(this.multipleSelection);
if (this.multipleSelection.length) { // if (this.multipleSelection.length) {
this.isShowTip = true; // this.isShowTip = true;
} else { // } else {
this.isShowTip = false; // this.isShowTip = false;
} // }
}, },
/** /**
* @description: pageSize 改变时会触发 * @description: pageSize 改变时会触发
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment