|
@@ -7,46 +7,11 @@
|
|
|
<el-button type="primary" @click="handleAdd()">新增</el-button>
|
|
|
</template>
|
|
|
<template #operate="scope">
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- link
|
|
|
- @click="handleEdit(scope.row.rentalCompanyId)"
|
|
|
- v-hasPermi="['business:rentalCompany:edit']"
|
|
|
- >
|
|
|
- 查看
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- link
|
|
|
- @click="handleEdit(scope.row.rentalCompanyId)"
|
|
|
- v-hasPermi="['business:rentalCompany:edit']"
|
|
|
- >
|
|
|
- 编辑
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- link
|
|
|
- @click="handleDelete(scope.row.rentalCompanyId)"
|
|
|
- v-hasPermi="['business:rentalCompany:remove']"
|
|
|
- >
|
|
|
- 删除
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- link
|
|
|
- @click="handleDelete(scope.row.rentalCompanyId)"
|
|
|
- v-hasPermi="['business:rentalCompany:remove']"
|
|
|
- >
|
|
|
- 启用
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- link
|
|
|
- @click="handleDelete(scope.row.rentalCompanyId)"
|
|
|
- v-hasPermi="['business:rentalCompany:remove']"
|
|
|
- >
|
|
|
- 废止
|
|
|
- </el-button>
|
|
|
+ <el-button type="primary" link @click="handleEdit(scope.row.rentalCompanyId)"> 查看 </el-button>
|
|
|
+ <el-button type="primary" link @click="handleEdit(scope.row.rentalCompanyId)"> 编辑 </el-button>
|
|
|
+ <el-button type="primary" link @click="handleDelete(scope.row.rentalCompanyId)"> 删除 </el-button>
|
|
|
+ <el-button type="primary" link @click="handleDelete(scope.row.rentalCompanyId)"> 启用 </el-button>
|
|
|
+ <el-button type="primary" link @click="handleDelete(scope.row.rentalCompanyId)"> 废止 </el-button>
|
|
|
</template>
|
|
|
</pageContent>
|
|
|
<pageDetail :modalConfig="detailConfig" ref="modalRef"> </pageDetail>
|
|
@@ -54,7 +19,6 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
-import { ComponentInternalInstance } from 'vue';
|
|
|
// import { useRouter } from 'vue-router';
|
|
|
import contentConfig from './config/content.config';
|
|
|
import pageContent from '@/components/components/pageContent.vue';
|