feat:工单池添加上报类型
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
@@ -17,6 +17,7 @@ import {
|
||||
taskDetailExport,
|
||||
taskDetailList
|
||||
} from "#/api/property/inspectionManagement/inspectionDetail";
|
||||
import detailModal from './detail.vue'
|
||||
|
||||
const formOptions: VbenFormProps = {
|
||||
commonConfig: {
|
||||
@@ -67,8 +68,12 @@ const [BasicTable, tableApi] = useVbenVxeGrid({
|
||||
gridOptions,
|
||||
});
|
||||
|
||||
const [InspectionDetailsModal, modalApi] = useVbenModal({
|
||||
connectedComponent: inspectionDetailsModal,
|
||||
// const [InspectionDetailsModal, modalApi] = useVbenModal({
|
||||
// connectedComponent: inspectionDetailsModal,
|
||||
// });
|
||||
|
||||
const [DetailModal, detailApi] = useVbenModal({
|
||||
connectedComponent: detailModal,
|
||||
});
|
||||
|
||||
async function handInfo(row: Required<InspectionTaskForm>) {
|
||||
@@ -97,17 +102,18 @@ function handleDownloadExcel() {
|
||||
|
||||
</Space>
|
||||
</template>
|
||||
<!-- <template #action="{ row }">-->
|
||||
<!-- <Space>-->
|
||||
<!-- <ghost-button-->
|
||||
<!-- v-access:code="['property:inspectionTask:info']"-->
|
||||
<!-- @click.stop="handInfo(row)"-->
|
||||
<!-- >-->
|
||||
<!-- {{ $t('pages.common.info') }}-->
|
||||
<!-- </ghost-button>-->
|
||||
<!-- </Space>-->
|
||||
<!-- </template>-->
|
||||
<template #action="{ row }">
|
||||
<Space>
|
||||
<ghost-button
|
||||
v-access:code="['property:inspectionTask:info']"
|
||||
@click.stop="handInfo(row)"
|
||||
>
|
||||
{{ $t('pages.common.info') }}
|
||||
</ghost-button>
|
||||
</Space>
|
||||
</template>
|
||||
</BasicTable>
|
||||
<InspectionDetailsModal @reload="tableApi.query()"/>
|
||||
<DetailModal></DetailModal>
|
||||
<!-- <InspectionDetailsModal @reload="tableApi.query()"/>-->
|
||||
</Page>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user