frame-financialTax-yjl-1127
sunzehua 1 week ago
commit 904b6b2bee

@ -76,8 +76,9 @@
<style lang="less"> <style lang="less">
@prefix-cls: ~'@{namespace}-ds-table-button'; @prefix-cls: ~'@{namespace}-ds-table-button';
.@{prefix-cls} { .@{prefix-cls} {
display: flex;
height: 32px; height: 32px;
padding-top: 3px; align-items: center;
&-svg-btn { &-svg-btn {
background: #F0F2F5; background: #F0F2F5;
display: inline-block; display: inline-block;
@ -93,9 +94,9 @@
margin-right: 8px; margin-right: 8px;
padding: 7px; padding: 7px;
cursor: pointer; cursor: pointer;
position: relative;
top: -8.2px;
color: #121826; color: #121826;
height: 26px;
line-height: 12px;
} }
.iconfont::before { .iconfont::before {
color: @primary-color; color: @primary-color;

@ -1,22 +1,13 @@
<template> <template>
<div> <div class="p20">
<BasicTable class="ds-table" @register="registerTable" @row-dbClick="handleAudit"> <BasicTable class="ds-table" @register="registerTable" @row-dbClick="handleAudit">
<template #tableTitle> <template #tableTitle>
<a-button type="link" @click="handleCreate" :disabled="checkPermissions('op:factory:add')"> <TableButton
<span class="iconfont icon-new_document"></span> :show="{ add: 'op:factory:add', del: 'op:factory:del' }"
添加 @add="handleCreate"
</a-button> @del="handleDel"
<a-popconfirm
title="确定要删除勾选的数据?"
ok-text="确定"
cancel-text="取消"
@confirm="handleDel"
:disabled="checkPermissions('op:factory:del')"
> >
<a-button type="link" :disabled="checkPermissions('op:factory:del')"> </TableButton>
<span class="iconfont icon-shanchu2"></span> 删除
</a-button>
</a-popconfirm>
</template> </template>
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'"> <template v-if="column.key === 'action'">
@ -46,7 +37,7 @@
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'
const { notification } = useMessage() const { notification } = useMessage()
const [registerModal, { openModal }] = useModal() const [registerModal, { openModal }] = useModal()
const [registerTable, { reload, getForm, getSelectRows }] = useTable({ const [registerTable, { reload, getForm, getVxeSelectRows }] = useTable({
title: '', title: '',
api: async (p) => { api: async (p) => {
const res: API.DataResult = await ApiList(p) const res: API.DataResult = await ApiList(p)
@ -117,11 +108,11 @@
}) })
} }
function handleDel() { function handleDel() {
if (getSelectRows().length) { if (getVxeSelectRows().length) {
let Apidata: any = { let Apidata: any = {
ids: [], ids: [],
} }
getSelectRows().forEach((item) => { getVxeSelectRows().forEach((item) => {
Apidata.ids.push(item.id) Apidata.ids.push(item.id)
}) })
ApiDel(Apidata).then((res) => { ApiDel(Apidata).then((res) => {

@ -1,41 +1,13 @@
<template> <template>
<div> <div class="p20">
<BasicTable class="ds-table" @register="registerTable" @row-dbClick="handleAudit"> <BasicTable class="ds-table" @register="registerTable" @row-dbClick="handleAudit">
<template #tableTitle> <template #tableTitle>
<div class="tableTitleBox"> <TableButton
<a-tooltip placement="top" :mouseEnterDelay="0.5"> :show="{ add: 'op:infoclient:add', del: null }"
<template #title> @add="handleCreate"
<span>新建</span> @del="handleDel"
</template> >
<span class="ds-action-svg-btn"> </TableButton>
<a-button
v-repeat
type="link"
@click="handleCreate"
:disabled="checkPermissions('op:infoclient:add')"
>
<img src="../../../assets/svg/infoclient/xinjian.svg" class="SvgImg" />
</a-button>
</span>
</a-tooltip>
<a-tooltip placement="top" :mouseEnterDelay="0.5">
<template #title>
<span>删除</span>
</template>
<span class="ds-action-svg-btn">
<a-popconfirm
title="确定删除当前选中数据?"
ok-text="是"
cancel-text="否"
@confirm="handleDel"
>
<a-button v-repeat type="link">
<img src="../../../assets/svg/infoclient/shanchu.svg" class="SvgImg" />
</a-button>
</a-popconfirm>
</span>
</a-tooltip>
</div>
</template> </template>
<template v-slot:bodyCell="{ column, record }"> <template v-slot:bodyCell="{ column, record }">
<!-- 审批状态 --> <!-- 审批状态 -->
@ -85,26 +57,12 @@
{{ FnRdefaultContact_jobs(record) }} {{ FnRdefaultContact_jobs(record) }}
</template> </template>
</template> </template>
<template v-slot:tableAction="{ record }">
<a-tooltip placement="top" :mouseEnterDelay="0.5">
<template #title>
<span>编辑</span>
</template>
<a-button
:disabled="checkPermissions('op:infoclient:edit')"
type="link"
@click="handleAudit(record)"
>
<span class="iconfont icon-icon_519"></span>
</a-button>
</a-tooltip>
</template>
</BasicTable> </BasicTable>
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { checkPermissions } from '/@/hooks/Permissions/index' import { checkPermissions } from '/@/hooks/Permissions/index'
import { BasicTable, useTable, TableAction } from '/@/components/Table' import { BasicTable, useTable } from '/@/components/Table'
import { getCodeGoodsTypeList, Delete, ApiGetUsage, GetSupplierList } from './api' import { getCodeGoodsTypeList, Delete, ApiGetUsage, GetSupplierList } from './api'
import { formatParams } from '/@/hooks/web/common' import { formatParams } from '/@/hooks/web/common'
import { import {
@ -118,7 +76,6 @@
ClientSourceList, ClientSourceList,
ClientFrtList, ClientFrtList,
Jobres, Jobres,
formSchema,
} from './columns' } from './columns'
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'
const { notification } = useMessage() const { notification } = useMessage()
@ -128,8 +85,6 @@
const route = useRoute() const route = useRoute()
import { useAppStore } from '/@/store/modules/app' import { useAppStore } from '/@/store/modules/app'
import dayjs from 'dayjs' import dayjs from 'dayjs'
//
const tbHeight = window.innerHeight - 250
const appStore = useAppStore() const appStore = useAppStore()
function FnRdefaultContact_jobs(record) { function FnRdefaultContact_jobs(record) {
let RData = '-' let RData = '-'
@ -144,10 +99,10 @@
} }
return RData return RData
} }
const [registerTable, { reload, getForm, getVxeSelectRows }] = useTable({ const [registerTable, { reload, getVxeSelectRows }] = useTable({
title: '', title: '',
api: async (p) => { api: async (p) => {
var res = null var res: any = null
if (route.path == '/Supplierinfoclient') { if (route.path == '/Supplierinfoclient') {
// //
res = await GetSupplierList(p) res = await GetSupplierList(p)
@ -191,7 +146,7 @@
}) })
}, },
beforeFetch: (p) => { beforeFetch: (p) => {
const otherParams = [] const otherParams: any = []
if (route.path == '/Customerinfoclient') { if (route.path == '/Customerinfoclient') {
p.isCustomer = 1 p.isCustomer = 1
otherParams.push({ otherParams.push({
@ -232,25 +187,14 @@
useSearchForm: true, useSearchForm: true,
showTableSetting: true, showTableSetting: true,
bordered: true, bordered: true,
showIndexColumn: false, showIndexColumn: true,
indexColumnProps: {
width: 60,
},
canResize: true, canResize: true,
resizeHeightOffset: 15,
autoHeight: tbHeight,
immediate: true, immediate: true,
resizeHeightOffset: 45,
tableComponent: 'vxe', tableComponent: 'vxe',
actionColumn: { id: '0',
width: 60, autoHeight: window.innerHeight - 330.5,
title: '操作',
dataIndex: 'action',
fixed: 'right',
},
}) })
function handleSuccess() {
reload()
}
function handleCreate() { function handleCreate() {
const addNum = Math.round(Math.random() * 1000) const addNum = Math.round(Math.random() * 1000)
go(`${route.fullPath}Detail?addNum=${addNum}`) go(`${route.fullPath}Detail?addNum=${addNum}`)
@ -268,7 +212,7 @@
}) })
if (ids.length) { if (ids.length) {
let NoUsageIds = [] let NoUsageIds: any = []
let type = true let type = true
let res: any = await ApiGetUsage({ ids }) let res: any = await ApiGetUsage({ ids })
if (res.succeeded) { if (res.succeeded) {

@ -1,15 +1,11 @@
<template> <template>
<div> <div class="p20">
<BasicTable class="ds-table" @register="registerTable"> <BasicTable class="ds-table" @register="registerTable">
<template #tableTitle> <template #tableTitle>
<a-button type="link" @click="FnAudit(1)"> <TableButton :show="{ add: false, del: false }">
<span class="iconfont icon-new_document"></span> <span class="iconfont icon-new_document" @click="FnAudit(1)"> </span>
审核 <span class="iconfont icon-new_document" @click="FnAudit(2)"> </span>
</a-button> </TableButton>
<a-button type="link" @click="FnAudit(2)">
<span class="iconfont icon-new_document"></span>
驳回
</a-button>
</template> </template>
</BasicTable> </BasicTable>
<a-modal <a-modal
@ -25,7 +21,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref } from 'vue' import { ref } from 'vue'
import { BasicTable, useTable, TableAction } from '/@/components/Table' import { BasicTable, useTable } from '/@/components/Table'
import { ApiList, ApiAudit } from './api' import { ApiList, ApiAudit } from './api'
import { columns, searchFormSchema } from './columns' import { columns, searchFormSchema } from './columns'
import { formatParams } from '/@/hooks/web/common' import { formatParams } from '/@/hooks/web/common'
@ -33,7 +29,7 @@
const { notification } = useMessage() const { notification } = useMessage()
const visible = ref(false) const visible = ref(false)
const remark = ref('') const remark = ref('')
const [registerTable, { reload, getForm, getSelectRows }] = useTable({ const [registerTable, { reload, getVxeSelectRows }] = useTable({
title: '', title: '',
api: async (p) => { api: async (p) => {
const res: API.DataResult = await ApiList(p) const res: API.DataResult = await ApiList(p)
@ -45,7 +41,6 @@
p['auditStatus'] = 0 p['auditStatus'] = 0
return formatParams(p) return formatParams(p)
}, },
rowSelection: { type: 'checkbox' },
columns, columns,
formConfig: { formConfig: {
labelWidth: 120, labelWidth: 120,
@ -55,19 +50,18 @@
pagination: true, pagination: true,
striped: true, striped: true,
useSearchForm: true, useSearchForm: true,
showTableSetting: false, showTableSetting: true,
bordered: true, bordered: true,
showIndexColumn: true,
indexColumnProps: {
width: 60,
},
canResize: true, canResize: true,
resizeHeightOffset: 35,
immediate: true, immediate: true,
resizeHeightOffset: 45,
tableComponent: 'vxe',
id: '0',
autoHeight: window.innerHeight - 330.5,
}) })
function FnAudit(result) { function FnAudit(result) {
let Audit = () => { let Audit = () => {
const select = getSelectRows() const select = getVxeSelectRows()
let ApiData: any = { let ApiData: any = {
ids: [], ids: [],
result, result,
@ -77,7 +71,7 @@
notification.warning({ message: '请至少选择一条数据', duration: 3 }) notification.warning({ message: '请至少选择一条数据', duration: 3 })
return false return false
} else { } else {
ApiData.ids = select.map((item) => { ApiData.ids = select.map((item: any) => {
return item.id return item.id
}) })
} }

@ -5,7 +5,32 @@
--> -->
<template> <template>
<div class="ds-table-action-bar"> <div class="ds-table-action-bar">
<a-button type="link" @click="addBooking"> <TableButton
:show="{ add: null, del: null, copy: null}"
@add="addBooking"
@del="removeMoreFun"
@copy="copyBookingMore"
>
<a-dropdown>
<span class="iconfont icon-piliangbianji">{{ eLoading ? '正在导出' : '批量操作' }}</span>
<template #overlay>
<a-menu>
<a-menu-item>
<a @click="batchEditing()" href="javascript:;">批量编辑</a>
</a-menu-item>
<a-menu-item>
<a @click="batchSubmit" href="javascript:;">批量提交</a>
</a-menu-item>
<a-menu-item>
<a @click="exportExcel" href="javascript:;">批量导出</a>
</a-menu-item>
</a-menu>
</template>
</a-dropdown>
<span class="iconfont icon-a-xiaopiaofapiao-01" @click="openYz"></span>
<!-- <span class="iconfont icon-piliangdaochu-danse" @click="importFlow"></span> -->
</TableButton>
<!-- <a-button type="link" @click="addBooking">
<span class="iconfont icon-new_document"></span> <span class="iconfont icon-new_document"></span>
新建 新建
</a-button> </a-button>
@ -14,24 +39,20 @@
<span class="iconfont icon-shanchu1"></span> <span class="iconfont icon-shanchu1"></span>
删除 删除
</a-button> </a-button>
</a-popconfirm> </a-popconfirm> -->
<slot></slot> <slot></slot>
<a-button :loading="eLoading" type="link" @click="exportExcel"> <!-- <a-button :loading="eLoading" type="link" @click="exportExcel">
<span class="iconfont" :class="{ 'icon-tidanqianchu': !eLoading }"></span> <span class="iconfont" :class="{ 'icon-tidanqianchu': !eLoading }"></span>
{{ eLoading ? '正在导出' : '批量导出' }} {{ eLoading ? '正在导出' : '批量导出' }}
</a-button> </a-button> -->
<a-button type="link" @click="test"> <!-- <a-button type="link" @click="test">
<span class="iconfont icon-time"></span> <span class="iconfont icon-time"></span>
定时订舱 定时订舱
</a-button> </a-button>
<a-button type="link" @click="test"> <a-button type="link" @click="test">
<span class="iconfont icon-a-xiaopiaofapiao-01"></span> <span class="iconfont icon-a-xiaopiaofapiao-01"></span>
小票状态 小票状态
</a-button> </a-button> -->
<a-button type="link" @click="openYz">
<span class="iconfont icon-a-xiaopiaofapiao-01"></span>
运踪订阅
</a-button>
<a-modal title="输入复制数量" :visible="copyMoreFlag" :footer="null" @cancel="copyMoreFlag = false"> <a-modal title="输入复制数量" :visible="copyMoreFlag" :footer="null" @cancel="copyMoreFlag = false">
<a-form ref="RefcopyMoreForm" :model="copyMoreForm" :label-col="{ span: 5 }" :wrapper-col="{ span: 12 }" <a-form ref="RefcopyMoreForm" :model="copyMoreForm" :label-col="{ span: 5 }" :wrapper-col="{ span: 12 }"
@submit="handleSubmitCopyMore" :style="{ padding: '10px' }"> @submit="handleSubmitCopyMore" :style="{ padding: '10px' }">
@ -67,7 +88,7 @@ import { useGo } from '/@/hooks/web/usePage'
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'
import { useRouter } from 'vue-router' import { useRouter } from 'vue-router'
import { useModal } from '/@/components/Modal' import { useModal } from '/@/components/Modal'
import { SeaExportBatchDel, SaveBookingTxxp, CommonExcelExport,SendTrace } from '../api/BookingLedger.js' import { SeaExportBatchDel, SaveBookingTxxp, CommonExcelExport,SendTrace, CreateMultipleTask } from '../api/BookingLedger.js'
import BatchModification from '../modules/BatchModification.vue' import BatchModification from '../modules/BatchModification.vue'
const router = useRouter() const router = useRouter()
const { createMessage } = useMessage() const { createMessage } = useMessage()
@ -80,10 +101,7 @@ const props = defineProps({
type: Function, type: Function,
}, },
columns: { columns: {
type: Array, type: Function
default: () => {
return []
},
}, },
queryData: { queryData: {
type: Object, type: Object,
@ -95,6 +113,18 @@ function addBooking() {
const addNum = Math.round(Math.random() * 1000) const addNum = Math.round(Math.random() * 1000)
go(`/BookingDetail?addNum=${addNum}`) go(`/BookingDetail?addNum=${addNum}`)
} }
//
function copyBookingMore() {
const select = props.selectRow()
const pkIdArr = select.map((item, index) => {
return item.id
})
if (pkIdArr.length === 0 || pkIdArr.length > 1) {
createMessage.warning('请选择一条数据进行复制!')
return false
}
go(`/BookingDetail?id=${pkIdArr[0]}&source=copy`)
}
const copyMoreFlag = ref(false) const copyMoreFlag = ref(false)
const copyMoreForm = reactive({ const copyMoreForm = reactive({
number: 1, number: 1,
@ -116,6 +146,21 @@ function batchEditing() {
batchFlag.value = true batchFlag.value = true
openModal(true, { removeArr, flag: true }) openModal(true, { removeArr, flag: true })
} }
//
const batchSubmit = () => {
const select = props.selectRow()
if (select.length === 0) {
createMessage.warning('请选择操作订单!')
return false
}
const ids = select.map(item => {
return item.id
})
CreateMultipleTask({ ids, businessType: '1', taskTypeName: 'WAIT_ORDER_AUDIT' }).then(res => {
createMessage.success(res.message)
props.reload()
})
}
function BMSuccess() { function BMSuccess() {
props.reload() props.reload()
} }
@ -137,7 +182,7 @@ const exportExcel = () => {
const postData = { const postData = {
url: 'http://118.190.144.189:3008/opApi/SeaExport/GetSeaExportList', url: 'http://118.190.144.189:3008/opApi/SeaExport/GetSeaExportList',
queryRequest: props.queryData, queryRequest: props.queryData,
columnSets: props.columns, columnSets: props.columns(),
} }
postData.queryRequest.pageCondition['isExport'] = true postData.queryRequest.pageCondition['isExport'] = true
eLoading.value = true eLoading.value = true

@ -5,10 +5,6 @@
--> -->
<template> <template>
<div class="ds-table-action-bar"> <div class="ds-table-action-bar">
<a-button type="link" @click="copyBookingMore">
<span class="iconfont icon-fuzhi11"></span>
复制
</a-button>
<a-dropdown> <a-dropdown>
<a-button type="link"> <a-button type="link">
<span class="iconfont icon-piliangbianji"></span> <span class="iconfont icon-piliangbianji"></span>
@ -25,7 +21,7 @@
</a-menu> </a-menu>
</template> </template>
</a-dropdown> </a-dropdown>
<a-modal <!-- <a-modal
class="ds-modal-small" class="ds-modal-small"
title="输入复制数量" title="输入复制数量"
:visible="copyMoreFlag" :visible="copyMoreFlag"
@ -52,21 +48,19 @@
<a-button type="primary" html-type="submit">确定</a-button> <a-button type="primary" html-type="submit">确定</a-button>
</div> </div>
</a-form> </a-form>
</a-modal> </a-modal> -->
<BatchModification @register="registerModal" @success="BMSuccess" /> <BatchModification @register="registerModal" @success="BMSuccess" />
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, reactive } from 'vue' import { ref, reactive } from 'vue'
import { useGo } from '/@/hooks/web/usePage' // import { useGo } from '/@/hooks/web/usePage'
import { useMessage } from '/@/hooks/web/useMessage' import { useMessage } from '/@/hooks/web/useMessage'
import { useRouter } from 'vue-router'
import { useModal } from '/@/components/Modal' import { useModal } from '/@/components/Modal'
import { SeaExportBatchDel, SaveBookingTxxp, SeaExportCopy, CreateMultipleTask } from '../api/BookingLedger.js' import { SeaExportBatchDel, SaveBookingTxxp, SeaExportCopy, CreateMultipleTask } from '../api/BookingLedger.js'
import BatchModification from '../modules/BatchModification.vue' import BatchModification from '../modules/BatchModification.vue'
const router = useRouter()
const { createMessage } = useMessage() const { createMessage } = useMessage()
const go = useGo() // const go = useGo()
const props = defineProps({ const props = defineProps({
selectRow: { selectRow: {
type: Function, type: Function,
@ -75,41 +69,24 @@
type: Function, type: Function,
}, },
}) })
// // const copyMoreFlag = ref(false)
function addBooking() { // const copyMoreForm = reactive({
const addNum = Math.round(Math.random() * 1000) // number: 1,
go(`/BookingDetail?addNum=${addNum}`) // })
} // function handleSubmitCopyMore() {
const copyMoreFlag = ref(false) // const select = props.selectRow()
const copyMoreForm = reactive({ // if (copyMoreForm.number === 1) {
number: 1, // go(`/BookingDetail?id=${select[0].id}&source=copy`)
}) // copyMoreFlag.value = false
// // return
function copyBookingMore() { // }
const select = props.selectRow() // for (var i = 0; i < copyMoreForm.number; i++) {
const pkIdArr = select.map((item, index) => { // SeaExportCopy({ id: select[0].id }).then(res => {
return item.id // props.reload()
}) // })
if (pkIdArr.length === 0 || pkIdArr.length > 1) { // }
createMessage.warning('请选择一条数据进行复制!') // copyMoreFlag.value = false
return false // }
}
go(`/BookingDetail?id=${pkIdArr[0]}&source=copy`)
}
function handleSubmitCopyMore() {
const select = props.selectRow()
if (copyMoreForm.number === 1) {
go(`/BookingDetail?id=${select[0].id}&source=copy`)
copyMoreFlag.value = false
return
}
for (var i = 0; i < copyMoreForm.number; i++) {
SeaExportCopy({ id: select[0].id }).then(res => {
props.reload()
})
}
copyMoreFlag.value = false
}
// //
const [registerModal, { openModal }] = useModal() const [registerModal, { openModal }] = useModal()
// //
@ -130,23 +107,7 @@
function BMSuccess() { function BMSuccess() {
props.reload() props.reload()
} }
//
function deleteBookingOrder(arr) {
let api = []
arr.forEach((e, i) => {
api.push(e)
})
SeaExportBatchDel({ ids: api })
.then((res) => {
if (res.succeeded) {
createMessage.success('删除成功!')
props.reload()
}
})
.catch((err) => {
console.log(err)
})
}
const xGrid = ref() const xGrid = ref()
const txxpForm = ref({}) const txxpForm = ref({})
// //

@ -3,12 +3,9 @@
<div class="ds-table"> <div class="ds-table">
<BasicTable @register="registerTable" @rowDbClick="handledbclick"> <BasicTable @register="registerTable" @rowDbClick="handledbclick">
<template #tableTitle> <template #tableTitle>
<div> <TableActionBar :selectRow="getVxeSelectRows" :reload="reload" :columns="getColumns" :queryData="queryData">
<TableActionBar :selectRow="getVxeSelectRows" :reload="reload"> <!-- <tableActionBarRight :selectRow="getVxeSelectRows" :reload="reload"></tableActionBarRight> -->
<tableActionBarRight :selectRow="getVxeSelectRows" :reload="reload"></tableActionBarRight> </TableActionBar>
<Divider type="vertical" style="margin-top: 11px; background-color: #CED5D9;" />
</TableActionBar>
</div>
</template> </template>
<template v-slot:bodyCell="{ column, record }"> <template v-slot:bodyCell="{ column, record }">
<!-- 订单状态 --> <!-- 订单状态 -->
@ -316,7 +313,7 @@
import { ref, defineAsyncComponent, onActivated } from 'vue' import { ref, defineAsyncComponent, onActivated } from 'vue'
const TableActionBar = defineAsyncComponent(() => import("./components/tableActionBar.vue")) const TableActionBar = defineAsyncComponent(() => import("./components/tableActionBar.vue"))
import { CheckCircleFilled, CloseCircleFilled, RedoOutlined } from '@ant-design/icons-vue' import { CheckCircleFilled, CloseCircleFilled, RedoOutlined } from '@ant-design/icons-vue'
const tableActionBarRight = defineAsyncComponent(() => import("./components/tableActionBarRight.vue")) // const tableActionBarRight = defineAsyncComponent(() => import("./components/tableActionBarRight.vue"))
import { BasicTable, useTable } from '/@/components/Table' import { BasicTable, useTable } from '/@/components/Table'
import { PageDataByBooking, GetWebData } from './api/BookingLedger.js' import { PageDataByBooking, GetWebData } from './api/BookingLedger.js'
import { Divider } from 'ant-design-vue' import { Divider } from 'ant-design-vue'
@ -424,11 +421,14 @@ const calcColumns = [
] ]
// //
const fieldFlag = ref(true) const fieldFlag = ref(true)
//
const queryData = ref(null)
// //
const calcData = ref([{}]) const calcData = ref([{}])
const [registerTable, { reload, getVxeSelectRows, setLoading }] = useTable({ const [registerTable, { reload, getVxeSelectRows, setLoading, getColumns }] = useTable({
title: '', title: '',
api: async (p) => { api: async (p) => {
queryData.value = p
const res: API.DataResult = await PageDataByBooking(p) const res: API.DataResult = await PageDataByBooking(p)
calcData.value = [res.data?.dataTotal] calcData.value = [res.data?.dataTotal]
return new Promise((resolve) => { return new Promise((resolve) => {

@ -1966,13 +1966,3 @@ function handleClickTree(row, index) {
padding: 0px !important; padding: 0px !important;
} }
</style> </style>
<style lang="less">
.ds-task-manager {
.vben-ds-table-button {
position: relative;
top: 10px!important;
left: -7px;
}
}
</style>
Loading…
Cancel
Save