@@ -195,7 +191,7 @@
:instance="instance"
@pick="e => onUserChange(e, 'search2')" :multiple="false" v-model="user2">
-
+
{{ name2 }}
部门
@@ -216,12 +212,8 @@
-
-
-
-
-
-
+
{{ row.groupOwnerName }}
+
{{ row.mainDepartmentName }}
@@ -276,6 +268,8 @@
total2: 0,
user1: [],
user2: [],
+ name1: '',
+ name2: '',
radio1: '未执行',
search1: {
current: 1,
@@ -300,7 +294,7 @@
content: '',
currIndex: 0,
colConfigs3: [
- { prop: 'groupOwnerId', label: '群主', openType: 'userName' },
+ { prop: 'groupOwnerName', label: '群主', openType: 'userName' },
{ prop: 'groupNames', label: '群名称' }
],
colConfigs1: [
@@ -352,9 +346,11 @@
onUserChange (e, search) {
if (e.length) {
+ search === 'search1' ? this.name1 = e[0].name : this.name2 = e[0].name
this[search].deptartId = e[0].id
} else {
this[search].deptartId = ''
+ search === 'search1' ? this.name1 = '' : this.name2 = ''
}
this[search].current = 1
diff --git a/packages/wxwork/Announce/AppAnnounce/components/List.vue b/packages/wxwork/Announce/AppAnnounce/components/List.vue
index 123eea3a..23a4130f 100644
--- a/packages/wxwork/Announce/AppAnnounce/components/List.vue
+++ b/packages/wxwork/Announce/AppAnnounce/components/List.vue
@@ -33,14 +33,14 @@
@change="search.current = 1, getList()"
placeholder="选择群发结束日期">
-
+
-
+
-
-
-
-
-
-
+
{{ row.createUserName }}
+
{{ row.createUserDeptName }}
@@ -110,6 +106,7 @@
startTime: '',
endTime: ''
},
+ name: '',
user: [],
tableData: [],
loading: false,
@@ -145,9 +142,11 @@
methods: {
onUserChange (e) {
if (e.length) {
- this.search.createUserId = e[0].wxOpenUserId
+ this.name = e[0].name
+ this.search.createUserId = e[0].id
} else {
this.search.createUserId = ''
+ this.name = ''
}
this.search.current = 1