src/views/eam/repair/EamReportRepairList.vue
@@ -89,6 +89,11 @@
          <a-switch checked-children="是" un-checked-children="否" :checked="Boolean(+text)" disabled/>
        </template>
        <!--使用部门-->
        <template slot="factoryOrgCode" slot-scope="text,record">
          {{[record.zxfactoryOrgCode_dictText].filter(item=>item).join('/')}}
        </template>
        <span slot="action" slot-scope="text, record">
          <a @click="handleEdit(record)">编辑</a>
@@ -98,6 +103,24 @@
            <a>作废</a>
          </a-popconfirm>
        </span>
        <!--字符串超长截取省略号显示-->
        <span slot="faultDescription" slot-scope="text">
          <j-ellipsis :value="text" :length="8"/>
        </span>
        <!--字符串超长截取省略号显示-->
        <span slot="accidentPhenomenon" slot-scope="text">
          <j-ellipsis :value="text" :length="8"/>
        </span>
        <!--字符串超长截取省略号显示-->
        <span slot="measure" slot-scope="text">
          <j-ellipsis :value="text" :length="8"/>
        </span>
        <!--字符串超长截取省略号显示-->
        <span slot="causingResults" slot-scope="text">
          <j-ellipsis :value="text" :length="8"/>
        </span>
      </a-table>
    </div>
    <!-- table区域-end -->
@@ -166,6 +189,12 @@
            fixed: 'left'
          },
          {
            title: '使用部门',
            align: 'center',
            scopedSlots: { customRender: 'factoryOrgCode' },
            fixed: 'left'
          },
          {
            title: '报修状态',
            align: 'center',
            dataIndex: 'reportStatus_dictText',
@@ -179,7 +208,8 @@
          {
            title: '故障现象',
            align: 'center',
            dataIndex: 'faultDescription'
            dataIndex: 'faultDescription',
            scopedSlots: { customRender: 'faultDescription' }
          },
          {
            title: '是否停机',
@@ -243,17 +273,20 @@
          {
            title: '事故现象',
            align: 'center',
            dataIndex: 'accidentPhenomenon'
            dataIndex: 'accidentPhenomenon',
            scopedSlots: { customRender: 'accidentPhenomenon' }
          },
          {
            title: '采取措施',
            align: 'center',
            dataIndex: 'measure'
            dataIndex: 'measure',
            scopedSlots: { customRender: 'measure' }
          },
          {
            title: '造成结果',
            align: 'center',
            dataIndex: 'causingResults'
            dataIndex: 'causingResults',
            scopedSlots: { customRender: 'causingResults' }
          }
        ],
        faultTimeRange: [],