art: 所有设备 台账 没有勾选 精度参数,工艺参数的设备不展示 精度参数tab ,工艺参数tab
已修改2个文件
28 ■■■■ 文件已修改
src/views/eam/EquipmentListOfAll.vue 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/equipmentNew/EquipmentResume/EquipmentResumeDrawer.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/EquipmentListOfAll.vue
@@ -632,8 +632,16 @@
    <a-tabs defaultActiveKey="1">
      <a-tab-pane
        tab="工艺参数"
        tab="设备文档"
        key="1"
        forceRender
      >
        <EquipmentDocumentList :mainId="selectedMainId" />
      </a-tab-pane>
      <a-tab-pane
        tab="工艺参数"
        key="2"
        v-if="isOpenProcess"
      >
        <EquipmentProcessParametersList
          :mainId="selectedMainId"
@@ -642,20 +650,13 @@
      </a-tab-pane>
      <a-tab-pane
        tab="设备精度"
        key="2"
        forceRender
        key="3"
        v-if="isOpenPrecision"
      >
        <EquipmentPrecisionParametersList
          :isOpen="isOpenPrecision"
          :mainId="precisionParametersTemplateId"
        />
      </a-tab-pane>
      <a-tab-pane
        tab="设备文档"
        key="3"
        forceRender
      >
        <EquipmentDocumentList :mainId="selectedMainId" />
      </a-tab-pane>
      <a-tab-pane
        tab="备件"
@@ -679,7 +680,7 @@
        <equipment-update-warranty-list :mainId="selectedMainId" />
      </a-tab-pane>
      <a-tab-pane
        tab="日保标准"
        tab="点检标准"
        key="7"
        forceRender
      >
@@ -1164,7 +1165,7 @@
      this.selectedMainId = ''
    },
    onSelectChange(selectedRowKeys, selectionRows) {
      if (selectedRowKeys.length == 1) {
      if (selectedRowKeys.length >= 1) {
        this.selectedMainId = selectedRowKeys[0]
        this.precisionParametersTemplateId = selectionRows[0].precisionParametersTemplateId;
        this.isOpenProcess = selectionRows[0].processParameters == 1;
@@ -1300,7 +1301,6 @@
    },
    handleDownload() {
      debugger;
      var params = {}//查询条件
      params.type = "equipment"
      params.pageNo = 1
src/views/eam/modules/equipmentNew/EquipmentResume/EquipmentResumeDrawer.vue
@@ -154,7 +154,7 @@
              </div>
            </a-tab-pane>
            <a-tab-pane
              tab='检定记录'
              tab='鉴定记录'
              key="6"
            >
              <div