From 5396a52f52305f4d1ea88627a6e6f0e811e8d89d Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期三, 02 七月 2025 16:35:09 +0800 Subject: [PATCH] 1、数据字典配置时删除数据值不能使用下划线限制 2、设备台账列表字段自定义展示以及调整字段 --- src/views/system/modules/WorkshopModal.vue | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/views/system/modules/WorkshopModal.vue b/src/views/system/modules/WorkshopModal.vue index 0164db1..2118a6d 100644 --- a/src/views/system/modules/WorkshopModal.vue +++ b/src/views/system/modules/WorkshopModal.vue @@ -21,6 +21,9 @@ <a-form-model-item label="璁惧缂栧彿棰滆壊"> <a-input type="color" v-model="model.equipmentIdColor"></a-input> </a-form-model-item> + <a-form-model-item label="鎺堟潈鏍囪瘑"> + <a-input placeholder="璇疯緭鍏ユ巿鏉冩爣璇�" v-model="model.perms"/> + </a-form-model-item> </a-form-model> </a-spin> </a-modal> @@ -99,10 +102,16 @@ } obj.then((res) => { if (res.success) { - that.$message.success(res.message) + that.$notification.success({ + message:'娑堟伅', + description:res.message + }); that.$emit('ok') } else { - that.$message.warning(res.message) + that.$notification.warning({ + message:'娑堟伅', + description:res.message + }); } }).finally(() => { that.confirmLoading = false -- Gitblit v1.9.3