This commit is contained in:
parent
721482102c
commit
2978e8ab90
|
|
@ -1230,10 +1230,10 @@ export default {
|
||||||
async downloadTemplate() {
|
async downloadTemplate() {
|
||||||
try {
|
try {
|
||||||
// 使用统一的下载方法,确保路径正确
|
// 使用统一的下载方法,确保路径正确
|
||||||
await this.download("/material/authorize/downLoad", {}, "授权委托书模板.docx");
|
await this.download("/material/authorize/downLoad", {}, "授权委托书模版.docx");
|
||||||
this.$message.success("模板下载成功");
|
this.$message.success("模板下载成功");
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("模板下载失败:", error);
|
console.error("模版下载失败:", error);
|
||||||
this.$message.error("模板下载失败,请稍后重试");
|
this.$message.error("模板下载失败,请稍后重试");
|
||||||
} finally {
|
} finally {
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -236,7 +236,7 @@ export default {
|
||||||
isDetails: false
|
isDetails: false
|
||||||
}
|
}
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/materialsStation/equipment/backAppointment/addAndDetails',
|
path: '/materialsStation/equipment/addAndDetails',
|
||||||
query: params
|
query: params
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
@ -249,7 +249,7 @@ export default {
|
||||||
id: row.id
|
id: row.id
|
||||||
}
|
}
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/materialsStation/equipment/backAppointment/addAndDetails',
|
path: '/materialsStation/equipment/addAndDetails',
|
||||||
query: params
|
query: params
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
@ -284,7 +284,7 @@ export default {
|
||||||
id: row.id
|
id: row.id
|
||||||
}
|
}
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/materialsStation/equipment/backAppointment/addAndDetails',
|
path: '/materialsStation/equipment/addAndDetails',
|
||||||
query: params
|
query: params
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue