qushaowei
2024-01-15 1e67b1b2116c2a5ddee3e33980a7bbb564724d66
点检标准多sheet页导入
已修改6个文件
194 ■■■■ 文件已修改
src/views/eam/Daily3MaintenanceOrderList.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/EquipmentListOfMetrological.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/EquipmentMaintenancePlanList.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/FaultInfoList.vue 81 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/QuanlityConfirmList.vue 76 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/modules/repairorder/repairOrderExcuteDrawer.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/Daily3MaintenanceOrderList.vue
@@ -297,22 +297,22 @@
            type="vertical"
          />
          <a
            v-show="record.isNotStoveCategoryFlag == true && (record.stoveExemptStatus == '0' ||record.stoveExemptStatus == '1' ||record.stoveExemptStatus == '2')"
            v-show="record.status === '5' && record.isNotStoveCategoryFlag == true "
            @click="handleStoveDetection(record)"
            v-has="'daily3MaintenanceOrder:StoveCategory'"
          >炉类检测</a>
          <!-- v-show="record.status === '5' && record.isNotStoveCategoryFlag == true && (record.stoveExemptStatus == '0' ||record.stoveExemptStatus == '1' ||record.stoveExemptStatus == '2')" -->
          <a-divider
            v-show=" record.isNotStoveCategoryFlag == true && (record.stoveExemptStatus == '0' ||record.stoveExemptStatus == '1' ||record.stoveExemptStatus == '2')"
            v-show=" record.status === '5' && record.isNotStoveCategoryFlag == true "
            type="vertical"
          />
          <a
            v-show=" record.isNotStoveCategoryFlag == true && (record.stoveExemptStatus == '0' ||record.stoveExemptStatus == '1' ||record.stoveExemptStatus == '2')"
            v-show=" record.status === '5' && record.isNotStoveCategoryFlag == true "
            @click="handleStoveReport(record)"
            v-has="'daily3MaintenanceOrder:StoveCategoryReport'"
          >炉类报告</a>
          <a-divider
            v-show="record.status === '5'&& record.isNotStoveCategoryFlag == true && (record.stoveExemptStatus == '0' ||record.stoveExemptStatus == '1' ||record.stoveExemptStatus == '2')"
            v-show="record.status === '5' && record.isNotStoveCategoryFlag == true "
            type="vertical"
          />
          <a
src/views/eam/EquipmentListOfMetrological.vue
@@ -1,7 +1,7 @@
<template>
  <a-card
    :bordered="false"
    title="数控回转库"
    title="计量检测设备"
  >
    <!-- 查询区域 -->
    <div class="table-page-search-wrapper">
src/views/eam/EquipmentMaintenancePlanList.vue
@@ -1,5 +1,8 @@
<template>
  <a-card :bordered="false">
  <a-card
    title="保养计划"
    :bordered="false"
  >
    <!-- 查询区域 -->
    <div class="table-page-search-wrapper">
      <a-form
src/views/eam/FaultInfoList.vue
@@ -1,8 +1,14 @@
<template>
  <a-card :bordered="false">
  <a-card
    title="设备事故登记表"
    :bordered="false"
  >
    <!-- 查询区域 -->
    <div class="table-page-search-wrapper">
      <a-form layout="inline" @keyup.enter.native="searchQuery">
      <a-form
        layout="inline"
        @keyup.enter.native="searchQuery"
      >
        <a-row :gutter="24">
          <a-col
            :xl='6'
@@ -68,9 +74,15 @@
    <!-- table区域-begin -->
    <div>
      <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
      <div
        class="ant-alert ant-alert-info"
        style="margin-bottom: 16px;"
      >
        <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
        <a style="margin-left: 24px" @click="onClearSelected">清空</a>
        <a
          style="margin-left: 24px"
          @click="onClearSelected"
        >清空</a>
      </div>
      <a-table
@@ -85,30 +97,61 @@
        :loading="loading"
        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
        class="j-table-force-nowrap"
        @change="handleTableChange">
        @change="handleTableChange"
      >
        <template slot="htmlSlot" slot-scope="text">
        <template
          slot="htmlSlot"
          slot-scope="text"
        >
          <div v-html="text"></div>
        </template>
        <template slot="imgSlot" slot-scope="text,record">
          <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
          <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
        <template
          slot="imgSlot"
          slot-scope="text,record"
        >
          <span
            v-if="!text"
            style="font-size: 12px;font-style: italic;"
          >无图片</span>
          <img
            v-else
            :src="getImgView(text)"
            :preview="record.id"
            height="25px"
            alt=""
            style="max-width:80px;font-size: 12px;font-style: italic;"
          />
        </template>
        <template slot="fileSlot" slot-scope="text">
          <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
        <template
          slot="fileSlot"
          slot-scope="text"
        >
          <span
            v-if="!text"
            style="font-size: 12px;font-style: italic;"
          >无文件</span>
          <a-button
            v-else
            :ghost="true"
            type="primary"
            icon="download"
            size="small"
            @click="downloadFile(text)">
            @click="downloadFile(text)"
          >
            下载
          </a-button>
        </template>
        <span slot="action" slot-scope="text, record">
          <a @click="handleEdit(record)" v-if="record.isConfirm!=='yes'" v-has="'fault:update'">录入</a>
        <span
          slot="action"
          slot-scope="text, record"
        >
          <a
            @click="handleEdit(record)"
            v-if="record.isConfirm!=='yes'"
            v-has="'fault:update'"
          >录入</a>
          <a-divider type="vertical" />
          <a @click="handleDetail(record)">详情</a>
@@ -117,14 +160,20 @@
            title="确认结果后不可再录入,确认吗?"
            @confirm="() => handleConfirm(record)"
          >
            <a v-if="record.isConfirm!=='yes'" v-has="'fault:confirm'">确认</a>
            <a
              v-if="record.isConfirm!=='yes'"
              v-has="'fault:confirm'"
            >确认</a>
          </a-popconfirm>
        </span>
      </a-table>
    </div>
    <fault-info-modal ref="modalForm" @ok="modalFormOk"></fault-info-modal>
    <fault-info-modal
      ref="modalForm"
      @ok="modalFormOk"
    ></fault-info-modal>
  </a-card>
</template>
src/views/eam/QuanlityConfirmList.vue
@@ -1,8 +1,14 @@
<template>
  <a-card :bordered="false">
  <a-card
    title="产品质量隐患确认"
    :bordered="false"
  >
    <!-- 查询区域 -->
    <div class="table-page-search-wrapper">
      <a-form layout="inline" @keyup.enter.native="searchQuery">
      <a-form
        layout="inline"
        @keyup.enter.native="searchQuery"
      >
        <a-row :gutter="24">
          <a-col
            :xl='6'
@@ -78,9 +84,15 @@
    <!-- table区域-begin -->
    <div>
      <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
      <div
        class="ant-alert ant-alert-info"
        style="margin-bottom: 16px;"
      >
        <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
        <a style="margin-left: 24px" @click="onClearSelected">清空</a>
        <a
          style="margin-left: 24px"
          @click="onClearSelected"
        >清空</a>
      </div>
      <a-table
@@ -95,30 +107,61 @@
        :loading="loading"
        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
        class="j-table-force-nowrap"
        @change="handleTableChange">
        @change="handleTableChange"
      >
        <template slot="htmlSlot" slot-scope="text">
        <template
          slot="htmlSlot"
          slot-scope="text"
        >
          <div v-html="text"></div>
        </template>
        <template slot="imgSlot" slot-scope="text,record">
          <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
          <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
        <template
          slot="imgSlot"
          slot-scope="text,record"
        >
          <span
            v-if="!text"
            style="font-size: 12px;font-style: italic;"
          >无图片</span>
          <img
            v-else
            :src="getImgView(text)"
            :preview="record.id"
            height="25px"
            alt=""
            style="max-width:80px;font-size: 12px;font-style: italic;"
          />
        </template>
        <template slot="fileSlot" slot-scope="text">
          <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
        <template
          slot="fileSlot"
          slot-scope="text"
        >
          <span
            v-if="!text"
            style="font-size: 12px;font-style: italic;"
          >无文件</span>
          <a-button
            v-else
            :ghost="true"
            type="primary"
            icon="download"
            size="small"
            @click="downloadFile(text)">
            @click="downloadFile(text)"
          >
            下载
          </a-button>
        </template>
        <span slot="action" slot-scope="text, record">
          <a @click="handleEdit(record)" :disabled="record.isConfirm==='yes'" v-has="'quanlity:confirm'">确认</a>
        <span
          slot="action"
          slot-scope="text, record"
        >
          <a
            @click="handleEdit(record)"
            :disabled="record.isConfirm==='yes'"
            v-has="'quanlity:confirm'"
          >确认</a>
          <!-- <a-divider type="vertical" />
          <a-dropdown>
@@ -139,7 +182,10 @@
      </a-table>
    </div>
    <quanlity-confirm-modal ref="modalForm" @ok="modalFormOk"></quanlity-confirm-modal>
    <quanlity-confirm-modal
      ref="modalForm"
      @ok="modalFormOk"
    ></quanlity-confirm-modal>
  </a-card>
</template>
src/views/eam/modules/repairorder/repairOrderExcuteDrawer.vue
@@ -276,9 +276,7 @@
            orientation="center"
            style="font-size: large;font-style: italic;color: #66aeed;"
          > 维修信息 </a-divider>
            <a-row
              :gutter="24"
            >
          <a-row :gutter="24">
            <a-col :span="6">
                <a-form-item
                  :labelCol="labelCol"
@@ -341,9 +339,7 @@
            orientation="center"
            style="font-size: large;font-style: italic;color: #66aeed;"
          > 等采购件 </a-divider>
            <a-row
            :gutter="24"
            >
          <a-row :gutter="24">
            <a-col :span="6">
                <a-form-item
                  :labelCol="labelCol"
@@ -391,9 +387,7 @@
            orientation="center"
            style="font-size: large;font-style: italic;color: #66aeed;"
          > 等加工件 </a-divider>
            <a-row
            :gutter="24"
            >
          <a-row :gutter="24">
            <a-col :span="6">
                <a-form-item
                  :labelCol="labelCol"
@@ -441,9 +435,7 @@
            orientation="center"
            style="font-size: large;font-style: italic;color: #66aeed;"
          > 验收信息 </a-divider>
            <a-row
              :gutter="24"
            >
          <a-row :gutter="24">
            <a-col :span="6">
                <a-form-item
                  :labelCol="labelCol"
@@ -608,9 +600,9 @@
  },
  mounted() {
    // this.$bus.$on('closeDrawer', (data) => {
    //   this.handleCancel()
    // })
    this.$bus.$on('closeDrawer', (data) => {
      this.handleCancel()
    })
    this.timer = setInterval(() => {
      this.updateElapsedTime();
    }, 1000);