From b4d09a09d2a8ffc939e97f8b400ff94a64d13eb7 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期一, 04 三月 2024 17:46:01 +0800 Subject: [PATCH] 优化用户管理页面表单填写界面选择设备功能,车间重新选择后重置选择设备 --- src/views/mdc/base/DeviceParamThresholdManagement.vue | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/views/mdc/base/DeviceParamThresholdManagement.vue b/src/views/mdc/base/DeviceParamThresholdManagement.vue index c049b5e..e2a170a 100644 --- a/src/views/mdc/base/DeviceParamThresholdManagement.vue +++ b/src/views/mdc/base/DeviceParamThresholdManagement.vue @@ -67,6 +67,7 @@ bordered size="middle" rowKey="id" + :scroll="{x:'max-content',y:600}" :columns="columns" :dataSource="dataSource" :pagination="ipagination" @@ -131,32 +132,32 @@ title: '涓枃鍚�', align: 'center', dataIndex: 'chineseName', - width: 120 + width: 350 // sorter: true }, { title: '鑻辨枃鍚�', align: 'center', - width: 150, + width: 350, dataIndex: 'englishName' }, { title: '椹卞姩绫诲瀷', align: 'center', - width: 180, + width: 350, dataIndex: 'controlSystemType' }, { title: '闃堝�间笂闄�', align: 'center', - width: 120, + width: 270, dataIndex: 'maxThreshold' // scopedSlots: {customRender: "avatarslot"} }, { title: '闃堝�间笅闄�', align: 'center', - width: 80, + width: 270, dataIndex: 'minThreshold' // sorter: true }, @@ -165,7 +166,8 @@ dataIndex: 'action', scopedSlots: { customRender: 'action' }, align: 'center', - width: 120 + fixed: 'right', + width: 150 } ], driveTypeList: [], @@ -191,6 +193,9 @@ handleAdd: function() { this.$refs.modalForm.add() this.$refs.modalForm.title = '鏂板' + + // 璋冪敤鎶藉眽琛ㄥ崟缁勪欢涓殑娓呴櫎琛ㄥ崟楠岃瘉鏂规硶 + this.$refs.modalForm.removeValidate() }, handleMenuClick(e) { -- Gitblit v1.9.3