From 901be26b0491501afe8eb145392a8d8c307f0138 Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期三, 12 十月 2022 16:37:09 +0800 Subject: [PATCH] 新增施工交付其他交付功能 --- src/views/construction/constructionList/index.vue | 36 +++++++++++++++++++++++++++--------- 1 files changed, 27 insertions(+), 9 deletions(-) diff --git a/src/views/construction/constructionList/index.vue b/src/views/construction/constructionList/index.vue index 10a2808..9ced228 100644 --- a/src/views/construction/constructionList/index.vue +++ b/src/views/construction/constructionList/index.vue @@ -4,9 +4,11 @@ <div class="tree-list"> <school ref="schoolRef" @schoolChange="schoolChange"></school> </div> - <div class="right-view" v-loading="loading"> - <el-tabs v-model="activeName" @tab-click="handleClick"> - <el-tab-pane label="鏂藉伐姒傚喌" name="first">鏂藉伐姒傚喌</el-tab-pane> + <div class="right-view custom-el-tabs" v-loading="loading"> + <el-tabs v-model="activeName" style="flex: 1;" @tab-click="handleClick"> + <el-tab-pane label="鏂藉伐姒傚喌" name="first"> + <el-empty description="姝e湪寮�鍙戜腑..."></el-empty> + </el-tab-pane> <el-tab-pane label="IPC璁惧" name="second"> <ipc v-if="activeName === 'second'" :schoolId="schoolId"></ipc> </el-tab-pane> @@ -28,10 +30,13 @@ <el-tab-pane label="杞欢绯荤粺" name="eight"> <system v-if="activeName === 'eight'" :schoolId="schoolId"></system> </el-tab-pane> + <el-tab-pane label="鍏朵粬" name="nine"> + <other v-if="activeName === 'nine'" :schoolId="schoolId"></other> + </el-tab-pane> </el-tabs> <div class="right-view-title-icon"> - <i class="el-icon-search" @click="batchOpen = true"></i> - <i class="el-icon-search" @click="ipOpen = true"></i> + <img alt="" title="鏂藉伐鎵规" src="@/assets/images/batch-icon.png" @click="batchOpen = true" class="right-view-title-icon-item" /> + <img alt="" title="棰勭暀IP" src="@/assets/images/ip-icon.png" @click="ipOpen = true" class="right-view-title-icon-item" /> </div> </div> </div> @@ -56,6 +61,7 @@ import exchange from '../exchange' import server from '../server' import system from '../system' +import other from '../other' export default { name: "constructionList", @@ -69,7 +75,8 @@ ai, exchange, server, - system + system, + other }, data() { return { @@ -98,7 +105,7 @@ .tree-view { display: flex; flex-direction: row; - flex: 1; + width: 100%; } .tree-list { @@ -109,7 +116,9 @@ display: flex; flex-direction: row; justify-content: space-between; - flex: 1; + width: calc(100% - 280px); + position: relative; + box-sizing: border-box; } .right-view-title-icon { @@ -117,5 +126,14 @@ flex-direction: row; height: 40px; align-items: center; + position: absolute; + top: 0; + right: 0; } -</style> \ No newline at end of file +.right-view-title-icon-item { + width: 20px; + height: 20px; + margin-left: 15px; + cursor: pointer; +} +</style> -- Gitblit v1.9.1