From db67f31f92e4d92eea2a556712abd06c03f5033b Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期五, 26 一月 2024 13:52:27 +0800 Subject: [PATCH] 1、用户管理、角色管理、设备车间管理以及大屏车间管理页面的相关功能操作完成提示由message调整与mdc模块相同的notification 2、大屏车间管理页面新增授权标识字段 --- src/views/system/UserList.vue | 27 +++++++++++++++++++++------ 1 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/views/system/UserList.vue b/src/views/system/UserList.vue index 47e9d00..9b4d5db 100644 --- a/src/views/system/UserList.vue +++ b/src/views/system/UserList.vue @@ -114,7 +114,7 @@ :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" @change="handleTableChange"> - <template slot="avatarslot" slot-scope="text, record, index"> + <template slot="avatarslot" slot-scope="text, record"> <div class="anty-img-wrap"> <a-avatar shape="square" :src="getAvatarView(record.avatar)" icon="user"/> </div> @@ -269,7 +269,8 @@ title: '杞﹂棿', align: "center", width: 240, - dataIndex: 'productionName' + dataIndex: 'productionName', + ellipsis: true, }, { title: '鐘舵��', @@ -363,7 +364,8 @@ title: '杞﹂棿', align: "center", width: 240, - dataIndex: 'productionName' + dataIndex: 'productionName', + ellipsis: true, }, { title: '鐘舵��', @@ -433,7 +435,14 @@ title: '杞﹂棿', align: "center", width: 240, - dataIndex: 'productionName' + dataIndex: 'productionName', + ellipsis: true, + }, + { + title: '鐝粍', + align: "center", + width: 240, + dataIndex: 'teamId_dictText' }, { title: '鐘舵��', @@ -526,10 +535,16 @@ } frozenBatch({ids: id, status: status}).then((res) => { if (res.success) { - that.$message.success(res.message); + that.$notification.success({ + message:'娑堟伅', + description:res.message + }); that.loadData(); } else { - that.$message.warning(res.message); + that.$notification.warning({ + message:'娑堟伅', + description:res.message + }); } }); }, -- Gitblit v1.9.3