From 7edf9e6a325ec521c603bc93d45b7b01b9304b31 Mon Sep 17 00:00:00 2001
From: sen <sen@qq.com>
Date: 星期三, 10 九月 2025 11:36:01 +0800
Subject: [PATCH] 修改
---
ui/admin-ui3/src/views/cwgl/smartLockerApplication/index.vue | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/ui/admin-ui3/src/views/cwgl/smartLockerApplication/index.vue b/ui/admin-ui3/src/views/cwgl/smartLockerApplication/index.vue
index 499e233..d90556d 100644
--- a/ui/admin-ui3/src/views/cwgl/smartLockerApplication/index.vue
+++ b/ui/admin-ui3/src/views/cwgl/smartLockerApplication/index.vue
@@ -17,7 +17,10 @@
</el-button> -->
</template>
<template #menu="{ size, row, index }">
-
+ <el-link class="link-btn" type="primary" :underline="false" plain :size="size"
+ @click="handleEditBtn(row, index)" v-if="row.status == 0"
+ v-hasPermi="['cwgl:smartLockerApplication:cancel']"> 缂栬緫
+ </el-link>
<el-link class="link-btn" v-if="row.status == 0" type="primary" :underline="false" plain @click="handleInvalid(row)"
v-hasPermi="['cwgl:smartLockerApplication:invalid']"> 浣滃簾
</el-link>
@@ -192,6 +195,7 @@
type: 'datetime', // 鏀逛负 datetime 绫诲瀷
format: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'YYYY-MM-DD HH:mm:ss',
+ editDisplay: false,
addDisplay: false, // 鏂板鏃朵笉鏄剧ず
minWidth: 200,
@@ -201,6 +205,7 @@
minWidth: 180,
type: 'datetime', // 鏀逛负 datetime 绫诲瀷
format: 'YYYY-MM-DD HH:mm:ss',
+ editDisplay: false,
addDisplay: false, // 鏂板鏃朵笉鏄剧ず
valueFormat: 'YYYY-MM-DD HH:mm:ss',
@@ -210,7 +215,7 @@
label: '鍒涘缓鏃堕棿',
minWidth: 180,
addDisplay: false, // 鏂板鏃朵笉鏄剧ず
-
+ editDisplay: false,
type: 'datetime', // 鏀逛负 datetime 绫诲瀷
format: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'YYYY-MM-DD HH:mm:ss',
@@ -229,6 +234,7 @@
fixed: 'right',
dataType: 'string',
type: 'select',
+ editDisplay: false,
addDisplay: false, // 鏂板鏃朵笉鏄剧ず
dicUrl: '/system/dict/data/type/sys_apply_status',
},
@@ -341,5 +347,8 @@
})
}
-
+const handleEditBtn = (row, index) => {
+ crudRef.value.rowEdit(row, index)
+ // option.value.editBtn = true;
+}
</script>
--
Gitblit v1.8.0