From 11eda9ca87e07f0794a76f03fa2260e9641013cb Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 11 四月 2025 18:07:45 +0800
Subject: [PATCH] update

---
 src/views/ecg/devrent/index.vue |   16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/src/views/ecg/devrent/index.vue b/src/views/ecg/devrent/index.vue
index 5bcedd1..ae84885 100644
--- a/src/views/ecg/devrent/index.vue
+++ b/src/views/ecg/devrent/index.vue
@@ -75,14 +75,6 @@
         <el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 鎼滅储</el-button>
         <el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 閲嶇疆</el-button>
         <el-button
-          type="primary"
-          plain
-          @click="openForm('create')"
-          v-hasPermi="['ecg:dev-rent:create']"
-        >
-          <Icon icon="ep:plus" class="mr-5px" /> 鏂板
-        </el-button>
-        <el-button
           type="success"
           plain
           @click="handleExport"
@@ -104,7 +96,7 @@
       <el-table-column label="鎮h�呭悕绉�" align="center" prop="patName" />
       <el-table-column label="妫�鏌ョ被鍨�" align="center" prop="checkType" width="100px">
         <template #default="scope">
-          <span>{{checkTypeStore.getCheckTypeName(scope.row.checkType)}}</span>
+          <span>{{getCheckTypeName(scope.row.checkType)}}</span>
         </template>
       </el-table-column>
       <el-table-column label="妫�鏌ョ姸鎬�" align="center" prop="state" width="90px">
@@ -139,6 +131,7 @@
         width="180px"
       />
 -->
+<!--
       <el-table-column label="鎿嶄綔" align="center" min-width="120px">
         <template #default="scope">
           <el-button
@@ -159,6 +152,7 @@
           </el-button>
         </template>
       </el-table-column>
+-->
     </el-table>
     <!-- 鍒嗛〉 -->
     <Pagination
@@ -179,15 +173,13 @@
 import { DevRentApi, DevRentVO } from '@/api/ecg/devrent'
 import DevRentForm from './DevRentForm.vue'
 import {tranlateCheckState} from "../../../utils/statusFormatter";
-import {useCheckTypeStore} from "@/store/modules/checkType";
+import {getCheckTypeName} from "../../../utils/checkTypeFormatter";
 
 /** 瑁呮満鎷嗘満 鍒楄〃 */
 defineOptions({ name: 'DevRent' })
 
 const message = useMessage() // 娑堟伅寮圭獥
 const { t } = useI18n() // 鍥介檯鍖�
-
-const checkTypeStore = useCheckTypeStore()
 
 const loading = ref(true) // 鍒楄〃鐨勫姞杞戒腑
 const list = ref<DevRentVO[]>([]) // 鍒楄〃鐨勬暟鎹�

--
Gitblit v1.9.3