|
@@ -7,15 +7,13 @@
|
|
|
<div class="top_hand left_top_hand">
|
|
|
<div class="folder-box">
|
|
|
<el-tooltip class="item" effect="dark" content="新建文件夹" placement="top-start">
|
|
|
- <el-button icon="el-icon-folder-add" @click="addFolder" class="icon_font"></el-button>
|
|
|
+ <el-button icon="el-icon-plus" size="small" @click="addFolder"></el-button>
|
|
|
</el-tooltip>
|
|
|
<el-tooltip class="item" effect="dark" content="删除文件夹" placement="top-start">
|
|
|
- <el-button icon="el-icon-folder-remove" class="icon_font" @click="removeFolder"></el-button>
|
|
|
+ <el-button icon="el-icon-minus" size="small" @click="removeFolder"></el-button>
|
|
|
</el-tooltip>
|
|
|
- </div>
|
|
|
- <div class="file-box">
|
|
|
<el-tooltip class="item" effect="dark" content="编辑文件夹" placement="top-start">
|
|
|
- <el-button @click="editFolder" icon="el-icon-edit" class="icon_font"></el-button>
|
|
|
+ <el-button @click="editFolder" icon="el-icon-edit-outline" size="small"></el-button>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -41,8 +39,8 @@
|
|
|
<el-card class="box-card" :body-style="{ padding: '0px', height:'100%' }">
|
|
|
<!-- 顶部操作栏 -->
|
|
|
<div class="top_hand right_top_hand">
|
|
|
- <el-button @click="addFloorFile">添加楼层文件</el-button>
|
|
|
- <el-button @click="queryFloorFile(currentFolderId)">刷新</el-button>
|
|
|
+ <el-button size="small" @click="addFloorFile">添加楼层文件</el-button>
|
|
|
+ <el-button size="small" @click="queryFloorFile(currentFolderId)">刷新</el-button>
|
|
|
</div>
|
|
|
<!-- 列表 -->
|
|
|
<floorTable v-loading="tableLoading" ref="floorTable" :tableData="tableData" :modelFolderName="currentFolderName" @openModelLog="queryModelLog"
|
|
@@ -102,11 +100,7 @@ export default {
|
|
|
modelLogVisible: false, //是否显示模型日志弹窗
|
|
|
changeFolderNameVisible: false, //是否显示编辑文件夹弹窗
|
|
|
folderName: "", //新建文件夹名称
|
|
|
- navigationModel: [
|
|
|
- {
|
|
|
- Name: ""
|
|
|
- }
|
|
|
- ], //文件夹模型list
|
|
|
+ navigationModel: [], //文件夹模型list
|
|
|
choiceIndex: 0, //当前文件夹index
|
|
|
currentFolderId: "", //当前选择的文件夹id
|
|
|
currentFolderName: "", //当前选择文件夹的Name
|
|
@@ -191,6 +185,7 @@ export default {
|
|
|
},
|
|
|
// 查询所有文件夹模型
|
|
|
queryModel() {
|
|
|
+ this.navigationModel = [];
|
|
|
this.loading = true;
|
|
|
request.queryModel("", res => {
|
|
|
this.navigationModel = res.Content;
|
|
@@ -379,7 +374,7 @@ export default {
|
|
|
}
|
|
|
// 顶部
|
|
|
.top_hand {
|
|
|
- height: 60px;
|
|
|
+ // height: 60px;
|
|
|
width: 100%;
|
|
|
padding: 10px;
|
|
|
box-sizing: border-box;
|
|
@@ -388,11 +383,6 @@ export default {
|
|
|
.left_top_hand {
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
- .folder-box {
|
|
|
- display: flex;
|
|
|
- height: 40px;
|
|
|
- flex-direction: row;
|
|
|
- }
|
|
|
.box-icon {
|
|
|
width: 40px;
|
|
|
height: 40px;
|