@@ -89,6 +89,7 @@
setFieldsValue(data);
}
async function handleConfirm() {
+ await validate();
createConfirm({
iconType: 'warning',
title: () => h('span', '温馨提示'),
@@ -125,6 +125,7 @@
field: 'monthQy',
component: 'Select',
label: '会员期限',
+ ifShow:false,
required: true,
defaultValue:1,
componentProps: {
@@ -204,6 +205,7 @@
@@ -15,6 +15,7 @@
:actions="[
{
label: '解绑',
+ color: 'error',
onClick: handleDelete.bind(null, record, 'edit'),
},
]"
@@ -167,13 +167,13 @@ import { truncate } from 'fs/promises';
- title: '是否生成obj场景',
- dataIndex: 'isObj ',
+ title: 'obj生成状态',
+ dataIndex: 'isObj',
ellipsis: true,
ifShow:isobj,
width: 180,
customRender: ({ record }) => {
- return record.isCopy == 0 ? '否' : '是';
+ return record.isObj == 0 ? '未生成' : record.isObj == 1 ? '已生成' :'计算中';
@@ -86,7 +86,7 @@
let status = {
0:'进行中',
- 1:'未开启',
+ 1:'进行中',
2:'已关闭',
return h('span', status[record.roomStatus] || '-')