From f79c0703617d25dbb6328dd58e4f693d3d2809c4 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期五, 16 十月 2020 15:34:39 +0800
Subject: [PATCH] 修改本机信息展示
---
src/pages/library/components/carList.vue | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/pages/library/components/carList.vue b/src/pages/library/components/carList.vue
index 9e03c14..c502700 100644
--- a/src/pages/library/components/carList.vue
+++ b/src/pages/library/components/carList.vue
@@ -40,13 +40,13 @@
<el-button size="small" type="primary" @click="handleSearch">鎼滅储</el-button>
</el-col>
<el-col :offset="8" :span="3">
- <fTemplate authority="videoTable:edit">
+ <fTemplate authority="library:set">
<el-button
size="small"
class="ml10"
type="danger"
@click="deleteBatch"
- v-if="isShow('videoTable:edit')"
+ v-if="isShow('library:set')"
>鎵归噺鍒犻櫎</el-button>
</fTemplate>
</el-col>
@@ -196,7 +196,6 @@
tooltip-effect="dark"
style="width: 100%;"
:fit="true"
- :max-height="tableHeight"
:default-sort="{prop: 'createTime', order: 'descending'}"
@selection-change="handleSelectionChange"
:header-cell-style="{background:'#f8f8f8',color:'#222222'}"
@@ -272,7 +271,7 @@
<el-switch
v-model="scope.row.enable"
:active-value="1"
- :disabled="!isShow('videoTable:edit')"
+ :disabled="!isShow('library:set')"
:inactive-value="0"
@change="enable(scope.row)"
></el-switch>
@@ -280,7 +279,7 @@
</el-table-column>
<el-table-column label="鎿嶄綔" min-width="200" align="center">
<template slot-scope="scope">
- <fTemplate authority="videoTable:edit">
+ <fTemplate authority="library:set">
<el-tooltip content="缂栬緫" placement="top" popper-class="atooltip">
<span
class="iconfont iconbianji iconStyle1"
@@ -292,7 +291,7 @@
<el-tooltip content="鏌ユ壘姝や汉" placement="top" popper-class="atooltip">
<span class="iconfont iconsousuoren iconStyle1" @click="tosearch(scope.row)"></span>
</el-tooltip>
- <fTemplate authority="videoTable:edit">
+ <fTemplate authority="library:set">
<el-tooltip content="澶嶅埗" placement="top" popper-class="atooltip">
<span
class="iconfont iconfuzhi iconStyle1"
@@ -301,7 +300,7 @@
></span>
</el-tooltip>
</fTemplate>
- <fTemplate authority="videoTable:edit">
+ <fTemplate authority="library:set">
<el-tooltip content="绉诲姩" placement="top" popper-class="atooltip">
<span
class="iconfont iconyidongzhi iconStyle1"
@@ -311,7 +310,7 @@
></span>
</el-tooltip>
</fTemplate>
- <fTemplate authority="videoTable:edit">
+ <fTemplate authority="library:set">
<el-tooltip content="鍒犻櫎" placement="top" popper-class="atooltip">
<span
class="iconfont iconshanchu iconStyle1"
@@ -1294,8 +1293,8 @@
.el-drawer.ltr,
.el-drawer.rtl {
width: 27% !important;
- height: 90%;
- top: 9%;
+ //height: 90%;
+ //top: 9%;
.el-drawer__header {
border-bottom: 2px solid #eee;
padding-bottom: 10px;
@@ -1445,9 +1444,9 @@
.el-drawer.rtl {
min-width: 450px;
width: 25% !important;
- height: 90%;
- min-height: 1100px;
- top: 9%;
+ //height: 90%;
+ //min-height: 1100px;
+ //top: 9%;
.el-drawer__header {
border-bottom: 2px solid #eee;
padding-bottom: 10px;
@@ -1460,7 +1459,8 @@
}
.drawerSpace {
- height: 900px;
+ height: calc(100% - 140px);
+ box-sizing: border-box;
margin-bottom: 30px;
overflow-y: scroll;
.uploadLine {
--
Gitblit v1.8.0