|
@@ -22,7 +22,7 @@
|
|
|
<div
|
|
|
style="display: flex;justify-content: flex-start;align-items: flex-start;flex-wrap: wrap;height: 75vh;align-content: flex-start;overflow-y: auto;">
|
|
|
<!-- v-for盒子 -->
|
|
|
- <template v-for="(item, index) in fileMenu">
|
|
|
+ <template v-for="(item, index) in fileMenu" :key="index">
|
|
|
<div class="setBox" @click="changeFile(item, index)">
|
|
|
<el-dropdown trigger="click" class="selectChe">
|
|
|
<span class="el-dropdown-link">
|
|
@@ -36,7 +36,13 @@
|
|
|
</template>
|
|
|
</el-dropdown>
|
|
|
<div class="left_fileBox">
|
|
|
- <img src="../../assets/images/fileStyle.png" style="width: 72px;height: 72px;">
|
|
|
+ <el-tooltip
|
|
|
+ class="box-item tool-tip"
|
|
|
+ effect="dark"
|
|
|
+ placement="top-start"
|
|
|
+ >
|
|
|
+ <template #content> 安全级别: {{ item.encryptLevel == 'L1'?'敏感':(item.encryptLevel == 'L2'?'涉密':(item.encryptLevel == 'L3'?'机密':'绝密')) }} </template>
|
|
|
+ <img src="../../assets/images/fileStyle.png" style="width: 72px;height: 72px;"></el-tooltip>
|
|
|
<p class="ellipsis-text">{{ item.dirName }}</p>
|
|
|
<img class="levelImg" v-if="item.isEncrypt === 'Y'" :src="getLevelImg(item.encryptLevel)" alt="">
|
|
|
</div>
|
|
@@ -65,7 +71,7 @@
|
|
|
<img src="../../assets/images/upload.png" style="width: 24px;height: 24px;" alt="">
|
|
|
</div>
|
|
|
<div style="margin-left: 5px;">
|
|
|
- <span style="color: black;cursor: pointer;" @click="uploadModal = true">上传
|
|
|
+ <span style="color: black;cursor: pointer;" @click="uploadModal = true" class="shouzhi">上传
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -75,7 +81,7 @@
|
|
|
<img src="../../assets/images/upload.png" style="width: 24px;height: 24px;" alt="">
|
|
|
</div>
|
|
|
<div style="margin-left: 5px;">
|
|
|
- <span style="color: black;cursor: pointer;">上传
|
|
|
+ <span style="color: black;cursor: pointer;" class="shouzhi">上传
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -89,7 +95,7 @@
|
|
|
</el-icon>
|
|
|
</div>
|
|
|
<div style="margin-left: 5px;" @click="createNewMenu(0)">
|
|
|
- <span style="font-size: 14px;">新建</span>
|
|
|
+ <span style="font-size: 14px;" class="shouzhi">新建</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-else
|
|
@@ -102,7 +108,7 @@
|
|
|
</el-icon>
|
|
|
</div>
|
|
|
<div style="margin-left: 5px;" @click="createNewMenu(0)">
|
|
|
- <span style="font-size: 14px;">新建</span>
|
|
|
+ <span style="font-size: 14px;" class="shouzhi">新建</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<template v-for="(item, index) in useMenu" :key="index">
|
|
@@ -113,7 +119,7 @@
|
|
|
<img :src="item.img" style="width: 24px;height: 24px;" alt="">
|
|
|
</div>
|
|
|
<div style="margin-left: 5px;">
|
|
|
- <span style="font-size: 14px;">{{ item.name }}</span>
|
|
|
+ <span style="font-size: 14px;" class="shouzhi">{{ item.name }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -121,7 +127,7 @@
|
|
|
<!-- 面包屑功能栏 -->
|
|
|
<div class="breadBox">
|
|
|
<!-- 左侧 -->
|
|
|
- <div style="display: flex;justify-content: space-around;align-items: center;">
|
|
|
+ <div style="display: flex;justify-content: space-around;align-items: center;margin-left: 5px;">
|
|
|
<!-- 前进后退 -->
|
|
|
<!-- <div style="display: flex;justify-content: space-around;align-items: center;">
|
|
|
<img style="display:block;width: 11px;height: 11px;" :src="blueLeft" alt=""
|
|
@@ -152,21 +158,21 @@
|
|
|
<el-table-column type="selection" width="55" />
|
|
|
<el-table-column label="名称" width="180">
|
|
|
<template #default="scope">
|
|
|
- <span>
|
|
|
- <el-icon v-if="scope.row.isFavorite == 'N'" @click.stop="collectByStar(scope.row,true)">
|
|
|
+ <span class="juzhong">
|
|
|
+ <el-icon v-if="scope.row.isFavorite == 'N'" @click.stop="collectByStar(scope.row,true)" class="juli">
|
|
|
<Star />
|
|
|
</el-icon>
|
|
|
- <img v-else @click.stop="delCollect(scope.row,true)" src="../../assets/images/yellowstar.png" alt="">
|
|
|
+ <img v-else @click.stop="delCollect(scope.row,true)" src="../../assets/images/yellowstar.png" alt="" class="juli">
|
|
|
<img src="../../assets/images/fileBox.png" style="width: 20px;height: 24px;"
|
|
|
- alt="">
|
|
|
+ alt="" class="juli">
|
|
|
<el-tooltip
|
|
|
class="box-item"
|
|
|
effect="dark"
|
|
|
- :content="scope.row.dirName"
|
|
|
placement="top"
|
|
|
:show-after="1000"
|
|
|
>
|
|
|
- {{ scope.row.dirName }}
|
|
|
+ <template #content> {{ scope.row.encryptLevel == 'L1'?'敏感':(scope.row.encryptLevel == 'L2'?'涉密':(scope.row.encryptLevel == 'L3'?'机密':'绝密')) }} </template>
|
|
|
+ <span class="shouzhi"> {{ scope.row.dirName }}</span>
|
|
|
</el-tooltip>
|
|
|
</span>
|
|
|
</template>
|
|
@@ -200,11 +206,11 @@
|
|
|
</div> -->
|
|
|
<div class="menu_item" @click="restName(null, null)">
|
|
|
<img src="@/assets/images/textbox.png" alt="" />
|
|
|
- <span>重命名</span>
|
|
|
+ <span class="shouzhi">重命名</span>
|
|
|
</div>
|
|
|
<div class="menu_item" @click="collectFolder">
|
|
|
<img src="@/assets/images/collect.png" alt="" />
|
|
|
- <span>收藏</span>
|
|
|
+ <span class="shouzhi">收藏</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -218,20 +224,20 @@
|
|
|
<el-table-column type="selection" width="55" />
|
|
|
<el-table-column label="名称" width="200">
|
|
|
<template #default="scope">
|
|
|
- <span style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
|
|
|
- <el-icon v-if="scope.row.isFavorite == 'N'" @click.stop="collectByStar(scope.row,false)">
|
|
|
+ <span style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" class="juzhong">
|
|
|
+ <el-icon v-if="scope.row.isFavorite == 'N'" @click.stop="collectByStar(scope.row,false)" class="juli">
|
|
|
<Star />
|
|
|
</el-icon>
|
|
|
- <img v-else @click.stop="delCollect(scope.row,false)" src="../../assets/images/yellowstar.png" alt="">
|
|
|
- <img :src="getImage(scope.row.fileType)" alt="">
|
|
|
+ <img v-else @click.stop="delCollect(scope.row,false)" src="../../assets/images/yellowstar.png" alt="" class="juli">
|
|
|
+ <img :src="getImage(scope.row.fileType)" alt="" class="juli">
|
|
|
<el-tooltip
|
|
|
class="box-item"
|
|
|
effect="dark"
|
|
|
- :content="scope.row.fileName"
|
|
|
placement="top"
|
|
|
:show-after="1000"
|
|
|
>
|
|
|
- {{ scope.row.fileName }}
|
|
|
+ <template #content> {{ scope.row.encryptLevel == 'L1'?'敏感':(scope.row.encryptLevel == 'L2'?'涉密':(scope.row.encryptLevel == 'L3'?'机密':'绝密')) }} </template>
|
|
|
+ <span class="shouzhi">{{ scope.row.fileName }}</span>
|
|
|
</el-tooltip>
|
|
|
</span>
|
|
|
</template>
|
|
@@ -256,7 +262,7 @@
|
|
|
<img :src="item.img" alt="">
|
|
|
{{ item.name }}
|
|
|
<span v-if="item.name == '在线编辑' || item.name == '协作' ? true : false"
|
|
|
- style="color: #7084B4;float: right;position: relative;" class="arrow">></span>
|
|
|
+ style="color: #7084B4;float: right;position: relative;" class="arrow"></span>
|
|
|
</p>
|
|
|
</template>
|
|
|
</div>
|
|
@@ -1717,6 +1723,7 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
+@import "@/assets/styles/my-common.scss";
|
|
|
.lodingBox{
|
|
|
position:absolute;
|
|
|
top: 0;
|