修改根据耳号查询

This commit is contained in:
piaobo 2025-08-26 17:04:07 +08:00
parent 87c76ebdd3
commit 215785d622
12 changed files with 13 additions and 12 deletions

View File

@ -303,6 +303,7 @@ function reset() {
id: null,
treatId: null,
sheepId: null,
sheepNo: null,
datetime: null,
sheepType: null,
gender: null,

View File

@ -471,7 +471,7 @@ function handleDelete(row) {
}
function handleExport() {
proxy.download('biosafety/disinfect/export', { ...queryParams }, `disinfect_${Date.now()}.xlsx`)
proxy.download('biosafety/disinfect/export', { ...queryParams }, `消毒_${Date.now()}.xlsx`)
}
/* ---------- 下拉数据 ---------- */

View File

@ -490,7 +490,7 @@ function handleDelete(row) {
}
function handleExport() {
proxy.download('biosafety/deworm/export', { ...queryParams }, `deworm_${Date.now()}.xlsx`)
proxy.download('biosafety/health/export', { ...queryParams }, `保健_${Date.now()}.xlsx`)
}
/* ------------------ 药品/处方/下拉 ------------------ */

View File

@ -489,7 +489,7 @@ function handleDelete(row) {
}
function handleExport() {
proxy.download('biosafety/deworm/export', { ...queryParams }, `deworm_${Date.now()}.xlsx`)
proxy.download('biosafety/immunity/export', { ...queryParams }, `免疫_${Date.now()}.xlsx`)
}
/* ------------------ 药品/处方/下拉 ------------------ */

View File

@ -238,7 +238,7 @@ function handleDelete(row) {
}
function handleExport() {
proxy.download('system/medicine/export', { ...queryParams.value }, `medicine_${new Date().getTime()}.xlsx`)
proxy.download('system/medicine/export', { ...queryParams.value }, `药品_${new Date().getTime()}.xlsx`)
}
getList()

View File

@ -220,7 +220,7 @@ function handleDelete(row) {
function handleExport() {
proxy.download('biosafety/type/export', {
...queryParams.value
}, `type_${new Date().getTime()}.xlsx`)
}, `药品类型_${new Date().getTime()}.xlsx`)
}
getList()

View File

@ -180,7 +180,7 @@ function handleDelete(row) {
function handleExport() {
proxy.download('biosafety/unit/export', {
...queryParams.value
}, `unit_${new Date().getTime()}.xlsx`)
}, `药品计量单位_${new Date().getTime()}.xlsx`)
}
getList()

View File

@ -220,7 +220,7 @@ function handleDelete(row) {
function handleExport() {
proxy.download('biosafety/usage/export', {
...queryParams.value
}, `usage_${new Date().getTime()}.xlsx`)
}, `药品使用方法_${new Date().getTime()}.xlsx`)
}
getList()

View File

@ -504,7 +504,7 @@ function cancel() {
* 调用后端通用导出接口文件名带时间戳
*/
function handleExport() {
proxy.download('biosafety/prescription/export', { ...queryParams.value }, `prescription_${Date.now()}.xlsx`)
proxy.download('biosafety/prescription/export', { ...queryParams.value }, `处方_${Date.now()}.xlsx`)
}
//

View File

@ -527,9 +527,9 @@ function handleDelete(row) {
/* 导出 */
function handleExport() {
proxy.download(
'bisosafety/quarantine/export',
'/biosafety/quarantine/export',
queryParams,
`quarantine_${Date.now()}.xlsx`
`检疫_${Date.now()}.xlsx`
)
}

View File

@ -729,7 +729,7 @@ function handleDelete(row) {
.then(() => { getList(); proxy.$modal.msgSuccess('删除成功') })
}
function handleExport() {
proxy.download('treatment/treatment/export', { ...queryParams }, `treatment_${Date.now()}.xlsx`)
proxy.download('treatment/treatment/export', { ...queryParams }, `治疗记录_${Date.now()}.xlsx`)
}
function resetForm(formObj) {
Object.assign(formObj, {

View File

@ -342,7 +342,7 @@ function handleExport() {
proxy.download(
'biosafety/usageInfo/export',
{ ...queryParams.value },
`usage_${new Date().getTime()}.xlsx`
`药品使用记录_${new Date().getTime()}.xlsx`
)
}