From 821672dbbd1a7f2be98d5e87a5f39c648ae721a7 Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Thu, 22 Feb 2024 18:23:57 +0800
Subject: [PATCH] 更新
---
src/views/article/components/discussionManageChild.vue | 38 ++++++++++++++++++++++++--------------
1 files changed, 24 insertions(+), 14 deletions(-)
diff --git a/src/views/article/components/discussionManageChild.vue b/src/views/article/components/discussionManageChild.vue
index 5e893b5..ad52341 100644
--- a/src/views/article/components/discussionManageChild.vue
+++ b/src/views/article/components/discussionManageChild.vue
@@ -36,7 +36,7 @@
getDetatils as getHouseholdDetail
} from "@/api/userHouse/list/houseHold"
-
+ import { getUserlnfoByDistrictlds } from "@/api/system/user"
export default {
data() {
@@ -176,13 +176,15 @@
display: false,
label: "选择用户",
prop: "userIds",
- type: 'select',
+ tags: true,
+ type: "tree",
+ multiple: true,
span: 12,
offset: 8,
remote: true,
hide: true,
row: true,
- dicUrl: `/api/blade-system/user/getUserlnfoByDistrictlds?districtlds=`,
+ // dicUrl: `/api/blade-system/user/getUserlnfoByDistrictlds?districtlds={{}}`,
props: {
label: 'name',
value: 'id',
@@ -298,20 +300,28 @@
articleId: data.id
}) {
this.loading = true
- getListPd(1, 10, Object.assign(params, this.query)).then(res => {
- const data = res.data.data
- this.page.total = data.total
- this.disCussFrom = data.records[0]
- if (this.disCussFrom.userIds) {
- getPersonPublicSelect({
- id: this.disCussFrom.userIds
- }).then(res => {
+ getUserlnfoByDistrictlds( data.articleRange).then(res=>{
+ console.log(res);
const column = this.findObject(this.option.column, "userIds")
column.dicData = res.data.data
- this.loading = false
- })
- }
})
+
+
+
+ // getListPd(1, 10, Object.assign(params, this.query)).then(res => {
+ // const data = res.data.data
+ // this.page.total = data.total
+ // this.disCussFrom = data.records[0]
+ // if (this.disCussFrom.userIds) {
+ // getPersonPublicSelect({
+ // id: this.disCussFrom.userIds
+ // }).then(res => {
+ // const column = this.findObject(this.option.column, "userIds")
+ // column.dicData = res.data.data
+ // this.loading = false
+ // })
+ // }
+ // })
}
}
}
--
Gitblit v1.9.3