|
@@ -45,8 +45,10 @@
|
|
|
v-if="item.encryptLevel"
|
|
|
>
|
|
|
<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>
|
|
|
- <img src="../../assets/images/fileStyle.png" style="width: 72px;height: 72px;" v-else>
|
|
|
+ <img :src="item.dirType=='1'?ordinaryList:fileStyle" style="width: 72px;height: 72px;">
|
|
|
+ </el-tooltip>
|
|
|
+
|
|
|
+ <img :src="item.dirType=='1'?ordinaryList:fileStyle" style="width: 72px;height: 72px;" v-else>
|
|
|
<el-tooltip
|
|
|
class="box-item tool-tip"
|
|
|
effect="dark"
|
|
@@ -97,7 +99,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-if="(!thisFolder.dirType) || !isDept"
|
|
|
- style="display: flex;width: 82px;opacity:0.5;height: 32px;justify-content: flex-start;align-items: center;">
|
|
|
+ style="display: flex;width: 102px;opacity:0.5;height: 32px;justify-content: flex-start;align-items: center;">
|
|
|
<div style="margin-left: 5px;">
|
|
|
<el-icon
|
|
|
style="background-color: #7084B4;width: 24px;height: 24px;border-radius: 50%;color: white;"
|
|
@@ -106,11 +108,11 @@
|
|
|
</el-icon>
|
|
|
</div>
|
|
|
<div style="margin-left: 5px;">
|
|
|
- <span style="font-size: 14px;" class="shouzhi">新建</span>
|
|
|
+ <span style="font-size: 14px;" class="shouzhi">新建目录</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-else
|
|
|
- style="display: flex;width: 82px;height: 32px;justify-content: flex-start;align-items: center;">
|
|
|
+ style="display: flex;width: 102px;height: 32px;justify-content: flex-start;align-items: center;">
|
|
|
<div style="margin-left: 5px;">
|
|
|
<el-icon
|
|
|
style="background-color: #7084B4;width: 24px;height: 24px;border-radius: 50%;color: white;"
|
|
@@ -119,7 +121,7 @@
|
|
|
</el-icon>
|
|
|
</div>
|
|
|
<div style="margin-left: 5px;" @click="createNewMenu(0)">
|
|
|
- <span style="font-size: 14px;" class="shouzhi">新建</span>
|
|
|
+ <span style="font-size: 14px;" class="shouzhi">新建目录</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<template v-for="(item, index) in useMenu" :key="index">
|
|
@@ -193,18 +195,8 @@
|
|
|
<Star />
|
|
|
</el-icon>
|
|
|
<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;"
|
|
|
+ <img :src="scope.row.dirType=='1'?ordinary:fileBox" style="width: 20px;height: 24px;"
|
|
|
alt="" class="juli">
|
|
|
- <!-- <el-tooltip
|
|
|
- class="box-item"
|
|
|
- effect="dark"
|
|
|
- placement="top"
|
|
|
- :show-after="1000"
|
|
|
- v-if="scope.row.encryptLevel"
|
|
|
- >
|
|
|
- <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 class="shouzhi"> {{ scope.row.dirName }}</span>
|
|
|
</span>
|
|
|
</template>
|
|
@@ -447,6 +439,10 @@ import { canPreviewFile,rightMenuRole,publicRightMenuRole } from "@/utils/index.
|
|
|
import fileSpace from '../../api/filespace/fileSpace';
|
|
|
import { getLeveldetail } from '../../api/level/level';
|
|
|
import { encrypt, decrypt } from "@/utils/jsencrypt";
|
|
|
+import ordinaryList from "@/assets/images/ordinaryList.png";
|
|
|
+import ordinary from "@/assets/images/ordinary.png";
|
|
|
+import fileStyle from "@/assets/images/fileStyle.png";fileBox
|
|
|
+import fileBox from "@/assets/images/fileBox.png";
|
|
|
import Cookies from "js-cookie";
|
|
|
import elTableInfiniteScroll from 'el-table-infinite-scroll'
|
|
|
|
|
@@ -1657,6 +1653,10 @@ export default {
|
|
|
useMenu,
|
|
|
arrorMenu,
|
|
|
blueLeft,//返回
|
|
|
+ ordinaryList,
|
|
|
+ ordinary,
|
|
|
+ fileStyle,
|
|
|
+ fileBox,
|
|
|
grayRight,//前进
|
|
|
squre,//视图切换
|
|
|
sort,//排序
|