From 7233f8c157e323f97a074753a2c4bd463f960b5c Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 12 五月 2026 14:02:36 +0800
Subject: [PATCH] 新增智能电表、空调管理
---
admin/src/views/Inspection/components/OperaYwPatrolSchemeWindow.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/admin/src/views/Inspection/components/OperaYwPatrolSchemeWindow.vue b/admin/src/views/Inspection/components/OperaYwPatrolSchemeWindow.vue
index 343b02b..a5e0fe1 100644
--- a/admin/src/views/Inspection/components/OperaYwPatrolSchemeWindow.vue
+++ b/admin/src/views/Inspection/components/OperaYwPatrolSchemeWindow.vue
@@ -118,6 +118,10 @@
})
},
methods: {
+ open(title) {
+ this.title = title
+ this.visible = true
+ },
__confirmCreate () {
this.$refs.form.validate((valid) => {
if (!valid) {
@@ -201,7 +205,7 @@
detailById(id).then(res => {
this.form = res
if (res.userIds) {
- this.$set(this.form, 'userIds', Number(res.userIds))
+ this.$set(this.form, 'userIds', [...res.userIds.split(',').map(item => Number(item))])
}
if (res.startTime) {
this.$set(this.form, 'selTime', [res.startTime, res.endTime])
--
Gitblit v1.9.3