Browse Source

Merge remote-tracking branch 'origin/master'

xiongchao 3 years ago
parent
commit
1e757fe99d
1 changed files with 4 additions and 6 deletions
  1. 4 6
      src/views/sb/info/modules/Detail.vue

+ 4 - 6
src/views/sb/info/modules/Detail.vue

@@ -13,7 +13,7 @@
             <a-badge :count="numCheckStandard" title="保养项目总数" :number-style="{ backgroundColor: '#52c41a' }">
               <a-button style="margin-left: 16px" type="default" @ok="handleOk" @click="handleViewCheck()">保养项目</a-button>
             </a-badge>
-<!--            <a-badge :count="numNumCheckjob" title="待保养任务总数" :number-style="{ backgroundColor: '#52c41a' }">
+            <!--            <a-badge :count="numNumCheckjob" title="待保养任务总数" :number-style="{ backgroundColor: '#52c41a' }">
               <a-button style="margin-left: 16px" type="default" @ok="handleOk" @click="checkJobTableWaitDoListView()">待保养任务</a-button>
             </a-badge>-->
             <a-button style="margin-left: 8px" type="primary" @click="handleCancel()">返回</a-button>
@@ -109,7 +109,7 @@
     <detail-sb-bom ref="detailSbBomModal" @ok="handleOk"/>
     <detail-sb-check ref="detailSbCheckModal" @ok="handleOk"/>
     <part-info-list ref="partInfoList" />
-    <check-job-table-wait-do :type="2" :check-type="2" ref="checkJobTableWaitDo" @ok="handleOk"/>
+    <!--    <check-job-table-wait-do :type="2" :check-type="2" ref="checkJobTableWaitDo" @ok="handleOk"/>-->
   </a-card>
 </template>
 
@@ -117,7 +117,7 @@
 import DetailList from '@/components/tools/DetailList'
 import RepairApplicationFormTable from '@/views/repair/application-form/modules/RepairApplicationFormTable'
 import CheckJobTable from '@/views/check/checkjob/modules/CheckJobTable'
-import CheckJobTableWaitDo from '@/views/check/checkjob/modules/CheckJobTableWaitDo'
+// import CheckJobTableWaitDo from '@/views/check/checkjob/modules/CheckJobTableWaitDo'
 import { fetchFirmProducer } from '@/api/firm/producer'
 import { queryNumCheckStandard } from '@/api/check/checkstandard'
 import { queryNumCheckjob } from '@/api/check/checkjob'
@@ -130,7 +130,6 @@ import SbInspectionFillPageTable from '@/views/sb/inspection-fill/modules/SbInsp
 import DetailSbBom from '@/views/sb/modelbom/modules/DetailSbBom'
 import DetailSbCheck from '@/views/check/checkstandard/modules/DetailSbCheck'
 import PartInfoList from '@/views/part/info/modules/PartInfoList'
-import { axios } from '@/utils/request'
 const DetailListItem = DetailList.Item
 
 export default {
@@ -140,7 +139,6 @@ export default {
     DetailListItem,
     RepairApplicationFormTable,
     CheckJobTable,
-    CheckJobTableWaitDo,
     SparePartUsedSelectTable,
     SbOilPageTable,
     SbRunFillPageTable,
@@ -283,7 +281,7 @@ export default {
         this.firmProducer = res.data
       })
     },
-    fetchNum(){
+    fetchNum () {
       Promise.all([queryNumPartInfo({ sbId: this.model.id }), queryNumModelbom({ sbId: this.model.id }), queryNumCheckStandard({ sbId: this.model.id }), queryNumCheckjob({ sbId: this.model.id })])
         .then((values) => {
           this.numPartInfo = values[0].data