函数优化

This commit is contained in:
13218645326 2023-12-08 17:33:41 +08:00
parent 0e42dbf6c1
commit eb07ba7eab
2 changed files with 2 additions and 9 deletions

7
components.d.ts vendored
View File

@ -8,16 +8,11 @@ export {}
declare module 'vue' {
export interface GlobalComponents {
ElButton: typeof import('element-plus/es')['ElButton']
ElCarousel: typeof import('element-plus/es')['ElCarousel']
ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
ElCascader: typeof import('element-plus/es')['ElCascader']
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
ElCol: typeof import('element-plus/es')['ElCol']
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
ElDialog: typeof import('element-plus/es')['ElDialog']
ElDivider: typeof import('element-plus/es')['ElDivider']
ElEmpty: typeof import('element-plus/es')['ElEmpty']
ElForm: typeof import('element-plus/es')['ElForm']
ElFormItem: typeof import('element-plus/es')['ElFormItem']
ElIcon: typeof import('element-plus/es')['ElIcon']
@ -29,8 +24,6 @@ declare module 'vue' {
ElPageHeader: typeof import('element-plus/es')['ElPageHeader']
ElPagination: typeof import('element-plus/es')['ElPagination']
ElProgress: typeof import('element-plus/es')['ElProgress']
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
ElRow: typeof import('element-plus/es')['ElRow']
ElSelect: typeof import('element-plus/es')['ElSelect']
ElTable: typeof import('element-plus/es')['ElTable']

View File

@ -118,12 +118,12 @@
</el-table-column>
<el-table-column align="center" prop="name" label="操作" width="320px">
<template #default="scope">
<el-button size="small" type="primary" @click="clickPreviewDetails">查看</el-button>
<el-button size="small" type="primary" @click="clickPreviewDetails(scope.row)">查看</el-button>
<el-button size="small" type="danger" @click="clickRentingTermination">
退租
</el-button>
<el-button size="small" type="warning" @click="clickRenewalOfLease">续租</el-button>
<el-button size="small" type="success" @click="clickConfirmReceipt">
<el-button size="small" type="success" @click="clickConfirmReceipt(scope.row)" >
确认收货
</el-button>
</template>