From 16cd8ca4d7bd38911386730a57e291ced025d95d Mon Sep 17 00:00:00 2001
From: YTD <1158283261@qq.com>
Date: Mon, 17 Apr 2023 16:39:55 +0800
Subject: [PATCH] =?UTF-8?q?2023-4-17-=E8=AE=BE=E5=A4=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../jeecg/modal/JPopupOnlReport.vue | 2 +-
.../components/jeecgbiz/JSelectUserByDep.vue | 222 ++++++++++--------
.../jeecgbiz/modal/JSelectUserByDepModal.vue | 2 +-
.../src/views/device/modules/ZyDeviceForm.vue | 2 +-
4 files changed, 131 insertions(+), 97 deletions(-)
diff --git a/ant-design-vue-jeecg/src/components/jeecg/modal/JPopupOnlReport.vue b/ant-design-vue-jeecg/src/components/jeecg/modal/JPopupOnlReport.vue
index 0d5736ed..0066edc1 100644
--- a/ant-design-vue-jeecg/src/components/jeecg/modal/JPopupOnlReport.vue
+++ b/ant-design-vue-jeecg/src/components/jeecg/modal/JPopupOnlReport.vue
@@ -119,7 +119,7 @@
total: 0
}
},
- cgRpConfigId:"",
+ cgRpConfigId:"1610839316058812417",
modalWidth:MODAL_WIDTH,
tableScroll:{x:true},
dynamicParam:{},
diff --git a/ant-design-vue-jeecg/src/components/jeecgbiz/JSelectUserByDep.vue b/ant-design-vue-jeecg/src/components/jeecgbiz/JSelectUserByDep.vue
index 705e96da..b70f4256 100644
--- a/ant-design-vue-jeecg/src/components/jeecgbiz/JSelectUserByDep.vue
+++ b/ant-design-vue-jeecg/src/components/jeecgbiz/JSelectUserByDep.vue
@@ -1,111 +1,145 @@
-
+ @search="onSearchDepUser"
+ :disabled="disabled"
+ @click="onSearchDepUser"
+ >
+
+ -->
+
选择用户
-
+
+
-
-
\ No newline at end of file
diff --git a/ant-design-vue-jeecg/src/components/jeecgbiz/modal/JSelectUserByDepModal.vue b/ant-design-vue-jeecg/src/components/jeecgbiz/modal/JSelectUserByDepModal.vue
index d3cbd9d6..b2ea69f5 100644
--- a/ant-design-vue-jeecg/src/components/jeecgbiz/modal/JSelectUserByDepModal.vue
+++ b/ant-design-vue-jeecg/src/components/jeecgbiz/modal/JSelectUserByDepModal.vue
@@ -275,7 +275,7 @@
this.selectUserRows.push(row)
}
}
- this.selectUserIds = this.selectUserRows.map(row => row.username).join(',')
+ this.selectUserIds = this.selectUserRows.map(row => row.id).join(',')
},
// 点击树节点,筛选出对应的用户
onDepSelect(selectedDepIds) {
diff --git a/ant-design-vue-jeecg/src/views/device/modules/ZyDeviceForm.vue b/ant-design-vue-jeecg/src/views/device/modules/ZyDeviceForm.vue
index 1584eb5a..0136c93a 100644
--- a/ant-design-vue-jeecg/src/views/device/modules/ZyDeviceForm.vue
+++ b/ant-design-vue-jeecg/src/views/device/modules/ZyDeviceForm.vue
@@ -61,7 +61,7 @@
-
+