From cf69b541f8ef1ac4fae24bd99b0259b7af035490 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期二, 21 十月 2025 10:16:12 +0800 Subject: [PATCH] 优化 --- admin/src/views/platform/queueUp.vue | 67 ++++++++++++++++++++++++++------- 1 files changed, 53 insertions(+), 14 deletions(-) diff --git a/admin/src/views/platform/queueUp.vue b/admin/src/views/platform/queueUp.vue index d06cc24..637a23f 100644 --- a/admin/src/views/platform/queueUp.vue +++ b/admin/src/views/platform/queueUp.vue @@ -1,7 +1,7 @@ <template> <div class="main_app"> - <div class="mb20 main_header"> - <div class="platgroup_tabs"> + <div class="main_header"> + <div class="platgroup_tabs pt20"> <div class="tab" :class="{ active: activeGroup.id === item.id }" @click="platgroupClick(item)" v-for="(item, i) in PlatGroupList" :key="i"> {{ item.name }} @@ -11,9 +11,11 @@ <div class="df_sb"> <QueryForm v-model="filters" :query-form-config="queryQueueUpConfig" @handleQuery="getList(1)" @clear="clear"> </QueryForm> - <el-button @click="openSign" type="primary" style="align-self: flex-start;">杞﹁締绛惧埌</el-button> + <div> + <el-button @click="openSign" type="primary" style="align-self: flex-start;">杞﹁締绛惧埌</el-button> + </div> </div> - <div class="main_content"> + <div class="common-header"> <div class="static_wrap"> <span>绛夊緟锛�<span class="num">{{ staticParam.waitNum }}</span></span> <span class="mr30">{{ }}</span> @@ -63,11 +65,12 @@ <span v-if="row.status == 7" class="primaryColor">杞Щ涓�</span> </template> </el-table-column> - <el-table-column label="鎿嶄綔" align="center" width="100" fixed="right"> + <el-table-column label="鎿嶄綔" align="center" width="200" fixed="right"> <template slot-scope="{ row }"> <el-button v-if="row.billCode" type="text" @click="handleDetail(row)" v-permissions="['business:company:update']">杩愬崟璇︽儏</el-button> <el-button v-else type="text" @click="subDetail(row)">棰勭害璇︽儏</el-button> + <el-button type="text" @click="jiaji(row.id)">鍔犳��</el-button> </template> </el-table-column> </el-table> @@ -116,7 +119,8 @@ import { getPlatformGroupList, platformLineUpPage, - getPlatformGroupWork + getPlatformGroupWork, + jobUrge } from '@/api' import { queryQueueUpConfig } from './config' import WaybillDetail from './components/WaybillDetail.vue' @@ -172,6 +176,31 @@ this.$refs.PlatformSignRef.getList() }) }, + jiaji(id) { + this.$confirm('纭鍔犳�ュ悧锛�', '鎻愮ず', { + confirmButtonText: '纭畾', + cancelButtonText: '鍙栨秷', + type: 'warning' + }).then(() => { + jobUrge({ id }) + .then(res => { + this.getPlatGroupList() + }) + }).catch(() => { + + }); + // this.$dialog.exportConfirm('纭鍔犳�ュ悧锛�', { + // confirmButtonText: '纭畾', + // cancelButtonText: '鍙栨秷', + // }) + // .then(() => { + // jobUrge({ id }) + // .then(res => { + // this.getPlatGroupList() + // }) + // }) + // .catch(() => {}) + }, getPlatGroupList() { getPlatformGroupList({ queryData: 1, @@ -213,7 +242,7 @@ }, handleSizeChange(e) { this.pagination.pageSize = e - this.getList() + this.getList(1) }, handlePageChange(e) { this.pagination.page = e @@ -255,14 +284,24 @@ <style lang="scss" scoped> @import "@/assets/style/variables.scss"; -.main_content { - background-color: #fff; - position: relative; - z-index: 999; - top: -10; - margin: -20px; +.main_app { padding: 0 20px; + .doumee-filter { + padding-top: 20px; + border: 0; + } +} + +.common-header { + background-color: #fff; + /* position: relative; */ + /* z-index: 999; */ + /* top: -10; */ + /* margin: -20px; */ + padding: 0 20px; + + /* border: 1px solid red; */ .static_wrap { height: 50px; line-height: 50px; @@ -271,7 +310,7 @@ padding: 0 20px; background: #F4FAFB; border-radius: 2px 2px 0px 0px; - margin-bottom: 36px; + /* margin-bottom: 36px; */ .num { color: #111111; -- Gitblit v1.9.3