wy
This commit is contained in:
@@ -18,16 +18,17 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
fieldName: 'totalPrice',
|
||||
label: '服务和预订总价格',
|
||||
},
|
||||
{
|
||||
component: 'Input',
|
||||
fieldName: 'searchValue',
|
||||
label: '搜索值',
|
||||
},
|
||||
];
|
||||
|
||||
// 需要使用i18n注意这里要改成getter形式 否则切换语言不会刷新
|
||||
// export const columns: () => VxeGridProps['columns'] = () => [
|
||||
export const columns: VxeGridProps['columns'] = [
|
||||
{ type: 'checkbox', width: 60 },
|
||||
{
|
||||
title: 'id',
|
||||
field: 'id',
|
||||
},
|
||||
{
|
||||
title: '服务id',
|
||||
field: 'ceremonialServeId',
|
||||
@@ -40,6 +41,10 @@ export const columns: VxeGridProps['columns'] = [
|
||||
title: '服务和预订总价格',
|
||||
field: 'totalPrice',
|
||||
},
|
||||
{
|
||||
title: '搜索值',
|
||||
field: 'searchValue',
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
fixed: 'right',
|
||||
@@ -63,15 +68,24 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
label: '服务id',
|
||||
fieldName: 'ceremonialServeId',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '预订id',
|
||||
fieldName: 'roomBookingId',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '服务和预订总价格',
|
||||
fieldName: 'totalPrice',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '搜索值',
|
||||
fieldName: 'searchValue',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
},
|
||||
];
|
||||
|
@@ -118,7 +118,7 @@ function handleMultiDelete() {
|
||||
}
|
||||
|
||||
function handleDownloadExcel() {
|
||||
commonDownloadExcel(ceremonialserveRoombookingExport, '服务订阅数据', tableApi.formApi.form.values, {
|
||||
commonDownloadExcel(ceremonialserveRoombookingExport, '会议预定数据', tableApi.formApi.form.values, {
|
||||
fieldMappingTime: formOptions.fieldMappingTime,
|
||||
});
|
||||
}
|
||||
@@ -126,7 +126,7 @@ function handleDownloadExcel() {
|
||||
|
||||
<template>
|
||||
<Page :auto-content-height="true">
|
||||
<BasicTable table-title="服务订阅列表">
|
||||
<BasicTable table-title="会议预定列表">
|
||||
<template #toolbar-tools>
|
||||
<Space>
|
||||
<a-button
|
||||
|
Reference in New Issue
Block a user