eight
2025-04-11 fe28e1fe081c83b703d5c10b3ebe017a69da9b3d
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="患者名称" 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[]>([]) // 列表的数据