Commit 40aba46af6e3296db5e99d632bcdfeafc0bd87df
1 parent
ce702b22
系统通告 指定用户选择BUG修复
Signed-off-by: TanYibin <5491541@qq.com>
Showing
3 changed files
with
8 additions
and
9 deletions
ant-design-vue-jeecg/src/components/jeecgbiz/JSelectBizComponent/JSelectBizComponentModal.vue
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | <a-form layout="inline" class="j-inline-form"> |
16 | 16 | <!-- 固定条件 --> |
17 | 17 | <a-form-item :label="(queryParamText||name)"> |
18 | - <a-input v-model="queryParam[queryParamCode||valueKey]" :placeholder="'请输入' + (queryParamText||name)" @pressEnter="searchQuery"/> | |
18 | + <a-input v-model="queryParam[queryParamCode||displayKey]" :placeholder="'请输入' + (queryParamText||name)" @pressEnter="searchQuery"/> | |
19 | 19 | </a-form-item> |
20 | 20 | <!-- 动态生成的查询条件 --> |
21 | 21 | <j-select-biz-query-item v-if="queryConfig.length>0" v-show="showMoreQueryItems" :queryParam="queryParam" :queryConfig="queryConfig" @pressEnter="searchQuery"/> |
... | ... |
ant-design-vue-jeecg/src/components/jeecgbiz/JSelectMultiUser.vue
... | ... | @@ -28,16 +28,15 @@ export default { |
28 | 28 | return { |
29 | 29 | url: {list: '/sys/user/list'}, |
30 | 30 | columns: [ |
31 | - {title: '姓名', align: 'center', widthRight: '70%', dataIndex: 'realname'}, | |
32 | - {title: '账号', align: 'center', width: '25%', dataIndex: 'username'}, | |
33 | - {title: '电话', align: 'center', width: '20%', dataIndex: 'phone'}, | |
34 | - {title: '出生日期', align: 'center', width: '20%', dataIndex: 'birthday'} | |
31 | + {title: '账号', align: 'center', width: '33%', dataIndex: 'username'}, | |
32 | + {title: '姓名', align: 'center', widthRight: '33%', dataIndex: 'realname'}, | |
33 | + {title: '电话', align: 'center', width: '33%', dataIndex: 'phone'}, | |
35 | 34 | ], |
36 | 35 | // 定义在这里的参数都是可以在外部传递覆盖的,可以更灵活的定制化使用的组件 |
37 | 36 | default: { |
38 | 37 | name: '用户', |
39 | 38 | width: 1250, |
40 | - displayKey: 'realname', | |
39 | + displayKey: 'username', | |
41 | 40 | returnKeys: ['id', 'username'], |
42 | 41 | queryParamText: '账号', |
43 | 42 | }, |
... | ... |
ant-design-vue-jeecg/src/views/system/modules/SysAnnouncementModal.vue
... | ... | @@ -101,7 +101,7 @@ export default { |
101 | 101 | edit: "/sys/annountCement/edit", |
102 | 102 | }, |
103 | 103 | userType: false, |
104 | - userIds: [], | |
104 | + userIds: '', | |
105 | 105 | selectedUser: [], |
106 | 106 | disabled: false, |
107 | 107 | msgContent: "", |
... | ... | @@ -193,7 +193,7 @@ export default { |
193 | 193 | }, |
194 | 194 | resetUser() { |
195 | 195 | this.userType = false; |
196 | - this.userIds = []; | |
196 | + this.userIds = ''; | |
197 | 197 | this.disabled = false; |
198 | 198 | // this.$refs.UserListModal.edit(null, null); |
199 | 199 | }, |
... | ... | @@ -202,7 +202,7 @@ export default { |
202 | 202 | this.userType = true; |
203 | 203 | } else { |
204 | 204 | this.userType = false; |
205 | - this.userIds = []; | |
205 | + this.userIds = ''; | |
206 | 206 | } |
207 | 207 | }, |
208 | 208 | startTimeValidate(rule, value, callback) { |
... | ... |