新增羊只时的羊只类型,各页面导出功能需求,改品种功能的原品种回显需求,完成
This commit is contained in:
@@ -500,11 +500,16 @@ function handleDelete(row) {
|
||||
|
||||
/** 导出按钮操作 */
|
||||
function handleExport() {
|
||||
proxy.download('sperm/sperm/export', {
|
||||
...queryParams.value
|
||||
}, `sperm_${new Date().getTime()}.xlsx`)
|
||||
queryParams.value.ids = ids.value;
|
||||
|
||||
try {
|
||||
proxy.download('sperm/sperm/export', {
|
||||
...queryParams.value
|
||||
}, `冻精记录${Date.now()}.xlsx`);
|
||||
} finally {
|
||||
queryParams.value.ids = null;
|
||||
}
|
||||
}
|
||||
|
||||
// 废弃
|
||||
function handleDiscard() {
|
||||
if (!ids.value.length) return proxy.$modal.msgWarning('请选择记录')
|
||||
|
||||
Reference in New Issue
Block a user