From 585a80894b9249878fee9c7182f4d14f8e5da985 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期一, 21 四月 2025 18:03:07 +0800 Subject: [PATCH] qx --- src/views/hosp/order/index.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/hosp/order/index.vue b/src/views/hosp/order/index.vue index cc0e9fa..43d26e4 100644 --- a/src/views/hosp/order/index.vue +++ b/src/views/hosp/order/index.vue @@ -167,6 +167,7 @@ icon="el-icon-download" size="mini" @click="handleExport" + :disabled="singles" v-hasPermi="['hosp:order:export']" >瀵煎嚭</el-button > @@ -178,7 +179,7 @@ size="mini" @click="handleRevoke" :loading="isLoading" - :disabled="single" + :disabled="singles" >鎾ら攢绛惧埌</el-button > </el-col> @@ -1666,6 +1667,7 @@ dataObj: {}, // 闈炲崟涓鐢� single: true, + singles: false, activeNames: "first", // 闈炲涓鐢� multiple: true, @@ -2257,6 +2259,7 @@ this.ids = selection.map((item) => item.orderId); this.single = selection.length !== 1; this.multiple = !selection.length; + this.singles = selection.length !== 1; if (tjNUms.length > 0) { shijianzhou(tjNUms).then((res) => { this.shijianlist = res.data; @@ -3117,8 +3120,9 @@ /** 瀵煎嚭鎸夐挳鎿嶄綔 */ handleExport() { + console.log(this.queryParams) this.download( - "hosp/order/export", + "/hosp/order/exportOrderList", { ...this.queryParams, }, -- Gitblit v1.8.0