From f6ac139bf416f98c3a3d28f6b1d80e4598bd648f Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期日, 29 九月 2024 18:41:20 +0800 Subject: [PATCH] ll --- admin/src/views/platform/queueUp.vue | 30 ++++++++++++++++++++---------- 1 files changed, 20 insertions(+), 10 deletions(-) diff --git a/admin/src/views/platform/queueUp.vue b/admin/src/views/platform/queueUp.vue index 6b4a9b1..830fa91 100644 --- a/admin/src/views/platform/queueUp.vue +++ b/admin/src/views/platform/queueUp.vue @@ -48,8 +48,9 @@ <el-table-column prop="signDate" label="绛惧埌鏃堕棿" min-width="150" /> <el-table-column label="鎿嶄綔" align="center" width="100" fixed="right"> <template slot-scope="{ row }"> - <el-button v-if="activeGroup != 2" type="text" @click="handleDetail(row)" v-permissions="['business:company:update']">杩愬崟璇︽儏</el-button> - <el-button v-if="activeGroup == 2" type="text" @click="subDetail(row)" v-permissions="['business:company:update']">棰勭害璇︽儏</el-button> + <el-button v-if="activeGroup.type != 2" type="text" @click="handleDetail(row)" + v-permissions="['business:company:update']">杩愬崟璇︽儏</el-button> + <el-button v-if="activeGroup.type == 2" type="text" @click="subDetail(row)">棰勭害璇︽儏</el-button> </template> </el-table-column> </el-table> @@ -86,7 +87,9 @@ data() { return { filters: {}, - activeGroup: {}, + activeGroup: { + type: 2 + }, PlatGroupList: [], staticParam: {}, dataList: [], @@ -112,6 +115,12 @@ this.$nextTick(() => { this.$refs.PlatformSignRef.isShowModal = true this.$refs.PlatformSignRef.activePlat = this.activeGroup + this.$refs.PlatformSignRef.carCodeFront = '' + this.$refs.PlatformSignRef.pagination = { + total: 0, + pageSize: 10, + page: 1 + } this.$refs.PlatformSignRef.getList() }) }, @@ -127,6 +136,7 @@ } else { this.activeGroup = res[0] } + this.getPlatformGroupWork() this.getList() } @@ -174,13 +184,13 @@ this.getList() }, subDetail(row) { - this.isShowDriver = true - this.$nextTick(() => { - this.$refs.DriverDetailRef.id = row.objId - this.$refs.DriverDetailRef.type = row.objType - this.$refs.DriverDetailRef.getDetail() - this.$refs.DriverDetailRef.isShowModal = true - }) + this.isShowDriver = true + this.$nextTick(() => { + this.$refs.DriverDetailRef.id = row.bookId + this.$refs.DriverDetailRef.type = row.objType + this.$refs.DriverDetailRef.getDetail() + this.$refs.DriverDetailRef.isShowModal = true + }) }, handleDetail(row) { this.isShowDetail = true -- Gitblit v1.9.3