From 97fdc4473e426084722cf922f5fe84d66366b760 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期一, 13 一月 2025 20:07:42 +0800 Subject: [PATCH] update --- src/views/mdc/base/modules/DeviceBaseInfo/EquipmentList.vue | 49 ++++++++++++++++++++++++------------------------- 1 files changed, 24 insertions(+), 25 deletions(-) diff --git a/src/views/mdc/base/modules/DeviceBaseInfo/EquipmentList.vue b/src/views/mdc/base/modules/DeviceBaseInfo/EquipmentList.vue index 07795c1..2724a0b 100644 --- a/src/views/mdc/base/modules/DeviceBaseInfo/EquipmentList.vue +++ b/src/views/mdc/base/modules/DeviceBaseInfo/EquipmentList.vue @@ -66,17 +66,17 @@ <template slot="oporationDict" slot-scope="text, record"> <div :style="{color:record.equipmentStatus!==0?'#f00':null}">{{text}}</div> </template> - <template slot="equipmentStatus" slot-scope="text"> - <div :style="{color:text!==0?'#f00':null}">{{text===0?'姝e父':'寮傚父'}}</div> - </template> +<!-- <template slot="equipmentStatus" slot-scope="text">--> +<!-- <div :style="{color:text!==0?'#f00':null}">{{text===0?'姝e父':'寮傚父'}}</div>--> +<!-- </template>--> <template slot="collecttime" slot-scope="text, record"> <div :style="{color:record.equipmentStatus!==0?'#f00':null}">{{text}}</div> </template> - <template slot="action" slot-scope="text, record"> - <a-popconfirm title="纭畾鍙嶉鍚�?" @confirm="$emit('editEquipmentStatus',record)" v-has="'deiveBaseInfo:responseStatus'"> - <a>鐘舵�佸弽棣�</a> - </a-popconfirm> - </template> +<!-- <template slot="action" slot-scope="text, record">--> +<!-- <a-popconfirm title="纭畾鍙嶉鍚�?" @confirm="$emit('editEquipmentStatus',record)" v-has="'deiveBaseInfo:responseStatus'">--> +<!-- <a>鐘舵�佸弽棣�</a>--> +<!-- </a-popconfirm>--> +<!-- </template>--> </a-table> </div> @@ -101,7 +101,7 @@ align: "center", dataIndex: 'equipmentId', scopedSlots: {customRender: 'equipmentId'}, - width:210 + width:300 }, { title: '璁惧鍚嶇О', @@ -117,13 +117,13 @@ scopedSlots: {customRender: 'oporationDict'}, width:200 }, - { - title: '璁惧寮傚父', - align: "center", - dataIndex: 'equipmentStatus', - scopedSlots: {customRender: 'equipmentStatus'}, - width:200 - }, + // { + // title: '璁惧寮傚父', + // align: "center", + // dataIndex: 'equipmentStatus', + // scopedSlots: {customRender: 'equipmentStatus'}, + // width:200 + // }, { title: '閲囬泦鏃堕棿', align: "center", @@ -131,16 +131,15 @@ defaultSortOrder:'descend', sorter: (a, b) => {return a.collecttime>b.collecttime?1:-1}, scopedSlots: {customRender: 'collecttime'}, - width:350 - }, - { - title: '鎿嶄綔', - dataIndex: 'action', - scopedSlots: {customRender: 'action'}, - align: "center", - width: 150, - fixed:'right' } + // { + // title: '鎿嶄綔', + // dataIndex: 'action', + // scopedSlots: {customRender: 'action'}, + // align: "center", + // width: 150, + // fixed:'right' + // } ], scrollY:465, } -- Gitblit v1.9.3