|
@@ -25,11 +25,6 @@
|
|
<a-button style="margin-left: 20px" type="default" @click="handleRepairReportSbInfo()">工单分析</a-button>
|
|
<a-button style="margin-left: 20px" type="default" @click="handleRepairReportSbInfo()">工单分析</a-button>
|
|
<a-button style="margin-left: 20px" type="default" @click="handleRepairReportSbInfoFee()">费用分析</a-button>
|
|
<a-button style="margin-left: 20px" type="default" @click="handleRepairReportSbInfoFee()">费用分析</a-button>
|
|
<a-button style="margin-left: 20px" type="primary" @click="handleCancel()">返回</a-button>
|
|
<a-button style="margin-left: 20px" type="primary" @click="handleCancel()">返回</a-button>
|
|
- <!-- <a-button style="margin-left: 20px" type="default" >检定记录</a-button>
|
|
|
|
- <a-button style="margin-left: 20px" type="error" >保养日历</a-button>
|
|
|
|
- <a-button style="margin-left: 20px" type="default">工单分析</a-button>
|
|
|
|
- <a-button style="margin-left: 20px" type="default">费用分析</a-button>
|
|
|
|
- <a-button style="margin-left: 20px" type="primary">返回</a-button> -->
|
|
|
|
</span>
|
|
</span>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
@@ -52,32 +47,28 @@
|
|
</a-button>
|
|
</a-button>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="10">
|
|
<a-col :span="10">
|
|
- <a-button shape="round" type="primary" block>
|
|
|
|
- 配件记录
|
|
|
|
|
|
+ <a-button shape="round" @click="handleCheckFinish()" block>
|
|
|
|
+ 保养记录
|
|
</a-button>
|
|
</a-button>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="10">
|
|
<a-col :span="10">
|
|
<a-button shape="round" block>
|
|
<a-button shape="round" block>
|
|
-
|
|
|
|
- 配件记录
|
|
|
|
|
|
+ 历史故障
|
|
</a-button>
|
|
</a-button>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="10">
|
|
<a-col :span="10">
|
|
<a-button shape="round" block>
|
|
<a-button shape="round" block>
|
|
-
|
|
|
|
- 配件记录
|
|
|
|
|
|
+ 历史费用
|
|
</a-button>
|
|
</a-button>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="10">
|
|
<a-col :span="10">
|
|
<a-button shape="round" block>
|
|
<a-button shape="round" block>
|
|
-
|
|
|
|
- 配件记录
|
|
|
|
|
|
+ 状态变更记录
|
|
</a-button>
|
|
</a-button>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="10">
|
|
<a-col :span="10">
|
|
<a-button shape="round" block>
|
|
<a-button shape="round" block>
|
|
-
|
|
|
|
- 配件记录
|
|
|
|
|
|
+ 停机记录
|
|
</a-button>
|
|
</a-button>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
@@ -251,7 +242,7 @@ import { queryNumPartInfo } from '@/api/part/info'
|
|
import { queryNumModelbom } from '@/api/sb/modelbom'
|
|
import { queryNumModelbom } from '@/api/sb/modelbom'
|
|
import { queryChildNumSbInfo } from '@/api/sb/info'
|
|
import { queryChildNumSbInfo } from '@/api/sb/info'
|
|
import SparePartUsedSelectTable from '@/views/sqarepartmanage/sparepartused/modules/SparePartUsedSelectTable'
|
|
import SparePartUsedSelectTable from '@/views/sqarepartmanage/sparepartused/modules/SparePartUsedSelectTable'
|
|
-import SbOilPageTable from '@/views/sb/oil/modules/SbOilPageTable'
|
|
|
|
|
|
+// import SbOilPageTable from '@/views/sb/oil/modules/SbOilPageTable'
|
|
import SbRunFillPageTable from '@/views/sb/run-fill/modules/SbRunFillPageTable'
|
|
import SbRunFillPageTable from '@/views/sb/run-fill/modules/SbRunFillPageTable'
|
|
import SbInspectionFillPageTable from '@/views/sb/inspection-fill/modules/SbInspectionFillPageTable'
|
|
import SbInspectionFillPageTable from '@/views/sb/inspection-fill/modules/SbInspectionFillPageTable'
|
|
import DetailSbBom from '@/views/sb/modelbom/modules/DetailSbBom'
|
|
import DetailSbBom from '@/views/sb/modelbom/modules/DetailSbBom'
|
|
@@ -273,7 +264,7 @@ export default {
|
|
RepairApplicationFormTable,
|
|
RepairApplicationFormTable,
|
|
CheckJobTable,
|
|
CheckJobTable,
|
|
SparePartUsedSelectTable,
|
|
SparePartUsedSelectTable,
|
|
- SbOilPageTable,
|
|
|
|
|
|
+ // SbOilPageTable,
|
|
SbRunFillPageTable,
|
|
SbRunFillPageTable,
|
|
SbInspectionFillPageTable,
|
|
SbInspectionFillPageTable,
|
|
DetailSbBom,
|
|
DetailSbBom,
|
|
@@ -422,24 +413,39 @@ export default {
|
|
this.$viewer = viewer
|
|
this.$viewer = viewer
|
|
},
|
|
},
|
|
handleViewBom (record) {
|
|
handleViewBom (record) {
|
|
- this.visible = false
|
|
|
|
- const modal = this.$refs.detailSbBomModal
|
|
|
|
- modal.base(this.model)
|
|
|
|
|
|
+ // this.visible = false
|
|
|
|
+ // const modal = this.$refs.detailSbBomModal
|
|
|
|
+ // modal.base(this.model)
|
|
|
|
+ const routeUrl = this.$router.resolve({ path: '/sb/modelbom', query: { id: this.model.id } })
|
|
|
|
+ window.open(routeUrl.href, '_blank')
|
|
},
|
|
},
|
|
handleViewChildSbInfo () {
|
|
handleViewChildSbInfo () {
|
|
- this.visible = false
|
|
|
|
- const modal = this.$refs.detailSbInfoModal
|
|
|
|
- modal.base(this.model)
|
|
|
|
|
|
+ // this.visible = false
|
|
|
|
+ // const modal = this.$refs.detailSbInfoModal
|
|
|
|
+ console.log(this.model)
|
|
|
|
+ // modal.base(this.model)
|
|
|
|
+ const routeUrl = this.$router.resolve({ path: '/sb/info/company', query: { parentId: this.model.id } })
|
|
|
|
+ // let routeUrl = this.$router.resolve(`/share/${96}`)
|
|
|
|
+ window.open(routeUrl.href, '_blank')
|
|
},
|
|
},
|
|
handleViewCheck (record) {
|
|
handleViewCheck (record) {
|
|
- this.visible = false
|
|
|
|
- const modal = this.$refs.detailSbCheckModal
|
|
|
|
- modal.base(this.model)
|
|
|
|
|
|
+ // this.visible = false
|
|
|
|
+ // const modal = this.$refs.detailSbCheckModal
|
|
|
|
+ // modal.base(this.model)
|
|
|
|
+ const routeUrl = this.$router.resolve({ path: '/check/polling-standard', query: { id: this.model.id } })
|
|
|
|
+ // let routeUrl = this.$router.resolve(`/share/${96}`)
|
|
|
|
+ window.open(routeUrl.href, '_blank')
|
|
},
|
|
},
|
|
handleViewCheckJob (record) {
|
|
handleViewCheckJob (record) {
|
|
- this.visible = false
|
|
|
|
- const modal = this.$refs.detailSbCheckJobModal
|
|
|
|
- modal.base(this.model)
|
|
|
|
|
|
+ // this.visible = false
|
|
|
|
+ // const modal = this.$refs.detailSbCheckJobModal
|
|
|
|
+ // modal.base(this.model)
|
|
|
|
+ const routeUrl = this.$router.resolve({ path: '/check/polling-job', query: { id: this.model.id } })
|
|
|
|
+ window.open(routeUrl.href, '_blank')
|
|
|
|
+ },
|
|
|
|
+ handleCheckFinish () {
|
|
|
|
+ const routeUrl = this.$router.resolve({ path: '/check/polling-job/finish', query: { id: this.model.id } })
|
|
|
|
+ window.open(routeUrl.href, '_blank')
|
|
},
|
|
},
|
|
handleMeasure (record) {
|
|
handleMeasure (record) {
|
|
this.visible = false
|
|
this.visible = false
|
|
@@ -527,8 +533,10 @@ export default {
|
|
this.fetchNum()
|
|
this.fetchNum()
|
|
},
|
|
},
|
|
partInfoListView () {
|
|
partInfoListView () {
|
|
- const modal = this.$refs.partInfoList
|
|
|
|
- modal.base({ sbId: this.model.id }, { sbId: this.model.id })
|
|
|
|
|
|
+ // const modal = this.$refs.partInfoList
|
|
|
|
+ // modal.base({ sbId: this.model.id }, { sbId: this.model.id })
|
|
|
|
+ const routeUrl = this.$router.resolve({ path: '/part/info', query: { id: this.model.id } })
|
|
|
|
+ window.open(routeUrl.href, '_blank')
|
|
},
|
|
},
|
|
checkJobTableWaitDoListView () {
|
|
checkJobTableWaitDoListView () {
|
|
const modal = this.$refs.checkJobTableWaitDo
|
|
const modal = this.$refs.checkJobTableWaitDo
|