“linengliang”
2023-10-29 50706e13d5df93ceb541d39810df5845b5af7d71
src/views/eam/EquipmentListOfWeldingMachine.vue
@@ -77,20 +77,20 @@
        <a-row :gutter="24">
          <a-col :span="6">
            <a-form-item
              label="产线"
              label="工区"
              :labelCol="labelCol"
            :wrapperCol="wrapperCol"
            >
            <j-dict-select-tag
                allow-clear
                placeholder="请选择产线"
                placeholder="请选择工区"
                :triggerChange="true"
                dictCode="mom_base_work_center,name,id,del_flag!='1'"
                v-model="queryParam.workCenterId"
                dictCode="mom_base_area,name,id,del_flag!='1'"
                v-model="queryParam.factoryModelId"
              />
            </a-form-item>
          </a-col>
          <a-col :span="6">
          <!-- <a-col :span="6">
            <a-form-item
              label="车间"
              :labelCol="labelCol"
@@ -104,7 +104,7 @@
                v-model="queryParam.factoryModelId"
              />
            </a-form-item>
          </a-col>
          </a-col> -->
          <a-col :span="6">
            <a-form-item
              label="维护部门"
@@ -436,7 +436,7 @@
      <a-tab-pane tab="设备精度" key="2" forceRender>
        <EquipmentPrecisionParametersList 
        :isOpen="isOpenPrecision"
        :mainId="selectedMainId" />
        :mainId="precisionParametersTemplateId" />
      </a-tab-pane>
      <a-tab-pane tab="设备文档" key="3" forceRender>
        <EquipmentDocumentList :mainId="selectedMainId" />
@@ -449,6 +449,9 @@
      </a-tab-pane>
      <a-tab-pane tab="质保期变更记录" key="6" forceRender>
        <equipment-update-warranty-list :mainId="selectedMainId" />
      </a-tab-pane>
      <a-tab-pane tab="保养点检标准" key="7" forceRender>
       <standard-of-maintenance :mainId="selectedMainId"/>
      </a-tab-pane>
    </a-tabs>
    <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal>
@@ -480,6 +483,8 @@
  import WarrantyUpdateModel from './modules/equipmentNew/edit/WarrantyUpdateModel.vue'
  import EquipmentSpareParts from './modules/equipmentNew/EquipmentSpareParts.vue'
  import EquipmentSparePartsModal from './modules/equipmentNew/EquipmentSparePartsModal'
  import StandardOfInspection from './modules/equipmentNew/StandardOfInspection.vue'
  import StandardOfMaintenance from './modules/equipmentNew/StandardOfMaintenance.vue'
  export default {
    name: "EquipmentList",
    mixins:[JeecgListMixin,mixinDevice],
@@ -497,7 +502,9 @@
        ABCUpdateEditModel,
        WarrantyUpdateModel,
        EquipmentSpareParts,
        EquipmentSparePartsModal
        EquipmentSparePartsModal,
        StandardOfInspection,
        StandardOfMaintenance,
    },
    data () {
      return {
@@ -569,6 +576,11 @@
          title: '关键设备标识',
          align: "center",
          dataIndex: 'specificEquipment_dictText',
        },
        {
          title: '技术状态鉴定类型',
          align: "center",
          dataIndex: 'technologyStatusVerificationType_dictText',
        },
        // {
        //   title: '工区',
@@ -742,6 +754,7 @@
        equipmentProcessParametersMainId: '',
        equipmentDocumentMainId: '',
        equipmentPrecisionParametersMainId: '',
        precisionParametersTemplateId:'',
        isOpenPrecision:true,
        isOpenProcess:true,
        treeData: [],
@@ -790,10 +803,12 @@
      onSelectChange(selectedRowKeys, selectionRows) {
        if(selectedRowKeys.length==1){
          this.selectedMainId=selectedRowKeys[0]
          this.precisionParametersTemplateId = selectionRows[0].precisionParametersTemplateId;
          this.isOpenProcess = selectionRows[0].processParameters==1;
          this.isOpenPrecision = selectionRows[0].precisionParameters==1;
        }else{
          this.selectedMainId=''
          this.precisionParametersTemplateId = ''
        }
        this.selectedRowKeys = selectedRowKeys;
        this.selectionRows = selectionRows;