qushaowei
2024-07-12 336dcb70c156c947530eab0f0a96ee17de477929
src/views/eam/EquipmentListOfCrane.vue
@@ -82,12 +82,17 @@
              :labelCol="labelCol"
              :wrapperCol="wrapperCol"
            >
              <a-tree-select
              <!-- <a-tree-select
                style="width: 100%"
                :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
                :tree-data="treeData"
                placeholder="请选择维护部门"
                tree-default-expand-all
                v-model="queryParam.manageId"
              /> -->
              <j-dict-select-tag
                dictCode="sys_depart,depart_name,id"
                placeholder="请选择维护部门"
                v-model="queryParam.manageId"
              />
            </a-form-item>
@@ -98,12 +103,17 @@
              :labelCol="labelCol"
              :wrapperCol="wrapperCol"
            >
              <a-tree-select
              <!-- <a-tree-select
                style="width: 100%"
                :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
                :tree-data="treeData"
                placeholder="请选择使用部门"
                tree-default-expand-all
                v-model="queryParam.useId"
              /> -->
              <j-dict-select-tag
                dictCode="sys_depart,depart_name,id"
                placeholder="请选择使用部门"
                v-model="queryParam.useId"
              />
            </a-form-item>
@@ -314,14 +324,15 @@
        :customRow="clickThenSelect"
        @change="handleTableChange"
      >
<!-- 点击技术状态列,跳转到技术状态鉴定页面 -->
<template
        <!-- 点击技术状态列,跳转到技术状态鉴定页面 -->
        <template
          slot="technologyStatus"
          slot-scope="text,record"
          >
        >
          <a
            href="javascript:eam/EquipmentCalibrationOrder;"
            @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a>
            @click="handleTechnologyStatus(record)"
          >{{record.technologyStatus_dictText}}</a>
        </template>
        <template
          slot="htmlSlot"
@@ -451,6 +462,26 @@
            class="error"
          >否</span>
        </span>
        <span
          slot="name"
          slot-scope="text"
        >
          <j-ellipsis
            :value="text"
            :length="8"
          />
        </span>
        <template
          slot="num"
          slot-scope="text,record"
        >
          <a
            href="javascript:;"
            @click="handleDetail(record)"
          >{{record.num}}</a>
        </template>
        <span
          slot="action"
@@ -631,6 +662,7 @@
import DailyMaintenanceList from './modules/equipmentNew/DailyMaintenanceList.vue'
import SecondMaintenanceList from './modules/equipmentNew/SecondMaintenanceList.vue'
import ThirdMaintenanceList from './modules/equipmentNew/ThirdMaintenanceList.vue'
import JEllipsis from '@/components/jeecg/JEllipsis'
export default {
  name: "EquipmentList",
  mixins: [JeecgListMixin, mixinDevice],
@@ -654,6 +686,7 @@
    DailyMaintenanceList,
    SecondMaintenanceList,
    ThirdMaintenanceList,
    JEllipsis
  },
  data() {
    return {
@@ -682,14 +715,21 @@
          dataIndex: 'isLineEquip_dictText',
        },
        {
          title: '关键设备标识',
          align: "center",
          dataIndex: 'specificEquipment_dictText',
        },
        {
          title: '统一编码',
          align: "center",
          dataIndex: 'num',
          scopedSlots: { customRender: 'num' },
        },
        {
          title: '设备名称',
          align: "center",
          dataIndex: 'name',
          scopedSlots: { customRender: 'name' },
        },
        {
          title: '型号',
@@ -706,16 +746,16 @@
          align: "center",
          dataIndex: 'gpo',
        },
        {
          title: '使用部门',
          align: "center",
          dataIndex: 'useId_dictText',
        },
        {
          title: '维护部门',
          align: "center",
          dataIndex: 'manageId_dictText',
        },
        // {
        //   title: '使用部门',
        //   align: "center",
        //   dataIndex: 'useId_dictText',
        // },
        // {
        //   title: '维护部门',
        //   align: "center",
        //   dataIndex: 'manageId_dictText',
        // },
        {
          title: '维修班组',
          align: "center",
@@ -726,11 +766,11 @@
          align: "center",
          dataIndex: 'equipmentImportanceId',
        },
        {
          title: '关键设备标识',
          align: "center",
          dataIndex: 'specificEquipment_dictText',
        },
        // {
        //   title: '关键设备标识',
        //   align: "center",
        //   dataIndex: 'specificEquipment_dictText',
        // },
        {
          title: '技术状态',
          align: "center",
@@ -743,6 +783,11 @@
          dataIndex: 'technologyStatusVerificationType_dictText',
        },
        {
          title: '下次技术状态鉴定时间',
          align: "center",
          dataIndex: 'nextTechnologyStatusQualificationTime',
        },
        {
          title: '生产线编号',
          align: "center",
          dataIndex: 'lineId_dictText',