From d9eb3f8449df7791df436f3d69f91814ba6ff79b Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期四, 06 三月 2025 09:47:03 +0800
Subject: [PATCH] art: 设备台账-分类设备 页面修改,直接引用 所有设备页面,统一编码和修改
---
src/views/eam/EquipmentChangeList.vue | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/src/views/eam/EquipmentChangeList.vue b/src/views/eam/EquipmentChangeList.vue
index f3a8e25..7664c5d 100644
--- a/src/views/eam/EquipmentChangeList.vue
+++ b/src/views/eam/EquipmentChangeList.vue
@@ -1,6 +1,6 @@
<template>
<a-card
- title='璁惧鍙樺姩'
+ title=''
:bordered='false'
>
<div class='table-page-search-wrapper'>
@@ -86,13 +86,13 @@
@click='onClearSelected'
>娓呯┖</a>
</div>
-
+<!--X杞存粦鍔� :scroll="{ x: 'calc(1400px + 50%)', y: 900 }"-->
<a-table
ref='table'
size='middle'
bordered
rowKey='id'
- :scroll="{ x: 'calc(1400px + 50%)', y: 900 }"
+ :scroll="{ x: true }"
:columns='columns'
:dataSource='dataSource'
:pagination='ipagination'
@@ -101,7 +101,14 @@
:customRow='clickThenSelect'
@change='handleTableChange'
>
-
+ <template slot="num" slot-scope="text" >
+ <a-tooltip placement="top" :title="text" trigger="hover">
+ <div>
+ <template slot="title"> </template>
+ <p style="cusor:pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 130px;">{{ text }}</p>
+ </div>
+ </a-tooltip>
+ </template>
<!-- <span
slot='action'
slot-scope='text, record'
@@ -216,7 +223,10 @@
{
title: '鍗曟嵁鍙�',
align: 'center',
- dataIndex: 'num'
+ dataIndex: 'num',
+ scopedSlots: { customRender: 'num' },
+ width: 100,
+ ellipsis: true,
},
{
title: '鍒涘缓浜�',
--
Gitblit v1.9.3