|
@@ -195,10 +195,14 @@ const getAllDomElements = async () => {
|
|
|
// })
|
|
|
};
|
|
|
const goAdvice = (name: string) => {
|
|
|
- router.push({
|
|
|
- path: "/repair/MaintenanceStrategyAssistanceViewHis",
|
|
|
- query: { name },
|
|
|
- });
|
|
|
+ if (route.query.source == 3) {
|
|
|
+ router.back();
|
|
|
+ } else {
|
|
|
+ router.push({
|
|
|
+ path: "/repair/MaintenanceStrategyAssistanceViewHis",
|
|
|
+ query: { name },
|
|
|
+ });
|
|
|
+ }
|
|
|
};
|
|
|
const statusText = ref({
|
|
|
健康: "status-value-normal",
|