|
@@ -30,6 +30,12 @@
|
|
|
onClick: handleMove.bind(null, record),
|
|
|
},
|
|
|
{
|
|
|
+ label: '编辑',
|
|
|
+ disabled:!(record.status == 1 || record.status == -2),
|
|
|
+ ifShow:getTypeCheckPerm('scenes-edit') && tableType != 3,
|
|
|
+ onClick: handleEdit.bind(null, record),
|
|
|
+ },
|
|
|
+ {
|
|
|
label: '下载',
|
|
|
ifShow:getTypeCheckPerm('scenes-download') && tableType != 3,
|
|
|
disabled:!(record.status == 1 || (record.status == -2 && record.payStatus == 1)),
|
|
@@ -254,7 +260,7 @@
|
|
|
ifShow: true,
|
|
|
fixed: 'right',
|
|
|
flag: 'ACTION',
|
|
|
- width: 250,
|
|
|
+ width: 300,
|
|
|
},
|
|
|
];
|
|
|
const searchForm: Partial<FormProps> = {
|
|
@@ -423,6 +429,9 @@
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
+ function handleEdit(record: Recordable) {
|
|
|
+ window.open(record.thumbEdit);
|
|
|
+ }
|
|
|
function afterClose() {
|
|
|
clearInterval(timer.value);
|
|
|
timer.value = null;
|
|
@@ -446,6 +455,7 @@
|
|
|
handleDelete,
|
|
|
handleCopy,
|
|
|
handleMove,
|
|
|
+ handleEdit,
|
|
|
handleDownload,
|
|
|
handleReset,
|
|
|
tableType,
|