|
|
@ -2,7 +2,10 @@
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<BasicTable @register="registerTable">
|
|
|
|
<BasicTable @register="registerTable">
|
|
|
|
<template #tableTitle>
|
|
|
|
<template #tableTitle>
|
|
|
|
<div class="nav" @click="handleCreate"> <i class="iconfont icon-jiahao2fill"></i>添加 </div>
|
|
|
|
<a-button type="link" size="mini" @click="handleCreate">
|
|
|
|
|
|
|
|
<span class="iconfont icon-jiahao2fill"></span>
|
|
|
|
|
|
|
|
添加
|
|
|
|
|
|
|
|
</a-button>
|
|
|
|
<!-- <div class="nav" @click="Fnawait">
|
|
|
|
<!-- <div class="nav" @click="Fnawait">
|
|
|
|
<i
|
|
|
|
<i
|
|
|
|
class="iconfont icon-a-wendangcaozuoxiazaishangchuanshanchuxinzengfujianyasuochakan-01"
|
|
|
|
class="iconfont icon-a-wendangcaozuoxiazaishangchuanshanchuxinzengfujianyasuochakan-01"
|
|
|
@ -10,14 +13,27 @@
|
|
|
|
>导入
|
|
|
|
>导入
|
|
|
|
</div> -->
|
|
|
|
</div> -->
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<template #bodyCell="{ column, record }">
|
|
|
|
|
|
|
|
<template v-if="column.key === 'action'">
|
|
|
|
|
|
|
|
<TableAction
|
|
|
|
|
|
|
|
:actions="[
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
icon: 'clarity:note-edit-line',
|
|
|
|
|
|
|
|
tooltip: '编辑',
|
|
|
|
|
|
|
|
onClick: handleAudit.bind(null, record),
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
]"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
</BasicTable>
|
|
|
|
</BasicTable>
|
|
|
|
<TenantAuditStepModal @register="registerModal" @success="handleSuccess" />
|
|
|
|
<TenantAuditStepModal @register="registerModal" @success="handleSuccess" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import { ref } from 'vue'
|
|
|
|
import { ref } from 'vue'
|
|
|
|
import { BasicTable, useTable } from '/@/components/Table'
|
|
|
|
import { BasicTable, useTable, TableAction } from '/@/components/Table'
|
|
|
|
import { ApiList, ApiImport } from './api'
|
|
|
|
import { ApiList } from './api'
|
|
|
|
import { useModal } from '/@/components/Modal'
|
|
|
|
import { useModal } from '/@/components/Modal'
|
|
|
|
import TenantAuditStepModal from './TenantAuditStepModal.vue'
|
|
|
|
import TenantAuditStepModal from './TenantAuditStepModal.vue'
|
|
|
|
import { columns, searchFormSchema } from './columns'
|
|
|
|
import { columns, searchFormSchema } from './columns'
|
|
|
@ -78,6 +94,12 @@
|
|
|
|
isUpdate: false,
|
|
|
|
isUpdate: false,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function handleAudit(record: Recordable) {
|
|
|
|
|
|
|
|
openModal(true, {
|
|
|
|
|
|
|
|
record,
|
|
|
|
|
|
|
|
isUpdate: true,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
function Fnawait() {
|
|
|
|
function Fnawait() {
|
|
|
|
notification.warning({ message: '等待开发', duration: 3 })
|
|
|
|
notification.warning({ message: '等待开发', duration: 3 })
|
|
|
|
}
|
|
|
|
}
|
|
|
|