Commit 6718593f by chenwq1

fix: 路由

1 parent 3ab02e71
......@@ -29,7 +29,7 @@ export const DetectionRouter: Array<RouteRecordRaw> = [
breadcrumbs: [
{ name: "检测管理" },
{ name: "检测工单管理", path: "/detection/order" },
{ name: "编辑检测报告" },
{ name: "编辑检测项" },
],
},
},
......@@ -42,7 +42,7 @@ export const DetectionRouter: Array<RouteRecordRaw> = [
breadcrumbs: [
{ name: "检测管理" },
{ name: "检测工单管理", path: "/detection/order" },
{ name: "查看检测报告" },
{ name: "查看检测项" },
],
},
},
......
......@@ -82,7 +82,7 @@ export default class DetectionOrderEdit extends PaginationComponent<Vehicle> {
}
get pageTitle(): string {
return this.readonly ? "查看检测报告" : "编辑检测报告";
return this.readonly ? "查看检测项" : "编辑检测项";
}
created(): void {
......@@ -209,7 +209,9 @@ export default class DetectionOrderEdit extends PaginationComponent<Vehicle> {
scrollCustomizeFormToTop() {
this.$nextTick(() => {
const el = this.$refs.customizeFormBoxRef as HTMLElement | undefined;
const el = this.$refs.customizeFormBoxRef as
| HTMLElement
| undefined;
if (el) {
el.scrollTop = 0;
}
......
......@@ -269,7 +269,7 @@
type="link"
size="small"
@click="trackEnterEditMode(record)"
>编辑报告</a-button
>编辑检测项</a-button
>
</router-link>
......@@ -288,9 +288,7 @@
},
}"
>
<a-button type="link" size="small"
>查看检测详情</a-button
>
<a-button type="link" size="small">查看检测项</a-button>
</router-link>
</template>
</template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!