From ae2d855c89ca722ac7309fdf1aa6ceed370e3b95 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期一, 11 十月 2021 20:22:30 +0800 Subject: [PATCH] 监控ui --- src/pages/library/components/baseList.vue | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/pages/library/components/baseList.vue b/src/pages/library/components/baseList.vue index 4e80915..61fc233 100644 --- a/src/pages/library/components/baseList.vue +++ b/src/pages/library/components/baseList.vue @@ -7,7 +7,7 @@ :class="title==='鍚屾搴�'?'iconfont iconshuaxintongbu':'iconfont iconwenjianjia'" style="font-size:18px;" ></span> - <span class="ml5 f14">{{title}}</span> + <span class="m5">{{title}}</span> <i class="el-icon-circle-plus-outline ml10" style="font-size:20px;color:#3D68E1;" @@ -15,7 +15,7 @@ v-if="isShow('library:set')" ></i> <span - class="ml5" + class="m5" style="font-size:14px;color:#3D68E1;" @click.stop="add('sync')" v-if="isShow('library:set')" @@ -66,8 +66,7 @@ </el-col> <el-col :span="24" - class="tl ml10 f12" - style="color:#888888" + style="text-align:left;margin-left:10px; color:#888888" >{{item.startTime}}~{{item.endTime?item.endTime:'姘镐箙鏈夋晥'}}</el-col> </el-row> </div> @@ -75,7 +74,7 @@ <el-collapse-item name="2" class="el-collapse-item__wrap"> <template slot="title"> <span class="iconfont iconwenjianjia" style="font-size:18px;"></span> - <span class="ml5 f14">{{titleB}}</span> + <span class="m5">{{titleB}}</span> <i class="el-icon-circle-plus-outline ml10" style="font-size:20px;color:#3D68E1;" @@ -83,7 +82,7 @@ v-if="isShow('library:set')" ></i> <span - class="ml5" + class="m5" style="font-size:14px;color:#3D68E1;" @click.stop="add('local')" v-if="isShow('library:set')" @@ -132,8 +131,7 @@ </el-col> <el-col :span="24" - class="tl ml10 f12" - style="color:#888888" + style="text-align:left;margin-left:10px; color:#888888" >{{item.startTime}}~{{item.endTime?item.endTime:'姘镐箙鏈夋晥'}}</el-col> </el-row> </div> @@ -248,8 +246,8 @@ cancelButtonClass: 'comfirm-class-cancle', confirmButtonClass: 'comfirm-class-sure' }).then(() => { - fetch(`/data/api-v/dbtable/deleteDBtablesById/${id}`, { - method: 'POST', + fetch(`/data/api-v/dbtable/deleteDBtablesById?id=${id}`, { + method: 'GET', headers: { 'Content-Type': 'application/json', 'Authorization': token @@ -403,4 +401,10 @@ white-space: nowrap; margin: 0 auto; } +.m5 { + margin: 5px; +} +.p10 { + padding: 10px; +} </style> -- Gitblit v1.8.0