Commit d95ee8a1 by yancanhua

fix: 测试问题修改

1 parent 22eeb323
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<div class="titleBox"> <div class="titleBox">
<a-button style="float: right;" @click="handleBack()">返回列表</a-button> <a-button style="float: right;" @click="handleBack()">返回列表</a-button>
</div> </div>
<!-- 检测报告 --> <!-- 检测报告 -->
<div v-if="tabKey === 'REPORT'" style="width: 100%;float: left;"> <div v-if="tabKey === 'REPORT'" style="width: 100%;float: left;">
<orderReport :pageData="pageData.inspectionWORespVO || {}" <orderReport :pageData="pageData.inspectionWORespVO || {}"
...@@ -76,7 +76,7 @@ import { DoubleLeftOutlined } from '@ant-design/icons-vue'; ...@@ -76,7 +76,7 @@ import { DoubleLeftOutlined } from '@ant-design/icons-vue';
export default class DetectionOrderView extends PaginationComponent<Vehicle> { export default class DetectionOrderView extends PaginationComponent<Vehicle> {
tabKey = "REPORT"; tabKey = "DETAIL";
actionStatus = ''; actionStatus = '';
...@@ -91,8 +91,8 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> { ...@@ -91,8 +91,8 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
get tabs() { get tabs() {
let tabs = [ let tabs = [
{ key: "REPORT", tab: "检测报告" },
{ key: "DETAIL", tab: "工单详情" }, { key: "DETAIL", tab: "工单详情" },
{ key: "REPORT", tab: "检测报告" },
]; ];
return tabs; return tabs;
} }
......
...@@ -115,7 +115,7 @@ export default class OrderAddForm extends EnhanceFormComponent<User> { ...@@ -115,7 +115,7 @@ export default class OrderAddForm extends EnhanceFormComponent<User> {
init(data): void { init(data): void {
this.getInspectPageList(); this.getInspectPageList();
this.titleVisible = data.id ? "编辑检测师" : "创建检测工单"; this.titleVisible = data.id ? "编辑检测工单" : "创建检测工单";
this.postData.id = data.id || ""; this.postData.id = data.id || "";
this.postData.vehicleId = data.vehicle?.vehicleId || ""; this.postData.vehicleId = data.vehicle?.vehicleId || "";
this.postData.inspectorId = data.inspector?.id || null; this.postData.inspectorId = data.inspector?.id || null;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!