“linengliang”
2023-11-16 b7249bffb1e3b75b966d60617d8e2b9447222600
维修工单
已修改1个文件
46 ■■■■ 文件已修改
src/views/eam/RepairOrderList.vue 46 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/RepairOrderList.vue
@@ -1,6 +1,6 @@
<template>
  <a-card
    title="维修工单"
    title="维修"
    :bordered="false"
  >
    <div class="table-page-search-wrapper">
@@ -8,6 +8,22 @@
        layout="inline"
        @keyup.enter.native="searchQuery"
      >
      <a-row :gutter="24" style="margin-bottom: 1%;">
          <a-col
            :xl="24"
            :lg="7"
            :md="8"
            :sm="24"
          >
          <a-form-item label="统一编号群">
              <a-textarea
                placeholder="请输入所有统一编码,须用“,”隔开,否则可能查询出错误信息"
                v-model="queryParam.nums"
                :auto-size="{ minRows: 2, maxRows:2 }"
              ></a-textarea>
            </a-form-item>
          </a-col>
        </a-row>
        <a-row :gutter="24">
          <a-col
            :xl="6"
@@ -51,7 +67,7 @@
              ></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="3">
          <!-- <a-col :span="3">
            <span
              style="float: left;overflow: hidden;"
              class="table-page-search-submitButtons"
@@ -64,12 +80,8 @@
                <a-icon :type="toggleSearchStatus ? 'up' : 'down'" />
              </a>
            </span>
          </a-col>
        </a-row>
        <template v-if="toggleSearchStatus">
          <a-row :gutter="24">
            <a-col
          </a-col> -->
          <a-col
              :xl="6"
              :lg="7"
              :md="8"
@@ -82,6 +94,8 @@
                ></a-input>
              </a-form-item>
            </a-col>
        </a-row>
          <a-row :gutter="24">
            <a-col 
            :xl="6"
              :lg="7"
@@ -110,7 +124,7 @@
                allow-clear
                placeholder="请选择资工区"
                :triggerChange="true"
                dictCode="mom_base_factory_model,name,id,del_flag!='1'"
                dictCode="mom_base_area,name,id,del_flag!='1'"
                v-model="queryParam.factoryModelId"
              />
            </a-form-item>
@@ -153,7 +167,6 @@
            </a-form-item>
          </a-col>
          </a-row> -->
        </template>
      </a-form>
    </div>
    <!-- 操作按钮区域 -->
@@ -239,6 +252,13 @@
        <span slot="jell" slot-scope="text">
            <j-ellipsis :value="text" :length="8" />
        </span>
        <span
          slot="specificEquipment"
          slot-scope="text"
        >
        <a-icon type="check" style="color: chartreuse;" v-if="text==='0'" />
        <a-icon type="close" v-else style="color:red;"/>
      </span>
        <span
          slot="num"
          slot-scope="text, record"
@@ -489,6 +509,12 @@
          }
        },
        {
          title: '关键设备?',
          align: "center",
          dataIndex: 'specificEquipment',
          scopedSlots: { customRender: 'specificEquipment' }
        },
        {
          title: '状态',
          align: "center",
          dataIndex: 'status_dictText'