修改根据耳号查询
This commit is contained in:
parent
87c76ebdd3
commit
215785d622
@ -303,6 +303,7 @@ function reset() {
|
||||
id: null,
|
||||
treatId: null,
|
||||
sheepId: null,
|
||||
sheepNo: null,
|
||||
datetime: null,
|
||||
sheepType: null,
|
||||
gender: null,
|
||||
|
||||
@ -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`)
|
||||
}
|
||||
|
||||
/* ---------- 下拉数据 ---------- */
|
||||
|
||||
@ -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`)
|
||||
}
|
||||
|
||||
/* ------------------ 药品/处方/下拉 ------------------ */
|
||||
|
||||
@ -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`)
|
||||
}
|
||||
|
||||
/* ------------------ 药品/处方/下拉 ------------------ */
|
||||
|
||||
@ -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()
|
||||
|
||||
@ -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()
|
||||
|
||||
@ -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()
|
||||
|
||||
@ -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()
|
||||
|
||||
@ -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`)
|
||||
}
|
||||
|
||||
// 初始化:加载列表
|
||||
|
||||
@ -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`
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@ -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, {
|
||||
|
||||
@ -342,7 +342,7 @@ function handleExport() {
|
||||
proxy.download(
|
||||
'biosafety/usageInfo/export',
|
||||
{ ...queryParams.value },
|
||||
`usage_${new Date().getTime()}.xlsx`
|
||||
`药品使用记录_${new Date().getTime()}.xlsx`
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user